I am trying to test the getSkuDetails method in Android In-app billing v3 
API with different local prices.

I have used the sample application provided by Google (TrivialDrive), and 
modified it to display the price returned by Google in response to 
getSkuDetails:

        SkuDetails gasDetails = inventory.getSkuDetails(SKU_GAS);

        if (gasDetails != null){
            alert("Gas Price is " + gasDetails.getPrice());
        }

I have installed the app with an an account that has Google Wallet location 
set for Mexico.

When the app runs, the alert incorrectly shows a Gas Price of $1.00, but 
when I try to purchase more Gas, it shows the correct price of MX$12.72 for 
purchase.

Why isn't getSkuDetails returning the correct localized price of MX$12.72 
instead of $1.00?

Happy to provide more code snippets, but the above is all I have added to 
the sample app provided by Google.

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to