SlideShare a Scribd company logo
GAE as Android
  test portal
                  Part 1.
A walkthrough from Eclipse to ”Hello World”
Outline
 Introduction

 Install Eclipse Plugin

 Create a Web Application Project

 Run locally

 Create Application at GAE

 Deploy to App Engine

 What do we have?
Introduction
 GAE as Android test portal
    Part 1. Environment and infrastructure in place
    Part 2. Backend: Adding users. Data persistence and
      mail API
    Part 3. Frontend. Zepto, Backbone

 Development environment:
    MacBook Pro
    Eclipse Indigo
GAE, source Wikipedia
 Google App Engine (GAE), is a platform as a
   service (PaaS) cloud computing platform for
   developing and hosting web applications in Google-
   managed data centres. Applications are sandboxed
   and run across multiple servers.

 Google App Engine is free up to a certain level of
   consumed resources.

 It was first released as a preview version in April
   2008, and came out of preview in September 2011.
GAE, source Wikipedia
         con‟t
 Supported programming languages:
   Python, Java, Go.

 Developer site:
   https://developers.google.com/appengine/

 Deployment site: https://appengine.google.com/
Install Eclipse Plugin
Select the Help menu > Install New Software.


                                 Enter URL in Work
                                        with




                                               Select SDK and
                                                   Plugin
Create a project
Select the File menu > New -> Web Application Project.




                                                     Not using GWT!




  Default SDK
Create a project con‟t

                                       We want sample
                                           code




Press Finish and we are ready to go!
Launch locally
 Right click on project -> Run As -> Web Application




      localhost:8888
Create GAE Application
 Head on to https://appengine.google.com/




                     Press
                    „Create‟
Create GAE Application
        con‟t


        Enter mobile
          number
Create GAE Application
        con‟t


          Code here
        Enter mobile
          number
Create GAE Application
        con‟t

      Enter name



                   Scroll down and
                    press “Create
                     Application”
Create GAE Application
        con‟t

      Enter name
                   Application ID


                      Scroll down and
                       press “Create
                        Application”
Deploy to App Engine
Right click on project ->Properties.




   Application ID
Deploy to App Engine
               con‟t
 Right click on project -> Google -> Deploy to App
   Engine
Deploy to App Engine
               con‟t
 Right click on project -> Google -> Deploy to App
   Engine
What do we have?
       ./src
       ./src/log4j.properties
       ./src/META-INF
       ./src/META-INF/jdoconfig.xml (1)
       ./..
       ./src/se/asapehrsson/testportal/AndroidTest
       PortalServlet.java (2)
       ./war
       ./war/favicon.ico
       ./war/index.html (3)
       ./war/WEB-INF
       ./war/WEB-INF/appengine-web.xml (4)
       ./war/WEB-INF/classes
       ./war/WEB-INF/lib // A bunch of libs
       ./war/WEB-INF/logging.properties
       ./war/WEB-INF/web.xml (5)

More Related Content

What's hot

android_android + app engine- a developer's dream combination
android_android + app engine- a developer's dream combinationandroid_android + app engine- a developer's dream combination
android_android + app engine- a developer's dream combination
brada
 
echo-o & Google App Engine dev - BarCamp Saigon 1
echo-o & Google App Engine dev - BarCamp Saigon 1echo-o & Google App Engine dev - BarCamp Saigon 1
echo-o & Google App Engine dev - BarCamp Saigon 1
huyzing
 
Code Review: An apple a day
Code Review: An apple a dayCode Review: An apple a day
Code Review: An apple a day
Kathryn Rotondo
 
Angular Universal
Angular UniversalAngular Universal
Angular Universal
Oleksandr Telnov
 
Methods to set up android app development environment
Methods to set up android app development environmentMethods to set up android app development environment
Methods to set up android app development environment
astoria0128
 
Hybrid Apps, Ionic framework
Hybrid Apps, Ionic frameworkHybrid Apps, Ionic framework
Hybrid Apps, Ionic framework
Oleksandr Telnov
 
Developing Mobile Application using Phonegap
Developing Mobile Application using PhonegapDeveloping Mobile Application using Phonegap
Developing Mobile Application using Phonegap
Fahim Abdullah
 
Windows Phone Mango and PhoneGap
Windows Phone Mango and PhoneGapWindows Phone Mango and PhoneGap
Windows Phone Mango and PhoneGap
Doncho Minkov
 
Firebase play-games-services-unity
Firebase play-games-services-unityFirebase play-games-services-unity
Firebase play-games-services-unity
Niclas Skødt Gleesborg
 
