Vladimir V Kisil
The current version of Android apk does not allow to install itself on SD card, only the phone memory is permitted. Is it possible to change this behaviour? Can I recompile it myself with SD card installation allowed?
Don't own an Android device yet but hopefully these instructions are helpful:
I don't think the gadgetcage instructions will help, as the issue seems to be the AndroidManifest.xml file in GpsMid Android apk not permitting installs on SD card. Anything non-rooted probably won't be able to change that, as the ability of allowing or not to install on sdcard is apparently part of allowing the app creator control over app instlal, probably partially for reasons relating to making unauthorized copying harder.
When I created the Android port, I didn't find a way to configure this (and some other parts of AndroidManifest which I wanted to edit) with the J2MEPolish platform used for building GpsMid. Perhaps you are better at finding out how to do this, in which case you might be able to change this. There's some documentation at http://www.enough.de/products/j2me-polish/documentation/platforms/android.html#android-configuring-manifest - but may be there's no functionality for changing this feature in J2MEPolish. J2MEPolish is free software so you could also take a go at adding this.
Alternatively, you probably can hack it when recompiling yourself, by modifying the AndroidManifest.xml while the compilation is running.
A third approach is to use a tool named "apktool" which, according to documentation allows one to take apart an .apk and decompile AndroidManifest.xml into source form, modify it, and put the .apk back together. I'm looking into this approach for ShareNav so I might be able to give some more info in a few days. So far I've used it to the take the .apk apart and the AndroidManifest.xml does seem to become editable, haven't yet tried to recreate the .apk. Anyway it didn't look too complicated, so this might be the easiest path. In the long run, it would be best to add this functionality to J2MEPolish if it already isn't there, or improve documentation if it is.
I have the J2MEPolish changes almost ready.
Patch to J2MEPolish at https://sourceforge.net/tracker/?func=detail&aid=3582428&group_id=192084&atid=939976
I've sent it also to J2MEPolish folks, hopefully it or something like it will be in a future version.
ShareNav 0.8.5 (just uploaded to google play, but can take a couple of hours to get updated there) is compiled with the modified J2MEPolish and can be installed on the SD card. It can read GpsMid maps.
Vladimir V Kisil
Thanks for addressing this issue!