开发者

Suggestions for Android project guidelines [closed]

Closed. This question is opinion-based. It is not currently accepting answers.

Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.

Closed 6 years ago.

Improve this question

I'm trying to prepare a set of guidelines and project template for my future Android projects. Im already implementing the basic MVC architecture modularity. Im trying to have add more advanced level of design to my Android projects to make my development easier and maintainable.

For example can someone suggest me a way to make Intent calls to Activity without explicitly mentioning the class while creating the Intent. Im trying to loose couple the intent calls and hopefully use AndroidManifest to assign action to an activity whi开发者_如何学运维ch then can be called globally within the application.

Any other type of suggestions are welcome.

Also please suggest any kind of coding conventions that you might be using yourself.


if you want to call an Activity without explicity set the Activity class in the Intent you could register a broadcast receiver in your activity for your custom action..

Have a look at registerReceiver function.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