declex icon indicating copy to clipboard operation
declex copied to clipboard

Add support for Services through Actions, more specifically the enhanced @EService ones

Open z3phyro opened this issue 7 years ago • 1 comments

Normally using Android Annotations you can enhance a service through @EService an then start it by using MyService_.intent(getApplication()).start();

the idea would be to make an action to convert this into

$MyService().start();

this could be nice also to stop the service like $MyService().stop() too

It would be interesting if the action could be used to send commands to the service like...

$MyService().calendarUpdate(NativeCalendar.Events);

z3phyro avatar Mar 24 '17 16:03 z3phyro

This is a good feature.. probably to start would be enough with $MyService();... that's the default action for it (like $MainActivity(), is the default aciton to show an activity).

smaugho avatar Mar 24 '17 17:03 smaugho