Hi
This test code works in verion 12.2 of B4A, but when I upgrade to version 12.8 this error occurs.
The log :
For now I will continue to use version 12.2 .... but waht can I do to avoid this error ?
Thanks
Rubens Jr.
This test code works in verion 12.2 of B4A, but when I upgrade to version 12.8 this error occurs.
Select Folder in External SD:
Private Sub bt_sync_Click
Dim mp3_Storage As ExternalStorage
mp3_Storage.Initialize (Me, "mp3_storage")
mp3_Storage.SelectDir (False)
Wait For mp3_Storage_ExternalFolderAvailable
If mp3_Storage.IsInitialized = False Or mp3_Storage.root.Length <= 0 Then
Log ("Not selected")
Return
End If
Log ("ok")
End Sub
The log :
Log:
*** mp3_config: B4XPage_Appear [mp3]
** Activity (main) Pause event (activity is not paused). **
*** mp3_config: B4XPage_Disappear [mp3_config]
sending message to waiting queue (OnActivityResult)
running waiting messages (1)
content://com.android.externalstorage.documents/tree/D8EE-992F%3AMP3
externalstorage_vvvvvvvvvvvvvvvvvvvv1 (java line: 200)
java.lang.ClassNotFoundException: androidx$documentfile$provider$DocumentFile
at anywheresoftware.b4j.object.JavaObject.getCorrectClassName(JavaObject.java:289)
at anywheresoftware.b4j.object.JavaObject.InitializeStatic(JavaObject.java:75)
at scm.painel.externalstorage._vvvvvvvvvvvvvvvvvvvv1(externalstorage.java:200)
at scm.painel.externalstorage._vvvvvvvvvvvvvvvvvvvv6(externalstorage.java:362)
at scm.painel.externalstorage._ion_event(externalstorage.java:249)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:221)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:201)
at anywheresoftware.b4j.object.JavaObject$1.invoke(JavaObject.java:238)
at java.lang.reflect.Proxy.invoke(Proxy.java:1006)
at $Proxy0.ResultArrived(Unknown Source)
at anywheresoftware.b4a.BA$4.run(BA.java:593)
at anywheresoftware.b4a.BA.setActivityPaused(BA.java:467)
at scm.painel.main$ResumeMessage.run(main.java:313)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6669)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:951)
java.lang.ClassNotFoundException: androidx$documentfile$provider$DocumentFile
For now I will continue to use version 12.2 .... but waht can I do to avoid this error ?
Thanks
Rubens Jr.