开发者

Is there an Android JAD-type file that can pass parameters to the APK?

In J2ME midlet development, you can pass runtime parameters to the midlet through a JAD file. Is there anything like this with Android? What I want is to p开发者_StackOverflow社区ass basic custom information to the APK Activity when a user downloads it.


No, there are no accompanying files like that. What you can do is provide the information needed in Resources. There are String, Integer, boolean, and array resource data types available to you. In addition you can add Extras to intents you send to your app or other apps.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