-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make possible to move the app to SD Card #40
Comments
Hmm interesting, will need to check out how that actually works, good suggestion! |
So this is apparently dead easy. http://developer.android.com/guide/topics/manifest/manifest-element.html#install |
Yes it is :-) and I do not think there is a technical reason why this app should reside in main memory. |
From the docs "The .apk file is saved to the external storage, but any application data (such as databases) is still saved on the internal device memory." Will have to test how this behaves. The app itself is around 200kb - still, being able to move it is an option that should be available. |
Since you are using SQLLite DB, you should be able to pass a path to external storage when the DB is created ( http://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html#openDatabase(java.lang.String, android.database.sqlite.SQLiteDatabase.CursorFactory, int, android.database.DatabaseErrorHandler) ) It might be necessary to add extra logic to handle unavailable external storage (unmounting the SD Card or not having any external storage at all). Mmmm, this is getting harder than initially expected :-/ |
The ability to move the app has been added. The app will be much larger due to the Google Analytics library (which has an opt-out setting though). Looking into moving the db as well, but that's indeed a bit harder :) |
It is currently no possible to move the application (248 KB + 2.45MB data) to SD Card. This limits the usage for low-end smart phones.
The text was updated successfully, but these errors were encountered: