Android Market In-App-Purchase: How to get the currency a user will pay in?

后端 未结 5 1579
鱼传尺愫
鱼传尺愫 2020-12-05 02:46

I have an Android app using In-App-Purchase that caters to an international audience, so I expect payments in different currencies. Of course I would like to show the items

5条回答
  •  孤城傲影
    2020-12-05 02:57

    Perhaps use the default Locale of the device?

    String locale = Locale.getDefault().toString();

    Then you could do a comparison off of that.

    Just an idea!

提交回复
热议问题