Guys, I am trying to simulate the click of install button in google play store on a android device.
I 've already got token via GoogleAuthUtil.getToken(context, mailAddress, "oauth2:https://www.googleapis.com/auth/drive") and got device id , feature, xhr, offerType everything required for a install request. But I am getting the response below {"status":"ERROR","errorCode":"GAIA_USER_REQUIRED"... Could you give me some help to work it out? my code: HttpPost httpost = new HttpPost("https://play.google.com/store/install"); List <NameValuePair> nvps = new ArrayList <NameValuePair>(); nvps.add(new BasicNameValuePair("id", "my app id")); nvps.add(new BasicNameValuePair("offerType", "1")); nvps.add(new BasicNameValuePair("device", "my device id")); nvps.add(new BasicNameValuePair("feature", "home-cip-2")); nvps.add(new BasicNameValuePair("xhr", "1")); nvps.add(new BasicNameValuePair("token", "token for google api")); httpost.setEntity(new UrlEncodedFormEntity(nvps)); -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en