Running cyclopath on Android

10 views
Skip to first unread message

srose

unread,
Oct 4, 2012, 2:59:27 PM10/4/12
to cyclop...@googlegroups.com
Hi
I have loaded the Cyclopath Android source code into Eclipse and I am now trying to get it to run on an Android emulator. I have tried several api versions: 1.5, 2.0, 2.1 and 3.0 however the app never manages to load, instead I get "Sorry, The application Cyclopath (process org.cyclopath.android) has stopped unexpectedly. Please try again".

Here is an output from LogCat with api 2.1:

10-04 18:54:19.914: E/AndroidRuntime(324): Uncaught handler: thread main exiting due to uncaught exception
10-04 18:54:19.934: E/AndroidRuntime(324): android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application
10-04 18:54:19.934: E/AndroidRuntime(324):     at android.view.ViewRoot.setView(ViewRoot.java:472)
10-04 18:54:19.934: E/AndroidRuntime(324):     at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:177)
10-04 18:54:19.934: E/AndroidRuntime(324):     at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:91)
10-04 18:54:19.934: E/AndroidRuntime(324):     at android.app.Dialog.show(Dialog.java:239)
10-04 18:54:19.934: E/AndroidRuntime(324):     at android.app.AlertDialog$Builder.show(AlertDialog.java:802)
10-04 18:54:19.934: E/AndroidRuntime(324):     at org.cyclopath.android.G.checkForMandatoryUpdate(G.java:291)
10-04 18:54:19.934: E/AndroidRuntime(324):     at org.cyclopath.android.gwis.GWIS.processResultset(GWIS.java:439)
10-04 18:54:19.934: E/AndroidRuntime(324):     at org.cyclopath.android.gwis.GWIS.processData(GWIS.java:345)
10-04 18:54:19.934: E/AndroidRuntime(324):     at org.cyclopath.android.gwis.GWIS_Log.processData(GWIS_Log.java:125)
10-04 18:54:19.934: E/AndroidRuntime(324):     at org.cyclopath.android.gwis.GWIS.handleResults(GWIS.java:278)
10-04 18:54:19.934: E/AndroidRuntime(324):     at org.cyclopath.android.gwis.GWIS$1.handleMessage(GWIS.java:103)
10-04 18:54:19.934: E/AndroidRuntime(324):     at android.os.Handler.dispatchMessage(Handler.java:99)
10-04 18:54:19.934: E/AndroidRuntime(324):     at android.os.Looper.loop(Looper.java:123)
10-04 18:54:19.934: E/AndroidRuntime(324):     at android.app.ActivityThread.main(ActivityThread.java:4363)
10-04 18:54:19.934: E/AndroidRuntime(324):     at java.lang.reflect.Method.invokeNative(Native Method)
10-04 18:54:19.934: E/AndroidRuntime(324):     at java.lang.reflect.Method.invoke(Method.java:521)
10-04 18:54:19.934: E/AndroidRuntime(324):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
10-04 18:54:19.934: E/AndroidRuntime(324):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
10-04 18:54:19.934: E/AndroidRuntime(324):     at dalvik.system.NativeStart.main(Native Method)

Can anyone help with this problem?

Thanks

Fernando Torre

unread,
Oct 4, 2012, 4:47:23 PM10/4/12
to cyclop...@googlegroups.com
Hi,

The code in the public trunk is actually a few versions old (version 7 as opposed to the current version 14). I will work with the developer in charge of the main trunk to move the newer Android version there.

Fernando
Cyclopath Team



--
You received this message because you are subscribed Cyclopath Development.
To post to this group: send email to cyclop...@googlegroups.com
To read this group on the Web: http://groups.google.com/group/cyclopath-dev
To unsubscribe from this group: send email to
cyclopath-de...@googlegroups.com

Fernando Torre

unread,
Oct 16, 2012, 5:00:28 PM10/16/12
to cyclop...@googlegroups.com
Hi again.

We updated the code in the public repository, so please try again now. You will also have to edit a CONIFG file in order for the build to work.

Fernando

srose

unread,
Oct 23, 2012, 2:48:47 PM10/23/12
to cyclop...@googlegroups.com
Hi,
Thanks a lot. I will try give it a try.

Sam
Reply all
Reply to author
Forward
0 new messages