Answer the question
In order to leave comments, you need to log in
vksdk android. How to create a connection between devices?
Hello. Need help with VKSdk for Android. :)
There are 2+ devices with my app. Is it possible in some way using VKSdk to transfer a message from one copy of the application (one device) to another. (The message is to the application, The ip address of the server to which the application should connect will be sent)
More specifically: one of the devices must act as a server for the application to work further, but before that, the applications need to know which IP they will connect to. There is no own server, and the application uses VKSdk to work, so I thought maybe there is a way to send a message to a VK friend addressed to my application.
Answer the question
In order to leave comments, you need to log in
Here it is if anyone needs it.
<<I suggest paying attention to the methods:
vk.com/dev/storage.set and vk.com/dev/storage.get
They will allow you
to save information available to other copies of the application, but you will not be able to receive a notification about this. The application will have to poll the state of the keys itself. >>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question