android 2.2 introduce new feature that provide an ability to move an application to SD card or usb storage of phone.
i want to know what happens when a user choose "move to SD card" on android app info,
android 2.2 introduce new feature that provide an ability to move an application to SD card or usb storage of phone
Note that this has been obsolete for years; you will not find this option on most Android 3.0+ devices.
what file's of application moves?
Quoting the documentation:
The .apk file is saved on the external storage, but all private user data, databases, optimized .dex files, and extracted native code are saved on the internal device memory.
where is moved files on SD card or where is new installation address?
That is undocumented. Nothing that you access normally as a developer moves from wherever you accessed it before.
is there a way to handle what file's move and what files not move?
No, other than to not move the app at all (e.g.,
how can i address new moved applications folder, for example database folder (before moving i can address it like "/data/data/APP_PACKAGE/databases/" )?
NEVER HARDCODE PATHS.
You can access the path to a database via