![]() I have not personally used this facility yet myself, and so am describing this based solely on the cited references. That same folder includes the abovementioned APK expansion Zip library in its zip_file sub-folder. For example, on my installation, I find the API-8 versions here: \extras\google\play_apk_expansion\ Note that while this facility is new, the libraries have been supplied with the Android SDK for use with earlier API levels. Here is Google's announcement of this change:Īnd here is a detailed description of the facility: Those expansion files are served for you by Google, and they are maintained in a specific SD card folder that is specific to your app, and can be accessed using an API provided by the Downloader Library (requires API level 5 or above). The APK still has a 50MB maximum, but the expansion files raise the total storage available to over 4 GB. If so, then you might consider that Google Play, as of, supports the attachment (to your app) of up to two "expansion files" of up to 2 Gigabytes each. I'm guessing that you are storing your images to the SD card because they are too large to fit into your APK file (given its 50MB size limit, which is even smaller than that in practice for certain devices, due to buffering issues). Answered 6 years ago Author has 92 answers and 317.5K answer views. In addition, if you have images that your app reads from (but does not write to) the SD card, and that should only be available to your own app, and that could be delivered when your app is installed or updated, then it might make sense to take advantage of a new Google Play facility to incorporate them as part of your app when it is installed. A NOMEDIA file usually stored on the internal memory or the SD card of a Android. ![]() Presumably, files stored in a ZIP archive on your SD card will not be displayed by the Gallery. A description of this library can be found here: You might consider using the APK Expansion Zip Library (requires API level 5 or above) to read files that you will have installed to the SD card as part of a Zip archive.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |