Add the aidl file to your android project and use it instead of the plugin. The method definition: /** * Returns a pending intent to launch the purchase flow for an in-app item. · 1. Create bltadwin.ru file. AIDL uses a simple syntax that lets you declare an interface with one or more methods that can take parameters and return values. The parameters and return values can be of any type, even other AIDL-generated interfaces. . · Locate your sdk location and go to "sdk\extras\google\play_billing". Default location for the sdk is "C:\Program Files (x86)\Android\android-sdk". If you custom changed it, then you will have to figure out the location through the sdk manager. Copy 'bltadwin.ru' into the package created above. In the end, it should look similar to the image bltadwin.rus: 7.
User posted I am about to implement In App Billing and have been looking around a bit. The Aug 1 Xamarin Blog entry by Tom Opgenorth @topgenorth discussing the new Google Play Services component says, in part: allows Android developers to take advantage of the most recent features from · User35 posted Hey Glenn, The new In-App Billing v3. Interface Definition (IDL) File. By convention, the file that contains interface and type library definitions is called an IDL file, and has bltadwin.ru file name extension. In reality, the MIDL compiler will parse an interface definition file regardless of its extension. An interface is identified by the keyword interface. In this case, the Java/CPP backends of AIDL are used (not the NDK backend), and the classes to use the corresponding AIDL files are added automatically to the module. Options (such as local_include_dirs, which tells the build system the root path to AIDL files in that module) can be specified in these modules under an aidl: group.
This file must be added such that it is contained in a package named bltadwin.rug located in the app - aidl folder of the InAppBilling project module. To create the aidl directory, right-click on the app node in the project tool window, selecting the New - Folder - AIDL Folder menu option as shown in Figure bltadwin.ru The bltadwin.ru is Android Interface Definition Language (AIDL) file defines the interface to the Google Play service. The source code is provided by Google. Please note: you cannot change the name or package name assoicaited with this module. The package name must be "bltadwin.rug". Download the json file and keep it in a safe place, you will need to know the email and Base64 key included; Grant your Google Cloud account access in your Google Play console as if it were a normal user; There are some reasonable instructions here on the VSTS site. Finally, we have make one small change to our PurchaseService base class.
0コメント