[SOLVED] Android get the user's access token and Variable ID after a user successfully login

Hi ,. i’m creating an Android application that uses the ubidots platform for storing/visualizing data. so i need to dynamicly get the users acess token ,variable id from ubidots after the user authentification. the same way in android gps tracker.
any idea how to do that
any suggestion will be helpful

You can see what they do to get the Token of the users after the signup here: BrowserFragment Android GPS Tracker.

They do some tweaks to the WebView component they use:

  • Enables Javascript in the WebView
  • Set the User Agent to Android-Ubidots/1.6

And then they listen to an event they send after the Login (check all the class beginning from line 68), that method receives the Token created for the user.

Regards