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

Some android map apps don't shows the map [answered]

asked 2013-12-30 00:06:19 +0300

JS gravatar image

I've got some android apps wich is using maps, some of them don't shows the map inside the app, but the GPS seems to work correctly in all of them. At least the GPS shows coordinates in all of the apps.

  1. Genzo Jaktapp (Swedish hunting app), Works but shows no map.
  2. Google maps, Maps works correctly,
  3. WeHunt (Swedish hunting app), Maps works correcly,
  4. Endomondo, Works but shows no map,

The apps is downloaded from GooglePlay, before latest Sailfish update WeHunt and Genzo jaktapp was not available for installations on Jolla, the Genzo app was installed from an APK-file, (I've reinstalled it from Google Play after it became available but nothing's different).

Do somebody know whats wrong or what to do?

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by molan
close date 2014-06-05 08:09:53.146175


I can add another app to this list. I have a Tesla Model S, so I have installed the Tesla app. The app works great, but no maps (it can show the car's location in a map). It does try to get a GPS location as well, but seeing as this is only shown on the map, I can't tell if it's working or not.

Cecilie ( 2014-01-15 10:48:07 +0300 )edit

Hi Cecilie, have a Model S as well - could you be so kind and tell me through which store you downloaded the app?

mathias ( 2014-01-22 15:30:19 +0300 )edit

@mathias I downloaded it through 1Mobile Market (http://market.1mobile.com/). But seeing as the app crashes a lot, and has this map issue, I'm currently working on a native Sailfish app to communicate with the Tesla :)

Cecilie ( 2014-01-28 14:45:59 +0300 )edit

1 Answer

Sort by » oldest newest most voted

answered 2013-12-30 12:59:30 +0300

This is known. Sadly Android maps support is proprietary, as it uses Google maps. The Maps component in Android apps is not available in the Android Open Source Project, but it is so popular that there is a "stub" in Alien Dalvik, to prevent the apps using this component to crash.

It is expected that most maps-related features don't work right now on the Jolla. For more information about how Google controls API on Android, see this.

edit flag offensive delete publish link more



Can we replace the stub so that OSM data would be used instead?

ortylp ( 2013-12-31 18:31:03 +0300 )edit

what about a solution like "Amazon Maps API". HERE maps are already available on the Jolla phone. Could aliendalvik load these maps? or could it load the google maps when the google maps app is installed by the user?

prometoys ( 2014-03-11 03:26:49 +0300 )edit

This problem is a bit of show stopper for a lot of apps, I'm surprised there isn't more interest in this issue and how it can be solved.

Cecilie ( 2014-05-21 13:46:58 +0300 )edit

I was able to work around this issue. I add this as comment here because i am not able to answer (probably because the question is marked as answered already?).

To have com.google.android.maps API in your vm install the gapps like described here: http://www.jollatides.com/2014/04/03/updated-installing-google-play-on-jolla/

After step 12 do the following:

mv /opt/alien/system/framework/com.google.android.maps.jar /opt/alien/system/framework/com.google.android.maps.jar.bak
mv /opt/alien/system/framework/com.google.android.maps.odex /opt/alien/system/framework/com.google.android.maps.odex.bak
mv /data/data/com.google.android.apps.maps/shared_prefs/com.google.android.maps.MapsActivity.xml /data/data/com.google.android.apps.maps/shared_prefs/com.google.android.maps.MapsActivity.xml.bak
mv /data/data/com.google.android.apps.maps/shared_prefs/com.google.android.maps.driveabout.app.NavigationActivity.xml /data/data/com.google.android.apps.maps/shared_prefs/com.google.android.maps.driveabout.app.NavigationActivity.xml.bak
 cp /home/nemo/Downloads/system/framework/com.google.android.maps.jar /opt/alien/system/framework/com.google.android.maps.jar

Then follow the instructions again from point 13 on.

This way I was able to see the Oeffi-Apps maps overlay ... :-)

krafel ( 2015-03-03 11:50:19 +0300 )edit

Wow, thanks, that worked for me as well! I didn't have the two .xml files so I got errors when trying to rename those, but I ignored the errors, seemed to work nonetheless. :-)

jjvdgeer ( 2015-03-04 22:19:19 +0300 )edit

Question tools



Asked: 2013-12-30 00:06:19 +0300

Seen: 640 times

Last updated: Dec 30 '13