Android Application Repackaging

Size: px
Start display at page:

Download "Android Application Repackaging"

Transcription

1 ISA 564, Laboratory 4 Android Exploitation Software Requirements: 1. Android Studio 2. Java JDK 3. Android emulator 4. Android ADT plugin for Eclipse (if you use Eclipse instead of Android Studio) Lab Exercise Steps: Android Application Repackaging In this lab you will learn how to repackage Android applications. This technique can be used for various purposes such as creating trojan applications, examining application behavior by performing dynamic analysis, and inserting an in-line reference monitor to enforce security policies. Repackaging applications and hosting them on third-party application marketplaces is a common way of disseminating malware and spyware. Social engineering can also be used to lure a user to install a trojan application. 1. Recommended reading The paper below introduces a framework named I-ARM-Droid to repackage Android applications to enforce security policies. The link below is to an open-source project to repackage Android applications for dynamic analysis. 1

2 The open-source Soot project enables the user to convert Java or Dalvik bytecode to an intermediate representation which can be modified and converted back to Java or Dalvik bytecode. Paper about detecting repackaged Android applications Resources baksmali and smali are open-source command line tools for disassembling and reassembling Dalvik bytecode to/from an intermediate representation called smali. This is the link to the source code: The smali format is a intermediate representation of the Dalvik bytecode and it is also the name or the reassembler. The baksmali.jar file disassembles the classes.dex file to a directory of smali files that are organized hierarchically according their package name. The classes.dex file contains the Dalvik bytecode. The smali files can be modified to remove and/or add in additional code into an application as long as it is consistent with the smali format. After the smali files have been modified, the smali.jar file can be used to convert the smali files back into a classes.dex file. Then additional steps are taken to repackage the application Please download the baksmali jar and the smali jar from this website: The instructions in the Dalvik bytecode are explained in the links below Setting up the environment. Please have the Java Development Kit (JDK) installed on your computer so that can run Java executables and use the developer tools. When you install the JDK, this should also provide the jarsigner and keytool utilities. The latest JDK can be found at the following URL: 2

3 Download Android Studio from the URL below, which includes the Android Software Development Kit (SDK) tools. You can alternatively use Eclipse if you also have the Android ADT plugin installed. You will need the Android SDK for the logcat and zipalign utilities and the Android emulator. If you do not have an Android device or do not want to use your Android device, then you can use the emulator. The instructions for creating and using the emulator are at the URL below. The directions for signing an APK are at the URL below. View the Signing Your App Manually to see how to generate an RSA key pair. It also has examples for how to use the jarsigner and zipalign utilities. 3

4 Laboratory Exercises Security Lab, ISA 564, R. Johnson, R. Murmuria, A. Stavrou Laboratory 4 Exercise 1. Create An Android application from source code The goal of this exercise is to familiarize you with Android development and get started with a simple Login application. The App will accept userid and password and send them to our remote server for verification. The following are the steps to build this app: Step 1: Follow the instructions in the link: You can choose any appropriate application and company name. For point #4, Minimum SDK, select API 19: Android 4.4 (Kitkat). For point #6 choose Login Activity. Once the app is created, launch the application by clicking on the play button in the menu. Choose any Android virtual device which supports API 19 or above. The default credentials that can be used to login is listed in a string array DUMMY_CREDENTIALS in the LoginActivity.java. If the app finishes (disappears), it signifies successful login. Step 2: We will now update the source code to include a network query. First we will remove some unnecessary code from the LoginActivity.java. - Delete variables: REQUEST_READ_CONTACTS - Delete functions: populateautocomplete, mayrequestcontacts, onrequestpermissionresult, oncreateloader, onloadfinished, onloaderreset, ProfileQuery, add stoautocomplete - Delete line from oncreate function: populateautocomplete(); - Delete the interface "implements LoaderCallbacks<Cursor>" from LoginActivity class definition. Next, select Code-->"Optimize Imports" from the menu This will clean up the imports of this class to only include what is necessary. At this stage, run this App again to check if it is still functioning as intended. 4

