O'Reilly logo

Android Application Security Essentials by Pragati Ogal Rai

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Installing an application on an external storage

As we have discussed in Chapter 4, Defining the Application's Policy File, starting with API level 8, applications can choose to be installed on the SD card. Once the APK is moved to external storage, the only memory taken up by the app is private data of applications stored on the internal memory. It is important to note that even for SD card resident APKs, the DEX (Dalvik Executable) files, private data directories, and native shared libraries remain on the internal storage.

Adding an optional attribute in the manifest file enables this feature. The Application Info screen for such an application either has a Move to SD card or Move to Phone button, depending on the current storage location of ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required