Opened 11 years ago
Closed 11 years ago
#918 closed defect/bug (fixed)
Unable to use built-in Android 2.2+ capability to move Navit application to sdcard
Reported by: | tryagain | Owned by: | cp15 |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | port/android | Version: | git master |
Severity: | Keywords: | ||
Cc: |
Description
Button "Move to sdcard" is disabled on my HTC Wildfire S (Android 2.3.3) for Navit application.
As per http://android-developers.blogspot.com/2010/07/apps-on-sd-card-details.html it shouldn't break compatibility with earlier versions of android if we specify android:installLocation in the root manifest element to "auto".
Change History (5)
comment:1 Changed 11 years ago by andrea piras 85
comment:2 Changed 11 years ago by tryagain
Hm.
- android:installLocation="auto" is already in manifest in current svn.
- I was able to move self-compiled navit to sdcard. Yet it displays a black screen, but that's a different story...
I have to re-test my issue with current nightly build. Hope I'll be able to do it tomorrow.
comment:3 Changed 11 years ago by tryagain
I confirm that problem exists for me with Market version and nightly built svn 4687, 4692 ones.
But my self-built [broken] version is moveable to sdcard. The difference is that nightly builds are done with autoconf, but I am trying to build it with cmake.
http://navit.svn.sourceforge.net/viewvc/navit/trunk/navit/navit/android/AndroidManifest.xml.cmake?revision=4688&view=markup has android:installLocation="auto", but http://navit.svn.sourceforge.net/viewvc/navit/trunk/navit/navit/android/AndroidManifest.xml.in?revision=4252&view=markup doesn't.
It seems to be trivial to fix.
comment:4 Changed 11 years ago by rikky
This was only enabled for the cmake build, but the nightly and market versions don't use cmake yet. I submitted a fix with rev4702, but you should use the cmake build if possible - it's much smaller.
comment:5 Changed 11 years ago by korrosa
- Resolution set to fixed
- Status changed from new to closed
I'm presuming what Rikky is saying is that this ticket is fixed? If not, please re-open...
I tested using cyanogenomd 7 ( android 2.3.3) and cyanogen7.1 ( android 2.3.5 ) and in both it was possible to move manually the app to sd card storage using the system app manager. altough it's possible that cyanogenmod simply ignores the android:installLocation flag