我是谷歌应用内计费的新手,我从谷歌下载示例并获得了 TrivialDrive 项目。我只是将 SKU_GAS 更改为"android.test.purchased"
,但在我成功购买燃料后,我得到了结果:
02-27 14:24:40.882: D/TrivialDrive(11805): Consumption finished. Purchase: PurchaseInfo(type:inapp):
{"packageName":"com.example.android.trivialdrivesample","orderId":"transactionId.android.test.purchased","productId":"android.test.purchased","developerPayload":"","purchaseTime":0,"purchaseState":0,"purchaseToken":"inapp:com.example.android.trivialdrivesample:android.test.purchased"}, result: IabResult: Successful consume of sku android.test.purchased (response: 0:OK)
我的问题为什么 purchaseTime = 0 ?什么是developerPayload
?谢谢你