Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7767581
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T15:42:47+00:00 2026-06-01T15:42:47+00:00

I have a boot complete broadcast receiver but it wasnt working as expected. Nor

  • 0

I have a boot complete broadcast receiver but it wasnt working as expected. Nor is the Full Screen activity that requires STATUS_BAR permission.

I tried to go through the LogCat logs while the phone was booting up and this is what I found :

LOG

 04-11 14:23:48.718: W/PackageManager(133): Not granting permission 
    android.permission.BIND_DEVICE_ADMIN to package com.myprojects.myapp (protectionLevel=2 flags=0xbe46)

Any clue why would this be happening?

My Manifest file has :

<uses-permission android:name="android.permission.BIND_DEVICE_ADMIN"/>

<receiver android:name="com.myprojects.myapp.DeviceAdministrationReceiver"
        android:permission="android.permission.BIND_DEVICE_ADMIN">  
       <meta-data android:name="android.app.device_admin" android:resource="@xml/device_admin_policies" />

    <intent-filter>
            <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" />
    </intent-filter>
</receiver>

<receiver android:name="com.myprojects.myapp.BootCompleteReceiver">  
        <intent-filter>  
            <action android:name="android.intent.action.BOOT_COMPLETED" />  
        </intent-filter>  
</receiver>

EDIT
And other two similar logs :

04-11 14:24:17.810: W/PackageManager(133): Not granting permission android.permission.STATUS_BAR to package com.myprojects.myapp (protectionLevel=3 flags=0xbe46)

04-11 14:24:17.810: W/PackageManager(133): Not granting permission android.permission.WRITE_SECURE_SETTINGS to package com.myprojects.myapp (protectionLevel=3 flags=0xbe46)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T15:42:48+00:00Added an answer on June 1, 2026 at 3:42 pm

    if you are extend DeviceAdminReceiver then must add meta-data and description for receiver like:

    <receiver 
        android:name=".AdminReceiver" 
        android:description="@string/description" 
        android:label="@string/labelValue" 
        android:permission="android.permission.BIND_DEVICE_ADMIN" 
     > 
     <meta-data  
      android:name="android.app.device_admin" 
      android:resource="@xml/lockourscreen"/> 
      <intent-filter> 
       <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" /> 
      </intent-filter> 
    </receiver> 
    

    BIND_DEVICE_ADMIN as doc say :
    Must be required by device administration receiver, to ensure that only the system can interact with it.

    so remove <uses-permission android:name="android.permission.BIND_DEVICE_ADMIN"/> line from application level

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have used Broadcast receiver when it restarts it shows the launcher screen but
i have a receiver that starts a service at boot but the receiver never
Can't register receiver dynamically at boot. I have no activity. And I do not
So far i have an assembly script that lets you boot from it and
I have big system that make my system crash hard. When I boot up,
Helo ! I am working right now with an application that uses BOOT_COMPLETED receiver.
I have a question about BroadcastReceiver in Android, say, about system broadcast receiver BOOT_COMPLETED
I have following receiver that listens to Boot_Completed <receiver android:name=.receivers.ActionBootCompletedReceiver> <intent-filter> <action android:name=android.intent.action.BOOT_COMPLETED/> <category
I have a rootfs boot image that I want to test by mounting on
I have a CSV file I want to load at boot of my Lift

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.