Google has a really handy tutorials for this:
An overview of Google’s billing setup:
https://developer.android.com/google/play/billing/index.html?hl=az
Actually implementing it:
http://developer.android.com/google/play/billing/billing_integrate.html
solved Activity for different paid the application [closed]