5 Next, we will add the remote communication parts to LoginActivity.java. In attemptlogin() function, change the call: UserLoginTask( , password) à UserLoginTask(this, , password) Replace the class UserLoginTask with the following code: /** * Represents an asynchronous login/registration task used to authenticate * the user. */ public class UserLoginTask extends AsyncTask<Void, Void, String> { private Context mcontext; private final String m ; private final String mpassword; UserLoginTask(Context context, String , String password) { mcontext = context; m = ; mpassword = protected String doinbackground(void... params) { String link; String data; BufferedReader bufferedreader; String result; try { data = "uid=" + URLEncoder.encode(m , "UTF-8"); data += "&pass=" + URLEncoder.encode(mPassword, "UTF-8"); link = " URL url = new URL(link); HttpURLConnection con = (HttpURLConnection) url.openconnection(); con.setrequestmethod("post"); con.setrequestproperty("content-type", "application/x-www-formurlencoded"); con.setrequestproperty("content-length", "" + Integer.toString(data.getBytes().length)); con.setrequestproperty("content-language", "en-us"); con.setusecaches(false); con.setdoinput(true); con.setdooutput(true); DataOutputStream wr = new DataOutputStream(con.getOutputStream ()); wr.writebytes(data); wr.flush(); wr.close(); bufferedreader = new BufferedReader(new 5

6 InputStreamReader(con.getInputStream())); result = bufferedreader.readline(); return result; catch (Exception e) { return new String("Exception: " + protected void onpostexecute(final String result) { mauthtask = null; showprogress(false); if (result!= null) { try { JSONObject jsonobj = new JSONObject(result); String query_result = jsonobj.getstring("login_result"); if (query_result.equals("success")) { Toast.makeText(mContext, "Sign-in successfull.", Toast.LENGTH_SHORT).show(); else if (query_result.equals("failure")) { mpasswordview.seterror(getstring(r.string.error_incorrect_password)); mpasswordview.requestfocus(); else { Toast.makeText(mContext, "Couldn't connect to remote server.", Toast.LENGTH_SHORT).show(); catch (JSONException e) { e.printstacktrace(); Toast.makeText(mContext, "Error parsing response data from server.", Toast.LENGTH_SHORT).show(); else { Toast.makeText(mContext, "No response data received.", protected void oncancelled() { mauthtask = null; showprogress(false); Finally, add the permission to make network connections in the AndroidManifest.xml file: <uses-permission android:name="android.permission.internet" /> Now, run the application again. Look for the toast message Sign-in Successful. If not, 6

7 troubleshoot the application. Security Lab, ISA 564, R. Johnson, R. Murmuria, A. Stavrou Laboratory 4 Submit a screenshot showing this successful sign-in message. Exercise 2. Repackage an application In this exercise, you will repackage an application without making any changes to the underlying code. 1. Find the location on your computer of the apk you created from step 1. Search for apk files on your computer if you are having difficulty finding it. Using Android Studio on my Mac, it was located at /Users/<username>/AndroidStudioProjects/<project name>/mobile/build/outputs/apk/mobile-debug.apk. If you are using Eclipse, it should be located at /Users/<username>/Documents/workspace/<project name>/bin/<project name>.apk. The apk file is actually a zip file to encapsulate the application code and its resources. Copy and unzip the apk file you created from exercise 1 to a directory of your choosing. Now use the cd command to move to the directory containing the contents of the zip file if needed. The current directory should contain a classes.dex file, an AndroidManifest.xml file, and additional files. unzip -d DoS DoS.apk cd DoS 2. Use the baksmali.jar file to convert the classes.dex file to a directory containing smali files that are organized hierarchically according to package name. This will create a directory named out in the current directory which contains the smali files if you do not provide an output directory. java -jar ~/Desktop/somedir/baksmali.jar classes.dex 3. Examine a few of the smali files to familiarize yourself with their format ( 4. Delete the current classes.dex file so you can create a new classes.dex file based on the smali files. rm classes.dex 5. Create a new classes.dex file from the directory of smali files using the smali.jar file. java -jar ~/Desktop/somedir/smali.jar -o classes.dex out 6. Delete the out directory since you have just created a new classes.dex file. 7

8 rm -r out 7. Delete the directory containing the previous signature of the application s files. rm -r META-INF 8. Zip the files in the current directory to a file name of your choosing to create a zip file of the application. zip -r DoS.zip * 9. Change the file extension of the zip file to apk if needed. mv DoS.zip DoS.apk 10. Use the instructions at the following URL ( to generate an RSA key pair and sign the apk file. jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-releasekey.keystore DoS.apk alias_name 11. Next you will need to align the application. There is an example of how to use the zipalign command line tool here: If you are going to put the aligned application in the same directory as the unaligned application, then use a different file name for the aligned application. zipalign -v 4 DoS.apk DoSa.apk 12. You can delete the unaligned apk and rename the aligned apk to whatever you want. The aligned application is the final product. rm DoS.apk mv DoSa.apk DoS.apk 13. Now you can run the app by installing it via Android Debug Bridge (ADB). To use ADB, you will need to enable USB debugging on your Android device if you are not using the emulator. This is generally done by going to the Settings app. Locate and click on the About Device option. From there, click on the Build Number option multiple times until it says that you have become a developer. If this option does not work on your specific Android device, then you can search on the internet for how to enable USB debugging for your specific Android device. Then a new option called Developer options should appear 8

9 in the Settings menu. Enable USB debugging which will allow you to use ADB. The first time you connect a USB cable from your computer to the Android device, the Android device will ask you if you want to connect to the computer. In this dialog, select Always allow from this computer and select OK. You may also have to visit the security settings in the Settings app to enable installation of apps from unknown sources. If you are using your own Android device, you can undo these changes after you have finished the lab. The emulator should have ADB enabled by default. If not, you can use the same approach that was just given to enable USB debugging. You can then use ADB to install the app on your Android device or emulator by entering the adb install <appname>.apk command to install the app. This should install the app on your Android device or emulator. From here, you can click on the app icon in the launcher and run the app. Exercise 3. Repackage an application and modify its code. You will need to modify one smali file from the Login app to leak the username and password to the Android log. Please follow the instructions above for the repackaging operations as given in exercise 2. Any changes you make make to the smali file need to be in the correct format and syntax. If you use the correct format then, the modified smali files will be successfully converted into a classes.dex file. Locate the smali file where the login occurs. Then use the android.util.log.d(string, String) Android API call in smali format to write both the username and password to the log. This is a static Android API call so an android.utli.log object does not need to be explicitly prior to writing to the log. The username and password will be contained in a register that references a String. You can create a log tag to use as well. You can declare and initialize a String and select the register number for the log tag. Make sure that you select either a new register number or a previously used register number that is not used in the subsequent smali method which you are modifying. The first parameter to the android.util.log.d(string, String) Android API call is the log tag and the second parameter is the message to write to the log. You should be able to identify the register that contains the login and password and reference them in the smali. After modifying the smali and repackaging the app, it should write the username and password to the Android log when you log in. You can use adb logcat command to view the Android log and then redirect the output to a file just prior to running the repackaged application. Provide the file name and the entire smali method that contains your additions to write the login credentials to the log. Exercise 4. Repackage an application from Google Play Download the itriage Health app from Google Play at the following URL: Identify where the login and password data are being used to authenticate the user, then write them to the Android log by modifying a smali file. It may take a few tries to locate the smali file where the username and password will be visible in the Android log. You may want to copy the 9

10 directory containing the unzipped apk with the modified smali file(s) to another directory and build it from there so you can maintain previous modifications to the smali files over numerous builds of the repackaged application. The app will not allow you to successfully login after repackaging, but you should still be able to see the credentials in the Android log when you press the LOGIN button. Provide the file name and the smali method that contains your additions to write the login credentials to the Android log. Ensure that they are actually written to the Android log. Laboratory Submission - What to turn in Exercise 1: What does the server respond when you login successfully? Exercise 3: Turn in the file name and entire smali method that you modified to write the username and password to the log from the Login app. Exercise 4: Turn in the file name and entire smali method that you modified to write the username and password to the log from the itriage Health app. Extra credit: Why is the app not allowing you to properly login? Locate the smali file and the smali method that is performing an action that prevents the user from logging on successfully and explain what it is detecting. Hint: They are detecting that the app is repackaged. 10

Pentesting Android Apps. Sneha Rajguru (@Sneharajguru)

Pentesting Android Apps. Sneha Rajguru (@Sneharajguru) Pentesting Android Apps Sneha Rajguru (@Sneharajguru) About Me Penetration Tester Web, Mobile and Infrastructure applications, Secure coding ( part time do secure code analysis), CTF challenge writer (at

More information

Login with Amazon Getting Started Guide for Android. Version 2.0

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

More information

Developing In Eclipse, with ADT

Developing In Eclipse, with ADT Developing In Eclipse, with ADT Android Developers file://v:\android-sdk-windows\docs\guide\developing\eclipse-adt.html Page 1 of 12 Developing In Eclipse, with ADT The Android Development Tools (ADT)

More information

How To Run A Hello World On Android 4.3.3 (Jdk) On A Microsoft Ds.Io (Windows) Or Android 2.7.3 Or Android 3.5.3 On A Pc Or Android 4 (

How To Run A Hello World On Android 4.3.3 (Jdk) On A Microsoft Ds.Io (Windows) Or Android 2.7.3 Or Android 3.5.3 On A Pc Or Android 4 ( Developing Android applications in Windows Below you will find information about the components needed for developing Android applications and other (optional) software needed to connect to the institution

More information

ANDROID APPS DEVELOPMENT FOR MOBILE AND TABLET DEVICE (LEVEL I)

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: Peter@Peter-Lo.com Facebook: http://www.facebook.com/peterlo111

More information

Getting Started with Android Development

Getting 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 information

Bypassing SSL Pinning on Android via Reverse Engineering

Bypassing SSL Pinning on Android via Reverse Engineering Bypassing SSL Pinning on Android via Reverse Engineering Denis Andzakovic Security-Assessment.com 15 May 2014 Table of Contents Bypassing SSL Pinning on Android via Reverse Engineering... 1 Introduction...

More information

Android Development. http://developer.android.com/develop/ 吳 俊 興 國 立 高 雄 大 學 資 訊 工 程 學 系

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

More information

Beginners Guide to Android Reverse Engineering

Beginners Guide to Android Reverse Engineering (W)ORK-SH/OP: Beginners Guide to Android Reverse Engineering (W)ORK-SH/OP: sam@ccc.de Hall[14], Day 3 11:00h Agenda Purpose Recommended or needed tools (De)construction of Android apps Obtaining APKs Decompiling

More information

Tutorial on Basic Android Setup

Tutorial 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 information

Islamic University of Gaza. Faculty of Engineering. Computer Engineering Department. Mobile Computing ECOM 5341. Eng. Wafaa Audah.

Islamic University of Gaza. Faculty of Engineering. Computer Engineering Department. Mobile Computing ECOM 5341. Eng. Wafaa Audah. Islamic University of Gaza Faculty of Engineering Computer Engineering Department Mobile Computing ECOM 5341 By Eng. Wafaa Audah June 2013 1 Setting Up the Development Environment and Emulator Part 1:

More information

HP AppPulse Mobile. Adding HP AppPulse Mobile to Your Android App

HP AppPulse Mobile. Adding HP AppPulse Mobile to Your Android App HP AppPulse Mobile Adding HP AppPulse Mobile to Your Android App Document Release Date: April 2015 How to Add HP AppPulse Mobile to Your Android App How to Add HP AppPulse Mobile to Your Android App For

More information

The OWASP Foundation http://www.owasp.org

The OWASP Foundation http://www.owasp.org Android reverse engineering: understanding third-party applications OWASP EU Tour 2013 June 5, 2013. Bucharest (Romania) Vicente Aguilera Díaz OWASP Spain Chapter Leader Co-founder of Internet Security

More information

Introduction to Android Development

Introduction 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 information

Running a Program on an AVD

Running a Program on an AVD Running a Program on an AVD Now that you have a project that builds an application, and an AVD with a system image compatible with the application s build target and API level requirements, you can run

More information

Hello World. by Elliot Khazon

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

More information

Oracle FLEXCUBE Direct Banking Android Tab Client Installation Guide Release 12.0.3.0.0

Oracle FLEXCUBE Direct Banking Android Tab Client Installation Guide Release 12.0.3.0.0 Oracle FLEXCUBE Direct Banking Android Tab Client Installation Guide Release 12.0.3.0.0 Part No. E52543-01 April 2014 Oracle Financial Services Software Limited Oracle Park Off Western Express Highway

More information

Android Environment SDK

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

More information

Android Setup Phase 2

Android 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 information

Android Tutorial. Larry Walters OOSE Fall 2011

Android Tutorial. Larry Walters OOSE Fall 2011 Android Tutorial Larry Walters OOSE Fall 2011 References This tutorial is a brief overview of some major concepts Android is much richer and more complex Developer s Guide http://developer.android.com/guide/index.html

More information

Hacking your Droid ADITYA GUPTA

Hacking your Droid ADITYA GUPTA Hacking your Droid ADITYA GUPTA adityagupta1991 [at] gmail [dot] com facebook[dot]com/aditya1391 Twitter : @adi1391 INTRODUCTION After the recent developments in the smart phones, they are no longer used

More information

HTTPS hg clone https://bitbucket.org/dsegna/device plugin library SSH hg clone ssh://hg@bitbucket.org/dsegna/device plugin library

HTTPS hg clone https://bitbucket.org/dsegna/device plugin library SSH hg clone ssh://hg@bitbucket.org/dsegna/device plugin library Contents Introduction... 2 Native Android Library... 2 Development Tools... 2 Downloading the Application... 3 Building the Application... 3 A&D... 4 Polytel... 6 Bluetooth Commands... 8 Fitbit and Withings...

More information

Fahim Uddin http://fahim.cooperativecorner.com email@fahim.cooperativecorner.com. 1. Java SDK

Fahim Uddin http://fahim.cooperativecorner.com email@fahim.cooperativecorner.com. 1. Java SDK PREPARING YOUR MACHINES WITH NECESSARY TOOLS FOR ANDROID DEVELOPMENT SEPTEMBER, 2012 Fahim Uddin http://fahim.cooperativecorner.com email@fahim.cooperativecorner.com Android SDK makes use of the Java SE

More information

Homework 9 Android App for Weather Forecast

Homework 9 Android App for Weather Forecast 1. Objectives Homework 9 Android App for Weather Forecast Become familiar with Android Studio, Android App development and Facebook SDK for Android. Build a good-looking Android app using the Android SDK.

More information

TomTom PRO 82xx PRO.connect developer guide

TomTom 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 information

Android Programming: Installation, Setup, and Getting Started

Android Programming: Installation, Setup, and Getting Started 2012 Marty Hall Android Programming: Installation, Setup, and Getting Started Originals of Slides and Source Code for Examples: http://www.coreservlets.com/android-tutorial/ Customized Java EE Training:

More information

Android Environment SDK

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

More information

How To Develop Android On Your Computer Or Tablet Or Phone

How To Develop Android On Your Computer Or Tablet Or Phone AN INTRODUCTION TO ANDROID DEVELOPMENT CS231M Alejandro Troccoli Outline Overview of the Android Operating System Development tools Deploying application packages Step-by-step application development The

More information

Allow Installation from Unknown Sources

Allow Installation from Unknown Sources Part 5 - Publishing Independently It is possible to publish an application without using any of the existing Android marketplaces. This section will explain these other publishing methods and the licensing

More information

Download and Installation Instructions. Android SDK and Android Development Tools (ADT)

Download 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 information

Overview of Web Services API

Overview of Web Services API 1 CHAPTER The Cisco IP Interoperability and Collaboration System (IPICS) 4.5(x) application programming interface (API) provides a web services-based API that enables the management and control of various

More information

With a single download, the ADT Bundle includes everything you need to begin developing apps:

With 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 information

ID TECH UniMag Android SDK User Manual

ID 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 information

How to Install Applications (APK Files) on Your Android Phone

How to Install Applications (APK Files) on Your Android Phone How to Install Applications (APK Files) on Your Android Phone Overview An Android application is stored in an APK file (i.e., a file named by {Application Name}.apk). You must install the APK on your Android

More information

Installing the Android SDK

Installing 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 information

Android Security Lab WS 2014/15 Lab 1: Android Application Programming

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)

More information

Android: 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: 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 information

BlackBerry Enterprise Service 10. Secure Work Space for ios and Android Version: 10.1.1. Security Note

BlackBerry Enterprise Service 10. Secure Work Space for ios and Android Version: 10.1.1. Security Note BlackBerry Enterprise Service 10 Secure Work Space for ios and Android Version: 10.1.1 Security Note Published: 2013-06-21 SWD-20130621110651069 Contents 1 About this guide...4 2 What is BlackBerry Enterprise

More information

Getting Started: Creating a Simple App

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 information

UP L18 Enhanced MDM and Updated Email Protection Hands-On Lab

UP L18 Enhanced MDM and Updated Email Protection Hands-On Lab UP L18 Enhanced MDM and Updated Email Protection Hands-On Lab Description The Symantec App Center platform continues to expand it s offering with new enhanced support for native agent based device management

More information

Installing TestNav Mac with Apple Remote Desktop

Installing TestNav Mac with Apple Remote Desktop Installing TestNav Mac with Apple Remote Desktop 1 2 3 Getting TestNav Installation from Servicedesk 1.1 Connect to Servicedesk 4 1.2 Download Package to Desktop 7 Installing TestNav 2.1 Add Computers

More information

Global Image Management System For epad-vision. User Manual Version 1.10

Global Image Management System For epad-vision. User Manual Version 1.10 Global Image Management System For epad-vision User Manual Version 1.10 May 27, 2015 Global Image Management System www.epadlink.com 1 Contents 1. Introduction 3 2. Initial Setup Requirements 3 3. GIMS-Server

More information

A Practical Guide to creating, compiling and signing an Android Application using Processing for Android.

A Practical Guide to creating, compiling and signing an Android Application using Processing for Android. A Practical Guide to creating, compiling and signing an Android Application using Processing for Android. By Joseph Alexander Boston http://www.jaboston.com IMPORTANT NOTE: EVERYTHING YOU INSTALL SHOULD

More information

Android Programming. Høgskolen i Telemark Telemark University College. Cuong Nguyen, 2013.06.18

Android 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 information

Tutorial: Android Object API Application Development. Sybase Unwired Platform 2.2 SP02

Tutorial: Android Object API Application Development. Sybase Unwired Platform 2.2 SP02 Tutorial: Android Object API Application Development Sybase Unwired Platform 2.2 SP02 DOCUMENT ID: DC01734-01-0222-01 LAST REVISED: January 2013 Copyright 2013 by Sybase, Inc. All rights reserved. This

More information

Developer Guide: Android Object API Applications. SAP Mobile Platform 2.3 SP02

Developer Guide: Android Object API Applications. SAP Mobile Platform 2.3 SP02 Developer Guide: Android Object API Applications SAP Mobile Platform 2.3 SP02 DOCUMENT ID: DC01908-01-0232-01 LAST REVISED: April 2013 Copyright 2013 by Sybase, Inc. All rights reserved. This publication

More information

The "Eclipse Classic" version is recommended. Otherwise, a Java or RCP version of Eclipse is recommended.

The Eclipse Classic version is recommended. Otherwise, a Java or RCP version of Eclipse is recommended. Installing the SDK This page describes how to install the Android SDK and set up your development environment for the first time. If you encounter any problems during installation, see the Troubleshooting

More information

Board also Supports MicroBridge

Board also Supports MicroBridge This product is ATmega2560 based Freeduino-Mega with USB Host Interface to Communicate with Android Powered Devices* like Android Phone or Tab using Android Open Accessory API and Development Kit (ADK)

More information

New Technology Introduction: Android Studio with PushBot

New Technology Introduction: Android Studio with PushBot FIRST Tech Challenge New Technology Introduction: Android Studio with PushBot Carol Chiang, Stephen O Keefe 12 September 2015 Overview Android Studio What is it? Android Studio system requirements Android

More information

Lab 0 (Setting up your Development Environment) Week 1

Lab 0 (Setting up your Development Environment) Week 1 ECE155: Engineering Design with Embedded Systems Winter 2013 Lab 0 (Setting up your Development Environment) Week 1 Prepared by Kirill Morozov version 1.2 1 Objectives In this lab, you ll familiarize yourself

More information

Entrust Certificate Services. Java Code Signing. User Guide. Date of Issue: December 2014. Document issue: 2.0

Entrust Certificate Services. Java Code Signing. User Guide. Date of Issue: December 2014. Document issue: 2.0 Entrust Certificate Services Java Code Signing User Guide Date of Issue: December 2014 Document issue: 2.0 Copyright 2009-2014 Entrust. All rights reserved. Entrust is a trademark or a registered trademark

More information

How To Use Titanium Studio

How To Use Titanium Studio Crossplatform Programming Lecture 3 Introduction to Titanium http://dsg.ce.unipr.it/ http://dsg.ce.unipr.it/?q=node/37 alessandro.grazioli81@gmail.com 2015 Parma Outline Introduction Installation and Configuration

More information

Instructions to connect to GRCC Remote Access using a Macintosh computer

Instructions to connect to GRCC Remote Access using a Macintosh computer Instructions to connect to GRCC Remote Access using a Macintosh computer 1. Install client: Download and install the Citrix ICA Client for Mac. 2. Import certificates: Download the current GlobalSign root

More information

Advantages. manage port forwarding, set breakpoints, and view thread and process information directly

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

More information

Setting up Sudoku example on Android Studio

Setting 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 information

ADT Plugin for Eclipse

ADT Plugin for Eclipse ADT Plugin for Eclipse Android Development Tools (ADT) is a plugin for the Eclipse IDE that is designed to give you a powerful, integrated environment in which to build Android applications. ADT extends

More information

Tutorial: Android Object API Application Development. SAP Mobile Platform 2.3

Tutorial: Android Object API Application Development. SAP Mobile Platform 2.3 Tutorial: Android Object API Application Development SAP Mobile Platform 2.3 DOCUMENT ID: DC01939-01-0230-01 LAST REVISED: March 2013 Copyright 2013 by Sybase, Inc. All rights reserved. This publication

More information

Lab 4 In class Hands-on Android Debugging Tutorial

Lab 4 In class Hands-on Android Debugging Tutorial Lab 4 In class Hands-on Android Debugging Tutorial Submit lab 4 as PDF with your feedback and list each major step in this tutorial with screen shots documenting your work, i.e., document each listed step.

More information

How to develop your own app

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

More information

SSO Plugin. Case study: Integrating with Ping Federate. J System Solutions. http://www.javasystemsolutions.com. Version 4.0

SSO Plugin. Case study: Integrating with Ping Federate. J System Solutions. http://www.javasystemsolutions.com. Version 4.0 SSO Plugin Case study: Integrating with Ping Federate J System Solutions Version 4.0 JSS SSO Plugin v4.0 Release notes Introduction... 3 Ping Federate Service Provider configuration... 4 Assertion Consumer

More information

Introduction to Gear VR Development in Unity APPENDIX A: SETUP (WINDOWS 7/8)

Introduction to Gear VR Development in Unity APPENDIX A: SETUP (WINDOWS 7/8) Introduction to Gear VR Development in Unity APPENDIX A: SETUP (WINDOWS 7/8) 3-hour Workshop Version 2015.07.13 Contact us at hello-dev@samsung.com Presented by Samsung Developer Connection and MSCA Engineering

More information

App Development for Smart Devices. Lec #2: Android Tools, Building Applications, and Activities

App Development for Smart Devices. Lec #2: Android Tools, Building Applications, and Activities App Development for Smart Devices CS 495/595 - Fall 2011 Lec #2: Android Tools, Building Applications, and Activities Tamer Nadeem Dept. of Computer Science Objective Understand Android Tools Setup Android

More information

Example Connection between USB Host and Android

Example Connection between USB Host and Android Example connection between USB Host and Android Example Connection between USB Host and Android This example illustrates the connection between Board ETMEGA2560-ADK and Android through Port USB Host. In

More information

Developing for MSI Android Devices

Developing for MSI Android Devices Android Application Development Enterprise Features October 2013 Developing for MSI Android Devices Majority is the same as developing for any Android device Fully compatible with Android SDK We test using

More information

Forensics II. Android reverse engineering Logs [repetition]

Forensics II. Android reverse engineering Logs [repetition] Forensics II Android reverse engineering Logs [repetition] Android reverse enginering tools dex2jar A group of tools to work with android.dex and java.class files in combination with for example Java Decompiler

More information

How To Write A File Station In Android.Com (For Free) On A Microsoft Macbook Or Ipad (For A Limited Time) On An Ubuntu 8.1 (For Ubuntu) On Your Computer Or Ipa (For

How To Write A File Station In Android.Com (For Free) On A Microsoft Macbook Or Ipad (For A Limited Time) On An Ubuntu 8.1 (For Ubuntu) On Your Computer Or Ipa (For QtsHttp Java Sample Code for Android Getting Started Build the develop environment QtsHttp Java Sample Code is developed using ADT Bundle for Windows. The ADT (Android Developer Tools) Bundle includes:

More information

Setting Up Your Android Development Environment. For Mac OS X (10.6.8) v1.0. By GoNorthWest. 3 April 2012

Setting Up Your Android Development Environment. For Mac OS X (10.6.8) v1.0. By GoNorthWest. 3 April 2012 Setting Up Your Android Development Environment For Mac OS X (10.6.8) v1.0 By GoNorthWest 3 April 2012 Setting up the Android development environment can be a bit well challenging if you don t have all

More information

OpenCV on Android Platforms

OpenCV 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 information

XenMobile Logs Collection Guide

XenMobile Logs Collection Guide XenMobile Logs Collection Guide 1 Contents Summary... 3 Background... 3 How to Collect Logs from Server Components... 4 Support Bundle Contents... 4 Operations Supported for Server Components... 5 Configurations

More information

HP Operations Orchestration Software

HP Operations Orchestration Software HP Operations Orchestration Software Software Version: 9.00 HP Service Desk Integration Guide Document Release Date: June 2010 Software Release Date: June 2010 Legal Notices Warranty The only warranties

More information

Migrating helpdesk to a new server

Migrating helpdesk to a new server Migrating helpdesk to a new server Table of Contents 1. Helpdesk Migration... 2 Configure Virtual Web on IIS 6 Windows 2003 Server:... 2 Role Services required on IIS 7 Windows 2008 / 2012 Server:... 2

More information

MiraCosta College now offers two ways to access your student virtual desktop.

MiraCosta College now offers two ways to access your student virtual desktop. MiraCosta College now offers two ways to access your student virtual desktop. We now feature the new VMware Horizon View HTML access option available from https://view.miracosta.edu. MiraCosta recommends

More information

How to install and use the File Sharing Outlook Plugin

How to install and use the File Sharing Outlook Plugin How to install and use the File Sharing Outlook Plugin Thank you for purchasing Green House Data File Sharing. This guide will show you how to install and configure the Outlook Plugin on your desktop.

More information

Installing Novell Client Software (Windows 95/98)

Installing Novell Client Software (Windows 95/98) Installing Novell Client Software (Windows 95/98) Platform: Windows 95/98 Level of Difficulty: Intermediate The following procedure describes how to install the Novell Client software. This software allows

More information

AppUse - Android Pentest Platform Unified

AppUse - Android Pentest Platform Unified AppUse - Android Pentest Platform Unified Standalone Environment AppUse is designed to be a weaponized environment for Android application penetration testing. It is a unique, free, and rich platform aimed

More information

Android Programming and Security

Android Programming and Security Android Programming and Security Dependable and Secure Systems Andrea Saracino andrea.saracino@iet.unipi.it Outlook (1) The Android Open Source Project Philosophy Players Outlook (2) Part I: Android System

More information

Before you can use the Duke Ambient environment to start working on your projects or

Before you can use the Duke Ambient environment to start working on your projects or Using Ambient by Duke Curious 2004 preparing the environment Before you can use the Duke Ambient environment to start working on your projects or labs, you need to make sure that all configuration settings

More information

Download and Installation Instructions. Android SDK and Android Development Tools (ADT) Microsoft Windows

Download and Installation Instructions. Android SDK and Android Development Tools (ADT) Microsoft Windows Download and Installation Instructions for Android SDK and Android Development Tools (ADT) on Microsoft Windows Updated May, 2012 This document will describe how to download and install the Android SDK

More information

Advertiser Campaign SDK Your How-to Guide

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.

More information

IOIO for Android Beginners Guide Introduction

IOIO 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 information

Introduction to Gear VR Development in Unity APPENDIX A: SETUP (MAC OS X)

Introduction to Gear VR Development in Unity APPENDIX A: SETUP (MAC OS X) Introduction to Gear VR Development in Unity APPENDIX A: SETUP (MAC OS X) 3-hour Workshop Version 2015.07.13 Contact us at hello-dev@samsung.com Presented by Samsung Developer Connection and MSCA Engineering

More information

Developing NFC Applications on the Android Platform. The Definitive Resource

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

More information

Application Development Setup Guide

Application Development Setup Guide epos-print SDK for Android Application Development Setup Guide M00048500 Rev. A Cautions No part of this document may be reproduced, stored in a retrieval system, or transmitted in any form or by any means,

More information

Android Development. Marc Mc Loughlin

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/

More information

Tutorial: Android Object API Application Development. SAP Mobile Platform 2.3 SP02

Tutorial: Android Object API Application Development. SAP Mobile Platform 2.3 SP02 Tutorial: Android Object API Application Development SAP Mobile Platform 2.3 SP02 DOCUMENT ID: DC01939-01-0232-01 LAST REVISED: May 2013 Copyright 2013 by Sybase, Inc. All rights reserved. This publication

More information

Pentesting Android Mobile Application

Pentesting Android Mobile Application Pentesting Android Mobile Application Overview on Mobile applications Connect in Superior Way!! Mobile market is the worldwide rapidly developing segments since many customers are using mobile phones.

More information

Reversing Android Malware

Reversing Android Malware Reversing Android Malware The Honeynet Project 10 th Annual Workshop ESIEA PARIS.FR 2011-03-21 MAHMUD AB RAHMAN (MyCERT, CyberSecurity Malaysia) Copyright 2011 CyberSecurity Malaysia MYSELF Mahmud Ab Rahman

More information

Android Development Tutorial. Nikhil Yadav CSE40816/60816 - Pervasive Health Fall 2011

Android Development Tutorial. Nikhil Yadav CSE40816/60816 - Pervasive Health Fall 2011 Android Development Tutorial Nikhil Yadav CSE40816/60816 - Pervasive Health Fall 2011 Database connections Local SQLite and remote access Outline Setting up the Android Development Environment (Windows)

More information

Adeptia Suite 6.2. Application Services Guide. Release Date October 16, 2014

Adeptia Suite 6.2. Application Services Guide. Release Date October 16, 2014 Adeptia Suite 6.2 Application Services Guide Release Date October 16, 2014 343 West Erie, Suite 440 Chicago, IL 60654, USA Phone: (312) 229-1727 x111 Fax: (312) 229-1736 Document Information DOCUMENT INFORMATION

More information

Centrify Mobile Authentication Services

Centrify Mobile Authentication Services Centrify Mobile Authentication Services SDK Quick Start Guide 7 November 2013 Centrify Corporation Legal notice This document and the software described in this document are furnished under and are subject

More information

How to Set Up Your PC for Android Application Development

How to Set Up Your PC for Android Application Development Introduction Application Note How to Set Up Your PC for Android Application Development Supported Environments: Windows 7 (32/64 bit), Windows Vista (32/64 bit), Windows XP * This application note was

More information

B&SC Office 365 Email

B&SC Office 365 Email B&SC Office 365 Email Microsoft Office 365 In its continuous efforts to provide the highest quality student experience, Bryant & Stratton College is giving students access to a new tool for accessing email.

More information

Remote Android Assistant with Global Positioning System Tracking

Remote Android Assistant with Global Positioning System Tracking IOSR Journal of Computer Engineering (IOSR-JCE) e-issn: 2278-0661, p- ISSN: 2278-8727Volume 16, Issue 2, Ver. III (Mar-Apr. 2014), PP 95-99 Remote Android Assistant with Global Positioning System Tracking

More information

Basic Android Setup. 2014 Windows Version

Basic Android Setup. 2014 Windows Version Basic Android Setup 2014 Windows Version Introduction In this tutorial, we will learn how to set up the Android software development environment and how to implement image processing operations on an Android

More information

WA1826 Designing Cloud Computing Solutions. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

WA1826 Designing Cloud Computing Solutions. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1 WA1826 Designing Cloud Computing Solutions Classroom Setup Guide Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1 Table of Contents Part 1 - Minimum Hardware Requirements...3 Part 2 - Minimum

More information

Android Development Exercises Version - 2012.02. Hands On Exercises for. Android Development. v. 2012.02

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

More information

Java Client Side Application Basics: Decompiling, Recompiling and Signing

Java Client Side Application Basics: Decompiling, Recompiling and Signing Java Client Side Application Basics: Decompiling, Recompiling and Signing Written By: Brad Antoniewicz Brad.Antoniewicz@foundstone.com Introduction... 3 Java Web Start and JNLP... 3 Java Archives and META-INF...

More information

-Android 2.3 is the most used version of Android on the market today with almost 60% of all Android devices running 2.3 Gingerbread -Winner of

-Android 2.3 is the most used version of Android on the market today with almost 60% of all Android devices running 2.3 Gingerbread -Winner of 1 2 3 -Android 2.3 is the most used version of Android on the market today with almost 60% of all Android devices running 2.3 Gingerbread -Winner of Internet Telephony Magazine s 2012 Product of the Year

More information