Since I don't have any "remote" database capabilities for getting data to/from my "test" application, I thought I'd attempt to use my existing DropBox account as an "external" data source.
 
In theory, I have followed all of the steps outlined in:
 
The "plan" was to load "input transaction records" into a file on the DropBox, have them sync'd to and then processed on the phone, then have the processed results copied back to the DropBox folder.
 
I, admittedly, don't have a good "mental concept" of how the overall process works - so I thought I'd try the basic steps shown in the document above.
 
When the line of code:
 
executes... The following JAVA error is thrown:
 
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
 
I'm guessing the specific issue is related to:
 
To me, it looks like some component is missing? I have the "DropboxSync (version: 1.20)" checked in my "Referenced Libraries" list.
 
Can someone point me in the right direction here please. I simply need the app (upon launch) to download one specific file from the DropBox account (process it via a Service) and then upload the "modified" file back to the DropBox account.
			
			In theory, I have followed all of the steps outlined in:
The "plan" was to load "input transaction records" into a file on the DropBox, have them sync'd to and then processed on the phone, then have the processed results copied back to the DropBox folder.
I, admittedly, don't have a good "mental concept" of how the overall process works - so I thought I'd try the basic steps shown in the document above.
When the line of code:
manager.Initialize(key, secret, "manager")
executes... The following JAVA error is thrown:
			
				B4X:
			
		
		
		mainafterFirstLayout (java line: 98)
 
 
java.lang.ExceptionInInitializerError
 
 
    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:149)
    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: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)
Caused by: java.lang.ExceptionInInitializerError
    at com.dropbox.sync.android.NativeLib.<init>(NativeLib.java:33)
    at com.dropbox.sync.android.NativeLib.<clinit>(NativeLib.java:11)
    ... 25 more
Caused by: java.lang.UnsatisfiedLinkError: Couldn't load DropboxSync: findLibrary returned null
    at java.lang.Runtime.loadLibrary(Runtime.java:365)
    at java.lang.System.loadLibrary(System.java:535)
    at com.dropbox.sync.android.NativeHttp.<clinit>(NativeHttp.java:447)
    ... 27 moreI'm guessing the specific issue is related to:
Couldn't load DropboxSync: findLibrary returned null
To me, it looks like some component is missing? I have the "DropboxSync (version: 1.20)" checked in my "Referenced Libraries" list.
Can someone point me in the right direction here please. I simply need the app (upon launch) to download one specific file from the DropBox account (process it via a Service) and then upload the "modified" file back to the DropBox account.
 
				 
 
		 
 
		 
 
		 
 
		 
 
		