Posted By

ashsa on 02/08/11


Tagged

android


Versions (?)

allow android apps install on external device


 / Published in: XML
 

URL: http://developer.android.com/guide/appendix/install-location.html

If you declare "preferExternal", you request that your application be installed on the external storage, but the system does not guarantee that your application will be installed on the external storage. If the external storage is full, the system will install it on the internal storage. The user can also move your application between the two locations.

If you declare "auto", you indicate that your application may be installed on the external storage, but you don't have a preference of install location. The system will decide where to install your application based on several factors. The user can also move your application between the two locations.

  1. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  2. android:installLocation="auto"
  3. ... >
  4.  
  5. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  6. android:installLocation="preferExternal"
  7. ... >

Report this snippet  

You need to login to post a comment.