@aggelos: Thank you very much for your input. You are the only brave one responding to my posts besides Erel.i would recommend that you use the Oath2
It doesn't matter where you set his variable. It is a flag that is used when you call DownloadFile.Is it worth trying either or do you think the problem may lie somewhere else?
Thank you aggelos for this suggestion. I will try it. The reason I never gave it a thought is this: If you check Erel's code in the very first post of this Dropbox lib, you will see that he downloads files in Sub Manager_AccountReady (Success As Boolean) not in the SyncCompleted sub. Let us hope Erel checks this post and weighs in with his opinion.Sub manager_SyncCompleted (Success As Boolean)?
The question this time is whether to download the files inside: Sub Manager_AccountReady (Success As Boolean) or inside Sub manager_SyncCompleted (Success As Boolean) or it does not matter.If AutoSync is true then the latest file version as reported by Dropbox is downloaded each time.
java.lang.NoClassDefFoundError: com/dropbox/sync/android/DbxTwofactorInfo
at java.lang.Runtime.nativeLoad(Native Method)
at java.lang.Runtime.doLoad(Runtime.java:421)
at java.lang.Runtime.loadLibrary(Runtime.java:362)
at java.lang.System.loadLibrary(System.java:526)
at com.dropbox.sync.android.NativeLib.ensureLoaded(NativeLib.java:64)
at com.dropbox.sync.android.NativeLib.<clinit>(NativeLib.java:26)
at com.dropbox.sync.android.CoreAccountManager.initNativeLib(CoreAccountManager.java:155)
at com.dropbox.sync.android.CoreAccountManager.<init>(CoreAccountManager.java:126)
at com.dropbox.sync.android.DbxAccountManager.getInstance(DbxAccountManager.java:150)
at com.dropbox.sync.android.DbxAccountManager.getInstance(DbxAccountManager.java:116)
at anywheresoftware.b4a.dropbox.DbxAccountManagerWrapper.Initialize(DbxAccountManagerWrapper.java:53)
at com.theappspod.dayjournal.settings._activity_create(settings.java:468)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:175)
at com.theappspod.dayjournal.settings.afterFirstLayout(settings.java:98)
at com.theappspod.dayjournal.settings.access$100(settings.java:16)
at com.theappspod.dayjournal.settings$WaitForLayout.run(settings.java:76)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5086)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.dropbox.sync.android.DbxTwofactorInfo" on path: DexPathList[[zip file "/data/app/com.theappspod.dayjournal-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.theappspod.dayjournal-1, /vendor/lib, /system/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
... 27 more
manager.LinkAccount
manager.LinkAccount
manager.UnlinkAccount
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.m6.droidgeo-2/base.apk"],nativeLibraryDirectories=[/data/app/com.m6.droidgeo-2/lib/arm, /vendor/lib, /system/lib]]] couldn't find "libDropboxSync.so"
at java.lang.Runtime.loadLibrary(Runtime.java:366)
at java.lang.System.loadLibrary(System.java:989)
at com.dropbox.sync.android.NativeLib.ensureLoaded(NativeLib.java:70)
at com.dropbox.sync.android.NativeLib.<clinit>(NativeLib.java:32)
at com.dropbox.sync.android.CoreAccountManager.initNativeLib(CoreAccountManager.java:228)
at com.dropbox.sync.android.CoreAccountManager.<init>(CoreAccountManager.java:141)
at com.dropbox.sync.android.DbxAccountManager.getInstance(DbxAccountManager.java:200)
at com.dropbox.sync.android.DbxAccountManager.getInstance(DbxAccountManager.java:160)
at com.dropbox.sync.android.DbxAccountManager.getInstance(DbxAccountManager.java:107)
at anywheresoftware.b4a.dropbox.DbxAccountManagerWrapper.Initialize(DbxAccountManagerWrapper.java:53)
at com.m6.droidgeo.dropbox._activity_create(dropbox.java:343)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:175)
at com.m6.droidgeo.dropbox.afterFirstLayout(dropbox.java:98)
at com.m6.droidgeo.dropbox.access$100(dropbox.java:16)
at com.m6.droidgeo.dropbox$WaitForLayout.run(dropbox.java:76)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5221)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?