• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

App design advice

Benvanj

Lurker
(I am using Android Studio)

I am working on an app that stores information in SQLite, for different "users"... there are only place for 4 different "users" but each "user" has different departments of information...I have a swipe menu which lists the 4 users and when you click on it it opens a new activity for each "user"... in each activity there are a TabLayout with each department for the information, (the tutorial I am looking at is showing me to create a fragment for each department)....

my question is this... is it possible, (and maybe best practice) to create an Activity with a layout... and populate the departments(different Tabs) with the "user" requested information???

So basically I will only have the swipe menu, with 1 Activity, which when opened, shows the different information for each "user"...

thanks for the advice...
 
There's not really enough information to give a definitive answer, because you've glossed over what exactly is "user requested information". This all has a bearing on your overall UI layout, and workflow. This could be 2 pieces of information, or it could be 20.

From your explanation though, the application seems to suit a tabbed layout, corresponding to the 4 different users. The issue is, how to capture the information related to the departments. This may or may not be manageable on one screen.
 
There's not really enough information to give a definitive answer, because you've glossed over what exactly is "user requested information". This all has a bearing on your overall UI layout, and workflow. This could be 2 pieces of information, or it could be 20.

From your explanation though, the application seems to suit a tabbed layout, corresponding to the 4 different users. The issue is, how to capture the information related to the departments. This may or may not be manageable on one screen.
Hi, thanks for the reply... let me re-ask and give more of a practical explanation
 
the app has many activities: main, user1, user2, user3,user4, adduser, and usersettings...

what I want to do is just have: main, adduser, usersettings and a userInterface...

Where the userInterface would be started with each of the different user selection buttons on the Swipemenu, then the userInterface be populated with the info from the SQLite database?
 
the app has many activities: main, user1, user2, user3,user4

This may be a language/terminology issue, but that doesn't really make sense. An Activity is normally used to described a functional aspect of the system i.e. a way of 'doing' something.
For example, you may want to create an Activity to 'input user details', or 'create a new department'. But just describing 'user1' 'user2' etc as Activities doesn't really make sense. These are objects within the system, on which you perform operations, or manipulate data.

When you're starting out designing an app, it may help you to sketch out the UI layout, and create wire frame mock ups of the screens. This will also help you to design how the screens are going to fit together (the workflow).

You'll also want to think about how your database is going to be structured, to store the data.
 
This may be a language/terminology issue, but that doesn't really make sense. An Activity is normally used to described a functional aspect of the system i.e. a way of 'doing' something.
For example, you may want to create an Activity to 'input user details', or 'create a new department'. But just describing 'user1' 'user2' etc as Activities doesn't really make sense. These are objects within the system, on which you perform operations, or manipulate data.

When you're starting out designing an app, it may help you to sketch out the UI layout, and create wire frame mock ups of the screens. This will also help you to design how the screens are going to fit together (the workflow).

You'll also want to think about how your database is going to be structured, to store the data.


Thank you, you are confirming what I thought all along...and answering my question...thank you
 
Back
Top Bottom