Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I autorun Android Chrome homescreen app on startup

After adding a certain website to homescreen through Chrome for Android, I'm looking for a way to autorun that homescreen app as the device boots up. I found a few apps in the Google Play store that offer that behaviour but they don't list Chrome homescreen apps as possible to autorun on boot.

Any solution, anyone?

like image 528
kindofone Avatar asked Aug 18 '14 12:08

kindofone


People also ask

How do you make an app launch automatically when you turn on your phone?

Select "Manage apps". Alternatively, you can head to Settings > Manage Apps. From the Manage apps page, tap on "Permission" and you'll see the "Autostart" option, so tap on it. You'll be given a list of all the apps that can be made to autostart.


2 Answers

Unfortunately, there is no solution right now. Chrome homescreen apps work slightly differently from regular apps. Please read here for the full details: https://developer.chrome.com/multidevice/android/installtohomescreen

Specifically, Google developers have mentioned that Android can not detect Chrome homescreen apps as installed.

Do not prompt the user to add your app to the homescreen. There is no way to detect if the app is running installed or not.

So by extension, you are not able to run them at startup.

like image 68
bunbun Avatar answered Sep 21 '22 05:09

bunbun


Running homescreen apps on device boot up might be tricky since Android cannot detect them as installed, but here is a workaround you might be interested in:

  • Install AutoStart - No root on your Android device
  • In the app, Set "Auto startup" to ON
  • Add Chrome to the Applications list
  • In Chrome, add the page you wish to launch as the browser start page

  • Optional - Install a secondary browser and repeat the steps above in order to avoid interfering with the start screen of your regular browser

  • Optional - Install an app like Fulscrn Free or similar and add your browser to the list of apps that run in full screen mode.

This way, every time you boot up the device, a browser will launch with the page you designate, almost as if it is launching the homescreen app.

like image 36
Amru E. Avatar answered Sep 17 '22 05:09

Amru E.