Developing Android Apps: Part 1
|
|
|
- Bonnie Caldwell
- 10 years ago
- Views:
Transcription
1 : Part 1 [email protected] Institute for Software Integrated Systems Vanderbilt University Nashville, Tennessee, USA CS 282 Principles of Operating Systems II Systems Programming for Android
2 Learning Objectives in this Part of the Module Understand the key steps in developing an Android app 2
3 Android Project Android App Development Steps Compilation & Packaging Create an Android Project by defining resources & implement app class(es) Android Package (.apk) Signing ADB Device or Emulator developer.android.com/guide/developing/building 3 has more info on this process
4 Android Project Android App Development Steps Compilation & Packaging The Eclipse ADT plugin incrementally builds your project as changes are made to the source code Android Package (.apk) Signing ADB Device or Emulator developer.android.com/tools/sdk/eclipse-adt.html 4 has more on ADT plugin
5 Android Project Android App Development Steps Compilation & Packaging Eclipse outputs an.apk file automatically Android Package (.apk) Signing ADB Device or Emulator en.wikipedia.org/wiki/apk_(file_format) 5 has more on APK files
6 Android Project Android App Development Steps Compilation & Packaging Android system uses signed certificates to identify the author of an app & establish trust relationships between apps Android Package (.apk) Signing ADB Device or Emulator developer.android.com/tools/publishing/app-signing.html 6 has more on signing
7 Android Project Android App Development Steps Compilation & Packaging Eclipse automatically installs & runs Apps on an actual device or an emulator via DDMS Android Package (.apk) Signing ADB Device or Emulator developer.android.com/tools/debugging/ddms.html 7 has more on DDMS
8 The Android build process involves many tools & processes that generate intermediate files on the way to producing an.apk The XML files are just as important as the source code Summary Android Project Compilation & Packaging Android Package (.apk) Signing ADB Device or Emulator 8
9 The Android build process involves many tools & processes that generate intermediate files on the way to producing an.apk If you use Eclipse, the complete build process is automatically done periodically as you develop & save your changes Summary 9
10 The Android build process involves many tools & processes that generate intermediate files on the way to producing an.apk If you use Eclipse, the complete build process is automatically done periodically as you develop & save your changes It is useful, however, to understand what s happening under the hood since much of the tools & processes are masked from you Summary 10
11 : Part 2 [email protected] Institute for Software Integrated Systems Vanderbilt University Nashville, Tennessee, USA CS 282 Principles of Operating Systems II Systems Programming for Android
12 Learning Objectives in this Part of the Module Understand how to use Eclipse to create a simple Android app 12
13 A Simple Hello Android Example Project name: HelloAndroid Application name: Hello, Android Package name: course.examples.helloandroid Create activity: HelloAndroidActivity Min SDK: 8 (Froyo) 13
14 Creating the Hello Android Android Project Start Eclipse BTW, if you can afford extra memory & a solid-state drive I highly recommend it! 14
15 Start Eclipse Create a new Android project from the file menu: File->New->Android Application Project Creating the Hello Android Android Project 15
16 Configuring the Project Settings Via a Wizard The new project wizard is where you setup critical information for an app: 16
17 The new project wizard is where you setup critical information for an app: You specify the name of the app & the project Configuring the Project Settings Via a Wizard 17
18 The new project wizard is where you setup critical information for an app: You specify the name of the app & the project You provide a Java package that will hold all of your app s code Configuring the Project Settings Via a Wizard 18
19 The new project wizard is where you setup critical information for an app: You specify the name of the app & the project You provide a Java package that will hold all of your app s code You need to set the version info for the Android platform that you will be targeting Configuring the Project Settings Via a Wizard 19
20 The new project wizard is where you setup critical information for an app: You specify the name of the app & the project You provide a Java package that will hold all of your app s code You need to set the version info for the Android platform that you will be targeting You specify a default Activity for your project Configuring the Project Settings Via a Wizard 20
21 The new project wizard is where you setup critical information for an app: You specify the name of the app & the project You provide a Java package that will hold all of your app s code You need to set the version info for the Android platform that you will be targeting You specify a default Activity for your project Configuring the Project Settings Via a Wizard You can configure this info via the 21 wizard or via the XML directly
22 Eclipse provides various tools & wizards that simplify the creation of apps Summary 22
23 Summary Eclipse provides various tools & wizards that simplify the creation of apps It s not mandatory to use these wizards if you re comfortable working with XML directly However, good luck debugging handwritten XML files ;-) <LinearLayout xmlns:android=" android:orientation="vertical" android:layout_height="match_parent" android:layout_width="match_parent" android:background="@android:color/transparent"> <ListView android:id="@android:id/list" android:layout_width="match_parent" android:layout_height="0px" android:layout_weight="1" android:cliptopadding="false" android:drawselectorontop="false" android:cachecolorhint= "@android:color/transparent" android:scrollbaralwaysdrawverticaltrack="true" /> <Button android:id="@+id/clear_all_button" android:layout_width="150dip" android:layout_height="wrap_content" android:layout_margin="5dip" android:text= "@string/website_settings_clear_all" android:visibility="gone" /> </LinearLayout> 23
24 : Part 3 [email protected] Institute for Software Integrated Systems Vanderbilt University Nashville, Tennessee, USA CS 282 Principles of Operating Systems II Systems Programming for Android
25 Learning Objectives in this Part of the Module Understand the main parts of an Android project 25
26 Projects are containers that storing things like code & resource files Overview of Android Projects src/ Contains your stub Activity file. All other source code files (such as.java or.aidl files) go here as well. bin/ Output directory of the build. This is where you can find the final.apk file and other compiled resources. jni/ Contains native code sources developed using the Android NDK. gen/ Contains the Java files generated by ADT, such as your R.java file and interfaces created from AIDL files. assets/ You can use this to store raw asset files, such as textures and game data. res/ Contains application resources, such as drawable files, layout files, and string values.. libs/ Contains private libraries 26
27 Projects are containers that storing things like code & resource files Android projects eventually get built into an.apk file that can be installed onto a device Overview of Android Projects src/ Contains your stub Activity file. All other source code files (such as.java or.aidl files) go here as well. bin/ Output directory of the build. This is where you can find the final.apk file and other compiled resources. jni/ Contains native code sources developed using the Android NDK. gen/ Contains the Java files generated by ADT, such as your R.java file and interfaces created from AIDL files. assets/ You can use this to store raw asset files, such as textures and game data. res/ Contains application resources, such as drawable files, layout files, and string values.. libs/ Contains private libraries 27
28 Projects are containers that storing things like code & resource files Android projects eventually get built into an.apk file that can be installed onto a device Some are generated for you by default, while others should be created if required Overview of Android Projects src/ Contains your stub Activity file. All other source code files (such as.java or.aidl files) go here as well. bin/ Output directory of the build. This is where you can find the final.apk file and other compiled resources. jni/ Contains native code sources developed using the Android NDK. gen/ Contains the Java files generated by ADT, such as your R.java file and interfaces created from AIDL files. assets/ You can use this to store raw asset files, such as textures and game data. res/ Contains application resources, such as drawable files, layout files, and string values.. libs/ Contains private libraries developer.android.com/tools/projects 28 has more on Android projects
29 Three Key Elements in an Android Project Each Android project contains three key elements Java source code This part of the app is typically 29 the most free-form & creative
30 Each Android project contains three key elements Java source code XML-based GUI metadata to manage layouts, etc. Three Key Elements in an Android Project <LinearLayout xmlns:android= " android:orientation="vertical" android:layout_height="match_parent" android:layout_width="match_parent"> <Button android:layout_gravity="bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="find Address"> </Button> </LinearLayout> You can write this metadata manually 30 or generate it via a layout editor
31 Three Key Elements in an Android Project Each Android project contains three key elements Java source code XML-based GUI metadata to manage layouts, etc. An XML Manifest file <?xml version="1.0" encoding="utf-8"?> <manifest> <application> <activity> <intent-filter> <action /> <data /> </intent-filter> </activity> <service> <intent-filter>. </intent-filter> </service> <receiver> <intent-filter>... </intent-filter> </receiver> <provider> <grant-uri-permission /> </provider> </application> </manifest> The manifest presents essential information 31 about the app to Android
32 Android Project Anatomy: src The App source code resides inside the src folder in the package that you specified in the new Android project wizard Eclipse usually (re)builds files properly, 32 but it can sometimes do weird things..
33 Android Project Anatomy: gen Android generates some files that make it easier for you to build GUIs & fetch resources The gen folder contains the generated code produced by the Android plugin e.g., stubs generated by AIDL compiler, R.java file generated by the Android resource compiler (aapt.exe), etc. Never put any code in this folder 33 or modify any generated code
34 Android Project Anatomy: gen Android generates some files that make it easier for you to build GUIs & fetch resources An app uses the R.java file to fetch GUI resources & widgets We ll discuss this file later 34
35 Android Project Anatomy: res The res folder contains non-code resources (e.g., layouts, menus, images, etc.) used by your app You can use image resolutions for different screen sizes based on contents in drawable-* folders developer.android.com/guide/practices/screens_support.html 35 has more info
36 Android Project Anatomy: res The res folder contains non-code resources (e.g., layouts, menus, images, etc.) used by your app You can use image resolutions for different screen sizes based on contents in drawable-* folders You can define your GUI using XML or the Android layout editor 36
37 Android Project Anatomy: res The res folder contains non-code resources (e.g., layouts, menus, images, etc.) used by your app You can use image resolutions for different screen sizes based on contents in drawable-* folders You can define your GUI using XML or the Android layout editor The various XML files are located beneath the layout folder developer.android.com/tools/help/adt.html#graphical-editor 37 has more info
38 Android Project Anatomy: res The res folder contains non-code resources (e.g., layouts, menus, images, etc.) used by your app You can use image resolutions for different screen sizes based on contents in drawable-* folders You can define your GUI using XML or the Android layout editor The various XML files are located beneath the layout folder The values/strings.xml file contains text strings for your app Can optionally include text styling & formatting via HTML tags developer.android.com/guide/topics/resources/string-resource.html 38 has more
39 Android Project Anatomy: Manifest File The AndroidManifest.xml file contains information Android needs to execute your app 39
40 Android Project Anatomy: Manifest File The AndroidManifest.xml file contains information Android needs to execute your app Android Since Android provides an App framework it has to know how to plug your App s components into the framework The manifest file tells Android how your app plugs-in to the framework Your Apps developer.android.com/guide/topics/manifest/manifest-intro.html 40 has more
41 The AndroidManifest.xml file contains information Android needs to execute your app Since Android provides an App framework it has to know how to plug your App s components into the framework When you install an App, the PackageManager reads your manifest file & populates various internal data structures Android Project Anatomy: Manifest File PackageManager packagemanager = getpackagemanager(); List<ResolveInfo> activities = packagemanager.queryintentactivities(intent, 0); boolean isintentsafe = activities.size() > 0; developer.android.com/reference/android/content/pm/packagemanager.html 41
42 The manifest file contains various important sections, including: App name/info, required platform version & minimum API level 42 Android Project Anatomy: Manifest File The list of Activity, Service, Content Provider, & Broadcast Receiver components defined by your App & events that your App cares about The security permissions your App is requesting Whether or not your App can be debugged when deployed <manifest package="com.example.helloandroid" android:versioncode="1" android:versionname="1.0" > <uses-sdk android:minsdkversion="8 android:targetsdkversion="17" /> <application <activity android:name="com.example.helloandroid.helloandroidactivity" > <intent-filter> <action android:name="android.intent.action.main" /> <category android:name="android.intent.category.launcher" /> </intent-filter> </activity> </application> </manifest> developer.android.com/guide/topics/fundamentals.html#manifest has more
43 Summary Projects act as containers for storing things such as code & resource files src/ bin/ jni/ gen/ Contains your stub Activity file. All other source code files (such as.java or.aidl files) go here as well. Output directory of the build. This is where you can find the final.apk file and other compiled resources. Contains native code sources developed using the Android NDK. Contains the Java files generated by ADT, such as your R.java file and interfaces created from AIDL files. assets/ You can use this to store raw asset files, such as textures and game data. res/ Contains application resources, such as drawable files, layout files, and string values.. libs/ Contains private libraries 43
44 Summary Projects act as containers for storing things such as code & resource files The SDK tools expect your projects to follow a specific structure so it can compile & package your application correctly It is highly recommended that you create them with Eclipse & ADT or with the android tool on the command line 44
45 Summary Projects act as containers for storing things such as code & resource files The SDK tools expect your projects to follow a specific structure so it can compile & package your application correctly There are two other types of projects Test Projects These projects contain code to test your application projects and are built into applications that run on a device. Library Projects These projects contain shareable Android source code and resources that you can reference in Android projects. This is useful when you have common code that you want to reuse. Library projects cannot be installed onto a device, however, they are pulled into the.apk file at build time. developer.android.com/tools/projects 45 has more on Android projects
46 : Part 4 [email protected] Institute for Software Integrated Systems Vanderbilt University Nashville, Tennessee, USA CS 282 Principles of Operating Systems II Systems Programming for Android
47 Learning Objectives in this Part of the Module Understand how to use Eclipse to create the simple Hello Android app by Defining resources Implementing user-defined classes 47
48 Define Resources for Hello Android App Several types of resources can be defined Layout Strings Images Menus etc. developer.android.com/guide/topics/resources 48 has more info
49 <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" /> </RelativeLayout> 49 Defining & Using App Layout Resources User interface layout specified in XML file stored in res/layout/<filename>.xml With Eclipse can also do layout visually (but beware of limitations) <RelativeLayout xmlns:android=" xmlns:tools=" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".helloandroidactivity" >
50 Defining & Using App Layout Resources User interface layout specified in XML file stored in res/layout/<filename>.xml Accessed from R.layout class public class MyActivity extends Activity { public void oncreate(bundle savedinstancestate) { super.oncreate(savedinstancestate);... setcontentview(r.layout.main); }... } 50
51 Defining & Using App String Resources Types String String Array Plurals Can include style & formatting Stored in res/values/ <filename>.xml <?xml version="1.0" encoding="utf-8"?> <resources> <string name="app_name"> Hello, Android</string> <string name="action_settings"> Settings</string> <string name="hello_android"> Hello Android!</string> </resources> 51
52 Types String Defining & Using App String Resources String Array Plurals Can include style & formatting Stored in res/values/ <filename>.xml Each string references in other *.xml files <?xml version="1.0" encoding="utf-8"?> <resources> <string name="app_name"> Hello, Android</string> <string name="action_settings"> Settings</string> <string name="hello_android"> Hello Android!</string> </resources> res/layout/activity_hello_android.xml <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" 52
53 Defining & Using App String Resources Types String String Array Plurals Can include style & formatting Stored in res/values/ <filename>.xml Each string specified Accessed as R.string.string_name <?xml version="1.0" encoding="utf-8"?> <resources> <string name="app_name"> Hello, Android</string> <string name="action_settings"> Settings</string> <string name="hello_android"> Hello Android!</string> </resources> res/layout/activity_hello_android.xml <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" tv.settext(r.string.hello_android); 53
54 Defining & Using R.java Resources At compilation time, resources are used to generate the R.java class XML Layout files Android Manifest.xml Compile w/ aapt.exe Compiled XML files R.java public final class R { public static final class layout { public static final int activity_hello_android =0x7f030000; } public static final class string { public static final int action_settings=0x7f050001; public static final int app_name=0x7f050000; public static final int hello_android=0x7f050002; }... Implements Resource Files & Packed 54 Data patterns from smallmemory.com
55 Defining & Using R.java Resources At compilation time, resources are used to generate the R.java class XML Layout files Android Manifest.xml Compile w/ aapt.exe Compiled XML files R.java App access resources through the R class public final class R { public static final class layout { public static final int activity_hello_android =0x7f030000; } public static final class string { public static final int action_settings=0x7f050001; public static final int app_name=0x7f050000; public static final int hello_android=0x7f050002; }... setcontentview(r.layout.main); tv.settext(r.string.hello_android); Implements Resource Files & Packed 55 Data patterns from smallmemory.com
56 Implement User-defined Classes HelloAndroid.java implements the main Activity for the app All App Activities inherit from com.android.activity package com.example.helloworld; import android.app.activity; import android.os.bundle; import android.view.menu; import android.widget.textview; 58 public class HelloAndroidActivity extends Activity { public void oncreate(bundle savedinstancestate) { super.oncreate(savedinstancestate); TextView tv = new TextView(this); tv.settext(r.string.hello_android); setcontentview(tv); } }
57 Implement User-defined Classes HelloAndroid.java implements the main Activity for the app All App Activities inherit from com.android.activity Each Activity manages one screen in an app When you change screens, you typically change the currently active Activity 59
58 Implement User-defined Classes HelloAndroid.java implements the main Activity for the app All App Activities inherit from com.android.activity Each Activity manages one screen in an app Most apps have a default Activity that serves as the entry point to the app <application <activity android:name=".helloandroidactivity" <intent-filter> <action android:name= "android.intent.action.main"/> <category android:name= "android.intent.category.launcher"/> </intent-filter> </activity> </application> 60
59 The Java source code is combined with others files generated by various tools in the Android/Eclipse tool chain to create a signed *.apk package Summary developer.android.com/guide/developing/building 61 has more info on this process
60 The Java source code is combined with others files generated by various tools in the Android/Eclipse tool chain to create a signed *.apk package Summary developer.android.com/guide/developing/building 62 has more info on this process
Android Introduction. Hello World. @2010 Mihail L. Sichitiu 1
Android Introduction Hello World @2010 Mihail L. Sichitiu 1 Goal Create a very simple application Run it on a real device Run it on the emulator Examine its structure @2010 Mihail L. Sichitiu 2 Google
Tutorial #1. Android Application Development Advanced Hello World App
Tutorial #1 Android Application Development Advanced Hello World App 1. Create a new Android Project 1. Open Eclipse 2. Click the menu File -> New -> Other. 3. Expand the Android folder and select Android
Mobile Application Development
Mobile Application Development (Android & ios) Tutorial Emirates Skills 2015 3/26/2015 1 What is Android? An open source Linux-based operating system intended for mobile computing platforms Includes a
ANDROID APP DEVELOPMENT: AN INTRODUCTION CSCI 5115-9/19/14 HANNAH MILLER
ANDROID APP DEVELOPMENT: AN INTRODUCTION CSCI 5115-9/19/14 HANNAH MILLER DISCLAIMER: Main focus should be on USER INTERFACE DESIGN Development and implementation: Weeks 8-11 Begin thinking about targeted
directory to "d:\myproject\android". Hereafter, I shall denote the android installed directory as
1 of 6 2011-03-01 12:16 AM yet another insignificant programming notes... HOME Android SDK 2.2 How to Install and Get Started Introduction Android is a mobile operating system developed by Google, which
Android Application Development: Hands- On. Dr. Jogesh K. Muppala [email protected]
Android Application Development: Hands- On Dr. Jogesh K. Muppala [email protected] Wi-Fi Access Wi-Fi Access Account Name: aadc201312 2 The Android Wave! 3 Hello, Android! Configure the Android SDK SDK
Chapter 2 Getting Started
Welcome to Android Chapter 2 Getting Started Android SDK contains: API Libraries Developer Tools Documentation Sample Code Best development environment is Eclipse with the Android Developer Tool (ADT)
MMI 2: Mobile Human- Computer Interaction Android
MMI 2: Mobile Human- Computer Interaction Android Prof. Dr. [email protected] Mobile Interaction Lab, LMU München Android Software Stack Applications Java SDK Activities Views Resources Animation
App Development for Android. Prabhaker Matet
App Development for Android Prabhaker Matet Development Tools (Android) Java Java is the same. But, not all libs are included. Unused: Swing, AWT, SWT, lcdui Eclipse www.eclipse.org/ ADT Plugin for Eclipse
Android For Java Developers. Marko Gargenta Marakana
Android For Java Developers Marko Gargenta Marakana Agenda Android History Android and Java Android SDK Hello World! Main Building Blocks Debugging Summary History 2005 Google buys Android, Inc. Work on
ANDROID APPS DEVELOPMENT FOR MOBILE AND TABLET DEVICE (LEVEL I)
ANDROID APPS DEVELOPMENT FOR MOBILE AND TABLET DEVICE (LEVEL I) Who am I? Lo Chi Wing, Peter Lecture 1: Introduction to Android Development Email: [email protected] Facebook: http://www.facebook.com/peterlo111
ECWM511 MOBILE APPLICATION DEVELOPMENT Lecture 1: Introduction to Android
Why Android? ECWM511 MOBILE APPLICATION DEVELOPMENT Lecture 1: Introduction to Android Dr Dimitris C. Dracopoulos A truly open, free development platform based on Linux and open source A component-based
Advantages. manage port forwarding, set breakpoints, and view thread and process information directly
Part 2 a Android Environment SDK Victor Matos Cleveland State University Notes are based on: Android Developers http://developer.android.com/index.html 1 Android Environment: Eclipse & ADT The Android
Android Environment SDK
Part 2-a Android Environment SDK Victor Matos Cleveland State University Notes are based on: Android Developers http://developer.android.com/index.html 1 Android Environment: Eclipse & ADT The Android
Android Environment SDK
Part 2-a Android Environment SDK Victor Matos Cleveland State University Notes are based on: Android Developers http://developer.android.com/index.html 1 2A. Android Environment: Eclipse & ADT The Android
Developing an Android App. CSC207 Fall 2014
Developing an Android App CSC207 Fall 2014 Overview Android is a mobile operating system first released in 2008. Currently developed by Google and the Open Handset Alliance. The OHA is a consortium of
How to build your first Android Application in Windows
APPLICATION NOTE How to build your first Android Application in Windows 3/30/2012 Created by: Micah Zastrow Abstract This application note is designed to teach the reader how to setup the Android Development
Now that we have the Android SDK, Eclipse and Phones all ready to go we can jump into actual Android development.
Android Development 101 Now that we have the Android SDK, Eclipse and Phones all ready to go we can jump into actual Android development. Activity In Android, each application (and perhaps each screen
SDK Quick Start Guide
SDK Quick Start Guide Table of Contents Requirements...3 Project Setup...3 Using the Low Level API...9 SCCoreFacade...9 SCEventListenerFacade...10 Examples...10 Call functionality...10 Messaging functionality...10
Android 多 核 心 嵌 入 式 多 媒 體 系 統 設 計 與 實 作
Android 多 核 心 嵌 入 式 多 媒 體 系 統 設 計 與 實 作 Android Application Development 賴 槿 峰 (Chin-Feng Lai) Assistant Professor, institute of CSIE, National Ilan University Nov. 10 th 2011 2011 MMN Lab. All Rights Reserved
4. The Android System
4. The Android System 4. The Android System System-on-Chip Emulator Overview of the Android System Stack Anatomy of an Android Application 73 / 303 4. The Android System Help Yourself Android Java Development
Building Your First App
uilding Your First App Android Developers http://developer.android.com/training/basics/firstapp/inde... Building Your First App Welcome to Android application development! This class teaches you how to
Presenting Android Development in the CS Curriculum
Presenting Android Development in the CS Curriculum Mao Zheng Hao Fan Department of Computer Science International School of Software University of Wisconsin-La Crosse Wuhan University La Crosse WI, 54601
Android Application Development. Yevheniy Dzezhyts
Android Application Development Yevheniy Dzezhyts Thesis Business Information Technology 2013 Author Yevheniy Dzezhyts Title of thesis Android application development Year of entry 2007 Number of report
Android Programming Basics
2012 Marty Hall Android Programming Basics Originals of Slides and Source Code for Examples: http://www.coreservlets.com/android-tutorial/ Customized Java EE Training: http://courses.coreservlets.com/
Android Development. Marc Mc Loughlin
Android Development Marc Mc Loughlin Android Development Android Developer Website:h:p://developer.android.com/ Dev Guide Reference Resources Video / Blog SeCng up the SDK h:p://developer.android.com/sdk/
Basics. Bruce Crawford Global Solutions Manager
Android Development Basics Bruce Crawford Global Solutions Manager Android Development Environment Setup Agenda Install Java JDK Install Android SDK Add Android SDK packages with Android SDK manager Install
App Development for Smart Devices. Lec #2: Android Tools, Building Applications, and Activities
App Development for Smart Devices CS 495/595 - Fall 2011 Lec #2: Android Tools, Building Applications, and Activities Tamer Nadeem Dept. of Computer Science Objective Understand Android Tools Setup Android
By sending messages into a queue, we can time these messages to exit the cue and call specific functions.
Mobile App Tutorial Deploying a Handler and Runnable for Timed Events Creating a Counter Description: Given that Android Java is event driven, any action or function call within an Activity Class must
Android Development Tutorial
3.2k Android Development Tutorial Free tutorial, donate to support Based on Android 4.2 Lars Vogel Version 11.2 Copyright 2009, 2010, 2011, 2012, 2013 Lars Vogel 20.01.2013 Revision History by Lars Vogel
Arduino & Android. A How to on interfacing these two devices. Bryant Tram
Arduino & Android A How to on interfacing these two devices Bryant Tram Contents 1 Overview... 2 2 Other Readings... 2 1. Android Debug Bridge -... 2 2. MicroBridge... 2 3. YouTube tutorial video series
Hello World. by Elliot Khazon
Hello World by Elliot Khazon Prerequisites JAVA SDK 1.5 or 1.6 Windows XP (32-bit) or Vista (32- or 64-bit) 1 + more Gig of memory 1.7 Ghz+ CPU Tools Eclipse IDE 3.4 or 3.5 SDK starter package Installation
Jordan Jozwiak November 13, 2011
Jordan Jozwiak November 13, 2011 Agenda Why Android? Application framework Getting started UI and widgets Application distribution External libraries Demo Why Android? Why Android? Open source That means
Android Development. http://developer.android.com/develop/ 吳 俊 興 國 立 高 雄 大 學 資 訊 工 程 學 系
Android Development http://developer.android.com/develop/ 吳 俊 興 國 立 高 雄 大 學 資 訊 工 程 學 系 Android 3D 1. Design 2. Develop Training API Guides Reference 3. Distribute 2 Development Training Get Started Building
Università Degli Studi di Parma. Distributed Systems Group. Android Development. Lecture 2 Android Platform. Marco Picone - 2012
Android Development Lecture 2 Android Platform Università Degli Studi di Parma Lecture Summary 2 The Android Platform Dalvik Virtual Machine Application Sandbox Security and Permissions Traditional Programming
Admin. Mobile Software Development Framework: Android Activity, View/ViewGroup, External Resources. Recap: TinyOS. Recap: J2ME Framework
Admin. Mobile Software Development Framework: Android Activity, View/ViewGroup, External Resources Homework 2 questions 10/9/2012 Y. Richard Yang 1 2 Recap: TinyOS Hardware components motivated design
Localization and Resources
2012 Marty Hall Localization and Resources Originals of Slides and Source Code for Examples: http://www.coreservlets.com/android-tutorial/ Customized Java EE Training: http://courses.coreservlets.com/
Developing apps for Android OS: Develop an app for interfacing Arduino with Android OS for home automation
Developing apps for Android OS: Develop an app for interfacing Arduino with Android OS for home automation Author: Aron NEAGU Professor: Martin TIMMERMAN Table of contents 1. Introduction.2 2. Android
Tutorial: Setup for Android Development
Tutorial: Setup for Android Development Adam C. Champion CSE 5236: Mobile Application Development Autumn 2015 Based on material from C. Horstmann [1], J. Bloch [2], C. Collins et al. [4], M.L. Sichitiu
Programming with Android: SDK install and initial setup. Dipartimento di Informatica: Scienza e Ingegneria Università di Bologna
Programming with Android: SDK install and initial setup Luca Bedogni Marco Di Felice Dipartimento di Informatica: Scienza e Ingegneria Università di Bologna SDK and initial setup: Outline Today: How to
Programming with Android: SDK install and initial setup. Dipartimento di Informatica: Scienza e Ingegneria Università di Bologna
Programming with Android: SDK install and initial setup Luca Bedogni Marco Di Felice Dipartimento di Informatica: Scienza e Ingegneria Università di Bologna SDK and initial setup: Outline Ø Today: How
How to Create an Android Application using Eclipse on Windows 7
How to Create an Android Application using Eclipse on Windows 7 Kevin Gleason 11/11/11 This application note is design to teach the reader how to setup an Android Development Environment on a Windows 7
A software stack for mobile devices:
Programming Mobile Applications for Android Handheld Systems - Week 1 1 - Introduction Today I am going to introduce you to the Android platform. I'll start by giving you an overview of the Android platform,
ADITION Android Ad SDK Integration Guide for App Developers
Documentation Version 0.5 ADITION Android Ad SDK Integration Guide for App Developers SDK Version 1 as of 2013 01 04 Copyright 2012 ADITION technologies AG. All rights reserved. 1/7 Table of Contents 1.
Getting Started: Creating a Simple App
Getting Started: Creating a Simple App What You will Learn: Setting up your development environment Creating a simple app Personalizing your app Running your app on an emulator The goal of this hour is
Android Application Development - Exam Sample
Android Application Development - Exam Sample 1 Which of these is not recommended in the Android Developer's Guide as a method of creating an individual View? a Create by extending the android.view.view
Developing In Eclipse, with ADT
Developing In Eclipse, with ADT Android Developers file://v:\android-sdk-windows\docs\guide\developing\eclipse-adt.html Page 1 of 12 Developing In Eclipse, with ADT The Android Development Tools (ADT)
Mocean Android SDK Developer Guide
Mocean Android SDK Developer Guide For Android SDK Version 3.2 136 Baxter St, New York, NY 10013 Page 1 Table of Contents Table of Contents... 2 Overview... 3 Section 1 Setup... 3 What changed in 3.2:...
@ME (About) Marcelo Cyreno. Skype: marcelocyreno Linkedin: marcelocyreno Mail: [email protected]
Introduction @ME (About) Marcelo Cyreno Skype: marcelocyreno Linkedin: marcelocyreno Mail: [email protected] Android - Highlights Open Source Linux Based Developed by Google / Open Handset Alliance
OpenCV on Android Platforms
OpenCV on Android Platforms Marco Moltisanti Image Processing Lab http://iplab.dmi.unict.it [email protected] http://www.dmi.unict.it/~moltisanti Outline Intro System setup Write and build an Android
Running a Program on an AVD
Running a Program on an AVD Now that you have a project that builds an application, and an AVD with a system image compatible with the application s build target and API level requirements, you can run
MAP524/DPS924 MOBILE APP DEVELOPMENT (ANDROID) MIDTERM TEST OCTOBER 2013 STUDENT NAME STUDENT NUMBER
MAP524/DPS924 MOBILE APP DEVELOPMENT (ANDROID) MIDTERM TEST OCTOBER 2013 STUDENT NAME STUDENT NUMBER Please answer all questions on the question sheet This is an open book/notes test. You are allowed to
Based on Android 4.0. by Lars Vogel. Version 9.8. Copyright 2009, 2010, 2011, 2012 Lars Vogel. 20.02.2012 Home Tutorials Trainings Books Social
Android Development Tutorial Tutorial 2.6k Based on Android 4.0 Lars Vogel Version 9.8 by Lars Vogel Copyright 2009, 2010, 2011, 2012 Lars Vogel 20.02.2012 Home Tutorials Trainings Books Social Revision
How To Develop An Android App On An Android Device
Lesson 2 Android Development Tools = Eclipse + ADT + SDK Victor Matos Cleveland State University Portions of this page are reproduced from work created and shared by Googleand used according to terms described
Android Development Tutorial. Nikhil Yadav CSE40816/60816 - Pervasive Health Fall 2011
Android Development Tutorial Nikhil Yadav CSE40816/60816 - Pervasive Health Fall 2011 Database connections Local SQLite and remote access Outline Setting up the Android Development Environment (Windows)
Android App Development. Rameel Sethi
Android App Development Rameel Sethi Relevance of Android App to LFEV Would be useful for technician at Formula EV race course to monitor vehicle conditions on cellphone Can serve as useful demo of LFEV
ANDROID AS A PLATFORM FOR DATABASE APPLICATION DEVELOPMENT
Bachelor s Thesis (TUAS) Degree Program: Information Technology Specialization: Internet Technology 2013 Joseph Muli ANDROID AS A PLATFORM FOR DATABASE APPLICATION DEVELOPMENT CASE: WINHA MOBILE 1 BACHELOR
Building an Android client. Rohit Nayak Talentica Software
Building an Android client Rohit Nayak Talentica Software Agenda iphone and the Mobile App Explosion How mobile apps differ Android philosophy Development Platform Core Android Concepts App Demo App Dissection
BEGIN ANDROID JOURNEY IN HOURS
BEGIN ANDROID JOURNEY IN HOURS CS425 / CSE 424 / ECE 428 [Fall 2009] Sept. 14, 2009 Ying Huang REFERENCE Online development guide http://developer.android.com/guide/index.html Book resource Professional
Tutorial: Android Object API Application Development. SAP Mobile Platform 2.3
Tutorial: Android Object API Application Development SAP Mobile Platform 2.3 DOCUMENT ID: DC01939-01-0230-01 LAST REVISED: March 2013 Copyright 2013 by Sybase, Inc. All rights reserved. This publication
Android Tutorial. Larry Walters OOSE Fall 2011
Android Tutorial Larry Walters OOSE Fall 2011 References This tutorial is a brief overview of some major concepts Android is much richer and more complex Developer s Guide http://developer.android.com/guide/index.html
TUTORIALS AND QUIZ ANDROID APPLICATION SANDEEP REDDY PAKKER. B. Tech in Aurora's Engineering College, 2013 A REPORT
TUTORIALS AND QUIZ ANDROID APPLICATION by SANDEEP REDDY PAKKER B. Tech in Aurora's Engineering College, 2013 A REPORT submitted in partial fulfillment of the requirements for the degree MASTER OF SCIENCE
Frameworks & Android. Programmeertechnieken, Tim Cocx
Frameworks & Android Programmeertechnieken, Tim Cocx Discover thediscover world atthe Leiden world University at Leiden University Software maken is hergebruiken The majority of programming activities
2. Click the download button for your operating system (Windows, Mac, or Linux).
Table of Contents: Using Android Studio 1 Installing Android Studio 1 Installing IntelliJ IDEA Community Edition 3 Downloading My Book's Examples 4 Launching Android Studio and Importing an Android Project
Tutorial: Android Object API Application Development. Sybase Unwired Platform 2.2 SP02
Tutorial: Android Object API Application Development Sybase Unwired Platform 2.2 SP02 DOCUMENT ID: DC01734-01-0222-01 LAST REVISED: January 2013 Copyright 2013 by Sybase, Inc. All rights reserved. This
ANDROID TUTORIAL. Simply Easy Learning by tutorialspoint.com. tutorialspoint.com
Android Tutorial ANDROID TUTORIAL by tutorialspoint.com tutorialspoint.com i ABOUT THE TUTORIAL Android Tutorial Android is an open source and Linux-based operating system for mobile devices such as smartphones
Android Basics. Xin Yang 2016-05-06
Android Basics Xin Yang 2016-05-06 1 Outline of Lectures Lecture 1 (45mins) Android Basics Programming environment Components of an Android app Activity, lifecycle, intent Android anatomy Lecture 2 (45mins)
Hacking your Droid ADITYA GUPTA
Hacking your Droid ADITYA GUPTA adityagupta1991 [at] gmail [dot] com facebook[dot]com/aditya1391 Twitter : @adi1391 INTRODUCTION After the recent developments in the smart phones, they are no longer used
Android Development Tutorial. Human-Computer Interaction II (COMP 4020) Winter 2013
Android Development Tutorial Human-Computer Interaction II (COMP 4020) Winter 2013 Mobile OS Symbian ios BlackBerry Window Phone Android. World-Wide Smartphone Sales (Thousands of Units) Android Phones
Android UI. Fundamentals. Develop and Design. Jason Ostrander
Android UI Fundamentals Develop and Design Jason Ostrander Android UI Fundamentals Develop and Design Jason Ostrander Android UI Fundamentals: Develop and Design Jason Ostrander Peachpit Press 1249 Eighth
Getting Started With Android
Getting Started With Android Author: Matthew Davis Date: 07/25/2010 Environment: Ubuntu 10.04 Lucid Lynx Eclipse 3.5.2 Android Development Tools(ADT) 0.9.7 HTC Incredible (Android 2.1) Preface This guide
How to develop your own app
How to develop your own app It s important that everything on the hardware side and also on the software side of our Android-to-serial converter should be as simple as possible. We have the advantage that
Introduction to Android Development. Jeff Avery CS349, Mar 2013
Introduction to Android Development Jeff Avery CS349, Mar 2013 Overview What is Android? Android Architecture Overview Application Components Activity Lifecycle Android Developer Tools Installing Android
Android (2009.12.30) Frank Ducrest
Android (2009.12.30) Frank Ducrest Android 2 Android mobile operating system based on a monolithic Linux kernel (all OS operations take place in the kernel space) suited to Java apps by design (Dalvik
Introduction to Android SDK Jordi Linares
Introduction to Android SDK Introduction to Android SDK http://www.android.com Introduction to Android SDK Google -> OHA (Open Handset Alliance) The first truly open and comprehensive platform for mobile
Tutorial for developing the Snake Game in Android: What is Android?
Tutorial for developing the Snake Game in Android: What is Android? Android is a software stack for mobile devices that includes an operating system, middleware and key applications. The Android SDK provides
Woubshet Behutiye ANDROID ECG APPLICATION DEVELOPMENT
Woubshet Behutiye ANDROID ECG APPLICATION DEVELOPMENT ANDROID ECG APPLICATION DEVELOPMENT Woubshet Behutiye Bachelor s Thesis Spring 2012 Business Information Technology Oulu University of Applied Sciences
Overview of CS 282 & Android
Overview of CS 282 & Android Douglas C. Schmidt [email protected] www.dre.vanderbilt.edu/~schmidt Institute for Software Integrated Systems Vanderbilt University Nashville, Tennessee, USA CS 282
Specialized Android APP Development Program with Java (SAADPJ) Duration 2 months
Specialized Android APP Development Program with Java (SAADPJ) Duration 2 months Our program is a practical knowledge oriented program aimed at making innovative and attractive applications for mobile
ADT Plugin for Eclipse
ADT Plugin for Eclipse Android Development Tools (ADT) is a plugin for the Eclipse IDE that is designed to give you a powerful, integrated environment in which to build Android applications. ADT extends
Android Services. Services
Android Notes are based on: Android Developers http://developer.android.com/index.html 22. Android Android A Service is an application component that runs in the background, not interacting with the user,
Open Source Telemedicine Android Client Development Introduction
Open Source Telemedicine Android Client Development Introduction Images of phone in this presentation Google. All rights reserved. This content is excluded from our Creative Commons license. For more information,
Learning Android Marko Gargenta
Learning Android Learning Android Marko Gargenta Beijing Cambridge Farnham Köln Sebastopol Tokyo Learning Android by Marko Gargenta Copyright 2011 Marko Gargenta. All rights reserved. Printed in the United
Developing Android Applications: Case Study of Course Design
Accepted and presented at the: The 10th International Conference on Education and Information Systems, Technologies and Applications: EISTA 2012 July 17-20, 2012 Orlando, Florida, USA Developing Android
Lecture 1 Introduction to Android
These slides are by Dr. Jaerock Kwon at. The original URL is http://kettering.jrkwon.com/sites/default/files/2011-2/ce-491/lecture/alecture-01.pdf so please use that instead of pointing to this local copy
Android Persistency: Files
15 Android Persistency: Files Notes are based on: The Busy Coder's Guide to Android Development by Mark L. Murphy Copyright 2008-2009 CommonsWare, LLC. ISBN: 978-0-9816780-0-9 & Android Developers http://developer.android.com/index.html
Android Concepts and Programming TUTORIAL 1
Android Concepts and Programming TUTORIAL 1 Kartik Sankaran [email protected] CS4222 Wireless and Sensor Networks [2 nd Semester 2013-14] 20 th January 2014 Agenda PART 1: Introduction to Android - Simple
Smartphone market share
Smartphone market share Gartner predicts that Apple s ios will remain the second biggest platform worldwide through 2014 despite its share deceasing slightly after 2011. Android will become the most popular
