Game Development Reference
In-Depth Information
Step 7: Releasing the labHelper instance
The last task is to make sure the object mHelper is released when the activity is done.
//Unbinds from the In-app Billing service when the activity is done
@ Override
public void onDestroy() {
super .onDestroy();
if (mHelper != null ) mHelper.dispose();
mHelper = null ;
}
The Google developer forums have pretty decent amount of information about implement-
ing and using Billing Library, check them out for further details.
Obviously, each application has its own style and you should experiment with different
combinations of monetization strategies to determine what works best for you.
Search WWH ::




Custom Search