Regards, I made a new wrap from Don Manfred's Dji UI library (thanks a lot), but I have this error. Thanks for the help
B4X:
Registro conectado a: 670ce8070410
--------- beginning of crash
--------- beginning of system
--------- beginning of main
** Activity (main) Pause event (activity is not paused). **
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
Call B4XPages.GetManager.LogEvents = True to enable logging B4XPages events.
** Activity (main) Resume **
Registered successfully!
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
b4xmainpage$ResumableSub_B4XPage_Createdresume (java line: 2084)
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(LayoutBuilder.java:170)
at anywheresoftware.b4a.objects.PanelWrapper.LoadLayout(PanelWrapper.java:134)
at anywheresoftware.b4a.objects.B4XViewWrapper.LoadLayout(B4XViewWrapper.java:312)
at b4a.dji.test1.b4xmainpage$ResumableSub_B4XPage_Created.resume(b4xmainpage.java:2084)
at b4a.dji.test1.b4xmainpage._b4xpage_created(b4xmainpage.java:2039)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
at anywheresoftware.b4a.keywords.Common.CallSub4(Common.java:1082)
at anywheresoftware.b4a.keywords.Common.CallSubNew2(Common.java:1037)
at b4a.dji.test1.b4xpagesmanager._createpageifneeded(b4xpagesmanager.java:508)
at b4a.dji.test1.b4xpagesmanager._showpage(b4xpagesmanager.java:845)
at b4a.dji.test1.b4xpagesmanager._addpage(b4xpagesmanager.java:200)
at b4a.dji.test1.b4xpagesmanager._addpageandcreate(b4xpagesmanager.java:207)
at b4a.dji.test1.b4xpagesmanager._initialize(b4xpagesmanager.java:696)
at b4a.dji.test1.main._activity_create(main.java:366)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
at b4a.dji.test1.main.afterFirstLayout(main.java:105)
at b4a.dji.test1.main.access$000(main.java:17)
at b4a.dji.test1.main$WaitForLayout.run(main.java:83)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:224)
at android.app.ActivityThread.main(ActivityThread.java:7561)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:995)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.objects.CustomViewWrapper.AfterDesignerScript(CustomViewWrapper.java:64)
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(LayoutBuilder.java:162)
... 26 more
Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Ldji/ux/widget/BatteryWidget;
at anywheresoftware.b4a.objects.DJIBatteryWidgetWrapper._initialize(DJIBatteryWidgetWrapper.java:47)
... 29 more
Caused by: java.lang.ClassNotFoundException: dji.ux.widget.BatteryWidget
... 30 more
(RuntimeException) java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
Call B4XPages.GetManager.LogEvents = True to enable logging B4XPages events.
** Activity (main) Resume **
** Activity (main) Pause event (activity is not paused). **
** Service (starter) Destroy (ignored)**