We have moved to a new Sailfish OS Forum. Please start new discussions there.
2

Android app does not start -- how to debug?

asked 2015-05-20 12:18:29 +0300

RemyG gravatar image

I have one Android app (ch.admin.meteoswiss.apk) that does not start on the Jolla. Others work just find. It quits without bringing the application up. Is there a way one can figure out why this app does not start? A log or something else?

Thanks for the feedback. Rémy

edit retag flag offensive close delete

Comments

You right, that app doesn't work. But I have same issue on my Cyanogenmod Android Nexus 4. Same with Swisscom iO (which since recent updated doesn't work anymore) where I found out that it needs "com.google.android.maps.jar" to run. It seems like that it became a sad fashion in Switzerland to make all apps dependant on Google services (should be optional in my opinion). Same counts for SRF Meteo app...quiet ridiculous!

I could make Swisscom iO work on Cyanogenmod, by adding missing Google files, but yeah...not happy with that.

If you find a solution with meteoswiss, please share :-)

molan ( 2015-05-20 15:26:25 +0300 )edit

3 Answers

Sort by » oldest newest most voted
1

answered 2015-05-20 12:27:42 +0300

rudi gravatar image

updated 2015-05-20 12:33:10 +0300

have a look at
https://together.jolla.com/question/80210/android-apps-or-dalvik-logs-where-to-find/?answer=80760#post-id-80760

edit flag offensive delete publish link more
0

answered 2015-05-20 16:37:06 +0300

RemyG gravatar image

Decompiling the app showed that it uses:

com.google.analytics.tracking.android com.google.android.gcm com.google.android.gms

no clue if this is available within Jolla's Android engine or not...and if not - how to add...

Any help welcome.

Rémy

edit flag offensive delete publish link more

Comments

Those files are not present in Jolla Android emulation (and many users probably wouldn't want to have them on their Jolla phone).

In case you saw my comment above (under your question) - I simply added the missing framework files into the corresponding folders of Android (or emulation in case of Jolla). Search the internet for google-play-services.jar. I don't recommend it though + of course be careful where you download that stuff.

Another solution would be to install all the Google Play Services (see https://together.jolla.com/question/30926/howto-install-google-play/). But if you really want to do that to your Jolla phone is another question...

molan ( 2015-05-20 18:14:20 +0300 )edit
0

answered 2015-05-20 18:54:09 +0300

RemyG gravatar image

Well - I fully agree, I do not want that Google code on my Jolla. I already felt uncomfortable pushing the APK that I had to download from Google Play to the phone. The app in question also does not work on the Blackphone...even if granted all the strange and unnecessary rights it asks for.

So we end up with "Coding over Convenience" - aka downloading the Sailfish SDK and port that code to a Jolla app...I knew there will a point in time I will have to do this...

Anyhow - thanks for the answers.

Rémy

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
2 followers

Stats

Asked: 2015-05-20 12:18:29 +0300

Seen: 911 times

Last updated: May 20 '15