Android android + app engine a developer's dream combination copy
Android android + app engine  a developer's dream combination copyAndroid android + app engine  a developer's dream combination copy
Android android + app engine a developer's dream combination copy
Chris Ramsdale
 
Android android + app engine a developer's dream combination
Android android + app engine  a developer's dream combinationAndroid android + app engine  a developer's dream combination
Android android + app engine a developer's dream combination
Chris Ramsdale
 
Top five reasons you should prefer flutter app development
Top five reasons you should prefer flutter app developmentTop five reasons you should prefer flutter app development
Top five reasons you should prefer flutter app development
Solution Analysts
 
How to become an Eclipse committer in 20 minutes and fork the IDE
How to become an Eclipse committer in 20 minutes and fork the IDEHow to become an Eclipse committer in 20 minutes and fork the IDE
How to become an Eclipse committer in 20 minutes and fork the IDE
Lars Vogel
 
Android Study Jams - Info Session
Android Study Jams - Info SessionAndroid Study Jams - Info Session
Android Study Jams - Info Session
Google Developer Students Club NIT Silchar
 
Developer Student Clubs NUK - Flutter for Beginners
Developer Student Clubs NUK - Flutter for BeginnersDeveloper Student Clubs NUK - Flutter for Beginners
Developer Student Clubs NUK - Flutter for Beginners
Jiaxuan Lin
 
CI CD Jenkins for Swift Deployment
CI CD Jenkins for Swift DeploymentCI CD Jenkins for Swift Deployment
CI CD Jenkins for Swift Deployment
Bintang Thunder
 
Getting Started with Android
Getting Started with AndroidGetting Started with Android
Getting Started with Android
joshdobbs
 
Android SDK and PhoneGap
Android SDK and PhoneGapAndroid SDK and PhoneGap
Android SDK and PhoneGap
Doncho Minkov
 
Building a scalable app factory with Appcelerator Platform
Building a scalable app factory with Appcelerator PlatformBuilding a scalable app factory with Appcelerator Platform
Building a scalable app factory with Appcelerator Platform
Angus Fox
 
Step by step guide to build ionic hybrid app using cordova android
Step by step guide to build ionic hybrid app using cordova androidStep by step guide to build ionic hybrid app using cordova android
Step by step guide to build ionic hybrid app using cordova android
swagat parida
 

What's hot (20)

android_android + app engine- a developer's dream combination
android_android + app engine- a developer's dream combinationandroid_android + app engine- a developer's dream combination
android_android + app engine- a developer's dream combination
 
echo-o & Google App Engine dev - BarCamp Saigon 1
echo-o & Google App Engine dev - BarCamp Saigon 1echo-o & Google App Engine dev - BarCamp Saigon 1
echo-o & Google App Engine dev - BarCamp Saigon 1
 
Code Review: An apple a day
Code Review: An apple a dayCode Review: An apple a day
Code Review: An apple a day
 
Angular Universal
Angular UniversalAngular Universal
Angular Universal
 
Methods to set up android app development environment
Methods to set up android app development environmentMethods to set up android app development environment
Methods to set up android app development environment
 
Hybrid Apps, Ionic framework
Hybrid Apps, Ionic frameworkHybrid Apps, Ionic framework
Hybrid Apps, Ionic framework
 
Developing Mobile Application using Phonegap
Developing Mobile Application using PhonegapDeveloping Mobile Application using Phonegap
Developing Mobile Application using Phonegap
 
Windows Phone Mango and PhoneGap
Windows Phone Mango and PhoneGapWindows Phone Mango and PhoneGap
Windows Phone Mango and PhoneGap
 
Firebase play-games-services-unity
Firebase play-games-services-unityFirebase play-games-services-unity
Firebase play-games-services-unity
 
Android android + app engine a developer's dream combination copy
Android android + app engine  a developer's dream combination copyAndroid android + app engine  a developer's dream combination copy
Android android + app engine a developer's dream combination copy
 
Android android + app engine a developer's dream combination
Android android + app engine  a developer's dream combinationAndroid android + app engine  a developer's dream combination
Android android + app engine a developer's dream combination
 
Top five reasons you should prefer flutter app development
Top five reasons you should prefer flutter app developmentTop five reasons you should prefer flutter app development
Top five reasons you should prefer flutter app development
 
How to become an Eclipse committer in 20 minutes and fork the IDE
How to become an Eclipse committer in 20 minutes and fork the IDEHow to become an Eclipse committer in 20 minutes and fork the IDE
How to become an Eclipse committer in 20 minutes and fork the IDE
 
