Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

which permissions an android application need in order to use the Alarm Manager Service?

If an android application wants to use the Alarm Manager Service, then which permissions the application needs to have?

I have tested that it seems that application does not need to have any permission to use the Alarm Manager Service.

Is that true?

like image 603
tomtu Avatar asked Jun 28 '12 04:06

tomtu


People also ask

What are the required permissions for Android Location Manager?

Android offers two location permissions: ACCESS_COARSE_LOCATION and ACCESS_FINE_LOCATION . The permission you choose determines the accuracy of the location returned by the API. android.

How do I use alarm Manager?

This example demonstrates how do I use AlarmManager in android. Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project. Step 2 − Add the following code to res/layout/activity_main. xml.

Why does your app need to use the Query_all_packages permission?

The QUERY_ALL_PACKAGES permission has been introduced with Android R (Android 11). This permission enables the application to be able to query the installed applications on an Android device. We recommend applying for this permission if your application is subject to the requirements by Google Play.

What is the correct permission to use internet on Android app?

Note: Both the Internet and ACCESS_NETWORK_STATE permissions are normal permissions, which means they're granted at install time and don't need to be requested at runtime.


1 Answers

I dont know why not any one mention this permission

But according to android documentation , you should use SET_ALARM permission

Documentation

Allows an application to broadcast an Intent to set an alarm for the user.

<uses-permission android:name="com.android.alarm.permission.SET_ALARM"/>
like image 110
Mina Fawzy Avatar answered Oct 30 '22 06:10

Mina Fawzy