Upload
schogini-systems-pvt-ltd
View
139
Download
0
Tags:
Embed Size (px)
DESCRIPTION
This for developers who have not yet attempted the Android SDK. This will give the needed clarity by giving the much needed initial push to setup your Windows development environment and build a sample Android application.
Citation preview
Welcome toGoogle Android SDK
Webinar26th February, 20109.00AM – 9.30AM
by Sree CEO Schogini Systems
1.ABOUT US (3 miniutes)
2.WHAT IS ANDROID? (5 minutes)
3.HOW TO SETUP SDK?(8 minutes)
4.HELLO WORLD,TEXT INPUT, OUTPUTSUBMIT BUTTON (10 minutes)
5.QUESTIONS/URLS (5 minutes)
Schogini Systems, PTP Nagar – 292, Trivandrum, Kerala – 695038
Email: [email protected], Tel: 0471-2360598
http://schogini.in
We work with Drupal, Magento and other PHP based applications.
ABOUT US
Milestone #1
• 1999, 2000 Schogini was voted as the besthosting servicein the world!
ABOUT US
Milestone #2
• 2002 Schogini was used as the perfect example of a web hosting service in this book.
Jessica KeyesPublisher at New Art Press Instructor/Stream Manager at University of Liverpool Facilitator at The University of Phoenix
ABOUT US
Milestone #3
• 2006 Googleshowcased our GoogleMap projectin theirdevelopersconference.
ABOUT US
Milestone #4
• 2007 India’s 5th Zend PHP5 Certified Engineer.
ABOUT US
Milestone #5
• 2008 Schogini was listed as the exclusive ecommerce payment API
• Integrator for 30+ payment gateway providers
ABOUT US
CETEX 2010We were 1st to present Android in India
ABOUT US
• Mobile phones OS
• Symbian OS
• Microsoft’s Windows Mobile
• Mobile Linux
• iPhone OS (based on Mac OS X)
• Then Google with its Android Platform(Open source code)
(Pro Android - Apresss)
WHAT IS ANDROID
(Pro Android - Apresss)
WHAT IS ANDROID
Open Handest Alliance(OHA)WHAT IS ANDROID
WHAT IS ANDROID
ANDROID BASED HTC MAGIC PHONE
Android Platform
WHAT IS ANDROID
• The Android Platform SDK comes with everything you need in a single package: the OS, device drivers, core libraries, etc.
• Developers can be assured that when they develop new applications, all key libraries will be available on the device.
(Pro Android - Apresss)
ANDROID SDK
WHO CAN?
• The only requirement is a basic understanding of programming in Java or a similar object-oriented language (C# will do in a pinch). You don’t need any prior experience developing software for mobile devices. In fact, if you do, it’s probably best if you try to forget that experience.
• Android is so different that it’s good to start with an open mind.
Tools
• The Android software development kit (SDK) works on Windows, Linux, and Mac OS X. The applications you create, of course, can be deployed on any Android devices.
• Before you start coding, you need to install Java, an IDE, and the Android SDK.
• Java 5.0+• First you need a copy of Java. All the Android
development tools require it, and programs you write will be using the Java language. JDK 5 or 6 is required.
• It’s not enough to just have a runtime environment (JRE); you need the full development kit. I recommend getting the latest Sun JDK SE 6.0
Check Java Version
• To verify you have the right version, run this command from your shell
• window. Here’s what I get when I run it:• C:\> java -version• java version "1.6.0_14"• Java(TM) SE Runtime Environment (build 1.6.0_14-b08)• Java HotSpot(TM) Client VM (build 14.0-b16, mixed mode,
sharing)
1) The Android SDK
2) Eclipse IDE + ADT (Android Development Tools) – Reduces Development and Testing Time– Makes User Interface-Creation easier
(Pro Android - Apresss)
ANDROID SDK
Installing Android SDK
• Download Android SDK from following Url:
• http://developer.android.com/sdk/index.html
• Extract and copy the SDK to C:\android-sdk-windows folder
ANDROID SDK INSTALLATION
ANDROID SDK
ANDROID SDK INSTALLATION COMPLETED
ANDROID SDK
Virtual Device
In the AVD Manager dialog, fill out the fields for the new AVD as follows:Name: em21Target: Android 2.1 - API Level 7SDCard: 64MSkin: Default (HVGA)
Emulator
ANDROID SDK
Installing Eclipse IDE
• #1. Download Eclipse from following url:• http://www.eclipse.org/downloads/• **A Java or RCP version of Eclipse is
recommended . For more info pls visit http://developer.android.com/sdk/eclipse-adt.html **
• Extract and copy the eclipse folder in your C:\eclipse
• Double clicking on eclipse.exe will launch Eclipse IDE
Installing ADT Plugin for Eclipse• Once you have the Eclipse IDE installed, follow these steps to download the ADT
plugin and install it in your respective Eclipse environment.
• a) Start Eclipse, then select Help > Install New Software.• • b) In the Available Software dialog, click Add....
• c) In the Add Site dialog that appears, enter a name for the remote site (for example, "Android Plugin") in the "Name" field.
• In the "Location" field, enter this URL:
• https://dl-ssl.google.com/android/eclipse/
• Note: If you have trouble acquiring the plugin, you can try using "http" in the URL, instead of "https"
• (https is preferred for security reasons).• Click OK.
ANDROID SDK
ANDROID HELLO WORLD
ANDROID HELLO WORLD
ANDROID HELLO WORLD
ANDROID HELLO WORLD
ANDROID HELLO WORLD
ANDROID HELLO WORLD
ANDROID HELLO WORLD
First Program
• Project name: Proj1
• Build Target: Android 2.1
• Application name: App1
• Package name: App1.Pkg1
• Create Activity: Act1
ANDROID HELLO WORLD
ANDROID HELLO WORLD
Main Files
ANDROID HELLO WORLD
ANDROID HELLO WORLD
ANDROID HELLO WORLD
Activity Java File
Manifest.xml
Main.xml
WYSIWYG COMPONENTS!
ANDROID HELLO WORLD
ANDROID HELLO WORLD
URLs
• http://d.android.com/guide/developing/eclipse-adt.html
• http://d.android.com/guide/developing/device.html• http://sree.cc Has the SDK and Hello World install steps• http://schogini.in is our company website
BOOKS
THANKS VERY MUCH
http://[email protected]