declex
declex copied to clipboard
Add support for Services through Actions, more specifically the enhanced @EService ones
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);
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).