How to call an added APK to androidthings imageHow to save an Android Activity state using save instance state?Lazy load of images in ListViewWhy is the Android emulator so slow? How can we speed up the Android emulator?How do you install an APK file in the Android emulator?Is there a way to get the source code from an APK file?How to build an APK file in Eclipse?Android error: Failed to install *.apk on device *: timeoutHow do I fix android.os.NetworkOnMainThreadException?How to manually include external aar package using new Gradle Android Build SystemAndroid Things custom image doesn't contain bundled APKs

Why is the Turkish president's surname spelt in Russian as Эрдоган, with г?

Can you get infinite turns with this 2 card combo?

Is there any set of 2-6 notes that doesn't have a chord name?

Should I report a leak of confidential HR information?

Confusion about multiple information Sets

Avoid bfseries from bolding pm in siunitx

Sir Alex Ferguson advice OR Sir Alex Ferguson's advice

Should I include salary information on my CV?

Was touching your nose a greeting in second millenium Mesopotamia?

MASS MicroSystems MO/128 Magneto-Optic Drive mystery

Should I hide continue button until tasks are completed?

Intuitively, why does putting capacitors in series decrease the equivalent capacitance?

Why cruise at 7000' in an A319?

Professor Roman gives unusual math quiz ahead of

Are there any vegetarian astronauts?

The use of "I" and "we" used in the same sentence and other questions

What shortcut does ⌦ symbol in Camunda macOS app indicate and how to invoke it?

Anagram Within an Anagram!

How should I behave to assure my friends that I am not after their money?

“Faire” being used to mean “avoir l’air”?

Did Chinese school textbook maps (c. 1951) "depict China as stretching even into the central Asian republics"?

The difference between Rad1 and Rfd1

Wilcoxon signed rank test – critical value for n>50

Why does the numerical solution of an ODE move away from an unstable equilibrium?



How to call an added APK to androidthings image


How to save an Android Activity state using save instance state?Lazy load of images in ListViewWhy is the Android emulator so slow? How can we speed up the Android emulator?How do you install an APK file in the Android emulator?Is there a way to get the source code from an APK file?How to build an APK file in Eclipse?Android error: Failed to install *.apk on device *: timeoutHow do I fix android.os.NetworkOnMainThreadException?How to manually include external aar package using new Gradle Android Build SystemAndroid Things custom image doesn't contain bundled APKs






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I am working with this project https://github.com/hypeapps/black-mirror . As I am a complete newbie to droid I am wondering what the process would be to call a apk that has been added to the androidthings image from androidthings console. Say I have an APK com.lafitness.lafitness.apk that has been added to the android things image. How would I open that APK from an android speech recognized phrase. Would I do this using Package manager from an intent?










