如何自动生成Android应用? [英] How to generate android app automatically?
问题描述
我有previously在我的web主机创建Android应用程序。我只是需要从用户那里得到一些投入,并根据用户输入自定义程序,并重新生成的Android APK。有没有办法做到这一点?
在此先感谢..!
I have previously created android app in my web host. I just need to get some inputs from user and customize that program according to the user inputs and re generate the android apk. Is there a way to do this? Thanks in advance..!
推荐答案
是的,有一种方法,你必须遵循以下步骤:
Yes there is a way, you have to follow the below steps :
用户输入:
1 - 创建一个收集用户输入的library.config并将其放置在你的资源文件夹
您可以使用web服务,如JSON对象收集和分析数据
1- create a library.config that gather the user input and place it in your asset folder you can use webservice such as JSON objects for gathering and parsing data
2 - 现在你从你的应用程序中读取用户输入的文件
2- now you read that file with the user input from inside your application
有关APK发生器:
1,您必须从Eclipse内创建构建文件并把它放在原来的项目
1- You have to create your build file from inside eclipse and place it in your original project
2 - 下载ANT工具和使用ant发布命令从创建生成APK
应用
2- Download ANT tools and use the ant release command to generate the APK from your created application
3,不要忘了运行Android的更新项目-p,更新您的构建文件在您的应用
3- Don't forget to run android update project -p , to update your build file in your application
这篇关于如何自动生成Android应用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!