示例#1
0
 /*
  * Get an access token from your Twilio access token server
  */
 private void retrieveAccessToken()
 {
     Ion.with(ApplicationContext).load(ACCESS_TOKEN_SERVICE_URL).asString().Callback = new FutureCallbackAnonymousInnerClassHelper(this);
 }
示例#2
0
 private void retrieveAccessTokenfromServer()
 {
     Ion.with(this).load("http://localhost:8000/token.php").asJsonObject().Callback = new FutureCallbackAnonymousInnerClassHelper(this);
 }