Re: [android-developers] Start service after android device boot as fast as Facebook service?

2016-06-13 Thread TreKing
On Thu, Jun 9, 2016 at 11:17 PM, seney sean  wrote:

> I realize that my service needs long time to start in comparing to
> Facebook service. I want my service start quickly as Facebook service.


If you mean that it takes a long time for the system to start your Service,
and the system is starting Facebook first, then that's out of your control.

If you mean that the amount of time your Service takes to do its work is
longer than Facebook, then you have to profile and optimize your app.

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CANCScgj%2B%2B0VnAUWVuuJnOOb%3DyAFXZbVuqwKaPgCg7ocRUmokPw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Start service after android device boot as fast as Facebook service?

2016-06-09 Thread seney sean
I am implementing one android service which needs to run when device is 
turn on. What I have already try is to use intent action BOOT_COMPLETED and 
it works, but I realize that my service needs long time to start in 
comparing to Facebook service. I want my service start quickly as Facebook 
service. Please help me! Your answer will be appreciated. Thank.

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/e0bf2d97-ea62-46f2-901b-8aa2364e8453%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.