@TommyE28 have you tried to call Sync and then wait for SyncCompleted before downloading the file?
@ErelPlease download v1.21 from the first post. It should fix the sync issue.
I'm not sure. You will need to check it in their documentation.Do I have to delete the app and create a new one with permision Type= all files so I can download all types of files?
** Activity (main) Create, isFirst = true **
Error occurred on line: 29 (main)
mainafterFirstLayout (java line: 98)
java.lang.IllegalStateException: Required Sync API Activity isn't included in application manifest: com.dropbox.client2.android.AuthActivity, com.dropbox.sync.android.DbxAuthActivity
at com.dropbox.sync.android.DbxAccountManager.validateAppContext(DbxAccountManager.java:483)
at com.dropbox.sync.android.DbxAccountManager.getInstance(DbxAccountManager.java:143)
at com.dropbox.sync.android.DbxAccountManager.getInstance(DbxAccountManager.java:115)
at anywheresoftware.b4a.dropbox.DbxAccountManagerWrapper.Initialize(DbxAccountManagerWrapper.java:48)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at anywheresoftware.b4a.shell.Shell.runVoidMethod(Shell.java:520)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:235)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:174)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:93)
at b4a.example.main.afterFirstLayout(main.java:98)
at b4a.example.main.access$100(main.java:16)
at b4a.example.main$WaitForLayout.run(main.java:76)
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:5059)
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:792)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:555)
at dalvik.system.NativeStart.main(Native Method)
** Activity (main) Resume **
LogCat connected to: 0146DE220400D00A
--------- beginning of /dev/log/system
--------- beginning of /dev/log/main
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
** Activity (userform) Create, isFirst = true **
** Activity (userform) Resume **
Starting Job: Token
** Service (httputilsservice) Create **
** Service (httputilsservice) Start **
An error occurred:
(Line: 34) End Sub
java.lang.Exception: Sub service_start signature does not match expected signature.
public static anywheresoftware.b4a.pc.RemoteObject anywheresoftware.b4a.samples.dropbox.httputilsservice_subs_0._service_start() throws java.lang.Exception
THIS line contains the error - wrong passwordjava.lang.Exception: Sub service_start signature does not match expected signature.
Change Service_Start to:THIS line contains the error - wrong password
Sub Service_Start (StartingIntent As Intent)
It should show the files in the special folder you configured during setup.it is only showing me 5 of the Files/Folder in my drop box...