I have a question concerning the BOOT_COMPLETED event. I need a service to be running at all time (done via AlarmManager) but I wonder if I have to start the service manually the first time the application is installed as the BOOT_COMPLETED event is sent only after the device is restarted. How is this commonly handled, it seems like no one is having this problem, am I getting something wrong here?
Android BOOT_COMPLETED
387 Views Asked by Poisonbox At
1
There are 1 best solutions below
Related Questions in ANDROID
- Delay in loading Html Page(WebView) from assets folder in real android device
- MPAndroidChart method setWordWrapEnabled() not found
- Designing a 'new post' android activity
- Android :EditText inside ListView always update first item in the listview
- Android: Transferring Data via ContentIntent
- Wrong xml being inflated android
- AsyncTask Class
- Unable to receive extras in Android Intent
- Website zoomed out on Android default browser
- Square FloatingActionButton with Android Design Library
- Google Maps API Re-size
- Push toolbar content below statusbar
- Android FragmentPagerAdapter Circular listview
- Layout not shifting up when keyboard is open
- auDIO_OUTPUT_FLAG_FAST denied by client can't connect to localhost
Related Questions in ANDROID-SERVICE
- How to know when the services has ended
- Service stop doing its job after removing app from recent apps list
- android check location services enabled if using GoogleApiClient
- My service seems to restart when I close my app
- Broadcast not being received Android
- How to use alertDialog in background service
- How to send data from IntentService to Non-Activity class
- android -Can't create handler inside thread that has not called Looper.prepare()
- Alarm receive don't work
- Independent time tracking in android app: service or asynctask?
- AsyncTask is not running when called with execute
- Starting Activity With Intent Flags Stops Service After It Starts
- Android Service vs Simple class with thread for network access
- Android is killing my service?
- Update UI with background service
Related Questions in ALARMMANAGER
- Updating a widget every second with an AlarmManager and IntentService
- How to setup alarms again after reboot
- BroadCastReceiver and AlarmManager Usage
- Android repeating alarm not repeating correctly
- How to Create a Distinct PendingIntents
- set repeated reminder that repeats every month
- alarm manager sometimes firing at wrong times
- Android alarm not cancelling
- Is it possible to do a repeated task even if app is killed from Task Manager?
- Alarm Manager Not Firing
- Stop AlarmManager if the time has passed
- Android : AlarmManager is not working properly. It is not able to set the alarm
- Adding notification using alarm in android
- Alarm Manager doesn't work on time
- AlarmManager only works in near future
Related Questions in BOOTCOMPLETED
- Restarting Background agent on Boot in Windows Phone 8
- Is a custom Android launcher supposed to signal somehow that it is ready (because I don't get BOOT_COMPLETED with my launcher)?
- Execute BOOT_COMPLETED action on first launch of app
- Unable to start Service after Device Boot Completed. Boot Completed BroadcastReceiver onReceive() not Calling
- Android intent BOOT_COMPLETED is never launched on Samsung SM-T230 Kitkat 4.4.2 tablet
- Which Android class is in charge of sending the BOOT_COMPLETED intent?
- How to fix BOOT_COMPLETED not working Android
- Starting Android Service on Boot
- POPUP on Boot Completed
- Android adb shell am broadcast: Bad component name
- Is it possible to install broadcast receiver into internal memory?
- Android BOOT_COMPLETED
- BroadCast Receiver does not work on boot
- Best way to share data between android app components
- boot_completed action to register programmatically and not in manifest
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
the user should be the one deciding on if the service is running or not when its first installed and not you, so yes it should be started manually when they launch the app for the first time