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

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -