android - Is there a way to install the data directly at the installation of apk? -
i use tts requires license , voice pack in android\data\voxygen.baradroid folder. folder has several subfolders , files inside.
by adding folder directly through simple copy paste, works. can not find way install directly during apk installation or first start of application.
is there way? in advance!
you can put file in resources/assets or resources/raw , when app launched first time can access files , create copy @ specified location.
following links how use assets in android.
https://coderwall.com/p/0ldbgw/working-with-assets-in-android https://xjaphx.wordpress.com/2011/10/02/store-and-use-files-in-assets/ https://www.youtube.com/watch?v=xbifoj_x9w4
Comments
Post a Comment