Is it possible to debug locally Google Play’s in-app billing in Android Studio?

EDIT: This is now superseded by the newly accepted answer. In essence, in-app billing payments can only be tested with a release-signed apk (the one we upload to Google Play Console). Here are some steps that got me attached to a signed apk with Android Studio: I’m on Windows. It helps having adb.exe in the … Read more

How to know my app is uninstalled from the device…?

My proposal will be the following. You can intercept the intent for your application uninstall. Simply put the following code in your manifest file: <uses-permission android:name=”android.permission.INSTALL_PACKAGES” /> <uses-permission android:name=”android.permission.DELETE_PACKAGES” /> <uses-permission android:name=”android.permission.CLEAR_APP_CACHE” /> <uses-permission android:name=”android.permission.READ_PHONE_STATE” /> <uses-permission android:name=”android.permission.CLEAR_APP_USER_DATA” /> <application android:icon=”@drawable/ic_launcher” android:label=”@string/app_name” > <activity android:name=”.UninstallIntentActivity” android:label=”@string/app_name” > <intent-filter> <action android:name=”android.intent.action.MAIN” /> <category android:name=”android.intent.category.LAUNCHER” /> </intent-filter> … Read more