Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Managing multiple activities in android application

I have an android application with many activities. I render next activity from the previous by creating an Intent object right in its code. I think this kind of code sucks. Are there any "good" ways to implement activities management in the application, best practices?

like image 454
Sergey Avatar asked Nov 10 '11 05:11

Sergey


1 Answers

Actually, there are some standard practices that we android developer follows:

  1. Create DashBoard and start activities based on the particular dashboard option click
  2. Follow Tab-bar design

About Dashboard:

enter image description here

You can get the example for Dashboard from here.

About TabBar: Why i prefer Dashboard as compared to Tabbar? Just because it is really very much easy to implement activity management in dashboard while in tab layout we have to implement ActivityGroup concept and really very much hard to handle as compared to Dashboard layout.

like image 105
Paresh Mayani Avatar answered Nov 13 '22 19:11

Paresh Mayani