android-10.0

MediaProjection service type not recognized in android Q

梦想的初衷 提交于 2020-08-22 12:18:30
问题 With the new privacy changes in effect with Android Q, it is now mandatory for any app using MediaProjection api to specify android:foregroundServiceType attribute in the service tag under manifest. But recently, I noticed that though I set the android:foregroundServiceType="mediaprojection" there is a security exception thrown. Does anybody have any idea what I'm doing wrong? Manifest: <service android:name=".services.MediaProjectionService" android:enabled="true" android:exported="false"

Altbeacon stopped working on Android10 and didEnterRegion does not get called at all

痞子三分冷 提交于 2020-08-19 08:03:13
问题 altbeacon on Android 10 has simply stopped working. Are there any changes required especially to go to Android 10? I have added the following permissions to my AndroidManifest.xml <uses-permission android:name=\"android.permission.BLUETOOTH_ADMIN\"/> <uses-permission android:name=\"android.permission.BLUETOOTH\"/> <uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/> <uses-permission android:name=\"android.permission.ACCESS_BACKGROUND_LOCATION\"/> <uses-permission

Altbeacon stopped working on Android10 and didEnterRegion does not get called at all

我只是一个虾纸丫 提交于 2020-08-19 08:02:38
问题 altbeacon on Android 10 has simply stopped working. Are there any changes required especially to go to Android 10? I have added the following permissions to my AndroidManifest.xml <uses-permission android:name=\"android.permission.BLUETOOTH_ADMIN\"/> <uses-permission android:name=\"android.permission.BLUETOOTH\"/> <uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/> <uses-permission android:name=\"android.permission.ACCESS_BACKGROUND_LOCATION\"/> <uses-permission