Subtitle touch | Title of presentation | Date DD/MM/YYYY Touch Cloud Android SDK Ghady Rayess – Jan 19 th, 2013.

Slides:



Advertisements
Similar presentations
Android Application Development A Tutorial Driven Course.
Advertisements

Programming with Android: SDK install and initial setup Luca Bedogni Marco Di Felice Dipartimento di Scienze dellInformazione Università di Bologna.
Ando-it-yourself droid Praveen Kumar Pendyala. Outline Brief intro to the Droid developement Setting up the Life saviors - Development tools Hello Droid.
Programming Mobile Applications with Android
Programming with Android: SDK install and initial setup Luca Bedogni Marco Di Felice Dipartimento di Informatica: Scienza e Ingegneria Università di Bologna.
Filip Debelić What is it? Android is a mobile operating system (OS) based on the Linux kernel and currently developed by Google Android,
Android: Hello World Frank Xu Gannon University. Steps Configuration ▫Android SDK ▫Android Development Tools (ADT)  Eclipse plug-in ▫Android SDK and.
Google Android as a mobile development platform T Internet Technologies for Mobile Computing Olli Mäkinen.
2. Setting Up Your Android Development Environment.
Android Application Development with Java UPenn CS4HS 2011 Chris Murphy
ANDROID PROGRAMMING MODULE 1 – GETTING STARTED
UFCFX5-15-3Mobile Device Development Android Development Environments and Windows.
Setting up the Development Environment Copyright © SUPINFO. All rights reserved Preparation.
Creating a Hello App Using Google App Engine. What are Google apps? Apps is an abbreviation for application. An app is a piece of software. It can run.
INTERNATIONAL SUMMER ACADEMIC COURSE UNIVESITY OF NIS ISAC – Android programming.
Android Application Development CSE 5520/4520 Wireless Networks.
Android Programming. Outline Preparation Create new project Build and Run a project Debug a project Deploy on devices.
Android Application Development 2013 PClassic Chris Murphy 1.
Mobile Programming Lecture 1 Getting Started. Today's Agenda About the Eclipse IDE Hello, World! Project Android Project Structure Intro to Activities,
About me Yichuan Wang Android Basics Credit goes to Google and UMBC.
Google Maps Android API v2 吳俊興 國立高雄大學 資訊工程學系 CSF645 – Mobile Computing 行動計算
CS5103 Software Engineering Lecture 08 Android Development II.
Chapter 12: Finale! Publishing Your Android App. Objectives In this chapter, you learn to: Understand Google Play Target various device configurations.
© Keren Kalif Intro to Android Development Written by Keren Kalif, Edited by Liron Blecher Contains slides from Google I/O presentation.
Android Programming By Mohsen Biglari Android Programming, Part1: Introduction 1 Part1: Introduction By Mohsen Biglari.
Operating system for mobile devices with a Java programming interface. Provides tools, e.g. a compiler, debugger, device emulator, and its own Java Virtual.
Introduction to Mobile Programming. Slide 2 Overview Fundamentally, it all works the same way You get the SDK for the device (Droid, Windows, Apple) You.
PARSING FACEBOOK DATA FOR ANDROID 1. Step by Step  Import Android SDK  Get the hash key  Create a new app  Create a new project in Eclipse 
Intro to Android Development Ben Lafreniere. Getting up and running Don’t use the VM! ials/hello-world.html.
Copyright© Jeffrey Jongko, Ateneo de Manila University Android.
Ali Shahrokni Application Components Activities Services Content providers Broadcast receivers.
Presentation Seminar on “IMAGE SLIDER –AN ANDROID APPLICATION”
Basic Android Tutorial USF’s Association for Computing Machinery.
ANDROID Presented By Mastan Vali.SK. © artesis 2008 | 2 1. Introduction 2. Platform 3. Software development 4. Advantages Main topics.
DUE Hello World on the Android Platform.
Android for Java Developers Denver Java Users Group Jan 11, Mike
Chapter 12: Finale! Publishing Your Android App
Eclipse Tutorial Barrett Summer Scholars 2011 Sustainable Engineering: Learning to Engineer Truly Green Products.
© 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Android Boot Camp.
Presented By: Muhammad Tariq Software Engineer Android Training course.
INTRODUCTION TO ANDROID. Slide 2 Application Components An Android application is made of up one or more of the following components Activities We will.
Android Hello World 1. Click on Start and type eclipse into the textbox 2.
First Venture into the Android World Chapter 1 Part 2.
Introduction to Android
HW#9 Clues CSCI 571 Fall, HW#9 Prototype
ANDROID APPLICATION DEVELOPMENT. ANDROID DEVELOPMENT DEVELOPER.ANDROID.COM/INDEX.HTML THE OFFICIAL SITE FOR ANDROID DEVELOPERS. PROVIDES THE ANDROID SDK.
© 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Android Boot Camp.
TODAY Android Studio Installation Getting started Creating your 1 st App Beginning to understanding Intents.
TCS Internal Maps. 2 TCS Internal Objective Objective :  MAPS o Integration of Maps.
Intoduction to Andriod studio Environment With a hello world program.
Master Software Solutions Pvt.Ltd.. These days the demand of smart phone is being increased and we have different types of client e.g. Touch Phone, tables,
Best 5 Mobile App Development Tools for Developer's to think beyond the Limitation.
INTRODUCTION TO ANDROID. Slide 2 Introduction I take a top-down approach to describing an application’s anatomy.
Android apps development - Eclipse, Android SDK, and ADT plugin Introduction of.
A Study of SNS App on Android Platform and Development of “Follow5 App” Name : Huang Xun Professor : Henry Cho Date :
Introduction to Android Programming
Mobile Device Development
Android 01: Fundamentals
Obtaining the Required Tools
Market Share. Market Share Market Share Android Dev Basics Android apps are developed in Java and XML. The hardest part of Android dev is coming up.
Android.
Development-Introduction
CA16R405 - Mobile Application Development (Theory)
Application Development A Tutorial Driven Course
Android Developer Fundamentals V2 Lesson 1
Android Developer Fundamentals V2
Korea Software HRD Center
CA16R405 - Mobile Application Development (Theory)
CA16R405 - Mobile Application Development (Theory)
Presentation transcript:

