Java Question Dji Library problem

PABLO2013

Active Member
Licensed User
Longtime User
Greetings, I want to implement my own library but I can not overcome this error, thank you. I understand that this is missing but I can not find the jar that contains it or if there is another option, thank you. (i mark it (<<<<<<<<).


B4X:
package anywheresoftware.b4a.objects;

import com.secneo.sdk.Helper;    <<<<<<<<<<<<<<<<

import android.app.Application;
import android.content.Context;
import android.util.Log;

public class BaseApplication extends Application{
     @Override
    protected void attachBaseContext(Context paramContext) {
        super.attachBaseContext(paramContext);
        Log.i("B4A", "**************************** BaseApplication **************************");
        Helper.install(this); <<<<<<<<<<<<<<<<<<<<
    }
}
 

DonManfred

Expert
Licensed User
Longtime User
Copy dji-sdk-4.4.1.aar to your libs folder to develop, rename it to dji-sdk-4.4.1.aar.zip, extract the classes.jar, rename classes.jar to dji-sdk-4.4.1.jar

com.secneo.sdk.helper is in this jar...

If you are using V4.5 then you should do this with the dji-sdk-4.5.aar -> classes.jar -> dji-sdk-4.5.jar

Note that this jar is only needed when compiling the library. At runtime (in B4A) it is included in the AAR. So; do not copy it to additional libs folder.

PD: You should have posted your question HERE!
 
Last edited:

PABLO2013

Active Member
Licensed User
Longtime User
Thanks DonManfred, what I said about creating my own library, I should have said that with the valuable help of yours, what I want is to experiment to see what happens ... but using the basis of their great works, thank you.
 
Top