K
K
Kostya Bakay2016-04-04 01:41:40
Android
Kostya Bakay, 2016-04-04 01:41:40

How to check if a user is authorized through VK in an Android application?

I made a simple authorization via vk.com in the Android application according to the tutorial (when you go to a certain fragment, an authorization window appears), but I didn’t understand how this can be checked in the future. I want to make it so that if the user was not authorized in the application, then when the application was turned on, an authorization window immediately appeared, and if he was already authorized, then the application content was shown. Can you suggest how to do this check?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Zagaevsky, 2016-04-04
@kostyabakay

VKSdk.isLoggedIn()

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question