Hello,
i am using b4a 2.71 . nexus s 4.1.2 and latest dropbox sdk 3.1.1. and java 1.7. phone has the dropbox installed and logged in.
i use for the test a new empty project.
i have copied the dropbox sdk file and the wrapper files to the additional libraries folder.
dropbox lib is checked in b4a libs tab
added the text to manifest and change the app key.
created the strings.xml and made it readonly.
added the manager,key,secret definitions .3 lines in process_global
i am trying to use the library and i get this error on manager.Initialize(key, secret, "manager")
i am using b4a 2.71 . nexus s 4.1.2 and latest dropbox sdk 3.1.1. and java 1.7. phone has the dropbox installed and logged in.
i use for the test a new empty project.
i have copied the dropbox sdk file and the wrapper files to the additional libraries folder.
dropbox lib is checked in b4a libs tab
added the text to manifest and change the app key.
created the strings.xml and made it readonly.
added the manager,key,secret definitions .3 lines in process_global
i am trying to use the library and i get this error on manager.Initialize(key, secret, "manager")
B4X:
** Activity (main) Create, isFirst = true **
main_activity_create (java line: 244)
java.lang.NoClassDefFoundError: com.dropbox.sync.android.DbxAccountManager
at anywheresoftware.b4a.dropbox.DbxAccountManagerWrapper.Initialize(DbxAccountManagerWrapper.java:53)
at b4a.example.dropbox.main._activity_create(main.java:244)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:169)
at b4a.example.dropbox.main.afterFirstLayout(main.java:89)
at b4a.example.dropbox.main.access$100(main.java:16)
at b4a.example.dropbox.main$WaitForLayout.run(main.java:74)
at android.os.Handler.handleCallback(Handler.java:615)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4745)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)