Subtitle touch | Title of presentation | Date DD/MM/YYYY Touch Cloud Android SDK Ghady Rayess – Jan 19 th, 2013

Subtitle touch | Title of presentation | Date DD/MM/YYYY Introduction to Android Android Operation System o Android is an operating system based on Linux with a Java programming interface. o The Android Software Development Kit (Android SDK) provides all necessary tools to develop Android applications. o This includes a compiler, debugger and a device emulator, as well as its own virtual machine to run Android programs.

Subtitle touch | Title of presentation | Date DD/MM/YYYY Introduction to Android Google Play o Google Play is the premier store for distributing Android apps. o It’s preinstalled on more than 400 million devices worldwide, a number growing by more than a million every day. o Android users have downloaded more than 25 billion apps from Google Play, growing at a rate of more than 1.5 billion per month.

Subtitle touch | Title of presentation | Date DD/MM/YYYY Introduction to Android Quick facts

Subtitle touch | Title of presentation | Date DD/MM/YYYY Concerts Project Android versions

Subtitle touch | Title of presentation | Date DD/MM/YYYY Android Development Tools Android SDK o The Android Software Development Kit (SDK) contains the necessary tools to create, compile and package Android application. o The Android SDK also provides an Android device emulator, so that Android applications can be tested without a real Android phone. o You can create Android virtual devices (AVD) via the Android SDK, which run in this emulator. o The Android SDK contains the Android debug bridge (adb) tool which allows to connect to an virtual or real Android device.

