Polymer as a replacement for Android Apps

77 views
Skip to first unread message

Darin Hensley

unread,
Jul 22, 2015, 2:14:21 PM7/22/15
to Polymer
I read somewhere that Polymer is intended to replace android applications down the road. I think this is an excellent idea, if indeed it is true. However, I was wondering and also wondering if the answers could be done currently:

1) How would the user have a icon shortcut for a polymer website on their screen? Is there some kind of api already that the user could press that would install the shortcut from Polymer?
2) How would a person place their polymer web app on the Google play since they are url based?


Max

unread,
Jul 22, 2015, 2:42:11 PM7/22/15
to Polymer
On Wed, 22 Jul 2015 at 19:14 Darin Hensley <darin....@gmail.com> wrote:
I read somewhere that Polymer is intended to replace android applications down the road. I think this is an excellent idea, if indeed it is true. However, I was wondering and also wondering if the answers could be done currently:

1) How would the user have a icon shortcut for a polymer website on their screen? Is there some kind of api already that the user could press that would install the shortcut from Polymer?


In the chrome browser there is an "Add to homescreen" button, so the user can add web apps to the homescreen easily enough. I use this for Facebook since I prefer their web app to their android app.
There are probably some 'gotchas' to this though - one I have noticed is that it isn't as easy to 'share' a photo (for example) with the web app as with the android app. Perhaps there's a way around that of which I am unaware.

 
2) How would a person place their polymer web app on the Google play since they are url based?


It's pretty common, I think, to have apps that are purely links to web sites, and so that would presumably work for web apps too. I guess that is how the chrome app makes homescreen shortcuts.
However, you can also make apps using polymer that are akin to their native brethren, and it's pretty easy to do :

<https://crosswalk-project.org/>

This creates a simple java shell that opens a webview for an html file that is in your app. All the files are packaged together, and they can be uploaded to the Google Play store. There is even a project that targets iOS (I've no experience with that though, but I imagine it uses the webview provided on the iOS platform, rather than providing its own).

Max.

 


Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups "Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to polymer-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/eebb75e2-f484-40f3-b1cc-5f465ed288f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

owe...@google.com

unread,
Jul 23, 2015, 5:45:14 PM7/23/15
to Polymer, davidmax...@gmail.com
For getting the icon on the user's screen there is an API that allows sites to show a banner encouraging users to do just that: http://updates.html5rocks.com/2015/03/increasing-engagement-with-app-install-banners-in-chrome-for-android
Reply all
Reply to author
Forward
0 new messages