Search code examples
javascriptandroidiosbookmarks

iOs And Android: create a bookmark -shortcut- in homescreen by javascript


I am developing a web cross-browser app.

I want that, clicking on "ADD HOME" icon, by Javascript detects the OS (Android, iOs, BB...) and creates a Shortcut (bookmark) on the HomeScreen.

Is it possible?

Thanks a lot.


Solution

  • At least on iOS(4.x) it isn't possible.

    Read Javascript for "Add to Home Screen" on iPhone? for details. As it is suggested, you can add a bubble, dialog or some other information to guide the user for using iOS's own functionality.