Android In-App billing item price

前端 未结 4 2046
情书的邮戳
情书的邮戳 2020-12-29 04:21

How can the price of an in-app billing item be retrieved before actually displaying the android market frontend for the in-app purchase? Currently it looks like the user onl

4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-29 05:17

    String price = inventory.getSkuDetails("sku_of_your_product").getPrice();
    

提交回复
热议问题