You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.mdown
+7-12Lines changed: 7 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -7,14 +7,14 @@ That's how simple it should be to use [Android In-app Billing][1].
7
7
8
8
And with this library it is.
9
9
10
-
(or will be; this is a very early release)
11
-
12
10
*Android Billing Library* implements in-app billing's full specification and offers high-level classes to use it. Transactions are stored in a local obfuscated database which can be easily queried.
13
11
14
12
Getting Started
15
13
===============
16
14
17
-
* Add this library to your project.
15
+
* Get acquainted with the [Android In-app Billing][1] documentation.
16
+
17
+
* Add *Android Billing Library* to your project.
18
18
19
19
* Open the *AndroidManifest.xml* of your application and add this permission...
20
20
@@ -41,13 +41,13 @@ Usage
41
41
Subclassing AbstractBillingActivity
42
42
-----------------------------------
43
43
44
-
[AbstractBillingActivity][2] is an abstract activity that provides default integration with in-app billing. It is useful to get acquainted with the library, or for very simple applications that require in-app billing integration in only one activity. For more flexibility use [BillingController][3] instead.
44
+
[AbstractBillingActivity][2] is an abstract activity that provides default integration with in-app billing. It is useful to get acquainted with the library, or for very simple applications that require in-app billing integration in only one activity. For more flexibility use [BillingController][3]directly instead.
45
45
46
46
When created your [AbstractBillingActivity][2] instance will check if in-app billing is supported, followed by a call to `onBillingChecked(boolean)`, which has to be implemented by the subclass.
47
47
48
48
Additionally, your [AbstractBillingActivity][2] subclass will attempt to restore all transactions, only once. This is necessary in case the user has previously installed the app and made purchases. Existing transactions will generate calls to `onPurchaseStateChange(String, PurchaseState)`, which has to be implemented by the subclass.
49
49
50
-
Starting a purchase is as simple as calling `requestPurchase(String)`. [AbstractBillingActivity][2] will start the Android Market intent automatically and `onPurchaseStateChange(String, PurchaseState)` will be called after the transaction is confirmed.
50
+
Starting a purchase is as simple as calling `requestPurchase(String)`. [AbstractBillingActivity][2] will start the Google Play intent automatically and `onPurchaseStateChange(String, PurchaseState)` will be called after the transaction is confirmed.
51
51
52
52
If you override any of the methods provided by [AbstractBillingActivity][2], make sure to call the superclass implementation.
53
53
@@ -65,17 +65,12 @@ Dungeons Redux
65
65
66
66
[Dungeons Redux][5] is a sample app that shows how to use *Android Billing Library* through [BillingController][3]. It is a simplified version of the Dungeons in-app billing example provided by Google.
67
67
68
-
It should be noted that Dungeons Redux does not intend to be an example of how to use in-app billing in general.
69
-
70
-
Disclaimer
71
-
==========
72
-
73
-
**This library is a very early release and it should not be used as production code.**
68
+
It should be noted that Dungeons Redux does not intend to be an example of how to use in-app billing in general.
0 commit comments