I want to create an apk file on runtime using the details that user filled in a html page like application name ,application background icon and other drawables. The user just need to fill all the details and click on a create button will generate the apk file having all the data that i have filled.
I have an idea to keep the Android SDK on server and compile the code on backend and when it finished we give an option of downloading application on the page.
But no idea how to implement it please help me.
they are doing the same http://www.appsgeyser.com/create/start/ check it.
Infrastructure
Code
Running the Ant Build Programmatically
http://www.ibm.com/developerworks/websphere/library/techarticles/0502_gawor/0502_gawor.html
Running ANT Programmatically Through Java
Update
Use Gradle, it’s a lot more easier.