Boardies IT Solutions Tel:
|
|
- Anthony Hancock
- 8 years ago
- Views:
Transcription
1 Navigation Drawer Manager Library H ow to implement Navigation Drawer Manager Library into your A ndroid Applications Boardies IT Solutions info@boardiesitsolutions.com Tel:
2 Contents Version Information... 2 Introduction... 3 Importing the Library... 3 Installing the Apache Maven Repository... 3 Importing the library into your project... 3 Creating the User Interface... 4 Implementing the Code... 5 Adding a menu header... 8 Adding a text view menu with an icon... 8 Adding a text view with no icon or summary... 8 Adding a switch... 9 A text view with summary... 9 A text view with summary and icon... 9 Header with Summary... Error! Bookmark not defined. How to implement an on click listener for a navigation menu item Using Generic DrawClickListener Using a Specific OnClickListener Final Notes... 11
3 Version Information Author Version Number Description Boardies IT Solutions 1.0 Beta This is the initial release. Supports Android 2.2 and above. Boardies IT Solutions 2.0 Now supports the material design of Android 5.0 Lollipop Follows the Android Design Guidelines Spec Supports the Native Android API from Android 14 as well as the AppCompat Theme Support Libraries The code is now converted for Android Studio instead of Eclipse it should work in Eclipse but these instructions are for Android Studio
4 Introduction The Navigation Drawer Manager Library by Boardies IT Solutions makes use of the official native API s for the Navigation Drawer for devices with a minimum of Android API level 14, or if you prefer, you can use the Navigation Drawer with the use of the AppCompat themes. The navigation drawer, as you expect can either be opened by sliding your finger from the left edge or by clicking the action bar toggle button. Please note that the instructions provided in this document is assuming you are using Android Studio development IDE for developing your android applications. This document assumes that Android Studio and the SDK are already configured and setup and your application project has already been created. Importing the Library The recommended way of using the library is to use a local Apache Maven Repository for storing the library. Installing the Apache Maven Repository Download the latest version of Maven from and extract the archive to somewhere on your development PC. Next you need to create/modify a couple of environment variables. You need to create a new environment variable called MAVEN_HOME and set the path to be the root directory of where you just extracted the archive. For example, C:\maven. Next, modify your PATH environment variable to include the path of the above MAVEN_HOME path and the MAVEN_PATH/bin directory. That should be maven set up. Now the next part is to publish the library to your local maven repository. Extract the Navigation Drawer Manager library (download from to somewhere on your PC. Then load up a command prompt or terminal window and change directory to where you have extracted the library to. Then run the following command gradlew.bat clean build publishtomavenlocal The build should successfully be published without any issue. Importing the library into your project First things first we need to tell your applications project build files that it can look for libraries in a local maven repository. In order to do this, add the following to your project build.gradle file (not your top level build.gradle) android { repositories { mavenlocal()
5 Now we need to actually tell the gradle files about our library. In your build.gradle (again not the top level file) there should be a dependencies section towards the bottom. In the dependencies section, add the following line: compile 'com.boardiesitsolutions:navigationdrawermanager:2.0' You should see a message at the top of the screen informing you need to re -sync your Gradle files. Ensure the gradle files are re-synced and the library should now be ready for to use. Creating the User Interface In your activities layout add the following. Note, that if you are NOT using the AppCompat theme for your app then you should remove android.support.v7.widget.toolbar, failing to do so will result in an exception being thrown. <android.support.v4.widget.drawerlayout xmlns:android=" android:id="@+id/my_drawer_layout" android:layout_width="match_parent" android:layout_height="match_parent" android:fitssystemwindows="true"> <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <!--Only include this toolbar if you are using the AppCompat theme--> <android.support.v7.widget.toolbar android:id="@+id/toolbar" android:layout_height="wrap_content" android:layout_width="match_parent" android:minheight="?attr/actionbarsize" android:background="@color/appprimarycolour" /> <FrameLayout android:id="@+id/framelayout" android:layout_width="match_parent" android:layout_height="match_parent"></framelayout> </LinearLayout> <ListView android:id="@+id/left_drawer" android:divider="@null" android:layout_width="match_parent" android:layout _height="match_parent" android:choicemode="singlechoice" android:background="#ffffff" /> </android.support.v4.widget.drawerlayout> Create a new XML layout file by right clicking on your project and going to New > Android XML File and specify the file name main_fragment.xml. This XML file will be the layout for the main content area of the your app. We re just going to keep it simple by having one textview that displays some text.
6 Add the following your XML file. <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android=" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" > <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:textsize="20dp" android:text="hello Fragment" /> </LinearLayout> Create a new source file called MainContentFragment which is a fragment which will show you the main content of the app, i.e. using the XML layout that we just created in ste p 4. This is done by right clicking on your project and going to New > Class. Provide it with the name MainContentFragment and make sure that it extends Fragment. In the MainContentFragment source code add the following code. Please note that whenever you are importing functions that are related to fragments make sure you import from android.support.v4.app and not android.app. package com.boardiesitsolutions.navigationdrawertutorial; import android.app.fragment; import android.os.bundle; import android.view.layoutinflater; import android.view.view; import android.view.viewgroup; public class MainContentFragment extends Fragment { public View oncreateview(layoutinflater inflator, ViewGroup container, Bundle savedinstancestate) { return inflator.inflate(r.layout.main_fragment, container, false); public void onactivitycreated(bundle savedinstancestate) { super.onactivitycreated(savedinstancestate); Implementing the Code Now go to your main activities class file. From this class you set up your fragment (the frame layout will be replaced by your fragment) and you will also set up your navigation drawer. First things first, we need to make sure that your activities class is extending the correct class. The class that you extend by will depend on what theme your application and/or your activities theme is using.
7 For example, if you are using the theme Theme.Holo or an equivalent form for Honeycomb and above devices, or if you are using Theme.Material or equivalent for Lollipop and above, then your main activities class should extend FragmentActivity and your fragment class should extend Fragment. Note: That when importing the FragmentActivity and Fragment classes then you should import from android.support.v4.app.fragmentactivity If you are using the theme Theme.AppCompat or equivalent then your main activities class and your fragment class should extend ActionBarActivity. Next step is set up your oncreate method. Below is the basics of what you need in your oncreate method. After the code below each part of the code is explained. public class MainActivity extends FragmentActivity { DrawerLayout mdrawerlayout; ListView mdrawerlist; Button btnselectmenuitem; ActionBarDrawerToggle drawertoggle; protected void oncreate(bundle savedinstancestate) { super.oncreate(savedinstancestate); setcontentview(r.layout.activity_main); FragmentTransaction t = getsupportfragmentmanager().begintransaction(); Fragment frag = new MainContentFragment(); t.replace(r.id.framelayout, frag); t.commit(); //Only do the following two lines if you are using AppCompat theme //Toolbar toolbar = (Toolbar) findviewbyid(r.id.my_awesome_toolbar); //setsupportactionbar(toolbar); NavigationManager navigationmanager = new NavigationManager(this, mdrawerlayout, R.string.drawer_open, R.string.drawer_closed); /**Use the below instead of above if you are using the AppCompat theme**/ //AppCompatNavigationManager navigationmanager = new AppCompatNavigationManager(this, mdrawerlayout); /**If you are using AppCompat you need to parse in the toolbar, otherwise don't**/ drawertoggle = navigationmanager.setdrawertoggle(); mdrawerlayout.setdrawerlistener(drawertoggle); drawertoggle.setdrawerindicatorenabled(true); navigationmanager.prepareactionbar(); /*Set up an apapter and controls to your navigation drawer. Below * adds a header and two text views with a click listener */ NavigationManagerAdapter navadapter = new NavigationManagerAdapter(this); navadapter.add(new NavigationMenuItem("Header")); navadapter.add(new NavigationMenuItem("Item 1", "ITEM1", NavigationMenuItem.GuiType.TEXTVIEW, true, mclicklistener)); navadapter.add(new NavigationMenuItem("Item 2", "ITEM2", NavigationMenuItem.GuiType.TEXTVIEW, false, mclicklistener));
8 mdrawerlist = (ListView)findViewById(R.id.left_drawer); mdrawerlist.setadapter(navadapter); mdrawerlayout.setstatusbarbackgroundcolor(getresources(). getcolor(r.color.appprimarycolourdark)); protected void onpostcreate(bundle savedinstancestate) { super.onpostcreate(savedinstancestate); // Sync the toggle state after onrestoreinstancestate has occurred. mdrawertoggle.syncstate(); public void onconfigurationchanged(configuration newconfig) { super.onconfigurationchanged(newconfig); mdrawertoggle.onconfigurationchanged(newconfig); public boolean onoptionsitemselected(menuitem item) { // Pass the event to ActionBarDrawerToggle, if it returns // true, then it has handled the app icon touch event if (mdrawertoggle.onoptionsitemselected(item)) { return true; // Handle your other action bar items... return super.onoptionsitemselected(item); The first part of the code, sets the content view, this loads the XML layout and displays it in your activity. The next part is using the FragmentTransaction. This loads FrameLayout that is in your XML and replaces it with your Fragment class. Your fragment class is instantiated, and the view is loaded into your FrameLayout. The next part is the tool bar. This is only needed if your applications activity, or your application default theme is using the AppCompat theme. If you are then you need to set up the toolbar and set it to be your action bar. This replaces the default Action Bar so it can be styled easily to match all Android versions as it is part of a support library. The next part stores a references to your Drawer Layout GUI object from your XML layout. Next, you instantiate the NavigationManager class and pass in the required parameters. If you are using the AppCompat theme, then you should use the AppCompat equivalent of this class AppCompatNavigationManager. After preparing your class object, you then get a reference to the DrawerToggle. This drawer toggle allows you to open the navigation drawer without needing to slide your finger from the left edge. You then enable the action bar drawer toggle and prepare the action bar which finishes off setting up the action bar and the toggle button.
9 Now that the navigation manager is setup and done all what s necessary to implement the Navigation Drawer we can now start adding items to our menu. The next step set ups an adapter class and you add new items to the adapter by calling the correct constructor and parsing in the correct GUIType Parameter. Below are a list of all the components you can add along with the parameter details. Adding a menu header This is nice and simple all you need to do is add the following line menuadapter.add(new NavigationMenuItem("Header")); Adding a text view menu with an icon There are two ways to add a text view, either using a generic List Item Click Listener which uses the Tag parameter to determine which item was pressed, or you can create a specific on click liste ner and pass the on click listener variable into the NavigationMenuItem constructor. For more information on how to implement the two types of on click listener, check the How to implement an on click listener for a navigation menu item. The icon is always passed a resource ID as a drawable menuadapter.add(new NavigationMenuItem("MenuItem", MENU_ITEM, NavigationMenuItem.GuiType.TEXTVIEW, true, R.drawable.ic_launcher, null)); Parameter 1 The menu text that is shown to the user Parameter 2 The tag for generic on click listener can be null if using specific on click listener Parameter 3 This always has to be NavigationMenuItem.GuiType.TEXTVIEW, entering a different value for this parameter may cause unexpected behaviour Parameter 4 This is a Boolean value to set whether the control should be added with the selection styling. If true, the menu item will look as if this menu item is selected, so you would probably want to make your first menu item selected. Note, that if you add multiple text views with thi s parameter set to true, then only the last menu item that you ve added will show as selected. Parameter 5 The onclick listener, can be null if using generic draw click listener Adding a text view with no icon or summary menuadapter.add(new NavigationMenuItem("World", MENU_ITEM, NavigationMenuItem.GuiType.TEXTVIEW, null)); Parameter 1 The menu text that is shown to the user Parameter 2 The tag for generic on click listener can be null if using specific on click listener Parameter 3 This always has to be NavigationMenuItem.GuiType.TEXTVIEW, entering a different value for this parameter may cause unexpected behaviour.
10 Parameter 4 The onclick listener, can be null if using generic draw click listener Adding a switch menuadapter.add(new NavigationMenuItem("Enabled", ENABLED, "Switch is turned on", "Switch is turned off", enabledoncheckedchangelistener, false)); Parameter 1 The menu text that is shown to the user Parameter 2 The tag for generic on click listener can be null if using specific on click listener Parameter 3 What the button says when it is enabled. Pass in null to use the default switch value Parameter 4 What the button says when it is disabled. Pass in null to use the default switch value Parameter 5 The on oncheckedchangelistener, can be null if using generic Parameter 6 The default value for the switch A text view with summary menuadapter.add(new NavigationMenuItem("Spanned", "Spanned", GuiType.TEXTVIEW_SUMMARY, "This is the summary", null)); Parameter 1 The menu text that is shown to the user Parameter 2 The tag for the generic on click listener can be null if using specific on click listener Parameter 3 Should be GuiType.TEXTVIEW_SUMMARY, specifying different type may result in unexpected behaviour Parameter 4 This is the summary text that is shown to the user Parameter 5 The on click listener, can be null if using a generic on click listener A text view with summary and icon menuadapter.add(new NavigationMenuItem("Summary", "Summary", GuiType.TEXTVIEW_SUMMARY, "This is a summary", R.drawable.ic_launcher, null)); Parameter 1 The menu text that is shown to the user Parameter 2 The tag for the generic on click listener can be null if using specific on click listener Parameter 3 Should be GuiType.TEXTVIEW_SUMMARY, specifying different type may result in unexpected behaviour
11 Parameter 4 This is the summary text that is shown to the user Parameter 5 This is the drawable int ID of the icon that should be shown Parameter 6 The on click listener, can be null if using a generic on click listener How to implement an on click listener for a navigation menu item As mentioned earlier, the text view can use an on click listener from either a generic list view on click listener or creating a specific on click listener and passing the variable to the NavigationMenuItem constructor. Using Generic DrawClickListener To create the generic list item click listener you need to create a class like the code below. private class DrawerClickListener implements ListView.OnItemClickListener { public void onitemclick(adapterview<?> parent, View view, int position, long id) { NavigationMenuItem menuitem = (NavigationMenuItem)mDrawerList.getItemAtPosition(position); if (menuitem.tag == MENU_ITEM_1) { Toast.makeText(getApplicationContext(), "You clicked menu item 1", Toast.LENGTH_LONG).show(); As you can see the tag is what is used to determine from the DrawClickListener which menu item was pressed. At the top of your MainActivity class it is recommended to create a static final string variable that is passed as the tag for the navigation menu item constructor, this tag is then used in various if statements to perform the task for each item. When using the DrawClickListener then the onclicklistener argument within the NavigationMenuItem constructor should be passed as null. For example the code may look something like the below (note this doesn t contain the other code required in between it is just base code). private static final String MENUI_ITEM_1 = "MENU_ITEM_1"; If you are using this method then after you set the adapter then you need to add the following code. mdrawerlist.setonitemclicklistener(new DrawClickListener()); menuadapter.add(new NavigationMenuItem("Hello", MENU_ITEM_1, NavigationMenuItem.GuiType.TEXTVIEW, R.drawable.ic_launcher, null); Using a Specific OnClickListener If your using a specific on click listener for each menu item, then the tag is not required and you can just pass null to the tag parameter within the NavigationMenuItem constructor. In order to use this on click listener type use the following code.
12 private OnClickListener menuitemonelistener = new OnClickListener() { ; public void onclick(view v) { Toast.makeText(getApplicationContext(), "WOO HOO YOU CLICKED HELLO", Toast.LENGTH_LONG).show(); menuadapter.add(new NavigationMenuItem("Hello", null, NavigationMenuItem.GuiType.TEXTVIEW, R.drawable.ic_launcher, menuitemonelistener); Final Notes This library is currently in beta release and we are working on this continually to bring improvements to the library. If you have any feature requests then please us at support@boardiesitsolutions.com. If you find any bugs within the library, then please report them via our bug reporting service at
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
More informationANDROID 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: Peter@Peter-Lo.com Facebook: http://www.facebook.com/peterlo111
More information2. 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
More informationCreating a List UI with Android. Michele Schimd - 2013
Creating a List UI with Android Michele Schimd - 2013 ListActivity Direct subclass of Activity By default a ListView instance is already created and rendered as the layout of the activity mylistactivit.getlistview();
More informationIntroduction to Android Development. Daniel Rodrigues, Buuna 2014
Introduction to Android Development Daniel Rodrigues, Buuna 2014 Contents 1. Android OS 2. Development Tools 3. Development Overview 4. A Simple Activity with Layout 5. Some Pitfalls to Avoid 6. Useful
More informationNow 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
More informationAndroid 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
More informationOverview. About Interstitial Ads: About Banner Ads: About Offer-Wall Ads: ADAttract Account & ID
Overview About Interstitial Ads: Interstitial ads are full screen ads that cover the interface of their host app. They are generally displayed at usual transformation points in the flow of an app, such
More informationGetting Started with Android
Mobile Application Development Lecture 02 Imran Ihsan Getting Started with Android Before we can run a simple Hello World App we need to install the programming environment. We will run Hello World on
More informationIOIO for Android Beginners Guide Introduction
IOIO for Android Beginners Guide Introduction This is the beginners guide for the IOIO for Android board and is intended for users that have never written an Android app. The goal of this tutorial is to
More informationTutorial #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
More informationAndroid 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/
More informationArduino & 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
More informationAndroid Application Development: Hands- On. Dr. Jogesh K. Muppala muppala@cse.ust.hk
Android Application Development: Hands- On Dr. Jogesh K. Muppala muppala@cse.ust.hk Wi-Fi Access Wi-Fi Access Account Name: aadc201312 2 The Android Wave! 3 Hello, Android! Configure the Android SDK SDK
More informationSDK 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
More informationIntroduction 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
More informationIntroduction to Android Programming (CS5248 Fall 2015)
Introduction to Android Programming (CS5248 Fall 2015) Aditya Kulkarni (email.aditya.kulkarni@gmail.com) August 26, 2015 *Based on slides from Paresh Mayami (Google Inc.) Contents Introduction Android
More informationSetting up Sudoku example on Android Studio
Installing Android Studio 1 Setting up Sudoku example on Android Studio Installing Android Studio Android Studio provides everything you need to start developing apps for Android, including the Android
More informationBeginning Android Programming
Beginning Android Programming DEVELOP AND DESIGN Kevin Grant and Chris Haseman PEACHPIT PRESS WWW.PEACHPIT.COM C Introduction Welcome to Android xii xiv CHAPTER 1 GETTING STARTED WITH ANDROID 2 Exploring
More informationTutorial on OpenCV for Android Setup
Tutorial on OpenCV for Android Setup EE368/CS232 Digital Image Processing, Spring 2015 Macintosh Version For personal Android devices (advised: Android 3.0 or higher) Introduction In this tutorial, we
More informationLogin 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
More informationIntroduction 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.
More informationMMI 2: Mobile Human- Computer Interaction Android
MMI 2: Mobile Human- Computer Interaction Android Prof. Dr. michael.rohs@ifi.lmu.de Mobile Interaction Lab, LMU München Android Software Stack Applications Java SDK Activities Views Resources Animation
More informationAndroid 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
More informationAndroid 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
More informationCreating a 2D Game Engine for Android OS. Introduction
Creating a 2D Game Engine for Android OS Introduction This tutorial will lead you through the foundations of creating a 2D animated game for the Android Operating System. The goal here is not to create
More informationAndroid Java Live and In Action
Android Java Live and In Action Norman McEntire Founder, Servin Corp UCSD Extension Instructor norman.mcentire@servin.com Copyright (c) 2013 Servin Corp 1 Opening Remarks Welcome! Thank you! My promise
More informationHow 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
More informationAndroid Studio Application Development
Android Studio Application Development Belén Cruz Zapata Chapter No. 4 "Using the Code Editor" In this package, you will find: A Biography of the author of the book A preview chapter from the book, Chapter
More informationChapter 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)
More informationInstalling the Android SDK
Installing the Android SDK To get started with development, we first need to set up and configure our PCs for working with Java, and the Android SDK. We ll be installing and configuring four packages today
More informationBuilding 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
More informationHello 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
More informationTUTORIAL. 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
More informationDeveloping Android Applications Introduction to Software Engineering Fall 2015. Updated 7 October 2015
Developing Android Applications Introduction to Software Engineering Fall 2015 Updated 7 October 2015 Android Lab 1 Introduction to Android Class Assignment: Simple Android Calculator 2 Class Plan Introduction
More informationWith a single download, the ADT Bundle includes everything you need to begin developing apps:
Get the Android SDK The Android SDK provides you the API libraries and developer tools necessary to build, test, and debug apps for Android. The ADT bundle includes the essential Android SDK components
More informationAndroid 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
More information23442 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
More informationAdvantages. 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
More informationApp 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
More informationAdmin. 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
More informationBasics of Android Development 1
Departamento de Engenharia Informática Minds-On Basics of Android Development 1 Paulo Baltarejo Sousa pbs@isep.ipp.pt 2016 1 The content of this document is based on the material presented at http://developer.android.com
More informationdirectory 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
More informationAndroid Development Introduction CS314
Android Development Introduction CS314 Getting Started Download and Install Android Studio: http://developer.android.com/tools/studio/index. html This is the basic Android IDE and supports most things
More informationKotlin for Android Developers (Preview)
Kotlin for Android Developers (Preview) Learn Kotlin in an easy way while developing an Android App Antonio Leiva Kotlin for Android Developers (Preview) Learn Kotlin in an easy way while developing an
More informationDeveloping with Android Studio
CHAPTER 6 Developing with Android Studio Donn Felker Android Studio (shown in Figure 6-1) is the IDE for Android that was announced in May 2013 at the Google I/O developers event, and is intended as an
More informationultimo theme Update Guide Copyright 2012-2013 Infortis All rights reserved
ultimo theme Update Guide Copyright 2012-2013 Infortis All rights reserved 1 1. Update Before you start updating, please refer to 2. Important changes to check if there are any additional instructions
More informationAdvertiser 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.
More informationAndroid 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
More informationAndroid 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,
More informationAndroid 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)
More informationOpenCV on Android Platforms
OpenCV on Android Platforms Marco Moltisanti Image Processing Lab http://iplab.dmi.unict.it moltisanti@dmi.unict.it http://www.dmi.unict.it/~moltisanti Outline Intro System setup Write and build an Android
More informationECWM511 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
More informationDeveloping 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
More informationGetting started with Android and App Engine
Getting started with Android and App Engine About us Tim Roes Software Developer (Mobile/Web Solutions) at inovex GmbH www.timroes.de www.timroes.de/+ About us Daniel Bälz Student/Android Developer at
More informationBuilding and Using Web Services With JDeveloper 11g
Building and Using Web Services With JDeveloper 11g Purpose In this tutorial, you create a series of simple web service scenarios in JDeveloper. This is intended as a light introduction to some of the
More informationDeveloping Android Apps: Part 1
: Part 1 d.schmidt@vanderbilt.edu www.dre.vanderbilt.edu/~schmidt Institute for Software Integrated Systems Vanderbilt University Nashville, Tennessee, USA CS 282 Principles of Operating Systems II Systems
More informationAndroid Programming. Høgskolen i Telemark Telemark University College. Cuong Nguyen, 2013.06.18
Høgskolen i Telemark Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics Cuong Nguyen, 2013.06.18 Faculty of Technology, Postboks 203, Kjølnes ring
More informationMicrosoft SharePoint 2010 End User Quick Reference Card
Microsoft SharePoint 2010 End User Quick Reference Card Microsoft SharePoint 2010 brings together the people, documents, information, and ideas of the University into a customizable workspace where everyone
More informationDeveloping Android Apps with the ArcGIS Runtime SDK for Android. Dan O Neill @jdoneill @doneill
Developing Android Apps with the ArcGIS Runtime SDK for Android Dan O Neill @jdoneill @doneill Xueming Wu @xuemingrocks Agenda Introduction to the ArcGIS Android SDK Maps & Layers Basemaps (Portal) Location
More informationDownload and Installation Instructions. Android SDK and Android Development Tools (ADT)
Download and Installation Instructions for Android SDK and Android Development Tools (ADT) on Mac OS X Updated October, 2012 This document will describe how to download and install the Android SDK and
More informationultimo theme Update Guide Copyright 2012-2013 Infortis All rights reserved
ultimo theme Update Guide Copyright 2012-2013 Infortis All rights reserved 1 1. Update Before you start updating, please refer to 2. Important changes to check if there are any additional instructions
More informationIntroduction to Android Development
2013 Introduction to Android Development Keshav Bahadoor An basic guide to setting up and building native Android applications Science Technology Workshop & Exposition University of Nigeria, Nsukka Keshav
More informationTomTom PRO 82xx PRO.connect developer guide
TomTom PRO 82xx PRO.connect developer guide Contents Introduction 3 Preconditions 4 Establishing a connection 5 Preparations on Windows... 5 Preparations on Linux... 5 Connecting your TomTom PRO 82xx device
More informationHypercosm. Studio. www.hypercosm.com
Hypercosm Studio www.hypercosm.com Hypercosm Studio Guide 3 Revision: November 2005 Copyright 2005 Hypercosm LLC All rights reserved. Hypercosm, OMAR, Hypercosm 3D Player, and Hypercosm Studio are trademarks
More informationDeveloping 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)
More informationDeveloping 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
More informationAndroid Mobile App Building Tutorial
Android Mobile App Building Tutorial Seidenberg-CSIS, Pace University This mobile app building tutorial is for high school and college students to participate in Mobile App Development Contest Workshop.
More informationTutorial on Basic Android Setup
Tutorial on Basic Android Setup EE368/CS232 Digital Image Processing, Spring 2015 Windows Version Introduction In this tutorial, we will learn how to set up the Android software development environment
More informationGearVRf Developer Guide
GearVRf Developer Guide Welcome to GearVRf development! The Gear VR Framework (GearVRf) allows you, the Android developer, to write your own stereoscopic 3D virtual reality Java applications for the Samsung
More information4. 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
More informationHow 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
More informationAppium mobile test automation
Appium mobile test automation for Google Android and Apple ios Last updated: 4 January 2016 Pepgo Limited, 71-75 Shelton Street, Covent Garden, London, WC2H 9JQ, United Kingdom Contents About this document...
More informationMobile 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
More informationPTC Integrity Eclipse and IBM Rational Development Platform Guide
PTC Integrity Eclipse and IBM Rational Development Platform Guide The PTC Integrity integration with Eclipse Platform and the IBM Rational Software Development Platform series allows you to access Integrity
More informationAndroid Application Development
Android Application Development Self Study Self Study Guide Content: Course Prerequisite Course Content Android SDK Lab Installation Guide Start Training Be Certified Exam sample Course Prerequisite The
More informationID TECH UniMag Android SDK User Manual
ID TECH UniMag Android SDK User Manual 80110504-001-A 12/03/2010 Revision History Revision Description Date A Initial Release 12/03/2010 2 UniMag Android SDK User Manual Before using the ID TECH UniMag
More informationPresenting 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
More informationAndroid Setup Phase 2
Android Setup Phase 2 Instructor: Trish Cornez CS260 Fall 2012 Phase 2: Install the Android Components In this phase you will add the Android components to the existing Java setup. This phase must be completed
More informationGetting 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
More informationAndroid: Setup Hello, World: Android Edition. due by noon ET on Wed 2/22. Ingredients.
Android: Setup Hello, World: Android Edition due by noon ET on Wed 2/22 Ingredients. Android Development Tools Plugin for Eclipse Android Software Development Kit Eclipse Java Help. Help is available throughout
More informationCS 528 Mobile and Ubiquitous Computing Lecture 2: Android Introduction and Setup. Emmanuel Agu
CS 528 Mobile and Ubiquitous Computing Lecture 2: Android Introduction and Setup Emmanuel Agu What is Android? Android is world s leading mobile operating system Google: Owns Android, maintains it, extends
More informationTutorial 5: Developing Java applications
Tutorial 5: Developing Java applications p. 1 Tutorial 5: Developing Java applications Georgios Gousios gousiosg@aueb.gr Department of Management Science and Technology Athens University of Economics and
More informationAndroid 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
More informationAndroid UI Design. Android UI Design
Android UI Design i Android UI Design Android UI Design ii Contents 1 Android UI Overview 1 1.1 Introduction...................................................... 1 1.2 Android App Structure and UI patterns........................................
More informationDocuSign for SharePoint 2010 1.5.1
Quick Start Guide DocuSign for SharePoint 2010 1.5.1 Published December 22, 2014 Overview DocuSign for SharePoint 2010 allows users to sign or send documents out for signature from a SharePoint library.
More informationFrameworks & 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
More informationDiskPulse DISK CHANGE MONITOR
DiskPulse DISK CHANGE MONITOR User Manual Version 7.9 Oct 2015 www.diskpulse.com info@flexense.com 1 1 DiskPulse Overview...3 2 DiskPulse Product Versions...5 3 Using Desktop Product Version...6 3.1 Product
More informationEasyPush Push Notifications Extension for ios
EasyPush Push Notifications Extension for ios Copyright 2012 Milkman Games, LLC. All rights reserved. http://www.milkmangames.com For support, contact info@milkmangames.com To View full AS3 documentation,
More informationHudson configuration manual
Hudson configuration manual 1 Chapter 1 What is Hudson? Hudson is a powerful and widely used open source continuous integration server providing development teams with a reliable way to monitor changes
More informationMobile Application Frameworks and Services
Mobile Application Frameworks and Services Lecture: Programming Basics Dr. Panayiotis Alefragis Professor of Applications Masters Science Program: Technologies and Infrastructures for Broadband Applications
More informationWhat is Android? originally purchased from Android, Inc. in 2005
What is Android? mobile operating system maintained by Google originally purchased from Android, Inc. in 2005 runs on phones, tablets, watches, TVs,... based on Java (dev language) and Linux (kernel) the
More informationINTRODUCTION TO ANDROID CSCI 4448/5448: OBJECT-ORIENTED ANALYSIS & DESIGN LECTURE 11 02/15/2011
INTRODUCTION TO ANDROID CSCI 4448/5448: OBJECT-ORIENTED ANALYSIS & DESIGN LECTURE 11 02/15/2011 1 Goals of the Lecture Present an introduction to the Android Framework Coverage of the framework will be
More informationLab 1 (Reading Sensors & The Android API) Week 3
ECE155: Engineering Design with Embedded Systems Winter 2013 Lab 1 (Reading Sensors & The Android API) Week 3 Prepared by Kirill Morozov version 1.1 Deadline: You must submit the lab to the SVN repository
More informationGetting Started with Android Development
Getting Started with Android Development By Steven Castellucci (v1.1, January 2015) You don't always need to be in the PRISM lab to work on your 4443 assignments. Working on your own computer is convenient
More informationOrders.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
More informationUsing Microsoft Visual Studio 2010. API Reference
2010 API Reference Published: 2014-02-19 SWD-20140219103929387 Contents 1... 4 Key features of the Visual Studio plug-in... 4 Get started...5 Request a vendor account... 5 Get code signing and debug token
More informationMobile App Design and Development
Mobile App Design and Development The course includes following topics: Apps Development 101 Introduction to mobile devices and administrative: Mobile devices vs. desktop devices ARM and intel architectures
More informationThe Android winds of change. From Kit-Kat to L, and the power of saving power
The Android winds of change From Kit-Kat to L, and the power of saving power Why are you here? Info on the new IDE, and setting up projects! Want to know the changes L brings to your Kit-Kat apps! How
More information