MAP524/DPS924 MOBILE APP DEVELOPMENT (ANDROID) MIDTERM TEST OCTOBER 2013 STUDENT NAME STUDENT NUMBER
|
|
|
- Milo Flowers
- 10 years ago
- Views:
Transcription
1 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 use 1 text book plus your own notes. No electronic aids are allowed. This is a 90 minute test and is worth 30% of your final grade. There are 22 questions worth 40 marks in total.
2 Multiple Choice. NOTE: Each question has only one BEST answer. Each question is worth one mark. 01. The plus (+) sign in the statement will a) identify it as an id resource. b) create a new id and add it to the project resources. c) call the xml parser to expand the id string. d) both a) and b). 02. Which of the following Java code samples could be used to apply an XML layout resource to an Activity? a) findviewbyid(r.id.help); b) setcontentview(r.layout.help); c) addcontentview(r.layout.help); d) setvisible(true); 03. Which of the following is not one of the pre-defined Android View Groups? a) RelativeLayout b) FixedLayout c) GridLayout d) TableLayout 04. Which of these methods is called first when an Activity is initially launched? a) onstart() b) onpause() c) oncreate() d) onresume() 05. In which of the following locations would you include XML code to define a menu resource, including the menu items? a) res/xml/main_menu.xml b) res/menu/main_menu.xml c) res/menus/main_menu.xml d) res/layout/main_menu.xml 06. Which of the following defines a row within the XML for a TableLayout? a) <TableRow> b) <Row> c) <TableRowView> d) <RowView> 07. Which of the following classes is used to display a message only for a moment? a) Alert b) Context c) Toast d) Message 08. Which of the following is the correct signature for the "onclick" method in an OnClickListener? a) public void onclick(activity a) b) public void onclick(view v) c) public void onclick(context c) d) public View onclick(this) 09. Which of the following is used to bind data to a layout View? a) Activity b) Context c) Intent d) Adapter 10. When does a context menu appear? a) on pressing b) on long-pressing c) on pressing the menu button d) on swiping
3 Write one line Android CLI command for each of the following. Each question is worth 1 mark. 11. List all current Android devices. adb devices or android list avd 12. Copy a local file named android.mp4 to the /sdcard/movies directory. adb push ~/android.mp4 /sdcard/movies/android.mp4 13. Copy a database file named students.db from your phone to a local file. The package name is ca.on.senecac.myapp. adb pull /data/data/ca.on.senecac.myapp/databases/students.db ~/students.db 14. Start a shell on the current Android device. adb shell 15. Install an Android application package named MyApp.apk onto the current Android device. adb install MyApp.apk 16. View the current logcat file. adb logcat 17. Create a new Android project with package name com.example.helloandroid and activity name of HelloAndroid. android create project name HelloAndroid package com.example.helloandroid 18. Launch an emulator with name of my_phone. emulator -avd my_phone 19. List all packages installed on the current Android device. adb shell pm list packages 20. Compile your project in debug mode. ant debug
4 21. Draw the layout represented by the following XML file. Identify the colours used for the texts and backgrounds as well as the position of all views on the screen. [ 10 marks ] <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android=" android:layout_width="fill_parent" android:layout_height="fill_parent" > android:id="@+id/textview01" android:background="#00f" android:text="red" android:textcolor="#fff" /> android:id="@+id/textview02" android:layout_alignparentright="true" android:background="#ffff00" android:text="green" android:textcolor="#000" /> android:id="@+id/textview03" android:layout_centervertical="true" android:layout_toleftof="@+id/textview02" android:background="#0f0" android:text="yellow" android:textcolor="#000" /> android:id="@+id/textview04" android:layout_centervertical="true" android:layout_torightof="@+id/textview03" android:background="#ff0000" android:text="black" android:textcolor="#fff" /> android:id="@+id/textview05" android:layout_width="fill_parent" android:layout_alignparentbottom="true" android:background="#000" android:text="blue" android:textcolor="#fff" /> </RelativeLayout>
5 22. The following is an incomplete Android database application which is supposed to add, find and delete items from a local database. Examine the code (yes it's long) and complete the app by inserting the missing lines of code. Note: there are 10 places with missing lines. Each correct line is worth 1 mark. res/layouts/activity_database.xml <RelativeLayout xmlns:android=" xmlns:tools=" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingbottom="@dimen/activity_vertical_margin" android:paddingleft="@dimen/activity_horizontal_margin" android:paddingright="@dimen/activity_horizontal_margin" android:paddingtop="@dimen/activity_vertical_margin" tools:context=".databaseactivity" > android:id="@+id/productid" android:layout_alignparenttop="true" android:layout_margintop="36dp" android:layout_torightof="@+id/button1" android:text="@string/product_id" /> <EditText android:id="@+id/productname" android:layout_alignright="@+id/button2" android:layout_below="@+id/productid" android:layout_margintop="40dp" android:text="@string/product_name"/> #1 <EditText android:id="@+id/productquantity" android:layout_alignleft="@+id/productname" android:layout_below="@+id/productname" android:layout_margintop="50dp" android:text="@string/product_quantity"/> <Button android:id="@+id/button1" #2 android:layout_alignparentbottom="true" android:layout_alignparentleft="true" android:onclick="newproduct" android:text="add" /> <Button android:id="@+id/button2" android:layout_alignbaseline="@+id/button1" android:layout_alignbottom="@+id/button1" android:layout_centerhorizontal="true" android:onclick="lookupproduct" android:text="find" />
6 <Button android:onclick="removeproduct" android:layout_alignparentright="true" android:layout_marginright="15dp" android:text="delete" /> </RelativeLayout> res/values/strings.xml <?xml version="1.0" encoding="utf-8"?> <resources> <string name="app_name">databaseactivity</string> <string name="action_settings">settings</string> <string name="product_name">product Name</string> <string name="product_id">product ID</string> #3 <string name="product_quantity">product Quantity</string> </resources> DatabaseActivity.java package com.example.databaseactivity; import android.os.bundle; import android.app.activity; import android.view.view; import android.widget.edittext; import android.widget.textview; public class DatabaseActivity extends Activity { TextView idview; EditText productbox; EditText protected void oncreate(bundle savedinstancestate) { super.oncreate(savedinstancestate); setcontentview(r.layout.activity_database); idview = (TextView) findviewbyid(r.id.productid); #4 productbox = (EditText) findviewbyid(r.id.productname); quantitybox = (EditText) findviewbyid(r.id.productquantity); public void newproduct (View view) { MyDBHandler dbhandler = new MyDBHandler(this, null, null, 1); int quantity = Integer.parseInt(quantityBox.getText().toString()); Product product = new Product(productBox.getText().toString(), quantity); dbhandler.addproduct(product); productbox.settext(""); quantitybox.settext("");
7 public void lookupproduct (View view) { MyDBHandler dbhandler = new MyDBHandler(this, null, null, 1); Product product = dbhandler.findproduct(productbox.gettext().tostring()); if (product!= null) { idview.settext(string.valueof(product.getid())); quantitybox.settext(string.valueof(product.getquantity())); else { idview.settext("no Match Found"); #5 public void removeproduct (View view) { MyDBHandler dbhandler = new MyDBHandler(this, null, null, 1); boolean result = dbhandler.deleteproduct( productbox.gettext().tostring()); if (result) { idview.settext("record Deleted"); productbox.settext(""); quantitybox.settext(""); else idview.settext("no Match Found"); MyDBHandler.java package com.example.databaseactivity; import android.content.contentvalues; import android.content.context; import android.database.cursor; import android.database.sqlite.sqlitedatabase; import android.database.sqlite.sqlitedatabase.cursorfactory; import android.database.sqlite.sqliteopenhelper; public class MyDBHandler extends SQLiteOpenHelper { private static final int DATABASE_VERSION = 1; private static final String DATABASE_NAME = "productdb.db"; private static final String TABLE_PRODUCTS = "products"; public static final String COLUMN_ID = "_id"; public static final String COLUMN_PRODUCTNAME = "productname"; public static final String COLUMN_QUANTITY = "quantity"; #6 public MyDBHandler(Context context, String name, CursorFactory factory, int version) { super(context, DATABASE_NAME, factory, public void oncreate(sqlitedatabase db) { String CREATE_PRODUCTS_TABLE = "CREATE TABLE " + TABLE_PRODUCTS + "(" + COLUMN_ID + " INTEGER PRIMARY KEY," + COLUMN_PRODUCTNAME + " TEXT," + COLUMN_QUANTITY + " INTEGER" + ")"; db.execsql(create_products_table); #7
8 @Override public void onupgrade(sqlitedatabase db, int oldversion, int newversion) { db.execsql("drop TABLE IF EXISTS " + TABLE_PRODUCTS); #8 oncreate(db); public void addproduct(product product) { ContentValues values = new ContentValues(); values.put(column_productname, product.getproductname()); values.put(column_quantity, product.getquantity()); SQLiteDatabase db = this.getwritabledatabase(); db.insert(table_products, null, values); db.close(); public Product findproduct(string productname) { String query = "Select * FROM " + TABLE_PRODUCTS + " WHERE " + COLUMN_PRODUCTNAME + " = \"" + productname + "\""; SQLiteDatabase db = this.getwritabledatabase(); Cursor cursor = db.rawquery(query, null); Product product = new Product(); if (cursor.movetofirst()) { cursor.movetofirst(); product.setid(integer.parseint(cursor.getstring(0))); product.setproductname(cursor.getstring(1)); product.setquantity(integer.parseint(cursor.getstring(2))); cursor.close(); else { product = null; db.close(); return product; public boolean deleteproduct(string productname) { boolean result = false; String query = "Select * FROM " + TABLE_PRODUCTS + " WHERE " + COLUMN_PRODUCTNAME + " = \"" + productname + "\""; SQLiteDatabase db = this.getwritabledatabase(); Cursor cursor = db.rawquery(query, null); #9 Product product = new Product(); if (cursor.movetofirst()) { product.setid(integer.parseint(cursor.getstring(0))); db.delete(table_products, COLUMN_ID + " =?", new String[] { String.valueOf(product.getID()) ); cursor.close(); result = true; db.close(); return result;
9 Product.java package com.example.databaseactivity; public class Product { private int _id; private String _productname; private int _quantity; public Product() { public Product(int id, String productname, int quantity) { this._id = id; this._productname = productname; this._quantity = quantity; public Product(String productname, int quantity) { this._productname = productname; this._quantity = quantity; public void setid(int id) { this._id = id; public int getid() { return this._id; #10 public void setproductname(string productname) { this._productname = productname; public String getproductname() { return this._productname; public void setquantity(int quantity) { this._quantity = quantity; public int getquantity() { return this._quantity;
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
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
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
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
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
2. Installieren des MySQL Workbench (Version 5.2.43) 3. Unter Database > Manage Connection folgende Werte eintragen
1. Setup 1. Mit dieser Anleitung (http://www.unimarburg.de/fb12/sys/services/svc_more_html#svc_sql) eine Datenbank einrichten. 2. Installieren des MySQL Workbench (Version 5.2.43) 3. Unter Database > Manage
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
Report and Opinion 2014;6(7) http://www.sciencepub.net/report. Technical Specification for Creating Apps in Android. Kauser Hameed, Manal Elobaid
Technical Specification for Creating Apps in Android Kauser Hameed, Manal Elobaid Department of Computer Science, CCSIT, King Faisal University, Hofuf, KSA [email protected] Abstract: As it has been
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
Developing Android Apps: Part 1
: Part 1 [email protected] www.dre.vanderbilt.edu/~schmidt Institute for Software Integrated Systems Vanderbilt University Nashville, Tennessee, USA CS 282 Principles of Operating Systems II Systems
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 Quiz App Tutorial
Step 1: Define a RelativeLayout Android Quiz App Tutorial Create a new android application and use the default settings. You will have a base app that uses a relative layout already. A RelativeLayout is
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 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
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)
Saindo da zona de conforto resolvi aprender Android! by Daniel Baccin
Saindo da zona de conforto resolvi aprender Android! by Daniel Baccin Mas por que Android??? Documentação excelente Crescimento no número de apps Fonte: http://www.statista.com/statistics/266210/number-of-available-applications-in-the-google-play-store/
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
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
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
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
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
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
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
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/
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
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
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 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
Android Java Live and In Action
Android Java Live and In Action Norman McEntire Founder, Servin Corp UCSD Extension Instructor [email protected] Copyright (c) 2013 Servin Corp 1 Opening Remarks Welcome! Thank you! My promise
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
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
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
Android Programming. Android App. Høgskolen i Telemark Telemark University College. Cuong Nguyen, 2013.06.19
Høgskolen i Telemark Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics Android Programming Cuong Nguyen, 2013.06.19 Android App Faculty of Technology,
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
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
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/
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
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
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
Create Android apps that stand out from the crowd. Android. Best Practices. Godfrey Nolan Onur Cinar David Truxall
Create Android apps that stand out from the crowd Android Best Practices Godfrey Nolan Onur Cinar David Truxall Download from BookDL (http://bookdl.com) For your convenience Apress has placed some of the
getsharedpreferences() - Use this if you need multiple preferences files identified by name, which you specify with the first parameter.
Android Storage Stolen from: developer.android.com data-storage.html i Data Storage Options a) Shared Preferences b) Internal Storage c) External Storage d) SQLite Database e) Network Connection ii Shared
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
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)
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
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
Android App Development Lloyd Hasson 2015 CONTENTS. Web-Based Method: Codenvy. Sponsored by. Android App. Development
Android App Lloyd Hasson 2015 Web-Based Method: Codenvy This tutorial goes through the basics of Android app development, using web-based technology and basic coding as well as deploying the app to a virtual
Performance - Optimierung. mit und ohne Android Developer Tools. Dominik Helleberg
Performance - Optimierung mit und ohne Android Developer Tools Dominik Helleberg Köln - 25.09.2014 Performance Analysieren Verstehen Fixen 2 Performance-Probleme... Netzwerk / Cache 3 Performance-Probleme...
App Development for Smart Devices. Lec #4: Services and Broadcast Receivers Try It Out
App Development for Smart Devices CS 495/595 - Fall 2013 Lec #4: Services and Broadcast Receivers Try It Out Tamer Nadeem Dept. of Computer Science Try It Out Example 1 (in this slides) Example 2 (in this
ELET4133: Embedded Systems. Topic 15 Sensors
ELET4133: Embedded Systems Topic 15 Sensors Agenda What is a sensor? Different types of sensors Detecting sensors Example application of the accelerometer 2 What is a sensor? Piece of hardware that collects
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
Android Bootcamp. Elaborado (com adaptações) a partir dos tutoriais:
Android Bootcamp Elaborado (com adaptações) a partir dos tutoriais: http://developer.android.com/resources/tutorials/hello-world.html http://developer.android.com/resources/tutorials/views/index.html Bootcamp
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
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
ACKNOWLEDGEMENT VISHNU RAMAKRISHNAN VISHNU SANKER ANAGHA OK PRANAM SREEDHARAN
I ACKNOWLEDGEMENT I take this occasion to thank God, almighty for blessing us with his grace and taking our endeavor to a successful culmination. I extend my sincere and heartfelt thanks to our esteemed
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 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,
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
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 Persistency: SQL Databases
17 Android Persistency: Victor Matos Cleveland State University Notes are based on: Android Developers http://developer.android.com/index.html 17. Android Using SQL databases in Android. Android (as well
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 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
CSE476 Mobile Application Development. Yard. Doç. Dr. Tacha Serif [email protected]. Department of Computer Engineering Yeditepe University
CSE476 Mobile Application Development Yard. Doç. Dr. Tacha Serif [email protected] Department of Computer Engineering Yeditepe University Fall 2015 Yeditepe University 2015 Outline Dalvik Debug
Android Security Lab WS 2014/15 Lab 1: Android Application Programming
Saarland University Information Security & Cryptography Group Prof. Dr. Michael Backes saarland university computer science Android Security Lab WS 2014/15 M.Sc. Sven Bugiel Version 1.0 (October 6, 2014)
HERE SDK for Android. Developer's Guide. Hybrid Plus Version 2.1
HERE SDK for Android Developer's Guide Hybrid Plus Version 2.1 Contents 2 Contents Legal Notices...5 Document Information... 6 Service Support... 7 Chapter1:Overview... 8 What is the HERE SDK for Android?...9
Android Programming Tutorials. by Mark L. Murphy
!" #$% &'()*+,('-,./0 5 80110234567 Android Programming Tutorials by Mark L. Murphy Android Programming Tutorials by Mark L. Murphy Copyright 2009-2011 CommonsWare, LLC. All Rights Reserved. Printed in
TUTORIAL. BUILDING A SIMPLE MAPPING APPLICATION
Cleveland State University CIS493. Mobile Application Development Using Android TUTORIAL. BUILDING A SIMPLE MAPPING APPLICATION The goal of this tutorial is to create a simple mapping application that
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
An Introduction to Android Application Development. Serdar Akın, Haluk Tüfekçi
An Introduction to Android Application Serdar Akın, Haluk Tüfekçi ARDIC ARGE http://www.ardictech.com April 2011 Environment Programming Languages Java (Officially supported) C (Android NDK Needed) C++
Developing NFC Applications on the Android Platform. The Definitive Resource
Developing NFC Applications on the Android Platform The Definitive Resource Part 1 By Kyle Lampert Introduction This guide will use examples from Mac OS X, but the steps are easily adaptable for modern
Introduction to Android. CSG250 Wireless Networks Fall, 2008
Introduction to Android CSG250 Wireless Networks Fall, 2008 Outline Overview of Android Programming basics Tools & Tricks An example Q&A Android Overview Advanced operating system Complete software stack
Orders.java. ArrayList of Drinks as they are ordered. Functions to calculate statistics on Drinks
Business and Point of Sale App Using Classes and Lists to Organize Data The Coffee App Description: This app uses a multiple class structure to create an interface where a user can select options for ordering
Android Development Exercises Version - 2012.02. Hands On Exercises for. Android Development. v. 2012.02
Hands On Exercises for Android Development v. 2012.02 WARNING: The order of the exercises does not always follow the same order of the explanations in the slides. When carrying out the exercises, carefully
Login with Amazon Getting Started Guide for Android. Version 2.0
Getting Started Guide for Android Version 2.0 Login with Amazon: Getting Started Guide for Android Copyright 2016 Amazon.com, Inc., or its affiliates. All rights reserved. Amazon and the Amazon logo are
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
Android Apps Development Boot Camp. Ming Chow Lecturer, Tufts University DAC 2011 Monday, June 6, 2011 [email protected]
Android Apps Development Boot Camp Ming Chow Lecturer, Tufts University DAC 2011 Monday, June 6, 2011 [email protected] Overview of Android Released in 2008 Over 50% market share Powers not only smartphones
23442 ECE 09402 7 Introduction to Android Mobile Programming 23442 ECE 09504 7 Special Topics: Android Mobile Programming
23442 ECE 09402 7 Introduction to Android Mobile Programming 23442 ECE 09504 7 Special Topics: Android Mobile Programming Mondays 5:00 PM to 7:45 PM SJTP, Room 137 Portions From Android Programming The
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
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
Q1. What method you should override to use Android menu system?
AND-401 Exam Sample: Q1. What method you should override to use Android menu system? a. oncreateoptionsmenu() b. oncreatemenu() c. onmenucreated() d. oncreatecontextmenu() Answer: A Q2. What Activity method
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,
Basics of Android Development 1
Departamento de Engenharia Informática Minds-On Basics of Android Development 1 Paulo Baltarejo Sousa [email protected] 2016 1 The content of this document is based on the material presented at http://developer.android.com
Les fragments. Programmation Mobile Android Master CCI. Une application avec deux fragments. Premier layout : le formulaire
Programmation Mobile Android Master CCI Bertrand Estellon Aix-Marseille Université March 23, 2015 Bertrand Estellon (AMU) Android Master CCI March 23, 2015 1 / 266 Les fragments Un fragment : représente
Android Programming. An Introduction. The Android Community and David Read. For the CDJDN April 21, 2011
Android Programming An Introduction The Android Community and David Read For the CDJDN April 21, 2011 1 My Journey? 25 years IT programming and design FORTRAN->C->C++->Java->C#->Ruby Unix->VMS->DOS->Windows->Linux
