I would investigate the "root cause" of out of memory error instead of
finding a way to restart your service/activity.


On Aug 10, 12:34 am, doug <[email protected]> wrote:
> Hello,
>
> If my service encounters an OutofMemoryError when creating new
> objects, what can I do to tell Android to restart my service later?  I
> thought about Alarm but then I can't create a pending intent in the
> OutofMemoryError situation...
>
> Thanks,
> doug

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

Reply via email to