Android Study Jams - Info Session
Android Study Jams - Info SessionAndroid Study Jams - Info Session
Android Study Jams - Info Session
 
Developer Student Clubs NUK - Flutter for Beginners
Developer Student Clubs NUK - Flutter for BeginnersDeveloper Student Clubs NUK - Flutter for Beginners
Developer Student Clubs NUK - Flutter for Beginners
 
CI CD Jenkins for Swift Deployment
CI CD Jenkins for Swift DeploymentCI CD Jenkins for Swift Deployment
CI CD Jenkins for Swift Deployment
 
Getting Started with Android
Getting Started with AndroidGetting Started with Android
Getting Started with Android
 
Android SDK and PhoneGap
Android SDK and PhoneGapAndroid SDK and PhoneGap
Android SDK and PhoneGap
 
Building a scalable app factory with Appcelerator Platform
Building a scalable app factory with Appcelerator PlatformBuilding a scalable app factory with Appcelerator Platform
Building a scalable app factory with Appcelerator Platform
 
Step by step guide to build ionic hybrid app using cordova android
Step by step guide to build ionic hybrid app using cordova androidStep by step guide to build ionic hybrid app using cordova android
Step by step guide to build ionic hybrid app using cordova android
 

Similar to GAE as Android Test Portal. Part 1.

Intro to PhoneGap
Intro to PhoneGapIntro to PhoneGap
Intro to PhoneGap
Ryan Stewart
 
Google App Engine (Introduction)
Google App Engine (Introduction)Google App Engine (Introduction)
Google App Engine (Introduction)
Praveen Hanchinal
 
PhoneGap JavaScript API vs Native Components
PhoneGap JavaScript API vs Native ComponentsPhoneGap JavaScript API vs Native Components
PhoneGap JavaScript API vs Native Components
TechAhead
 
Getting Acquainted with PhoneGap
Getting Acquainted with PhoneGapGetting Acquainted with PhoneGap
Getting Acquainted with PhoneGap
Joseph Labrecque
 
Getting started with appium
Getting started with appiumGetting started with appium
Getting started with appium
Pratik Patel
 
2013.02.26 Intel Overview
2013.02.26 Intel Overview2013.02.26 Intel Overview
2013.02.26 Intel Overview
Andrew Smith
 
Android deep dive
Android deep diveAndroid deep dive
Android deep dive
AnuSahniNCI
 
Hospital app project (how to upload app)
Hospital app project (how to upload app)Hospital app project (how to upload app)
Hospital app project (how to upload app)
MAHFUZ RAIHAN
 
Deploying Apps Heroku
Deploying Apps HerokuDeploying Apps Heroku
Deploying Apps Heroku
Ajit N K
 
Deploying App on Heroku
Deploying App on HerokuDeploying App on Heroku
Deploying App on Heroku
Ajit N K
 
Bird.pdf
 Bird.pdf Bird.pdf
Bird.pdf
RebaMaheen
 
Hybrid Mobile Apps - Meetup
Hybrid Mobile Apps - MeetupHybrid Mobile Apps - Meetup
Hybrid Mobile Apps - Meetup
Sanjay Patel
 
Final NEWS.pdf
Final NEWS.pdfFinal NEWS.pdf
Final NEWS.pdf
RebaMaheen
 
Final NewsApp.pdf
Final NewsApp.pdfFinal NewsApp.pdf
Final NewsApp.pdf
RebaMaheen
 
Android Lab Mannual 18SUITSP5.docx
Android Lab Mannual 18SUITSP5.docxAndroid Lab Mannual 18SUITSP5.docx
Android Lab Mannual 18SUITSP5.docx
karthikaparthasarath
 
Building Cross-Platform JavaScript Apps using Cordova
Building Cross-Platform JavaScript Apps using CordovaBuilding Cross-Platform JavaScript Apps using Cordova
Building Cross-Platform JavaScript Apps using Cordova
Noam Kfir
 
Nativescript with angular 2
Nativescript with angular 2Nativescript with angular 2
Nativescript with angular 2
Christoffer Noring
 
Android
AndroidAndroid
Android
BVP GTUG
 
Getting started with android dev and test perspective
Getting started with android   dev and test perspectiveGetting started with android   dev and test perspective
Getting started with android dev and test perspective
Gunjan Kumar
 
Summary Of Polycom Cast App
Summary Of Polycom Cast AppSummary Of Polycom Cast App
Summary Of Polycom Cast App
Giddaluri Madhavi
 

Similar to GAE as Android Test Portal. Part 1. (20)

Intro to PhoneGap
Intro to PhoneGapIntro to PhoneGap
Intro to PhoneGap
 