Subtitle touch | Title of presentation | Date DD/MM/YYYY Android Development Tools SDK Manager: For managing/updating available SDKs

Subtitle touch | Title of presentation | Date DD/MM/YYYY Android Development Tools AVD Manager: Creating/Managing Virtual Devices

Subtitle touch | Title of presentation | Date DD/MM/YYYY Android Development Tools Android Emulator

Subtitle touch | Title of presentation | Date DD/MM/YYYY Hello World Creating a Project File -> New -> Android Application Project Proceed with default values

Subtitle touch | Title of presentation | Date DD/MM/YYYY Hello World Activities, XML Layout Files, Values: Strings

Subtitle touch | Title of presentation | Date DD/MM/YYYY Hello World Activities

Subtitle touch | Title of presentation | Date DD/MM/YYYY Hello World XML Layout Files: Graphical Layout & xml code

Subtitle touch | Title of presentation | Date DD/MM/YYYY Hello World Resources: Strings

Subtitle touch | Title of presentation | Date DD/MM/YYYY Apstrata Android SDK Apstrata Client

Subtitle touch | Title of presentation | Date DD/MM/YYYY Apstrata SDK Apstrata Client o Signed with username/password: ApstrataClientAndroid(String baseUrl, String key, String user, String password, AuthMode authMode) o Signed with secret: ApstrataClientAndroid(String baseUrl, String key, String secret, AuthMode authMode) o Unsigned: ApstrataClientAndroid(String baseUrl, String key, AuthMode authMode)

Subtitle touch | Title of presentation | Date DD/MM/YYYY Apstrata SDK API Calls o JSON Response: String callAPIJson(String methodName, List params, Map > files) o XML Response: public String callAPIXml(String methodName, List params, Map > files)

Subtitle touch | Title of presentation | Date DD/MM/YYYY Apstrata SDK Parameters o Passed to API Calls as List params o Creating a List of List parameters = new ArrayList (); parameters.add(new BasicNameValuePair(param1Key, param1Value));

Subtitle touch | Title of presentation | Date DD/MM/YYYY Apstrata SDK Files o Passed to API Calls as Map > files o Creating a Map of > List files = new ArrayList (); list.add(myFile1); Files.put(filesKey, files);

Subtitle touch | Title of presentation | Date DD/MM/YYYY Apstrata Example In HelloWorldProject: Part A: Making Apstrata Call – In MainActivity.java: Create ApstrataClient using username and password from previously created Asptrata account Choose an Apstrata API for testing Create parameters and files Call Asptrata API Log Result Part B: Displaying Result in TextView Create a new TextView in activity_main.xml Obtain reference to TextView in MainActivity.java Display Apstrata API result in TextView

Subtitle touch | Title of presentation | Date DD/MM/YYYY Apstrata Example Part 1 Code

Subtitle touch | Title of presentation | Date DD/MM/YYYY Concerts Project Overview Buy tickets Upload images Choose a concert Concert A Concert B Concert C Choose a concert Concert A Concert B Concert C Concert A Buy # tickets Total$$ Concert A Upload an image img1img2img3 img4img5 Save Title Desc Tags

Subtitle touch | Title of presentation | Date DD/MM/YYYY Concerts Project Exercise 1: Get List of Concerts ConcertsActivity Send Request to get list of concerts in JSON format Parse received JSON response Populate a list of Concerts Show received concerts in ListView Concert key: String title: String ticketPrice: double description: String date: Date documentKey: String picture: String pictureUrl: String

Subtitle touch | Title of presentation | Date DD/MM/YYYY Concerts Project Exercise 1: Get List of Concerts Eclipse [String getConcerts()]

Subtitle touch | Title of presentation | Date DD/MM/YYYY Concerts Project Exercise 1: Get List of Concerts – Solution

