eclipse - Is there any way to make my android application smaller? -


i'm creating new application android. it's first application. works instrumental songs, every song put there, 3mb. app group of 6 instrumental songs.

is there way make app smaller?

use play store expansion files.

google play hosts , serves expansion files @ no charge

the files can file type want , saved device's shared storage

user selects install app google play.

if google play able download expansion files (which case devices), downloads them along apk. if google play unable download expansion files, downloads apk only.

when user launches application, app must check whether expansion files saved on device.

if yes, app ready go. if no, app must download expansion files on http google play. app must send request google play client using google play's application licensing service, responds name, file size, , url each expansion file.

with information, download files , save them proper storage location.

http://developer.android.com/google/play/expansion-files.html

each time upload apk using google play developer console, have option add 1 or 2 expansion files apk. each file can 2gb , can format choose, recommend use compressed file conserve bandwidth during download. conceptually, each expansion file plays different role.


Comments