Google App Engine (Introduction)
Google App Engine (Introduction)Google App Engine (Introduction)
Google App Engine (Introduction)
 
PhoneGap JavaScript API vs Native Components
PhoneGap JavaScript API vs Native ComponentsPhoneGap JavaScript API vs Native Components
PhoneGap JavaScript API vs Native Components
 
Getting Acquainted with PhoneGap
Getting Acquainted with PhoneGapGetting Acquainted with PhoneGap
Getting Acquainted with PhoneGap
 
Getting started with appium
Getting started with appiumGetting started with appium
Getting started with appium
 
2013.02.26 Intel Overview
2013.02.26 Intel Overview2013.02.26 Intel Overview
2013.02.26 Intel Overview
 
Android deep dive
Android deep diveAndroid deep dive
Android deep dive
 
Hospital app project (how to upload app)
Hospital app project (how to upload app)Hospital app project (how to upload app)
Hospital app project (how to upload app)
 
Deploying Apps Heroku
Deploying Apps HerokuDeploying Apps Heroku
Deploying Apps Heroku
 
Deploying App on Heroku
Deploying App on HerokuDeploying App on Heroku
Deploying App on Heroku
 
Bird.pdf
 Bird.pdf Bird.pdf
Bird.pdf
 
Hybrid Mobile Apps - Meetup
Hybrid Mobile Apps - MeetupHybrid Mobile Apps - Meetup
Hybrid Mobile Apps - Meetup
 
Final NEWS.pdf
Final NEWS.pdfFinal NEWS.pdf
Final NEWS.pdf
 
Final NewsApp.pdf
Final NewsApp.pdfFinal NewsApp.pdf
Final NewsApp.pdf
 
Android Lab Mannual 18SUITSP5.docx
Android Lab Mannual 18SUITSP5.docxAndroid Lab Mannual 18SUITSP5.docx
Android Lab Mannual 18SUITSP5.docx
 
Building Cross-Platform JavaScript Apps using Cordova
Building Cross-Platform JavaScript Apps using CordovaBuilding Cross-Platform JavaScript Apps using Cordova
Building Cross-Platform JavaScript Apps using Cordova
 
Nativescript with angular 2
Nativescript with angular 2Nativescript with angular 2
Nativescript with angular 2
 
Android
AndroidAndroid
Android
 
Getting started with android dev and test perspective
Getting started with android   dev and test perspectiveGetting started with android   dev and test perspective
Getting started with android dev and test perspective
 
Summary Of Polycom Cast App
Summary Of Polycom Cast AppSummary Of Polycom Cast App
Summary Of Polycom Cast App
 

Recently uploaded

7 Habits of Highly Effective People.pptx
7 Habits of Highly Effective People.pptx7 Habits of Highly Effective People.pptx
7 Habits of Highly Effective People.pptx
gpangilinan2017
 
Understanding of Self - Applied Social Psychology - Psychology SuperNotes
Understanding of Self - Applied Social Psychology - Psychology SuperNotesUnderstanding of Self - Applied Social Psychology - Psychology SuperNotes
Understanding of Self - Applied Social Psychology - Psychology SuperNotes
PsychoTech Services
 
1-CIE-IGCSE-Additional-Mathematics-Topical-Past-Paper-Functions.pdf
1-CIE-IGCSE-Additional-Mathematics-Topical-Past-Paper-Functions.pdf1-CIE-IGCSE-Additional-Mathematics-Topical-Past-Paper-Functions.pdf
1-CIE-IGCSE-Additional-Mathematics-Topical-Past-Paper-Functions.pdf
shahul62
 
Assignment 1 (Introductions to Microsoft Power point 2019) kiran.pptx
Assignment 1 (Introductions to Microsoft Power point 2019) kiran.pptxAssignment 1 (Introductions to Microsoft Power point 2019) kiran.pptx
Assignment 1 (Introductions to Microsoft Power point 2019) kiran.pptx
kirannaveed6
 
ProSocial Behaviour - Applied Social Psychology - Psychology SuperNotes
ProSocial Behaviour - Applied Social Psychology - Psychology SuperNotesProSocial Behaviour - Applied Social Psychology - Psychology SuperNotes
ProSocial Behaviour - Applied Social Psychology - Psychology SuperNotes
PsychoTech Services
 
Aggression - Applied Social Psychology - Psychology SuperNotes
Aggression - Applied Social Psychology - Psychology SuperNotesAggression - Applied Social Psychology - Psychology SuperNotes
Aggression - Applied Social Psychology - Psychology SuperNotes
PsychoTech Services
 

