SlideShare uma empresa Scribd logo
1 de 18
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)

Mais conteúdo relacionado

Mais procurados

Windows Phone Mango and PhoneGap
Windows Phone Mango and PhoneGapWindows Phone Mango and PhoneGap
Windows Phone Mango and PhoneGap
Doncho Minkov
 
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
 
Android SDK and PhoneGap
Android SDK and PhoneGapAndroid SDK and PhoneGap
Android SDK and PhoneGap
Doncho Minkov
 

Mais procurados (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
 

Semelhante a GAE as Android Test Portal. Part 1.

Hybrid Mobile Apps - Meetup
Hybrid Mobile Apps - MeetupHybrid Mobile Apps - Meetup
Hybrid Mobile Apps - Meetup
Sanjay Patel
 

Semelhante a 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
 

Último

KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...
KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...
KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...
Cara Menggugurkan Kandungan 087776558899
 
call Now 9811711561 Cash Payment乂 Call Girls in Dwarka Mor
call Now 9811711561 Cash Payment乂 Call Girls in Dwarka Morcall Now 9811711561 Cash Payment乂 Call Girls in Dwarka Mor
call Now 9811711561 Cash Payment乂 Call Girls in Dwarka Mor
vikas rana
 
the Husband rolesBrown Aesthetic Cute Group Project Presentation
the Husband rolesBrown Aesthetic Cute Group Project Presentationthe Husband rolesBrown Aesthetic Cute Group Project Presentation
the Husband rolesBrown Aesthetic Cute Group Project Presentation
brynpueblos04
 

Último (14)

(Aarini) Russian Call Girls Surat Call Now 8250077686 Surat Escorts 24x7
(Aarini) Russian Call Girls Surat Call Now 8250077686 Surat Escorts 24x7(Aarini) Russian Call Girls Surat Call Now 8250077686 Surat Escorts 24x7
(Aarini) Russian Call Girls Surat Call Now 8250077686 Surat Escorts 24x7
 
$ Love Spells^ 💎 (310) 882-6330 in West Virginia, WV | Psychic Reading Best B...
$ Love Spells^ 💎 (310) 882-6330 in West Virginia, WV | Psychic Reading Best B...$ Love Spells^ 💎 (310) 882-6330 in West Virginia, WV | Psychic Reading Best B...
$ Love Spells^ 💎 (310) 882-6330 in West Virginia, WV | Psychic Reading Best B...
 
WOMEN EMPOWERMENT women empowerment.pptx
WOMEN EMPOWERMENT women empowerment.pptxWOMEN EMPOWERMENT women empowerment.pptx
WOMEN EMPOWERMENT women empowerment.pptx
 
2k Shots ≽ 9205541914 ≼ Call Girls In Jasola (Delhi)
2k Shots ≽ 9205541914 ≼ Call Girls In Jasola (Delhi)2k Shots ≽ 9205541914 ≼ Call Girls In Jasola (Delhi)
2k Shots ≽ 9205541914 ≼ Call Girls In Jasola (Delhi)
 
KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...
KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...
KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...
 
2k Shots ≽ 9205541914 ≼ Call Girls In Palam (Delhi)
2k Shots ≽ 9205541914 ≼ Call Girls In Palam (Delhi)2k Shots ≽ 9205541914 ≼ Call Girls In Palam (Delhi)
2k Shots ≽ 9205541914 ≼ Call Girls In Palam (Delhi)
 
2k Shots ≽ 9205541914 ≼ Call Girls In Mukherjee Nagar (Delhi)
2k Shots ≽ 9205541914 ≼ Call Girls In Mukherjee Nagar (Delhi)2k Shots ≽ 9205541914 ≼ Call Girls In Mukherjee Nagar (Delhi)
2k Shots ≽ 9205541914 ≼ Call Girls In Mukherjee Nagar (Delhi)
 
Top Rated Pune Call Girls Tingre Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Tingre Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Tingre Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Tingre Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
call Now 9811711561 Cash Payment乂 Call Girls in Dwarka Mor
call Now 9811711561 Cash Payment乂 Call Girls in Dwarka Morcall Now 9811711561 Cash Payment乂 Call Girls in Dwarka Mor
call Now 9811711561 Cash Payment乂 Call Girls in Dwarka Mor
 
the Husband rolesBrown Aesthetic Cute Group Project Presentation
the Husband rolesBrown Aesthetic Cute Group Project Presentationthe Husband rolesBrown Aesthetic Cute Group Project Presentation
the Husband rolesBrown Aesthetic Cute Group Project Presentation
 
LC_YouSaidYes_NewBelieverBookletDone.pdf
LC_YouSaidYes_NewBelieverBookletDone.pdfLC_YouSaidYes_NewBelieverBookletDone.pdf
LC_YouSaidYes_NewBelieverBookletDone.pdf
 
2k Shots ≽ 9205541914 ≼ Call Girls In Dashrath Puri (Delhi)
2k Shots ≽ 9205541914 ≼ Call Girls In Dashrath Puri (Delhi)2k Shots ≽ 9205541914 ≼ Call Girls In Dashrath Puri (Delhi)
2k Shots ≽ 9205541914 ≼ Call Girls In Dashrath Puri (Delhi)
 
(Anamika) VIP Call Girls Navi Mumbai Call Now 8250077686 Navi Mumbai Escorts ...
(Anamika) VIP Call Girls Navi Mumbai Call Now 8250077686 Navi Mumbai Escorts ...(Anamika) VIP Call Girls Navi Mumbai Call Now 8250077686 Navi Mumbai Escorts ...
(Anamika) VIP Call Girls Navi Mumbai Call Now 8250077686 Navi Mumbai Escorts ...
 
Pokemon Go... Unraveling the Conspiracy Theory
Pokemon Go... Unraveling the Conspiracy TheoryPokemon Go... Unraveling the Conspiracy Theory
Pokemon Go... Unraveling the Conspiracy Theory
 

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)