This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Android and the fly likes how to define user type Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Mobile » Android
Bookmark "how to define user type " Watch "how to define user type " New topic

how to define user type

sam liya
Ranch Hand

Joined: Nov 25, 2008
Posts: 1240
I need to show the different screens depend on the user type.If a user is normal one screens.if a user is admin one screen.How to get different screens depend on the user types?
Steve Luke

Joined: Jan 28, 2003
Posts: 4181

1 Define what user types are
2 Associate users with types
3 Get the current user
4 Lookup current user's type
5 Show the correct screen

Have you checked out Aspose?
subject: how to define user type
jQuery in Action, 3rd edition