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

  • Home
  • SEARCH
  • 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 8665647
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T17:32:04+00:00 2026-06-12T17:32:04+00:00

I am confused about the a concept here. I read on many tutorials that

  • 0

I am confused about the a concept here. I read on many tutorials that in order to get notified when device has booted (say for purpose of re-scheduling an alarm), you need to have a boot_completed broadcast receiver.

However the confusing part is that no where I see a method like “register(boradcast receiver)”. People just have the broadcast receiver class and they have it in manifest. but dont you need some sort of registration process? How will the system know that there is an APP x who has a broadcast receiver y listening for boot events unless explicitly told through registering

Sort of like you create click listener, but you need to register/add it to the button to so it gets called upon clicked.

Can someone clear the confusion for me?

Thank you

Thanks

  • 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-12T17:32:06+00:00Added an answer on June 12, 2026 at 5:32 pm

    People just have the broadcast receiver class and they have it in manifest. but dont you need some sort of registration process?

    The <receiver> element in the manifest has the <intent-filter> child element, documenting the Intent structure it wishes to receive:

    <?xml version="1.0" encoding="utf-8"?>
    <manifest android:versionCode="1"
              android:versionName="1.0"
              package="com.commonsware.android.sysevents.boot"
              xmlns:android="http://schemas.android.com/apk/res/android">
    
      <uses-sdk android:minSdkVersion="3"
                android:targetSdkVersion="6" />
      <supports-screens android:largeScreens="false"
                        android:normalScreens="true"
                        android:smallScreens="false" />
      <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
      <application android:icon="@drawable/cw"
                   android:label="@string/app_name">
        <receiver android:name=".OnBootReceiver">
          <intent-filter>
            <action android:name="android.intent.action.BOOT_COMPLETED" />
          </intent-filter>
        </receiver>
      </application>
    </manifest>
    

    Here, we are registering a BroadcastReceiver, named OnBootReceiver, to receive BOOT_COMPLETED broadcasts.

    How will the system know that there is an APP x who has a broadcast receiver y listening for boot events unless explicitly told through registering

    Android is “explicitly told through registering”. It just so happens that the “registering” is done via the manifest, not via Java code in the app.

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

Sidebar

Related Questions

I'm seriously confused about the concept of the 'Model' in MVC. Most frameworks that
I'm confused about concept of Framebuffer and Renderbuffer. I know that they're required to
Being confused again after reading about this anti-pattern and the many concerns about it
I am quite confused about the concept of character encoding . What is Unicode,
I am confused about the concept of interface when dealing with anonymous inner class.
I'm a little confused about the concept of services. Let's assume i want to
I always get confused about this, what SDK version of Java does Android run
I understand how to design a database schema that has simple one-to-many relationships between
I'm learning about Caja, and I am confused about the concept of this-stealing: Another
I'm always confused about thread concepts. I haven't a chance to use them in

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.