I am creating an application for contact-book. I wish to know whether it is valid to create multiple activities in the application or creating a single activity for all screens in an application.
I am not sure, which is the standard process.
It would be helpful if anyone provides a valid-link for this, where the standards are defined.
Thanks in advance.
You need to carefully identify your requirement.
You should consider creating Fragments when you are creating your application.
Number of Activity depends upon number of different tasks you want to perform in your application
for example
in you contact application if you are working with
Contact listing page
Contact detail page
this can be accompalished by just one activity and two fragments 🙂
Fragments will also help you to setup your UI on tablet mode… in one screen itself under landscape orientation.
But yet again! it totally depends upon your requirement of application.
THERE IS NO SET RULE! that’s what great about Android. 🙂