Hi,
Does anyone know when this particular error BILLING_RESPONSE_RESULT_ERROR
is being returned as a response by getSkuDetails method of the Billing API?
My app sends error reports to my GAnalytics whenever this error is returned
and for about 2000 daily active users I get around 1000 errors. This means
that alot of users cannot use billing.
I have tested my app on dozens of android devices and never met this error.
I tried to find a trend in the Analytics data but it seems to happen for
every device and every Android version.
I tried contacting Google on this matter but never received a reply.
Hope some of you guys might know anything.
Here is a sample of my code, nothing unusual:
private static String requestAvailableItems(String[] productIds)
{
ArrayList<String> temp = new ArrayList<String>();
for(int i = 0; i < productIds.length; i++)
{
temp.add(productIds[i]);
}
Bundle skus = new Bundle();
skus.putStringArrayList("ITEM_ID_LIST", temp);
Bundle availableItems = _billingService.getSkuDetails(3, MyApp.packageName,
"inapp", skus);
int response = availableItems.getInt("RESPONSE_CODE");
if(response == 0)
{
ArrayList<String> responseList = availableItems.getStringArrayList(
"DETAILS_LIST");
for (String thisResponse : responseList)
{
JSONObject object = new JSONObject(thisResponse);
_availableItems.put(object.getString("productId"), object);
}
return "0";
}
else
{
return Integer.toString(response);
}
}
--
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-developers/b3716e63-c98c-4194-90b8-1041b5a95988%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.