Android Question Android billing Service

Discussion in 'Android Questions' started by billmoultrie, Jul 21, 2015.

  1. billmoultrie

    billmoultrie Member Licensed User

    I've been trying to test the android billing service and have run the demo program from the tutorial and I get the following error when I compile the program, should there be a service module?

    B4A version: 5.02 (1)
    Parsing code. (0.07s)
    Compiling code. Error
    Module: inappbillingservice_br not found.

    I have Inappbilling3 ver 1.11 in the library

    Thanks
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    This error seems to be related to the manifest editor. Can you post your manifest editor code?
     
  3. billmoultrie

    billmoultrie Member Licensed User

    The manifest code is below:

    Code:
    'This code will be applied to the manifest file during compilation.
    'You do not need to modify it in most cases.
    'See this link for for more information: http://www.basic4ppc.com/forum/showthread.php?p=78136
    '<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="17"/>

    AddManifestText(<uses-sdk android:minSdkVersion=
    "4" android:targetSdkVersion="18"/>
                    <supports-screens android:largeScreens=
    "true"
                                      android:normalScreens=
    "true"
                                      android:smallScreens=
    "true"
                                      android:anyDensity=
    "true"/>)

    SetManifestAttribute(
    "android:installLocation""auto")   

    SetApplicationAttribute(android:hardwareAccelerated, 
    "true")
    SetApplicationAttribute(android:icon, 
    "@drawable/icon")
    SetApplicationAttribute(android:
    label"$LABEL$")

    'InAppBilling declarations - Start
    AddReceiverText(InAppBillingService,  <intent-filter>
                    <action android:name=
    "com.android.vending.billing.IN_APP_NOTIFY" />
                    <action android:name=
    "com.android.vending.billing.RESPONSE_CODE" />
                    <action android:name=
    "com.android.vending.billing.PURCHASE_STATE_CHANGED" />
                </
    intent-filter>)
    'InAppBilling declarations - End
      
    'End of default text.
     
  4. Erel

    Erel Administrator Staff Member Licensed User

  5. billmoultrie

    billmoultrie Member Licensed User

    That did it:)
    Thanks very much
     
Loading...