App Billing

wolf

Member
Licensed User
Longtime User
Hi,

Sub Process_Globals
Dim Manager As BillingManager
Dim PublicKey As String
PublicKey = "xxxx" 'From the developer console
End Sub

A question :
PublicKey is or is not the public Key RSA in 64Base indicate at the account of the seller in Google Play

Can you propose an example with ALL the updated necessary code? I am really lost on all these questions.

Thank you

Wolf
 

wolf

Member
Licensed User
Longtime User
Hi Erel

Thank You

I have see the tutorial.

Because of the weakness in English language, i have difficulty in seeing the difference between public key and private key :
Public key identifies the seller on the market ?
Private key forbids the access to the code for a pirate or makes it more difficult ?

Can you confirm me that: It is thus compulsory to put both in an application.

Thank You

Wolf
 
Upvote 0

wolf

Member
Licensed User
Longtime User
Hi Erel,

Manifest editor
The following code should be added to the manifest editor code (change InAppBillingService to your service name):
Code:

'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

Ok but where ? Like that:

<uses-permission android:name="com.android.vending.BILLING"/>
<application
android:icon="@drawable/icon"
android:label="Raquettes">
<activity
android:windowSoftInputMode="stateHidden"
android:launchMode="singleTop"
android:name=".main"
android:label="Raquettes"
android:screenOrientation="unspecified">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>

</activity>
<service android:name=".inappbillingservice">
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>)
</service>
<receiver android:name=".inappbillingservice$inappbillingservice_BR">
</receiver>
</application>

Thank you

Wolf
 
Upvote 0
Top