Sign up to Leadbolt ads and use the unlocker ads.
You can set the Tease time and Access time.
Tease time (in seconds) sets how long your users can use the app untill an unlocker ad popup pauses the app and they will need to complete one of the offers available to have access to the app for the time specified in Access Time (in hours, 0 is unlimited).
This is not exactly what you was asking for but it is the closest you can get with as minimal coding as possible.
LeadBolt Mobile Ad network- Advertise and Monetize traffic on Android and iPhones
Regarding the way you want it;
You could look for help elsewhere to setup a database that updates the users subscriptions status and so on and then use the mysql tutorial to connect to the database and check for the subscription status. (Use a login system on the app)