1. Download our Official Android App: Forums for Android!

Support receive boot completed

Discussion in 'Android Help' started by jflint, Mar 26, 2016.

  1. jflint

    jflint Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    26
    Posts:
    86
    Joined:
    Mar 3, 2016

    Mar 3, 2016
    86
    8
    26
    What is receive boot completed?
     

    Advertisement

  2. Slug

    Slug Check six!
    Moderator
    Rank:
    None
    Points:
    2,043
    Posts:
    20,549
    Joined:
    Aug 1, 2009

    Aug 1, 2009
    20,549
    17,001
    2,043
    Male
    Mobile phone retail
    Inverness, UK
    Context please? Is this a pop-up notification, a system warning, or something else? What device? What were you doing when this occurred?

    Without more detail nobody can tell you anything I'm afraid.
     
    scary alien likes this.
  3. jflint

    jflint Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    26
    Posts:
    86
    Joined:
    Mar 3, 2016

    Mar 3, 2016
    86
    8
    26
    There was an app being analyzed by ES, and it said this was a sensitive permission the app was requesting, but it did not elaborate on this.
     
  4. scary alien

    scary alien not really so scary
    Moderator
    Rank:
     #8
    Points:
    2,138
    Posts:
    22,293
    Joined:
    Mar 5, 2010

    Mar 5, 2010
    22,293
    23,645
    2,138
    Male
    space alien ;)
    Indy
    Receive boot completed is an system broadcast intent sent-out during the boot-up process to the apps indicating that the system has in fact been rebooted.

    From http://developer.android.com/reference/android/content/Intent.html#ACTION_BOOT_COMPLETED:

    public static final String ACTION_BOOT_COMPLETED

    Added in API level 1

    Broadcast Action: This is broadcast once, after the system has finished booting. It can be used to perform application-specific initialization, such as installing alarms. You must hold the RECEIVE_BOOT_COMPLETED permission in order to receive this broadcast.

    This is a protected intent that can only be sent by the system.

    Constant Value: "android.intent.action.BOOT_COMPLETED"​
     
    Mikestony likes this.
  5. jflint

    jflint Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    26
    Posts:
    86
    Joined:
    Mar 3, 2016

    Mar 3, 2016
    86
    8
    26
    Could it be dangerous for an app to have access to this?
     
  6. scary alien

    scary alien not really so scary
    Moderator
    Rank:
     #8
    Points:
    2,138
    Posts:
    22,293
    Joined:
    Mar 5, 2010

    Mar 5, 2010
    22,293
    23,645
    2,138
    Male
    space alien ;)
    Indy
    It's not really a question of danger--it is simply knowledge for the app.

    Well, it's permission-based intent, so if you don't trust an app to become aware that the system has been rebooted and subsequently be launched at boot time, then you should not install it.

    However, there are many good reasons for an app to want/need to know that the device was rebooted and to start preparing to do their function that you downloaded and installed the app for.

    So, in my opinion, not dangerous--but you need to know and be aware of ALL of the actions that your apps are doing, not just the boot intent/notification, but other things like access to your contacts, camera, etc., etc., etc.
     
    Mikestony likes this.

Share This Page

Loading...