Android Question [SOLVED WITH A TRICK] Create shortcut to PWA Website

Juanet

Member
Licensed User
Longtime User
Im recently post about how to create shortcut URL: https://www.b4x.com/android/forum/posts/915512/

Maybe I have expressed myself badly and although I have solved what I tried (I have tried) to do is a shortcut to a web site PWA.

Website has ready (and work) with the web app manifest.json file and the link in the HTML code, so my question is, how to create the shorcut without go to the website and chose: "Add to home screen" that effectively adds a link on the main screen to the site but does so as an app, I will greatly appreciate the help you can give me, thanks in advance! ?
 

Juanet

Member
Licensed User
Longtime User
Since I've been spending a lot of time for something that isn't really that "necessary", just what I've done is open a browser and send to a PWA site installation page.

The code to open web browser is here in the forum:


And the code to install the PWA is that:


For me it is more than enough and I give the problem as solved ?
 
Upvote 0
Top