Recently uploaded (6)

7 Habits of Highly Effective People.pptx
7 Habits of Highly Effective People.pptx7 Habits of Highly Effective People.pptx
7 Habits of Highly Effective People.pptx
 
Understanding of Self - Applied Social Psychology - Psychology SuperNotes
Understanding of Self - Applied Social Psychology - Psychology SuperNotesUnderstanding of Self - Applied Social Psychology - Psychology SuperNotes
Understanding of Self - Applied Social Psychology - Psychology SuperNotes
 
1-CIE-IGCSE-Additional-Mathematics-Topical-Past-Paper-Functions.pdf
1-CIE-IGCSE-Additional-Mathematics-Topical-Past-Paper-Functions.pdf1-CIE-IGCSE-Additional-Mathematics-Topical-Past-Paper-Functions.pdf
1-CIE-IGCSE-Additional-Mathematics-Topical-Past-Paper-Functions.pdf
 
Assignment 1 (Introductions to Microsoft Power point 2019) kiran.pptx
Assignment 1 (Introductions to Microsoft Power point 2019) kiran.pptxAssignment 1 (Introductions to Microsoft Power point 2019) kiran.pptx
Assignment 1 (Introductions to Microsoft Power point 2019) kiran.pptx
 
ProSocial Behaviour - Applied Social Psychology - Psychology SuperNotes
ProSocial Behaviour - Applied Social Psychology - Psychology SuperNotesProSocial Behaviour - Applied Social Psychology - Psychology SuperNotes
ProSocial Behaviour - Applied Social Psychology - Psychology SuperNotes
 
Aggression - Applied Social Psychology - Psychology SuperNotes
Aggression - Applied Social Psychology - Psychology SuperNotesAggression - Applied Social Psychology - Psychology SuperNotes
Aggression - Applied Social Psychology - Psychology SuperNotes
 

GAE as Android Test Portal. Part 1.

  • 1. GAE as Android test portal Part 1. A walkthrough from Eclipse to ”Hello World”
  • 2. Outline  Introduction  Install Eclipse Plugin  Create a Web Application Project  Run locally  Create Application at GAE  Deploy to App Engine  What do we have?
  • 3. Introduction  GAE as Android test portal  Part 1. Environment and infrastructure in place  Part 2. Backend: Adding users. Data persistence and mail API  Part 3. Frontend. Zepto, Backbone  Development environment:  MacBook Pro  Eclipse Indigo
  • 4. GAE, source Wikipedia  Google App Engine (GAE), is a platform as a service (PaaS) cloud computing platform for developing and hosting web applications in Google- managed data centres. Applications are sandboxed and run across multiple servers.  Google App Engine is free up to a certain level of consumed resources.  It was first released as a preview version in April 2008, and came out of preview in September 2011.
  • 5. GAE, source Wikipedia con‟t  Supported programming languages: Python, Java, Go.  Developer site: https://developers.google.com/appengine/  Deployment site: https://appengine.google.com/
  • 6. Install Eclipse Plugin Select the Help menu > Install New Software. Enter URL in Work with Select SDK and Plugin
  • 7. Create a project Select the File menu > New -> Web Application Project. Not using GWT! Default SDK
  • 8. Create a project con‟t We want sample code Press Finish and we are ready to go!
  • 9. Launch locally  Right click on project -> Run As -> Web Application localhost:8888
  • 10. Create GAE Application  Head on to https://appengine.google.com/ Press „Create‟
  • 11. Create GAE Application con‟t Enter mobile number
  • 12. Create GAE Application con‟t Code here Enter mobile number
  • 13. Create GAE Application con‟t Enter name Scroll down and press “Create Application”
  • 14. Create GAE Application con‟t Enter name Application ID Scroll down and press “Create Application”
  • 15. Deploy to App Engine Right click on project ->Properties. Application ID
  • 16. Deploy to App Engine con‟t  Right click on project -> Google -> Deploy to App Engine
  • 17. Deploy to App Engine con‟t  Right click on project -> Google -> Deploy to App Engine
  • 18. What do we have? ./src ./src/log4j.properties ./src/META-INF ./src/META-INF/jdoconfig.xml (1) ./.. ./src/se/asapehrsson/testportal/AndroidTest PortalServlet.java (2) ./war ./war/favicon.ico ./war/index.html (3) ./war/WEB-INF ./war/WEB-INF/appengine-web.xml (4) ./war/WEB-INF/classes ./war/WEB-INF/lib // A bunch of libs ./war/WEB-INF/logging.properties ./war/WEB-INF/web.xml (5)