Subtitle touch | Title of presentation | Date DD/MM/YYYY Concerts Project Exercise 1: Get list of concerts – Sample Response {"response": {"metadata": {"requestId": "8f b-4204-a c93ce", "status": "success", "statusCode": "200" }, "result": {"documents": [{"key": "DavidGuattoConcert", "versionNumber": "1.0", "title": "David Guatto gone wild", "ticketPriceLL": " ", "picture": "DavidGuattoGoneWild.jpg", "description": "Best Techno event of the year", "date": " T00:00: ", "apsdb.documentKey": "DavidGuattoConcert"}, ……. ] }

Subtitle touch | Title of presentation | Date DD/MM/YYYY Concerts Project Exercise 2: Buy a Concert Ticket BuyTicketsActivity Populate user interface with concert parameters When user clicks Buy, send request with the following: name, msisdn, unitPrice, quantity, concertTitle Parse received JSON response Show success or fail message

Subtitle touch | Title of presentation | Date DD/MM/YYYY Concerts Project Exercise 2: Buy a Concert Ticket Eclipse [String buyConcertTicket ()]

Subtitle touch | Title of presentation | Date DD/MM/YYYY Concerts Project Exercise 2: Buy a Concert Ticket – Solution

Subtitle touch | Title of presentation | Date DD/MM/YYYY Concerts Project Exercise 2: Buy a Concert Ticket – Sample Response {"response": {"metadata": {"requestId": "181eef41-42fd-457f-a a9", "status": "success", "statusCode": "200" }, "result": {"status": "success", "transactionId": "b5077a0f-7a10-45e0-a97f-8d d" }

Subtitle touch | Title of presentation | Date DD/MM/YYYY Concerts Project Exercise 3: Get Concert Gallery Images ConcertGalleryActivity 1.Send Request to get list of concert images in JSON format 2.Parse received JSON response 3.Show received images in GridView GalleryImage key: String title: String picture: String pictureUrl: String

Subtitle touch | Title of presentation | Date DD/MM/YYYY Concerts Project Exercise 3: Get Concert Gallery Images Eclipse [String getConcertGallery ()]

Subtitle touch | Title of presentation | Date DD/MM/YYYY Concerts Project Exercise 3: Get Concert Gallery Images – Solution

Subtitle touch | Title of presentation | Date DD/MM/YYYY Concerts Project Exercise 3: Get Concert Gallery Images – Sample Response {"response": {"metadata": {"requestId": "8bfd1716-0e99-48ec-a4fd-129a04bf0abb", "status": "success", "statusCode": "200" }, "result": {"documents": [{"key": "image4", "versionNumber": "1.0", "picture": "DavidGuatto2.jpg", "title": "pic4" }, {"key": "image3", "versionNumber": "1.0", "picture": "DavidGuatto1.jpg", "title": "pic3" }] }

Subtitle touch | Title of presentation | Date DD/MM/YYYY Concerts Project Exercise 4: Upload an Image to a Concert ImageUploadActivity 1.User captures an image or selects one from phone gallery 2.User fills fields for image title, description, and tags 3.When user clicks Save, send request with the following parameters: title, description, tags, concert; and the file: picture 4.Parse received JSON response 5.Show success or fail message

Subtitle touch | Title of presentation | Date DD/MM/YYYY Concerts Project Exercise 4: Upload an Image to a Concert Eclipse [String uploadImageToConcert ()]

Subtitle touch | Title of presentation | Date DD/MM/YYYY Concerts Project Exercise 4: Upload an Image to a Concert – Solution

Subtitle touch | Title of presentation | Date DD/MM/YYYY Concerts Project Exercise 4: Upload an Image to a Concert – Sample Response {"response": {"metadata": {"requestId": "181eef41-42fd-457f-a a9", "status": "success", "statusCode": "200" }, "result": {"status": "success", "transactionId": "b5077a0f-7a10-45e0-a97f-8d d" }

Subtitle touch | Title of presentation | Date DD/MM/YYYY THANK YOU!

Subtitle touch | Title of presentation | Date DD/MM/YYYY