How I can Start a foreground service on clicking a widget of an android app and I don't want to open any another activity just want to run a service

35 views Asked by At

I have an android app, i want to implement a widget in which if we click a service on the background should start without opening any activity. and want to display a toast message on home screen of Android Mobile with "Activated" Message.

I tried many things like but its not working.

0

There are 0 answers