Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - gerryscat

#1
I'm new to both Android and Locus. What's the best mechanism to get a KML file (either in memory or saved to disk) from my app to Locus?

Thanks.
[I'll be out of the office next week but hope I can get this done in hours, not days, when I get back.]
#2
Developers / Re: [DEV] - Locus Data API (BETA)
August 19, 2011, 20:22:56
Sorry newbie here, new to Android and Locus. I tried building the Sample but when I run it it crashes on me, see log below. I have Android 2.2. Do I have to have Locus Pro?

Also, if I understand correctly: in order for my application to pass data to Locus, both applications need to run at the same time. But Android has this nasty habit of closing applications, how do I even run 2 applications at once. Is my application supposed to launch Lotus or something, then hide somewhere?

E/AndroidRuntime( 5029): FATAL EXCEPTION: main
E/AndroidRuntime( 5029): java.lang.RuntimeException: Unable to get provider menion.android.locus.addon.publiclib.sample.DataStorageProvider: java.lang.ClassNotFoundException: menion.android.locus.addon.publiclib.sample.DataStorageProvider in loader dalvik.system.PathClassLoader[/data/app/menion.android.locus.addon.publiclib.sample-1.apk]
E/AndroidRuntime( 5029):    at android.app.ActivityThread.installProvider(ActivityThread.java:4509)
E/AndroidRuntime( 5029):    at android.app.ActivityThread.installContentProviders(ActivityThread.java:4281)
E/AndroidRuntime( 5029):    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4237)
E/AndroidRuntime( 5029):    at android.app.ActivityThread.access$3000(ActivityThread.java:125)
E/AndroidRuntime( 5029):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2071)
E/AndroidRuntime( 5029):    at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 5029):    at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 5029):    at android.app.ActivityThread.main(ActivityThread.java:4627)
E/AndroidRuntime( 5029):    at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 5029):    at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 5029):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:871)
E/AndroidRuntime( 5029):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:629)
E/AndroidRuntime( 5029):    at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 5029): Caused by: java.lang.ClassNotFoundException: menion.android.locus.addon.publiclib.sample.DataStorageProvider in loader dalvik.system.PathClassLoader[/data/app/menion.android.locus.addon.publiclib.sample-1.apk]
E/AndroidRuntime( 5029):    at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:243)
E/AndroidRuntime( 5029):    at java.lang.ClassLoader.loadClass(ClassLoader.java:573)
E/AndroidRuntime( 5029):    at java.lang.ClassLoader.loadClass(ClassLoader.java:532)
E/AndroidRuntime( 5029):    at android.app.ActivityThread.installProvider(ActivityThread.java:4494)