Well the point is that I need to implement the Beacon Proximity API on my Android application but I have had many problems. my intention is to manage the beacons I have in the google platform from my android application, I was following the demo provided by google but I had the following problems: 1) By adding the library of the example I find that it has 'com.google.android.gms: play-services: 7.5.0' and my project has version 15.0.0 so the current I realize that uses deprecated methods like "GoogleAuthUtil.getToken"
final String token = GoogleAuthUtil.getToken(ctx, account, SCOPE);
Request.Builder requestBuilder = new Request.Builder()
.header(AUTHORIZATION, BEARER + token)
.url(ENDPOINT + urlPart);
switch (method) {
case PUT:
requestBuilder.put(RequestBody.create(MEDIA_TYPE_JSON, json));
break;
case POST:
requestBuilder.post(RequestBody.create(MEDIA_TYPE_JSON, json));
break;
case DELETE:
requestBuilder.delete(RequestBody.create(MEDIA_TYPE_JSON, json));
break;
default: break;
}
2) I can not find information in other media to guide me to create the connection. I appreciate any guidance in advance.