Answer the question
In order to leave comments, you need to log in
How to store access_token in android application?
I am writing my first app in Android Studio. Task: user authentication through Vkontakte.
How to save the access_token so that you don't have to authenticate every time after restarting the application?
There is no detailed manual in Google, I'm picking vk_sdk, but so far it's hard to get into.
Answer the question
In order to leave comments, you need to log in
As far as I remember, vk_sdk stores access_token inside, but this is not accurate.
SharedPreferences for such purposes is the best way.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question