Tuesday, January 22, 2019

Deploy Google Apps Script web app as an Android application

The main advantage of serverless Google Apps Script against of serverless Cloud Functions is online editor (IDE) not only for writing code for server-side, but even for client-side. You can create HTML web application with HTMLService



Google has recently introduced (G Suite update 12/2018) option to deploy web application as a native Android application for G Suite users. If you are reading this, you are probably power-user so you can imagine what you are able to do now! Yes, deploy native Android application with Google Apps Script.

Notes:
-To use web apps, your user’s devices must have Google Chrome installed

1) Create a new Script at https://script.google.com

2) Insert code snippet into code.gs


3) Create a new HTML file and rename it to "view.html"



4) Edit HTML for your future ├╝ber-cool-application (just for now, insert Hello World!)

5) Open menu Publish --> Deploy as web app and copy URL address



6) It is time setup in G Suite. Open Google Admin console (https://admin.google.com) and pick category Device management

7) Then choose App Management from left panel.

 8) In App Management you will see section in the middle of page - Manage apps for Android devices. This section contains button Manage whitelisted apps. Click it.



9) Now you are in mobile application management. First, you have to Add a new whitelisted application (with yellow circle button)


10) You will see Google Play directory. Change category (left panel) to Web Apps.



11) For now, you have to again click at Add button (circle button at right bottom of page.



12) Now you can define behaviour of your Android application.
- Title is name of application on home screen
- URL of your Google Apps Script (from step 5)
- I recommend you for display choose Full screen or Standalone
- Icon of your Android application


13) After you click at Create button it will take about 10 minutes to prepare your application.
(There is a small text Not available yet below during preparation )

14) When your application is successfully prepared, then you can click at desired icon



15) During distribution strategy, you can distribute application for all G Suite users or subset according to Organization unit.




16) Last step contains option to automatically install application on all devices (This option doesn't work for me)



17) When you visit Google Play at your phone, then navigate to section Work Apps. Click to application and install it.

The was a final step. Your Google Apps Script application is on mobile's homescreen



Are you interested in this topic? Follow me on Twitter, Google+ or subscribe RSS

18 comments:

  1. Interesting Article. A very fast workflow to deploy an android app. Question: will this app be publicly visible in the app-store for anyone (not part of the organisation?) or only to devices of the organisation?

    ReplyDelete
  2. This free programming can be downloaded from the Microsoft site. Microsoft Office 2010 has the spare as PDF highlight worked in. For the 2003 rendition of Microsoft Office other programming is expected to make PDF reports from Office documents. https://edit-pdf-ios-android.pdffiller.com/

    ReplyDelete
  3. I was reading some of your content on this website and I conceive this internet site is really informative ! Keep on putting up.
    gbwhatsapp

    ReplyDelete
  4. In a nut-shell, android development is like a blank slate for an astute android application developer. You can turn nothing into something and earn from it!
    gerald winata gozali

    ReplyDelete
  5. Thanks for sharing nice information with us. i like your post and all you share with us is uptodate and quite informative, i would like to bookmark the page so i can come here again to read you, as you have done a wonderful job. Buy Business Reviews Google,

    ReplyDelete
  6. This website and I conceive this internet site is really informative ! geniusupdates

    ReplyDelete
  7. I read your articles very excellent and the i agree our all points because all is very good information provided this through in the post.
    web apps

    ReplyDelete
  8. We at Dextemade beamed many diversified brands. And we are also honored to provide you Development, Digital Marketing, 2D / 3D Animation, Graphics Design, and 3D Designing Services to beam your brand / aim too. With our complete preparation. We have a team with very high leading expert professionals.

    ReplyDelete
  9. It was a brilliant opportunity to visit this sort of site and I am cheerful to know, much obliged to you such a great amount for allowing us to have this open door.mobile app development company chennai

    ReplyDelete
  10. Thank you because you have been willing to share information with us. we will always appreciate all you have done here because I know you are very concerned with our. Webdesign

    ReplyDelete
  11. Nice to be visiting your blog again, it has been months for me. Well this article that i've been waited for so long. I need this article to complete my assignment in the college, and it has same topic with your article. Thanks, great share. Webdesign

    ReplyDelete
  12. This was a really great contest and hopefully I can attend the next one. It was alot of fun and I really enjoyed myself.. Webdesign

    ReplyDelete
  13. Webdesigner waar u een professionele en betaalbare website kan laten maken? De nr. 1 webdesigner in Limburg, Antwerpen en Vlaams-Brabant voor SEO websites. Webdesigner

    ReplyDelete
  14. I admire this article for the well-researched content and excellent wording. I got so involved in this material that I couldn’t stop reading. I am impressed with your work and skill. Thank you so much.

    Mobile Application Development Compnay in Chennai

    ReplyDelete
  15. At this point you know who your essential clients are and have likewise recognized some other potential markets. Webdesign

    ReplyDelete
  16. I admire this article for the well-researched content and excellent wording. I got so involved in this material that I couldn’t stop reading. I am impressed with your work and skill. Thank you so much.

    Mobile Application Development Company in Chennai

    ReplyDelete
  17. I really appreciate the kind of topics you post here. Thanks for sharing us a great information that is actually helpful. Good day! Webdesign bureau

    ReplyDelete
  18. What a fantabulous post this has been. Never seen this kind of useful post. I am grateful to you and expect more number of posts like these. Thank you very much. Webdesign bureau

    ReplyDelete