share|improve this question




























    0















    I am working with this project https://github.com/hypeapps/black-mirror . As I am a complete newbie to droid I am wondering what the process would be to call a apk that has been added to the androidthings image from androidthings console. Say I have an APK com.lafitness.lafitness.apk that has been added to the android things image. How would I open that APK from an android speech recognized phrase. Would I do this using Package manager from an intent?










    share|improve this question
























      0












      0








      0








      I am working with this project https://github.com/hypeapps/black-mirror . As I am a complete newbie to droid I am wondering what the process would be to call a apk that has been added to the androidthings image from androidthings console. Say I have an APK com.lafitness.lafitness.apk that has been added to the android things image. How would I open that APK from an android speech recognized phrase. Would I do this using Package manager from an intent?










      share|improve this question














      I am working with this project https://github.com/hypeapps/black-mirror . As I am a complete newbie to droid I am wondering what the process would be to call a apk that has been added to the androidthings image from androidthings console. Say I have an APK com.lafitness.lafitness.apk that has been added to the android things image. How would I open that APK from an android speech recognized phrase. Would I do this using Package manager from an intent?







      android embedded apk android-things android-things-console






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 25 at 11:38









      plesliepleslie

      195 bronze badges




      195 bronze badges






















          1 Answer
          1






          active

          oldest

          votes


















          0














          If you have added the APK to your system image, you can then call the app from an intent using the app's package name.



          PackageManager manager = getPackageManager();
          Intent intent = manager.getLaunchIntentForPackage("com.lafitness.lafitness.apk");
          intent.addCategory(Intent.CATEGORY_LAUNCHER);
          startActivity(intent);


          Using the Android speech API is a different question, but should be the same as on an Android phone (but I'm not certain of that).






          share|improve this answer























          • Thank you for the response I will test it later. In the meantime would I close this by calling intent.finish()?

            – pleslie
            Mar 25 at 18:18











          • I don't think you can close it that way, but you may be able to call an activity on top.

            – Nick Felker
            Mar 25 at 19:41













          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55336960%2fhow-to-call-an-added-apk-to-androidthings-image%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          If you have added the APK to your system image, you can then call the app from an intent using the app's package name.



          PackageManager manager = getPackageManager();
          Intent intent = manager.getLaunchIntentForPackage("com.lafitness.lafitness.apk");
          intent.addCategory(Intent.CATEGORY_LAUNCHER);
          startActivity(intent);


          Using the Android speech API is a different question, but should be the same as on an Android phone (but I'm not certain of that).






          share|improve this answer























          • Thank you for the response I will test it later. In the meantime would I close this by calling intent.finish()?

            – pleslie
            Mar 25 at 18:18











          • I don't think you can close it that way, but you may be able to call an activity on top.

            – Nick Felker
            Mar 25 at 19:41















          0














          If you have added the APK to your system image, you can then call the app from an intent using the app's package name.



          PackageManager manager = getPackageManager();
          Intent intent = manager.getLaunchIntentForPackage("com.lafitness.lafitness.apk");
          intent.addCategory(Intent.CATEGORY_LAUNCHER);
          startActivity(intent);


          Using the Android speech API is a different question, but should be the same as on an Android phone (but I'm not certain of that).






          share|improve this answer























          • Thank you for the response I will test it later. In the meantime would I close this by calling intent.finish()?

            – pleslie
            Mar 25 at 18:18











          • I don't think you can close it that way, but you may be able to call an activity on top.

            – Nick Felker
            Mar 25 at 19:41













          0












          0








          0







          If you have added the APK to your system image, you can then call the app from an intent using the app's package name.



          PackageManager manager = getPackageManager();
          Intent intent = manager.getLaunchIntentForPackage("com.lafitness.lafitness.apk");
          intent.addCategory(Intent.CATEGORY_LAUNCHER);
          startActivity(intent);


          Using the Android speech API is a different question, but should be the same as on an Android phone (but I'm not certain of that).






          share|improve this answer













          If you have added the APK to your system image, you can then call the app from an intent using the app's package name.



          PackageManager manager = getPackageManager();
          Intent intent = manager.getLaunchIntentForPackage("com.lafitness.lafitness.apk");
          intent.addCategory(Intent.CATEGORY_LAUNCHER);
          startActivity(intent);


          Using the Android speech API is a different question, but should be the same as on an Android phone (but I'm not certain of that).







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 25 at 13:44









          Nick FelkerNick Felker

          7,1641 gold badge10 silver badges22 bronze badges




          7,1641 gold badge10 silver badges22 bronze badges












          • Thank you for the response I will test it later. In the meantime would I close this by calling intent.finish()?

            – pleslie
            Mar 25 at 18:18











          • I don't think you can close it that way, but you may be able to call an activity on top.

            – Nick Felker
            Mar 25 at 19:41

















          • Thank you for the response I will test it later. In the meantime would I close this by calling intent.finish()?

            – pleslie
            Mar 25 at 18:18











          • I don't think you can close it that way, but you may be able to call an activity on top.

            – Nick Felker
            Mar 25 at 19:41
















          Thank you for the response I will test it later. In the meantime would I close this by calling intent.finish()?

          – pleslie
          Mar 25 at 18:18





          Thank you for the response I will test it later. In the meantime would I close this by calling intent.finish()?

          – pleslie
          Mar 25 at 18:18













          I don't think you can close it that way, but you may be able to call an activity on top.

          – Nick Felker
          Mar 25 at 19:41





          I don't think you can close it that way, but you may be able to call an activity on top.

          – Nick Felker
          Mar 25 at 19:41



















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55336960%2fhow-to-call-an-added-apk-to-androidthings-image%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

          Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript