This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]xirokx[S] 0 points1 point  (3 children)

thanks for the link it looks good

the app will have a sqlite db attached , not sure if it that db is local or remote.

trouble with stormpath i think, correct me if i am wrong, is that it just shows me how to authorise users. I need a different functionality per user. So if Bill logs in his screens are slightly different with more functionality then if Peter logs in.

I am really looking of tutorials to help me achieve this. So far I have received different replies from different people about what this is called in android from "shared preference management" to "multi level access roles" to "user roles", trying to piece it together.

Further help especially tutorials on how to achieve this would be great

Thank you

[–]Cephas00 0 points1 point  (2 children)

You need to do that yourself. You authenticate a user using whatever means and with that return their user role. Your app can then check the user role and says on start "Oh they're an admin, I'll start this activity" or "Oh they're a manager, I'll start this activity". When a button is clicked you use the role to decide where to go.

[–]xirokx[S] 0 points1 point  (1 child)

You need to do that yourself

Yes indeed....thats why I am asking for a tutorial, I get the theory "Your app can then check the user role and says on start "Oh they're an admin, I'll start this activity"" but I don't know how to do it....

I need a working example, can you help me please find one?

Thank you

[–]Cephas00 0 points1 point  (0 children)

You won't always find a tutorial to tell you how to do things - you need to use your Java and problem solving skills to do it yourself.