2
In transport services I see two apps the provider and user app.
I had a request for a development and in the scope of the project was identified several profiles, on Android I have not found or ever made anything of this type different web or desktop s solutions that manage menu or system functions and enable/disable features depending on the profile of the logged in user.
I imagined creating two apps one for user and another corporate plus my requester still insisted on a single app, any of you gentlemen who have passed by project with profiles functions could comment on this? as I reported did not get to do anything with this type of feature on native mobile device.
Make a modulated application (divided into libraries: user, corporate). Maybe this is one of the solutions.
– itscorey
the basis of the app will be the login screen... From it, you redirect to, for example, Mainactivityusuario or Mainactivityprestator.
– Mr_Anderson
You could have two Activity like @Mr_anderson said if the differences are big. If they are small you could have only one Activity and then display or not some features depending on login
– Reginaldo Rigo
if I were to develop this, I would make a web site and open this site in a native webview to take advantage of all the features that java offers for handling this type of data, so just create a responsive site and voila, open it on the screen of the device, who log in will be directed also when logging into a website by the desktop.
– Armando Marques Sobrinho
Hello everyone, thank you for the comments, I believe Mr. @Mr_anderson’s suggestion is the right one, I will implement this approach.
– Robson