Android : Android : How to give permission to certain users to start Activity on Parse user type property?

on Monday, October 27, 2014


assume that i have two types of users: students and instructors.





ObjectID UserName Password Type
------- -------- -------- ------
8uJ03j7 user#1 *** student
2835ruJ user#2 *** instructor
2835JhL user#3 *** student



Every time a user enter username and password and click log in i want to check their Type. For example if user is student to Start new intent and open activity for student , same thing for Instructor.


I know how to make intent just need to check their type .


0 comments:

Post a Comment