Ash wrote:
> Hi!!,
> 
> I am running a background Android Service as VoIP Framework which
> provides different VoIP services to different Android applications,
> (VoIP call, Video Call, etc). The service establishes a network
> connection with the Server(Service Provider) and does some initial
> handshake before it can start providing service to the Android
> applications, that’s why though of starting the service on
> BOOT_COMPLETED event.
> 
> The problem is when the service gets started on BOOT_COMPLETED event,
> before even it finishes the initial network connection with server and
> handshaking, it gets killed by the system.

Off the cuff, either you are running on a device with too little RAM, or
your service is crashing, or your service is not using a background
thread and is therefore getting the service equivalent of an ANR.

The latter two cases should be identifiable from logcat.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, $35/Year

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to