Android Persistency: Files
|
|
|
- Laurel Hunt
- 10 years ago
- Views:
Transcription
1 15 Android Persistency: Files Notes are based on: The Busy Coder's Guide to Android Development by Mark L. Murphy Copyright CommonsWare, LLC. ISBN: & Android Developers Victor Matos Cleveland State University
2 Android uses the same file constructions found in a typical Java application. Files can be stored in the device s (small) main memory or in the much larger SD card. They can also be obtained from the network (as we will see later). Files stored in the device s memory, stay together with other application s resources (such as icons, pictures, music, ). We will call this type: Resource Files. 2
3 Your data storage options are the following: 1. Shared Preferences Store private primitive data in key-value pairs. 2. Internal Storage Store private data on the device s memory. 3. External Storage Store public data on the shared external storage. 4. SQLite Databases Store structured data in a private/public database. 5. Network Connection Store data on the web with your own network server. 3
4 Shared Preferences. Good for a few items saved as <Name, Value> private void usingpreferences(){ // Save data in a SharedPreferences container // We need an Editor object to make preference changes. SharedPreferences settings = getsharedpreferences("my_preferred_choices", Context.MODE_PRIVATE); SharedPreferences.Editor editor = settings.edit(); editor.putstring("favorite_color", "#ff0000ff"); editor.putint("favorite_number", 101); editor.commit(); // retrieving data from SharedPreferences container String favcolor = settings.getstring("favorite_color", "default black"); int favnumber = settings.getint("favorite_number", 0); Toast.makeText(this, favcolor + " " + favnumber, 1).show(); 4
5 Internal Storage. Using Android Resource Files When an application s.apk bytecode is deployed it may store in memory: code, drawables, and other raw resources (such as files). Acquiring those resources could be done using a statement such as: InputStream is = this.getresources().openrawresource(r.drawable.my_base_data); Use drag/drop to place file my_base_data.txt in res folder. It will be stored in the device s memory as part of the.apk Spanish Pamgram La cigüeña tocaba cada vez mejor el saxofón y el búho pedía kiwi y queso. 5
6 Example 0: Reading a Resource File (see previous figure) //reading an embedded RAW data file package cis493.files; import... import java.io.*; public class FileDemo1Raw extends Activity public void oncreate(bundle savedinstancestate) { super.oncreate(savedinstancestate); setcontentview(r.layout.main); try { PlayWithRawFiles(); catch (IOException e) { Toast.makeText(getApplicationContext(), "Problems: " + e.getmessage(), 1).show(); // oncreate 6
7 Example 1: Reading a Resource File (see previous figure) public void PlayWithRawFiles() throws IOException { String str=""; StringBuffer buf = new StringBuffer(); InputStream is = this.getresources().openrawresource(r.drawable.my_base_data); BufferedReader reader = new BufferedReader( new InputStreamReader(is)); if (is!=null) { while ((str = reader.readline())!= null) { buf.append(str + "\n" ); is.close(); Toast.makeText(getBaseContext(), buf.tostring(), Toast.LENGTH_LONG).show(); // PlayWithRawFiles // FilesDemo1 7
8 Example2: (Internal Storage ) Read/Write an Internal File. In this example an application collects data from the UI and saves it to a persistent data file into the (limited) internal Android System Space area. Next time the application is executed the Resource file is read and its data is shown in the UI 8
9 Example2: Grab from screen, save to file, retrieve from file. <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android=" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical"> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="close" /> <EditText android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleline="false" android:gravity="top" /> </LinearLayout> 9
10 Example2: Grab from screen, save to file, retrieve from file. package cis493.demo; import android.app.activity; import android.os.bundle; import android.view.view; import android.widget.button; import android.widget.edittext; import android.widget.toast; import java.io.bufferedreader; import java.io.inputstream; import java.io.inputstreamreader; import java.io.outputstreamwriter; public class Demo extends Activity { private final static String NOTES="notes.txt"; private EditText txtbox; 10
11 Example2: Grab from screen, save to file, retrieve from public void oncreate(bundle icicle) { super.oncreate(icicle); setcontentview(r.layout.main); txtbox=(edittext)findviewbyid(r.id.editor); Button btn=(button)findviewbyid(r.id.close); btn.setonclicklistener(new Button.OnClickListener() { public void onclick(view v) { finish(); ); //oncreate 11
12 Example2: Grab from screen, save to file, retrieve from file. public void onresume() { super.onresume(); try { InputStream in = openfileinput(notes); if (in!=null) { BufferedReader reader = new BufferedReader(new InputStreamReader(in)); String str = ""; StringBuffer buf=new StringBuffer(); while ((str = reader.readline())!= null) { buf.append(str+"\n"); in.close(); editor.settext(buf.tostring()); //if catch (java.io.filenotfoundexception e) { // that's OK, we probably haven't created it yet catch (Throwable t) { Toast.makeText(this, "Exception: "+ t.tostring(), 2000).show(); 12
13 Example2: Grab from screen, save to file, retrieve from file. public void onpause() { super.onpause(); try { OutputStreamWriter out= new OutputStreamWriter(openFileOutput(NOTES, 0)); // get your data from the screen s text box out.write(txtbox.gettext().tostring()); out.close(); catch (Throwable t) { Toast.makeText(this, "Exception: "+ t.tostring(), 2000).show(); //class 13
14 File is stored in the phone s memory under: /data/data/app/files Image of the file pulled from the device 14
15 Example 3: (External Storage) Reading/Writing to the External Device s SD card. Storing data into the SD card has the obvious advantage of a larger working space. 15
16 WARNING: Writing to the Device s SD card. Since SDK1.6 it is necessary to request permission to write to the SD card. Add the following clause to your AndroidManifest.xml <uses-permission android:name="android.permission.write_external_storage"> </uses-permission> 16
17 Example 3: Reading/Writing to the Device s SD card. Assume the SD card in this example has been named sdcard. We will use the Java.io.File class to designate the file s path. The following fragment illustrates the code strategy for output files. File myfile = new File("/sdcard/mysdfile.txt"); myfile.createnewfile(); OutputStreamWriter myoutwriter = new OutputStreamWriter( new FileOutputStream(myFile) ); myoutwriter.append(txtdata.gettext()); myoutwriter.close(); fout.close(); 17
18 Example 3: Reading/Writing to the Device s SD card. <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android= /android android:id="@+id/widget28" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="#ff0000ff" android:orientation="vertical" > <EditText android:id="@+id/txtdata" android:layout_width="fill_parent" android:layout_height="180px" android:text="enter some data here..." android:textsize="18sp" /> <Button android:id="@+id/btnwritesdfile" android:layout_width="143px" android:layout_height="44px" android:text="1. Write SD File" /> <Button android:id="@+id/btnclearscreen" android:layout_width="141px" android:layout_height="42px" android:text="2. Clear Screen" /> <Button android:id="@+id/btnreadsdfile" android:layout_width="140px" android:layout_height="42px" android:text="3. Read SD File" /> <Button android:id="@+id/btnclose" android:layout_width="141px" android:layout_height="43px" android:text="4. Close" /> </LinearLayout> 18
19 Example 3: Reading/Writing to the Device s SD card. 19
20 Example 3: Reading/Writing to the Device s SD card. Using DDMS File Explorer panel to inspect the SD card. 20
21 Example 3: Reading/Writing to the Device s SD card. package cis493.filedemo; import java.io.*; import android.app.activity; import android.os.bundle; import android.view.*; import android.view.view.onclicklistener; import android.widget.*; public class FileDemo3SD extends Activity { // GUI controls EditText txtdata; Button btnwritesdfile; Button btnreadsdfile; Button btnclearscreen; Button public void oncreate(bundle savedinstancestate) { super.oncreate(savedinstancestate); setcontentview(r.layout.main); // bind GUI elements with local controls txtdata = (EditText) findviewbyid(r.id.txtdata); txtdata.sethint("enter some lines of data here..."); 21
22 Example 3: Reading/Writing to the Device s SD card. btnwritesdfile = (Button) findviewbyid(r.id.btnwritesdfile); btnwritesdfile.setonclicklistener(new OnClickListener() public void onclick(view v) { // write on SD card file data from the text box try { File myfile = new File("/sdcard/mysdfile.txt"); myfile.createnewfile(); FileOutputStream fout = new FileOutputStream(myFile); OutputStreamWriter myoutwriter = new OutputStreamWriter(fOut); myoutwriter.append(txtdata.gettext()); myoutwriter.close(); fout.close(); Toast.makeText(getBaseContext(), "Done writing SD 'mysdfile.txt'", Toast.LENGTH_SHORT).show(); catch (Exception e) { Toast.makeText(getBaseContext(), e.getmessage(), Toast.LENGTH_SHORT).show(); // onclick ); // btnwritesdfile 22
23 Example 3: Reading/Writing to the Device s SD card. btnreadsdfile = (Button) findviewbyid(r.id.btnreadsdfile); btnreadsdfile.setonclicklistener(new OnClickListener() public void onclick(view v) { // write on SD card file data from the text box try { File myfile = new File("/sdcard/mysdfile.txt"); FileInputStream fin = new FileInputStream(myFile); BufferedReader myreader = new BufferedReader(new InputStreamReader(fIn)); String adatarow = ""; String abuffer = ""; while ((adatarow = myreader.readline())!= null) { abuffer += adatarow + "\n"; txtdata.settext(abuffer); myreader.close(); Toast.makeText(getBaseContext(), "Done reading SD 'mysdfile.txt'", 1).show(); catch (Exception e) { Toast.makeText(getBaseContext(), e.getmessage(), 1).show(); // onclick ); // btnreadsdfile 23
24 Example 3: Reading/Writing to the Device s SD card. btnclearscreen = (Button) findviewbyid(r.id.btnclearscreen); btnclearscreen.setonclicklistener(new OnClickListener() public void onclick(view v) { // clear text box txtdata.settext(""); ); // btnclearscreen btnclose = (Button) findviewbyid(r.id.btnclose); btnclose.setonclicklistener(new OnClickListener() public void onclick(view v) { // clear text box finish(); ); // btnclose // oncreate // class 24
25 Example 3: Reading/Writing to the Device s SD card. You may also use the Scanner/PrintWriter classes, as suggested below: private void testscannerfiles(){ // Add to manifest the following permission request // <uses-permission android:name="android.permission.write_external_storage" /> try { String SDcardPath = Environment.getExternalStorageDirectory().getPath(); String mysdfilename = SDcardPath + "/" + "mysdfiletest.txt"; tvmessage.settext("writing to: " + mysdfilename); PrintWriter outfile= new PrintWriter( new FileWriter(mySDFileName) ); outfile.println("hola Android"); outfile.println("adios Android"); outfile.println(new Date().toString()); outfile.close(); // read SD-file,show records. Scanner infile= new Scanner(new FileReader(mySDFileName)); String instring= "\n\nreading from: " + mysdfilename + "\n"; while(infile.hasnextline()) { instring += infile.nextline() + "\n"; tvmessage.append(instring); infile.close(); catch (FileNotFoundException e) { tvmessage.settext( "Error: " + e.getmessage()); catch (IOException e) { tvmessage.settext( "Error: " + e.getmessage()); 25
26 Example 4: Some more ideas on using the Scanner/PrintWriter classes. // writing FileOutputStream fos = openfileoutput("xyz", Context.MODE_PRIVATE); PrintWriter outfile= new PrintWriter( fos ); outfile.println("hola Android"); outfile.close(); // reading InputStream is = openfileinput("xyz"); Scanner infile= new Scanner(is); String instring= ""; while(infile.hasnextline()) { instring = infile.nextline(); 26
27 Files Questions? 27
28 Files Accessing the SD card String sppath = ; sdpath = Environment.getExternalStorageDirectory().getAbsolutePath() + /myfilename.txt ; 28
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
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,
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
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)
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 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
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 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
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
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
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 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
App Development for Smart Devices. Lec #4: Files, Saving State, and Preferences
App Development for Smart Devices CS 495/595 - Fall 2011 Lec #4: Files, Saving State, and Preferences Tamer Nadeem Dept. of Computer Science Some slides adapted from Stephen Intille Objective Data Storage
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 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
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
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
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
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: 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
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
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 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
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
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
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
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
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 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
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. 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
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
Programming Mobile Applications with Android
Programming Mobile Applications 22-26 September, Albacete, Spain Jesus Martínez-Gómez Introduction to advanced android capabilities Maps and locations.- How to use them and limitations. Sensors.- Using
Programming with Android: Data management. Dipartimento di Scienze dell Informazione Università di Bologna
Programming with Android: Data management Luca Bedogni Marco Di Felice Dipartimento di Scienze dell Informazione Università di Bologna Data: outline Data Management in Android Preferences Text Files XML
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
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,
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 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
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
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
An Android-based Instant Message Application
An Android-based Instant Message Application Qi Lai, Mao Zheng and Tom Gendreau Department of Computer Science University of Wisconsin - La Crosse La Crosse, WI 54601 [email protected] Abstract One of the
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
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 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
Introduction to NaviGenie SDK Client API for Android
Introduction to NaviGenie SDK Client API for Android Overview 3 Data access solutions. 3 Use your own data in a highly optimized form 3 Hardware acceleration support.. 3 Package contents.. 4 Libraries.
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
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
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 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
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
Creating a Simple, Multithreaded Chat System with Java
Creating a Simple, Multithreaded Chat System with Java Introduction by George Crawford III In this edition of Objective Viewpoint, you will learn how to develop a simple chat system. The program will demonstrate
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
06 Team Project: Android Development Crash Course; Project Introduction
M. Kranz, P. Lindemann, A. Riener 340.301 UE Principles of Interaction, 2014S 06 Team Project: Android Development Crash Course; Project Introduction April 11, 2014 Priv.-Doz. Dipl.-Ing. Dr. Andreas Riener
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:...
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
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
AN11367. How to build a NFC Application on Android. Application note COMPANY PUBLIC. Rev. 1.1 16 September 2015 270211. Document information
Document information Info Content Keywords, android Abstract This application note is related to the implementation procedures of Android applications handling NFC data transfer with the RC663 Blueboard
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
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)
HERE SDK for Android. Developer's Guide. Online Version 2.1
HERE SDK for Android Developer's Guide Online Version 2.1 Contents 2 Contents Legal Notices.4 Document Information 5 Service Support. 6 Chapter1:Overview 7 What is the HERE SDK for Android?..8 Feature
Mobile App Sensor Documentation (English Version)
Mobile App Sensor Documentation (English Version) Mobile App Sensor Documentation (English Version) Version: 1.2.1 Date: 2015-03-25 Author: email: Kantar Media spring [email protected] Content Mobile App
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
AdFalcon Android SDK 2.1.4 Developer's Guide. AdFalcon Mobile Ad Network Product of Noqoush Mobile Media Group
AdFalcon Android SDK 214 Developer's Guide AdFalcon Mobile Ad Network Product of Noqoush Mobile Media Group Table of Contents 1 Introduction 3 Supported Android version 3 2 Project Configurations 4 Step
Using Files as Input/Output in Java 5.0 Applications
Using Files as Input/Output in Java 5.0 Applications The goal of this module is to present enough information about files to allow you to write applications in Java that fetch their input from a file instead
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
@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
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
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++
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.
App Development for Smart Devices. Lec #5: Android Sensors
App Development for Smart Devices CS 495/595 - Fall 2012 Lec #5: Android Sensors Tamer Nadeem Dept. of Computer Science Objective Working in Background Sensor Manager Examples Sensor Types Page 2 What
Advertiser Campaign SDK Your How-to Guide
Advertiser Campaign SDK Your How-to Guide Using Leadbolt Advertiser Campaign SDK with Android Apps Version: Adv2.03 Copyright 2012 Leadbolt All rights reserved Disclaimer This document is provided as-is.
The Busy Coder's Guide to Android Development. by Mark L. Murphy
The Busy Coder's Guide to Android Development by Mark L. Murphy The Busy Coder's Guide to Android Development by Mark L. Murphy Copyright 2008 CommonsWare, LLC. All Rights Reserved. Printed in the United
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
Android Services. Android. Victor Matos
Lesson 22 Android Victor Matos Cleveland State University Notes are based on: Android Developers http://developer.android.com/index.html Portions of this page are reproduced from work created and shared
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/
Android-Entwicklung. Michael secure Stapelberg
Android-Entwicklung Michael secure Stapelberg Folien Disclaimer Überblick 1 Die Android-Plattform 2 Entwicklungsumgebung 3 4 Grundlagen Layout, Activity, Manifest, Listener, Intents Framework Adapter,
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
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
PubMatic Android SDK. Developer Guide. For Android SDK Version 4.3.5
PubMatic Android SDK Developer Guide For Android SDK Version 4.3.5 Nov 25, 2015 1 2015 PubMatic Inc. All rights reserved. Copyright herein is expressly protected at common law, statute, and under various
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 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 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 FOR ANDROID OPERATING SYSTEM
Bachelor s Thesis (UAS) Degree Program: Information Technology Specialization: Android Application development 2013 Amrit Poudel MOBILE APPLICATION DEVELOPMENT FOR ANDROID OPERATING SYSTEM Case: NepGuide
ANDROID APPS DEVELOPMENT FOR MOBILE GAME
ANDROID APPS DEVELOPMENT FOR MOBILE GAME Lecture 7: Data Storage and Web Services Overview Android provides several options for you to save persistent application data. Storage Option Shared Preferences
