Ticket #918 (closed defect/bug: fixed)

Opened 21 months ago

Last modified 21 months ago

Unable to use built-in Android 2.2+ capability to move Navit application to sdcard

Reported by: https://wiki.navit-project.org/index.php/user:tryagain Owned by: cp15
Priority: major Milestone:
Component: port/android Version: svn
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

comment:1 Changed 21 months ago by andrea piras 85

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

comment:2 Changed 21 months ago by https://wiki.navit-project.org/index.php/user:tryagain

Hm.

  1. android:installLocation="auto" is already in manifest in current svn.
  2. 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 21 months ago by http://wiki.navit-project.org/index.php/user: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 21 months ago by http://wiki.navit-project.org/index.php/user: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 21 months ago by http://wiki.navit-project.org/index.php/user:korrosa

  • Status changed from new to closed
  • Resolution set to fixed

I'm presuming what Rikky is saying is that this ticket is fixed? If not, please re-open...

Note: See TracTickets for help on using tickets.