0

我不知道谷歌应用内计费中的 IInAppBillingService.aidl 文件是什么。它是java文件还是它在项目中的工作方式。同样重要的是我们如何将这种类型的文件用于 android studio 中的其他功能。并且还想知道我们构建 apk 时它是如何编译的。有人知道.aidl 文件吗

4

3 回答 3

1

如果您想了解aidl文件,可以在此处详细查看:

http://developer.android.com/guide/components/aidl.html

此外,如果您想清除 InAppBillingService.aidl,这里是:

IInAppBillingService.aidl is an Android Interface Definition Language (AIDL) file that defines the interface to the In-app Billing Version 3 service. You will use this interface to make billing requests by invoking IPC method calls.

http://developer.android.com/google/play/billing/billing_integrate.html

于 2016-03-29T11:36:14.447 回答
0

InAppBillingService 是提供应用内计费版本 3 及更高版本的服务。

该服务提供以下功能:

1. Provides a new API to get details of in-app items published for the app including
price, type, title and description.

2. The purchase flow is synchronous and purchase information is available immediately
 after it completes.

3. Purchase information of in-app purchases is maintained within the Google Play system
 till the purchase is consumed.

4. An API to consume a purchase of an inapp item. All purchases of one-time
 in-app items are consumable and thereafter can be purchased again.

5. An API to get current purchases of the user immediately. This will not contain any
 consumed purchases.
于 2016-03-29T11:43:48.483 回答
0

根据文档,

IInAppBillingService.aidl is an Android Interface Definition Language (AIDL) file that defines the interface to the In-app Billing Version 3 service. You will use this interface to make billing requests by invoking IPC method calls.

此链接中的更多详细信息http://developer.android.com/google/play/billing/billing_integrate.html#billing-add-aidl

于 2016-03-29T11:32:21.800 回答