src\com\maximus\dropboxexample\main.java:259: inconvertible types
found : anywheresoftware.b4a.objects.collections.Map.MyMap
required: com.dropbox.client.DropboxAPI.Config
_m2.setObject((anywheresoftware.b4a.objects.collections.Map.MyMap)(_api.authenticate((com.dropbox.client.DropboxAPI.Config)(_m.getObject()),"h@y.com","abcdef")));
^
1 error
Declare the class in your file static to make it visible without needing an instance of the containing class.
Because it is needed by your library at runtime. It is compiled against it by Eclipse, not included in the compiled code. Just like B4AShared.jar and Android.jar are needed at runtime. Android.jar is available on the device and B4AShared.jar is included by the IDE in your apk.What is the reason you would want to add the jar to the apk?
That's is the xml required for your library code which you need. The xml file I am referring to is an almost empty one named the same as the API jar and used to inform the IDE that the API jar is needed by the library by selecting it in the IDE Libs tab.I was generating the XML file using javadocs.
Note that I'm also giving a shot in providing support for DropBox.
That's is the xml required for your library code which you need. The xml file I am referring to is an almost empty one named the same as the API jar and used to inform the IDE that the API jar is needed by the library by selecting it in the IDE Libs tab.
Yes. Maybe I misunderstood! I assumed that the Dropbox API came as a jar like AdMob and others I have seen. If you do have the source then you can of course compile it in to your library and do not need an external jar.if you have just the JAR file (not the source), can you create a library with that.
Yes. Maybe I misunderstood! I ssumed that the Dropbox API came as a jar like AdMob and others I have seen. If you do have the source then you can of course compile it in to your library and do not need an external jar.
Dim cfg1 As DropboxReturnConfig
javac 1.6.0_21
src\com\maximus\dropboxexample\main.java:226: cannot find symbol
symbol : constructor Config()
location: class com.dropbox.client.DropboxAPI.Config
_cfg1 = new com.dropbox.client.DropboxAPI.Config();Debug.locals.put("cfg1", _cfg1);
Make an Initialize method to pass those parameters after the instance is constructed from the default constructor.I remmeber reading somewhere B4A constructors should not have this.
cfg1 = api.authenticate(m,\
javac 1.6.0_21
src\com\maximus\dropboxexample\main.java:262: inconvertible types
found : anywheresoftware.b4a.objects.collections.Map.MyMap
required: com.dropbox.client.DropboxAPI.Config
_cfg1 = _api.authenticate((com.dropbox.client.DropboxAPI.Config)(_m.getObject()),"h@y.com","abcdef");Debug.locals.put("cfg1", _cfg1);
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?