On Wed, Jul 20, 2011 at 3:59 AM, shubh <[email protected]> wrote:
> Hi Mark, I did same , i put my business logic in SendToRecent (which
> is my Service class), but here every time i have to start Service
> class on click of widget Button.
>
> So suggest me if have any other way to handle this.

Not really.

> I thing which i did after finishing my business logic in Service class
> I called stopSelf() , is it proper solution?

Yes, or use an IntentService instead of a regular Service.

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

Android Training...At Your Office: http://commonsware.com/training

-- 
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