I am currently working on a "stand alone" service. I want this service to be accessible by any application that may want to use it. For that I have created an android project that only contains that service, without any Activity. I'm not sure whether this is the right way to acheive my goal, but I'm unfamiliar with Android.
My problem is, how do I only deploy the .apk to the (physical) device ? In order to start the service, i'm using
am startservice ...
Open terminal in project's root folder and type:
for Windows or:
You can do it with UI, just click the "Gradle" tab on the right, find "installDebug" in tasks and click it twice.
After that it will be default action performed on Shift+F10 (or clicking "Run" button).