- *{android-sdk}\extras\google\play_licensing\sample* をコピーし、コピーしたプロジェクトのsrc dir に *{android-sdk}\extras\google\play_licensing\library\src* を追加しました。
- BASE64_PUBLIC_KEY を変更し、自分のキーの 1 つに設定しました。
- エミュレーターに追加したgoogleアカウントでサインイン。 BASE64_PUBLIC_KEYが対応するアカウントです。
- ライセンス テストの応答が LICENSED に設定されている
変更しようとした
new ServerManagedPolicy(this, ...)に
new ServerManagedPolicy(this.getApplicationContext(), ...)また、
LicenseChecker.checkAccess()変更しようとしましたmContext.bindService()に
mContext.getApplicationContext().bindService()
.bindService()まだ false を返し、bindService() 呼び出し中に logcat はまだ警告を報告します。
Unable to start service Intent { act=com.android.vending.licensing.ILicensingService }: not found
LVLの実例を教えてください。