-1

http://developer.android.com/google/play/licensing/adding-licensing.html

I don't know where to put this code for licensing.

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491

1 Answers1

1

RTFM! Did you read the whole text?

enter image description here

As you can see it should been started from your main activity. The logic itself should been in a seperat class so you can validate your licences also in other projects or activities.

rekire
  • 47,260
  • 30
  • 167
  • 264