I am developing an API based Android application in which user can make his/her account. User can log in and out. The web services are through PHP. So my question is whether it would be better to maintain session in PHP or in Android(using SharedPreferences).
Asked
Active
Viewed 31 times
0
-
`shared preferences` in case of android. – Hirdesh Vishwdewa Jun 18 '16 at 10:46
1 Answers
0
For Android API implementation my suggestion will be referring Android Preference is good, rather than php sessions.

dod29
- 105
- 7
-
please take a look [here](http://stackoverflow.com/questions/1925486/android-storing-username-and-password) – dod29 Jun 18 '16 at 07:55