Android Studio: How to build command-line Android activity with no view (NOT how to build *with* command line) -


i need build command-line tool can run in android shell.

this question not how build using command-line tools, pretty find when search so/google question.

what can do: write simple java jar runs app_process

what want: tool uses android libraries (such packagemanager) runs command line (such 'adb shell') , exits - not app, doesn't have view , isn't following android life-cycle.

so presumably either need figure out how build such tool either ide (such android studio) or else command-line using android libraries.

someone gave (mostly) reasonably suggestion @ how 'pm' compiled, though can't figure out how without downloading entire android source , doing full build (and don't have time or hd space that).

so suppose solution if telling me how compile 'pm' since repurpose needs.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -