Android project guidelines

I am trying to prepare a set of guidelines and a project template for my future Android projects. Im already implementing modular MVC architecture. I am trying to add a more advanced level of design to my Android projects to make my development easier and more convenient.

For example, someone might suggest me a way to make Intent calls to an Activity without explicitly mentioning the class when creating the Intent. I'm trying to lose a couple of intents and hopefully use the AndroidManifest to assign an action to an activity, which can then be called globally within the app.

Any other suggestions are greatly appreciated.

Also provide any conventions you can use yourself.

+2


a source to share


1 answer


if you want to call Activity without explanation, set Activity class to Intent, you can register a broadcast receiver in your activity for your custom activity.



Take a look at registerReceiver .

0


a source







All Articles