If you are handling this download in your app code, such as part of first run initialization, use the Android PackageManager getApplicationInfo method to retrieve the ApplicationInfo class. Some applications, particularly games, use secondary downloads containing additional textures, levels, or other asset files.
If the app was installed on external storage, the APK file will be on external storage. Handling secondary downloads in your appįor apps that perform their own secondary downloads as part of first run or at any other time, these downloaded files are usually stored where the APK file was installed on the device. In this example, you can see the footprint of an app on internal storage even after moving it to external. This is a step forward for customers using these devices, but the best choice for all Android devices, including those from Amazon, is to specify preferExternal in the manifest.įire OS tablets, like other current Android devices, also allow the user to move apps between internal and external storage. When active, this setting effectively reverses the standard Android behavior of installLocation="auto" such that auto will act like preferExternal on Amazon devices. When a Fire OS 5 tablet detects an external storage card, the Storage page in Settings shows the option "Install Supported Apps on your SD card." The default is "on."
See the App Install Location documentation in Android for more details. Live Wallpapers (not supported on Fire OS).Broadcast Receivers listening for "boot completed" message.In addition to DRM-protected media apps, the following types of applications should never be installed on external storage: If your app plays DRM-protected media, either do not include installLocation at all, or set its value to internalOnly.
If your app plays DRM-protected media, DRM resources may become unstable if USB storage becomes unavailable.However, DRM-protected media apps are an exception: Most apps should select preferExternal for the installLocation.
See App Install Location in the Android documentation for more information.
dex files, and extracted native code are stored on internal storage. Note that even though the APK file is installed on external storage, all databases, private user data, optimized. The user can manually move the app later by selecting it from Settings > Apps & Games > Manage All Applications. However, if internal storage is full, install the app to external storage (assuming external storage is available). Choose this option only for the types of apps described in the next section. The app cannot be manually moved later by the user. If there is not enough room in internal storage, the install will fail. Install the app only to internal storage. If external storage is full, install the app to internal storage (if available). Install your app on external storage when available. The installLocation parameter has several values available: installLocation value In the AndroidManifest.xml of your app, inside the tag, add the installLocation attribute and set its value to preferExternal. Selecting preferExternal helps ensure the greatest user base for your app and a better user experience on Fire devices. As a result, users get prompted with low storage warnings or cannot install the app at all, which leads to user frustration. Some users may have abundant space available in external storage, but if an app's Manifest does not specify preferExternal, the app will be installed internally. If left unspecified, your app will be installed on internal storage.