Cheetah Orion Ad Platform SDK Guide (for Android) V1.0

Size: px
Start display at page:

Download "Cheetah Orion Ad Platform SDK Guide (for Android) V1.0"

Transcription

1 Cheetah Orion Ad Platform SDK Guide (for Android) V1.0 Cheetah Mobile Date Version 1.0

2 1 Introduction Integration Workflow Integration Workflow Load Cheetah Orion Ad Platform SDK Add Permissions Initialize SDK Create Native Ads Layout Request and Show Ads Obfuscate Code FAQ Error Codes... 6

3 1 Introduction This document describes how to get Cheetah Orion Ad Platform SDK integrated into Android apps. 2 Integration Workflow 2.1 Integration Workflow Load Cheetah Orion Ad Platform SDK Add Permissions Initialize SDK Create Native Ads Layout Request and Show Ads 2.2 Load Cheetah Orion Ad Platform SDK Unzip the package, and copy the files under the folder libs-native to the folder of libs of your android project. Note that: If you are using Eclipse, right click Build Path -> Add to Build Path; If you are using Android Studio, add the code below to your Gradle scripts under node dependencies. compile(name: 'cmadsdk', ext: 'aar') 2.2 Add Permissions Add permissions for SDK, by modifying AndroidManifest.xml in your Android project. <uses-permission android:name="android.permission.write_external_storage" /> <uses-permission android:name="android.permission.access_network_state" /> <uses-permission android:name="android.permission.internet" /> 2.3 Initialize SDK Add the following codes into the OnCreate() Method:

4 public void oncreate() { super.oncreate(); //Initialize SDK //Param1:Context //Param2:Your AppId //Param3:Your Channel Id, fill in "" if your channel id is missing. CMAdManager.applicationInit(this, "Your AppId", "You channel ID"); //Set Debug Mode with logs. Default not set, and no logs printed. CMAdManager.setDebug(); The following table shows main Methods of CMAdManager: Method Name applicationinit(context context,string posid, String channeid) setdebug() stopwork() startwork() Descriptions Initialize SDK Set Debug Model Set No-Working Model (Stop requesting ads and configuration) Set Working Model (Default model) 2.4 Create Native Ads Layout Ads layout must use CMAdRelativeLayout as the root node for Ads View, and you can refer to the layout in Demo for detailed information. Code Sample: <?xml version="1.0" encoding="utf-8"?> <com.cmcm.adsdk.cmadrelativelayout xmlns:android=" android:layout_width="match_parent" android:layout_height="match_parent" android:background="#ffffff" android:orientation="vertical" > <!-- custom your layout --> </com.cmcm.adsdk.cmadrelativelayout> 2.5 Request and Show Ads Create thread NativeAdManager and call the requestad() method to request ads. Code Sample: //Param1:Context //Param2:Your Posid NativeAdManager nativeadmanager = new NativeAdManager(this, "Your posid"); nativeadmanager.setnativeadlistener(new NativeAdListener() { public void adloaded() { CMNativeAd ad = nativeadmanager.getad(); View madview = View.inflate(MainActivity.this, "Your Ad layout", null); //To get ad data via ad object String iconurl = ad.getadiconurl(); //To get data, and fill ad view into the boundary //Note that if ads view is reused, unbond the view before new ads is bonded if (mnativead!= null) { mnativead.unregisterview(); //save the ad object

5 mnativead = ad; //To bond the ad object and ad view. Once bonded, Click Event would be added automatically to listen to Clicks for the Ad //Warning that Ad Bonding is a must, or the Ad would neither disappear nor add click events ad.registerviewforinteraction(bignativeadview); public void adfailedtoload(int errorcode) { //Request failed public void adclicked(cmnativead ad) { //Ad clicked ); nativeadmanager.requestad(); The following table shows main Methods of NativeAdManager: (com.cmcm.adsdk.nativeadmanager) Method Name requestad() setnativeadlistener(nativeadlistener listener) getad() getadlist(int num) Descriptions Request Ads Set ad listener Get Ad Get multiple Ads The following table shows main Methods of CMNativeAd: (com.cmcm.adsdk.nativead.cmnativead) Method Name Descriptions getadtitle() Get Ad title getadbody() Get Ad body getadiconurl() Get Ad icon URL getadcoverimageurl() Get Ad cover image URL getadstarrating() Get Ad star rating getadsocialcontext() Get Ad download numbers or Websites registerviewforinteraction(view view) (Must)Bond Ad with Ad view unregisterview() setimpressionlistener(impressionlistener listener) Unbond Ad with Ad view Set Impression listener 3 Obfuscate Code If you need to obfuscate code, follow the rules below: -dontwarn com.cmcm.adsdk.** -dontwarn com.cleanmaster.** -keep class com.cmcm.adsdk.** { *; -keep class com.cleanmaster.** { *; 4 FAQ 1. Why are there still no ads returned after initialization?

6 The SDK would simultaneously request configuration file when initializing, and the ads would not be shown before the configuration file was successfully loaded. So no ads would be shown when initializing. You can judge the condition via logs (TAG=CMCMADSDK), the message loadad,mconfigbeans...isempty means configuration file need to be loaded. 2. When to call the registerviewforinteraction() method? If registerviewforinteraction() is called, the SDK would judge the Ad as being viewed. So please only call the method before the ad was shown. Warning: we suggest you call the method only once for one show time. 3. Does the SDK support Multi-Process? The SDK supports only Single-Process. 5 Error Codes Method Name Descriptions No configuration for the posid or the posid is closed No Ad data Internal error

Android DP SDK Integration Guide

Android DP SDK Integration Guide Android DP SDK Integration Guide Requirements Minimum Android Version : Android 4.1 'Jelly Bean' (API level 16) instant Run Removal. (Preferences -> Instant Run -> Unlock to Enable Instant Run) Step 1.

More information

Applied Cognitive Computing Fall 2016 Android Application + IBM Bluemix (Cloudant NoSQL DB)

Applied Cognitive Computing Fall 2016 Android Application + IBM Bluemix (Cloudant NoSQL DB) Applied Cognitive Computing Fall 2016 Android Application + IBM Bluemix (Cloudant NoSQL DB) In this exercise, we will create a simple Android application that uses IBM Bluemix Cloudant NoSQL DB. The application

More information

Google Maps library requires v2.50 or above.

Google Maps library requires v2.50 or above. Google Maps library requires v2.50 or above. Google Maps library allows you to add Google maps to your application. This library requires Android 3+ and will only work on devices with Google Play service.

More information

LifeStreet Media Android Publisher SDK Integration Guide

LifeStreet Media Android Publisher SDK Integration Guide LifeStreet Media Android Publisher SDK Integration Guide Version 1.12.0 Copyright 2015 Lifestreet Corporation Contents Introduction... 3 Downloading the SDK... 3 Choose type of SDK... 3 Adding the LSM

More information

Diving into Android. By Jeroen Tietema. Jeroen Tietema,

Diving into Android. By Jeroen Tietema. Jeroen Tietema, Diving into Android By Jeroen Tietema Jeroen Tietema, 2015 1 Requirements 4 Android SDK 1 4 Android Studio (or your IDE / editor of choice) 4 Emulator (Genymotion) or a real device. 1 See https://developer.android.com

More information

ipass SmartConnect Getting Started Guide for Android Version MARCH 2017

ipass SmartConnect Getting Started Guide for Android Version MARCH 2017 ipass SmartConnect Getting Started Guide for Android Version 1.5.4.90 MARCH 2017 Introduction 3 Getting Started 4 Using Android Studio to Add the SmartConnect Library...4 Starting SmartConnect Service...6

More information

Mobile Application Development Lab [] Simple Android Application for Native Calculator. To develop a Simple Android Application for Native Calculator.

Mobile Application Development Lab [] Simple Android Application for Native Calculator. To develop a Simple Android Application for Native Calculator. Simple Android Application for Native Calculator Aim: To develop a Simple Android Application for Native Calculator. Procedure: Creating a New project: Open Android Stdio and then click on File -> New

More information

Android App Development

Android App Development Android App Development Outline Introduction Android Fundamentals Android Studio Tutorials Introduction What is Android? A software platform and operating system for mobile devices Based on the Linux kernel

More information

Update to newest version and translate to English.

Update to newest version and translate to English. 1. Import Project 1.1 Preparation 1.2 Project Configuration 1.3 Configure Display Resources 1.4 Configure Test Environment 1.5 Enable Video Buffer 2. Ad formats 2.1 Banner 2.1.1Banner 2.1.2 FullScreen

More information

Table of Content. CLOUDCHERRY Android SDK Manual

Table of Content. CLOUDCHERRY Android SDK Manual Table of Content 1. Introduction: cloudcherry-android-sdk 2 2. Capabilities 2 3. Setup 2 4. How to create static token 3 5. Initialize SDK 5 6. How to trigger the SDK? 5 7. How to setup custom legends

More information

AdFalcon Android Native Ad SDK Developer's Guide. AdFalcon Mobile Ad Network Product of Noqoush Mobile Media Group

AdFalcon Android Native Ad SDK Developer's Guide. AdFalcon Mobile Ad Network Product of Noqoush Mobile Media Group AdFalcon Android Native Ad SDK 3.0.0 Developer's Guide AdFalcon Mobile Ad Network Product of Noqoush Mobile Media Group Table of Contents 1 Introduction... 3 Native Ads Overview... 3 OS version support...

More information

Create new Android project in Android Studio Add Button and TextView to layout Learn how to use buttons to call methods. Modify strings.

Create new Android project in Android Studio Add Button and TextView to layout Learn how to use buttons to call methods. Modify strings. Hello World Lab Objectives: Create new Android project in Android Studio Add Button and TextView to layout Learn how to use buttons to call methods. Modify strings.xml What to Turn in: The lab evaluation

More information

Programming with Android: The Google Maps Library. Slides taken from

Programming with Android: The Google Maps Library. Slides taken from Programming with Android: The Google Slides taken from Marco Di Felice Android: Deploying Map-based Apps Two versions of Android Google API API v1 API v2 - Deprecated, not supported anymore since 18th

More information

Agenda. Overview of Xamarin and Xamarin.Android Xamarin.Android fundamentals Creating a detail screen

Agenda. Overview of Xamarin and Xamarin.Android Xamarin.Android fundamentals Creating a detail screen Gill Cleeren Agenda Overview of Xamarin and Xamarin.Android Xamarin.Android fundamentals Creating a detail screen Lists and navigation Navigating from master to detail Optimizing the application Preparing

More information

Android Workshop: Model View Controller ( MVC):

Android Workshop: Model View Controller ( MVC): Android Workshop: Android Details: Android is framework that provides java programmers the ability to control different aspects of smart devices. This interaction happens through the Android SDK (Software

More information

Android Tutorial: Part 3

Android Tutorial: Part 3 Android Tutorial: Part 3 Adding Client TCP/IP software to the Rapid Prototype GUI Project 5.2 1 Step 1: Copying the TCP/IP Client Source Code Quit Android Studio Copy the entire Android Studio project

More information

CS 4330/5390: Mobile Application Development Exam 1

CS 4330/5390: Mobile Application Development Exam 1 1 Spring 2017 (Thursday, March 9) Name: CS 4330/5390: Mobile Application Development Exam 1 This test has 8 questions and pages numbered 1 through 7. Reminders This test is closed-notes and closed-book.

More information

AdFalcon Android Native Ad SDK Developer's Guide. AdFalcon Mobile Ad Network Product of Noqoush Mobile Media Group

AdFalcon Android Native Ad SDK Developer's Guide. AdFalcon Mobile Ad Network Product of Noqoush Mobile Media Group AdFalcon Android Native Ad SDK 3.4.0 Developer's Guide AdFalcon Mobile Ad Network Product of Noqoush Mobile Media Group Table of Contents 1 Introduction... 3 Native Ads Overview... 3 OS version support...

More information

Lecture 6: Android XML, Inversion of Control, Timers (Handlers), Activity

Lecture 6: Android XML, Inversion of Control, Timers (Handlers), Activity 1 / 31 Lecture 6: Android XML, Inversion of Control, Timers (Handlers), Activity Engineering Design with Embedded Systems Patrick Lam University of Waterloo January 18, 2013 2 / 31 Housekeeping: Tutorials

More information

Cisco StadiumVision Mobile API for Google Android

Cisco StadiumVision Mobile API for Google Android CHAPTER 2 Cisco StadiumVision Mobile API for Google Android March 28, 2013 Introduction to Cisco StadiumVision Mobile API for Google Android The Cisco StadiumVision Mobile API uses Android and Java classes

More information

XML Tutorial. NOTE: This course is for basic concepts of XML in line with our existing Android Studio project.

XML Tutorial. NOTE: This course is for basic concepts of XML in line with our existing Android Studio project. XML Tutorial XML stands for extensible Markup Language. XML is a markup language much like HTML used to describe data. XML tags are not predefined in XML. We should define our own Tags. Xml is well readable

More information

Developed and taught by well-known Contact author and developer. At public for details venues or onsite at your location.

Developed and taught by well-known Contact author and developer. At public for details venues or onsite at your location. 2011 Marty Hall Android Programming Basics Originals of Slides and Source Code for Examples: http://www.coreservlets.com/android-tutorial/ Customized Java EE Training: http://courses.coreservlets.com/

More information

Android App Development. Mr. Michaud ICE Programs Georgia Institute of Technology

Android App Development. Mr. Michaud ICE Programs Georgia Institute of Technology Android App Development Mr. Michaud ICE Programs Georgia Institute of Technology Android Operating System Created by Android, Inc. Bought by Google in 2005. First Android Device released in 2008 Based

More information

API Guide for Gesture Recognition Engine. Version 2.0

API Guide for Gesture Recognition Engine. Version 2.0 API Guide for Gesture Recognition Engine Version 2.0 Table of Contents Gesture Recognition API... 3 API URI... 3 Communication Protocol... 3 Getting Started... 4 Protobuf... 4 WebSocket Library... 4 Project

More information

Upon completion of the second part of the lab the students will have:

Upon completion of the second part of the lab the students will have: ETSN05, Fall 2017, Version 2.0 Software Development of Large Systems Lab 2 1. INTRODUCTION The goal of lab 2 is to introduce students to the basics of Android development and help them to create a starting

More information

SDK Android Studio. 2. build.gradle. SDK moxie-client-xxx.aar libs 2.1. build.gradle. 2.4 repositories. app proguard-rules.pro

SDK Android Studio. 2. build.gradle. SDK moxie-client-xxx.aar libs 2.1. build.gradle. 2.4 repositories. app proguard-rules.pro SDK Android Studio 1. SDK SDK moxie-client-xxx.aar libs 2. build.gradle 2.1 build.gradle dependencies { compile filetree(dir: 'libs', include: ['.jar']) compile 'com.android.support:appcompat-v7:23.1.1'

More information

android-espresso #androidespresso

android-espresso #androidespresso android-espresso #androidespresso Table of Contents About 1 Chapter 1: Getting started with android-espresso 2 Remarks 2 Examples 2 Espresso setup instructions 2 Checking an Options Menu items (using Spoon

More information

Login with Amazon. Getting Started Guide for Android apps

Login with Amazon. Getting Started Guide for Android apps Login with Amazon Getting Started Guide for Android apps Login with Amazon: Getting Started Guide for Android Copyright 2017 Amazon.com, Inc., or its affiliates. All rights reserved. Amazon and the Amazon

More information

CS371m - Mobile Computing. Persistence - Web Based Storage CHECK OUT g/sync-adapters/index.

CS371m - Mobile Computing. Persistence - Web Based Storage CHECK OUT   g/sync-adapters/index. CS371m - Mobile Computing Persistence - Web Based Storage CHECK OUT https://developer.android.com/trainin g/sync-adapters/index.html The Cloud. 2 Backend No clear definition of backend front end - user

More information

Android HelloWorld - Example. Tushar B. Kute,

Android HelloWorld - Example. Tushar B. Kute, Android HelloWorld - Example Tushar B. Kute, http://tusharkute.com Anatomy of Android Application Anatomy of Android Application Java This contains the.java source files for your project. By default, it

More information

Android Exam AND-401 Android Application Development Version: 7.0 [ Total Questions: 129 ]

Android Exam AND-401 Android Application Development Version: 7.0 [ Total Questions: 129 ] s@lm@n Android Exam AND-401 Android Application Development Version: 7.0 [ Total Questions: 129 ] Android AND-401 : Practice Test Question No : 1 Which of the following is required to allow the Android

More information

Android Application Development. By : Shibaji Debnath

Android Application Development. By : Shibaji Debnath Android Application Development By : Shibaji Debnath About Me I have over 10 years experience in IT Industry. I have started my career as Java Software Developer. I worked in various multinational company.

More information

Android development. Outline. Android Studio. Setting up Android Studio. 1. Set up Android Studio. Tiberiu Vilcu. 2.

Android development. Outline. Android Studio. Setting up Android Studio. 1. Set up Android Studio. Tiberiu Vilcu. 2. Outline 1. Set up Android Studio Android development Tiberiu Vilcu Prepared for EECS 411 Sugih Jamin 15 September 2017 2. Create sample app 3. Add UI to see how the design interface works 4. Add some code

More information

Produced by. Mobile Application Development. Eamonn de Leastar

Produced by. Mobile Application Development. Eamonn de Leastar Mobile Application Development Produced by Eamonn de Leastar (edeleastar@wit.ie) Department of Computing, Maths & Physics Waterford Institute of Technology http://www.wit.ie http://elearning.wit.ie A First

More information

Intents. Your first app assignment

Intents. Your first app assignment Intents Your first app assignment We will make this. Decidedly lackluster. Java Code Java Code XML XML Preview XML Java Code Java Code XML Buttons that work

More information

<uses-permission android:name="android.permission.internet"/>

<uses-permission android:name=android.permission.internet/> Chapter 11 Playing Video 11.1 Introduction We have discussed how to play audio in Chapter 9 using the class MediaPlayer. This class can also play video clips. In fact, the Android multimedia framework

More information

ANDROID APPS (NOW WITH JELLY BEANS!) Jordan Jozwiak November 11, 2012

ANDROID APPS (NOW WITH JELLY BEANS!) Jordan Jozwiak November 11, 2012 ANDROID APPS (NOW WITH JELLY BEANS!) Jordan Jozwiak November 11, 2012 AGENDA Android v. ios Design Paradigms Setup Application Framework Demo Libraries Distribution ANDROID V. IOS Android $25 one-time

More information

1. Add your new app on AppsFlyer by using 9apps_int as channel name.

1. Add your new app on AppsFlyer by using 9apps_int as channel name. AppsFlyer has two tracking methods: 1. Tracking Link Method 2. Pre-Install Method AppsFlyer Support Document Since 9Apps has web traffic, while AppsFlyer cannot track web installs, our clients should adopt

More information

Build Cross Platform Video Chat Apps With Xamarin

Build Cross Platform Video Chat Apps With Xamarin Build Cross Platform Video Chat Apps With Xamarin Vidyo.io Webinar Series Philip Futernik The webcast will begin shortly. Please Senior Software Engineer stand by. November 15, 2017 Build Cross Platform

More information

Hybrid Apps Combining HTML5 + JAVASCRIPT + ANDROID

Hybrid Apps Combining HTML5 + JAVASCRIPT + ANDROID Hybrid Apps Combining HTML5 + JAVASCRIPT + ANDROID Displaying Web Page For displaying web page, two approaches may be adopted: 1. Invoke browser application: In this case another window out side app will

More information

1. Implementation of Inheritance with objects, methods. 2. Implementing Interface in a simple java class. 3. To create java class with polymorphism

1. Implementation of Inheritance with objects, methods. 2. Implementing Interface in a simple java class. 3. To create java class with polymorphism ANDROID TRAINING COURSE CONTENT SECTION 1 : INTRODUCTION Android What it is? History of Android Importance of Java language for Android Apps Other mobile OS-es Android Versions & different development

More information

Created By: Keith Acosta Instructor: Wei Zhong Courses: Senior Seminar Cryptography

Created By: Keith Acosta Instructor: Wei Zhong Courses: Senior Seminar Cryptography Created By: Keith Acosta Instructor: Wei Zhong Courses: Senior Seminar Cryptography 1. Thread Summery 2. Thread creation 3. App Diagram and information flow 4. General flow of Diffie-Hellman 5. Steps of

More information

IPN-ESCOM Application Development for Mobile Devices. Extraordinary. A Web service, invoking the SOAP protocol, in an Android application.

IPN-ESCOM Application Development for Mobile Devices. Extraordinary. A Web service, invoking the SOAP protocol, in an Android application. Learning Unit Exam Project IPN-ESCOM Application Development for Mobile Devices. Extraordinary. A Web service, invoking the SOAP protocol, in an Android application. The delivery of this project is essential

More information

Software Development Kit for ios and Android

Software Development Kit for ios and Android Software Development Kit for ios and Android With Bomgar's software development kit for mobile devices, a developer can integrate your mobile app with Bomgar to provide faster support for your app. The

More information

SD Module-1 Android Dvelopment

SD Module-1 Android Dvelopment SD Module-1 Android Dvelopment Experiment No: 05 1.1 Aim: Download Install and Configure Android Studio on Linux/windows platform. 1.2 Prerequisites: Microsoft Windows 10/8/7/Vista/2003 32 or 64 bit Java

More information

Building MyFirstApp Android Application Step by Step. Sang Shin Learn with Passion!

Building MyFirstApp Android Application Step by Step. Sang Shin   Learn with Passion! Building MyFirstApp Android Application Step by Step. Sang Shin www.javapassion.com Learn with Passion! 1 Disclaimer Portions of this presentation are modifications based on work created and shared by

More information

BlackBerry Developer Global Tour. Android. Table of Contents

BlackBerry Developer Global Tour. Android. Table of Contents BlackBerry Developer Global Tour Android Table of Contents Page 2 of 55 Session - Set Up the BlackBerry Dynamics Development Environment... 5 Overview... 5 Compatibility... 5 Prepare for Application Development...

More information

INTRODUCTION TO ANDROID

INTRODUCTION TO ANDROID INTRODUCTION TO ANDROID 1 Niv Voskoboynik Ben-Gurion University Electrical and Computer Engineering Advanced computer lab 2015 2 Contents Introduction Prior learning Download and install Thread Android

More information

Cisco StadiumVision Mobile API for Google Android

Cisco StadiumVision Mobile API for Google Android CHAPTER 2 Cisco StadiumVision Mobile API for Google Android Revised: October 31, 2013 This chapter describes the Cisco StadiumVision Mobile SDK Release 1.3 for Google Android, and contains the following

More information

API Guide for Gesture Recognition Engine. Version 1.1

API Guide for Gesture Recognition Engine. Version 1.1 API Guide for Gesture Recognition Engine Version 1.1 Table of Contents Table of Contents... 2 Gesture Recognition API... 3 API URI... 3 Communication Protocol... 3 Getting Started... 4 Protobuf... 4 WebSocket

More information

Installing and configuring PhoneGap/Cordova. EntwicklerCamp 2012

Installing and configuring PhoneGap/Cordova. EntwicklerCamp 2012 Installing and configuring PhoneGap/Cordova EntwicklerCamp 2012 Page 1 of 16 Table of Contents Lab objectives...3 Time estimate...3 Prerequisites...3 Getting started...3 Setting up PhoneGap...3 Your first

More information

Android Programming วรเศรษฐ ส วรรณ ก.

Android Programming วรเศรษฐ ส วรรณ ก. Android Programming วรเศรษฐ ส วรรณ ก uuriter@yahoo.com http://bit.ly/wannikacademy 1 Google Map API v2 2 Preparation SDK Manager Google Play Services AVD Google API >= 4.2.2 [http://bit.ly/1hedxwm] https://developers.google.com/maps/documentation/android/start

More information

Google Maps Troubleshooting

Google Maps Troubleshooting Google Maps Troubleshooting Before you go through the troubleshooting guide below, make sure that you ve consulted the class FAQ, Google s Map Activity Tutorial, as well as these helpful resources from

More information

BCA 6. Question Bank

BCA 6. Question Bank BCA 6 030010601 : Introduction to Mobile Application Development Question Bank Unit 1: Introduction to Android and Development tools Short questions 1. What kind of tool is used to simulate Android application?

More information

1. Add your new app on AppsFlyer by using 9apps_int as channel name.

1. Add your new app on AppsFlyer by using 9apps_int as channel name. AppsFlyer has two tracking methods: 1. Tracking Link Method 2. Pre-Install Method AppsFlyer Support Document Since 9Apps has web traffic, while AppsFlyer cannot track web installs, our clients should adopt

More information

FORT Mobile SDK for Android

FORT Mobile SDK for Android FORT Mobile SDK for Android Merchant Integration Guide Document Version: 2.4 February, 2018 Copyright Statement All rights reserved. No part of this document may be reproduced in any form or by any means

More information

COMP4521 EMBEDDED SYSTEMS SOFTWARE

COMP4521 EMBEDDED SYSTEMS SOFTWARE COMP4521 EMBEDDED SYSTEMS SOFTWARE LAB 1: DEVELOPING SIMPLE APPLICATIONS FOR ANDROID INTRODUCTION Android is a mobile platform/os that uses a modified version of the Linux kernel. It was initially developed

More information

Tutorial on OpenCV for Android Setup

Tutorial on OpenCV for Android Setup Tutorial on OpenCV for Android Setup EE368/CS232 Digital Image Processing, Winter 2019 Introduction In this tutorial, we will learn how to install OpenCV for Android on your computer and how to build Android

More information

Figure 2.10 demonstrates the creation of a new project named Chapter2 using the wizard.

Figure 2.10 demonstrates the creation of a new project named Chapter2 using the wizard. 44 CHAPTER 2 Android s development environment Figure 2.10 demonstrates the creation of a new project named Chapter2 using the wizard. TIP You ll want the package name of your applications to be unique

More information

Tutorial on Basic Android Setup

Tutorial on Basic Android Setup Tutorial on Basic Android Setup EE368/CS232 Digital Image Processing, Winter 2018 Introduction In this tutorial, we will learn how to set up the Android software development environment and how to implement

More information

Understand applications and their components. activity service broadcast receiver content provider intent AndroidManifest.xml

Understand applications and their components. activity service broadcast receiver content provider intent AndroidManifest.xml Understand applications and their components activity service broadcast receiver content provider intent AndroidManifest.xml Android Application Written in Java (it s possible to write native code) Good

More information

Our First Android Application

Our First Android Application Mobile Application Development Lecture 04 Imran Ihsan Our First Android Application Even though the HelloWorld program is trivial in introduces a wealth of new ideas the framework, activities, manifest,

More information

Tutorial on Basic Android Setup

Tutorial on Basic Android Setup Tutorial on Basic Android Setup EE368/CS232 Digital Image Processing, Spring 2015 Linux Version Introduction In this tutorial, we will learn how to set up the Android software development environment and

More information

External Services. CSE 5236: Mobile Application Development Course Coordinator: Dr. Rajiv Ramnath Instructor: Adam C. Champion

External Services. CSE 5236: Mobile Application Development Course Coordinator: Dr. Rajiv Ramnath Instructor: Adam C. Champion External Services CSE 5236: Mobile Application Development Course Coordinator: Dr. Rajiv Ramnath Instructor: Adam C. Champion 1 External Services Viewing websites Location- and map-based functionality

More information

CPET 565 Mobile Computing Systems CPET/ITC 499 Mobile Computing. Lab & Demo 2 (Part 1-2) Hello-Goodbye App Tutorial

CPET 565 Mobile Computing Systems CPET/ITC 499 Mobile Computing. Lab & Demo 2 (Part 1-2) Hello-Goodbye App Tutorial CPET 565 Mobile Computing Systems CPET/ITC 499 Mobile Computing Reference Lab & Demo 2 (Part 1-2) Tutorial Android Programming Concepts, by Trish Cornez and Richard Cornez, pubslihed by Jones & Barlett

More information

Android - Widgets Tutorial

Android - Widgets Tutorial Android - Widgets Tutorial A widget is a small gadget or control of your android application placed on the home screen. Widgets can be very handy as they allow you to put your favourite applications on

More information

COMP4521 EMBEDDED SYSTEMS SOFTWARE

COMP4521 EMBEDDED SYSTEMS SOFTWARE COMP4521 EMBEDDED SYSTEMS SOFTWARE LAB 5: USING WEBVIEW AND USING THE NETWORK INTRODUCTION In this lab we modify the application we created in the first three labs. Instead of using the default browser,

More information

Getting Started with Android Development Zebra Android Link-OS SDK Android Studio

Getting Started with Android Development Zebra Android Link-OS SDK Android Studio Getting Started with Android Development Zebra Android Link-OS SDK Android Studio Overview This Application Note describes the end-to-end process of designing, packaging, deploying and running an Android

More information

Getting started with Encap Client API for Android - version-3.3

Getting started with Encap Client API for Android - version-3.3 Pages / / Device client documentation - version-3.3 Getting started with Encap Client API for Android - version-3.3 Created by Johan Sörmling, last modified on Dec 01, 2016 1 Introduction 1.1 About Encap

More information

Creating a Custom ListView

Creating a Custom ListView Creating a Custom ListView References https://developer.android.com/guide/topics/ui/declaring-layout.html#adapterviews Overview The ListView in the previous tutorial creates a TextView object for each

More information

Getting Started With Android Feature Flags

Getting Started With Android Feature Flags Guide Getting Started With Android Feature Flags INTRO When it comes to getting started with feature flags (Android feature flags or just in general), you have to understand that there are degrees of feature

More information

Software Practice 3 Before we start Today s lecture Today s Task Team organization

Software Practice 3 Before we start Today s lecture Today s Task Team organization 1 Software Practice 3 Before we start Today s lecture Today s Task Team organization Prof. Hwansoo Han T.A. Jeonghwan Park 43 2 Lecture Schedule Spring 2017 (Monday) This schedule can be changed M A R

More information

Programming Mobile Applications with Android Lab1

Programming Mobile Applications with Android Lab1 Programming Mobile Applications Lab1 22-26 September, Albacete, Spain Jesus Martínez-Gómez Android Lab I.- Create, compile and execute a hello world application Follow the instructions to prepare your

More information

Android Programming Lecture 2 9/7/2011

Android Programming Lecture 2 9/7/2011 Android Programming Lecture 2 9/7/2011 Creating a first app 1. Create a new Android project (a collection of source code and resources for the app) from the Eclipse file menu 2. Choose a project name (can

More information

CS 370 Android Basics D R. M I C H A E L J. R E A L E F A L L

CS 370 Android Basics D R. M I C H A E L J. R E A L E F A L L CS 370 Android Basics D R. M I C H A E L J. R E A L E F A L L 2 0 1 5 Activity Basics Manifest File AndroidManifest.xml Central configuration of Android application Defines: Name of application Icon for

More information

Lab 6: Google Maps Android API v2 Android Studio 10/14/2016

Lab 6: Google Maps Android API v2 Android Studio 10/14/2016 Lab 6: Google Maps Android API v2 Android Studio 10/14/2016 One of the defining features of mobile phones is their portability. It's not surprising that some of the most enticing APIs are those that enable

More information

Lab 3: Using Worklight Server and Environment Optimization Lab Exercise

Lab 3: Using Worklight Server and Environment Optimization Lab Exercise Lab 3: Using Worklight Server and Environment Optimization Lab Exercise Table of Contents Lab 3 Using the Worklight Server and Environment Optimizations... 3-4 3.1 Building and Testing on the Android Platform...3-4

More information

CATERPILLAR APPS COMMUNITY (CAC) Analytics Integration Guide

CATERPILLAR APPS COMMUNITY (CAC) Analytics Integration Guide CATERPILLAR APPS COMMUNITY (CAC) Analytics Integration Guide COPYRIGHT NOTICE This Documentation is the property of Caterpillar. All ideas and information contained in this document are the intellectual

More information

API Guide for Gesture Recognition Engine. Version 1.3

API Guide for Gesture Recognition Engine. Version 1.3 API Guide for Gesture Recognition Engine Version 1.3 Table of Contents Table of Contents...2 Gesture Recognition API...3 API URI... 3 Communication Protocol... 3 Getting Started...4 Protobuf... 4 WebSocket

More information

Screen Slides. The Android Studio wizard adds a TextView to the fragment1.xml layout file and the necessary code to Fragment1.java.

Screen Slides. The Android Studio wizard adds a TextView to the fragment1.xml layout file and the necessary code to Fragment1.java. Screen Slides References https://developer.android.com/training/animation/screen-slide.html https://developer.android.com/guide/components/fragments.html Overview A fragment can be defined by a class and

More information

Programming Concepts and Skills. Creating an Android Project

Programming Concepts and Skills. Creating an Android Project Programming Concepts and Skills Creating an Android Project Getting Started An Android project contains all the files that comprise the source code for your Android app. The Android SDK tools make it easy

More information

Roy Lawson. Introduction to Office 365 Development Presented By. SDS pays for referrals!

Roy Lawson. Introduction to Office 365 Development Presented By. SDS pays for referrals! Introduction to Office 365 Development Presented By Roy Lawson Partner & Consultant Software Development Services, LLC (SDS) relawson@sdselite.com www.sdselite.com 866-888-2586 ext 101 SDS pays for referrals!

More information

DuerOS-Android-SDK SDK. Vad Touch. Android Studio. Android 4.1. jar

DuerOS-Android-SDK SDK. Vad Touch. Android Studio. Android 4.1. jar DuerOS-Android-SDK SDK Android DuerOS Android SDK( SDK Android (SDK) DCS DuerOS DuerOS API DCS SDKDCSDuerOS Android Android Vad Touch SDK CLIENT_IDCLIENT_ID Android Studio Android 4.1 jarso jarso jar demo

More information

Topics of Discussion

Topics of Discussion Reference CPET 565 Mobile Computing Systems CPET/ITC 499 Mobile Computing Fragments, ActionBar and Menus Part 3 of 5 Android Programming Concepts, by Trish Cornez and Richard Cornez, pubslihed by Jones

More information

Android Basics. Android UI Architecture. Android UI 1

Android Basics. Android UI Architecture. Android UI 1 Android Basics Android UI Architecture Android UI 1 Android Design Constraints Limited resources like memory, processing, battery à Android stops your app when not in use Primarily touch interaction à

More information

Getting Started. Dr. Miguel A. Labrador Department of Computer Science & Engineering

Getting Started. Dr. Miguel A. Labrador Department of Computer Science & Engineering Getting Started Dr. Miguel A. Labrador Department of Computer Science & Engineering labrador@csee.usf.edu http://www.csee.usf.edu/~labrador 1 Goals Setting up your development environment Android Framework

More information

PILOT FM Radio SDK AUGUST 31, 2016

PILOT FM Radio SDK AUGUST 31, 2016 PILOT FM Radio SDK Android Integration Guide Document version 1.0.3 Applies to: SDK Version 1.0.3 This document is intended to be used in conjunction with the sample app provided. AUGUST 31, 2016 PILOT

More information

Tutorial on OpenCV for Android Setup

Tutorial on OpenCV for Android Setup Tutorial on OpenCV for Android Setup EE368/CS232 Digital Image Processing, Winter 2018 Introduction In this tutorial, we will learn how to install OpenCV for Android on your computer and how to build Android

More information

Android Development Crash Course

Android Development Crash Course Android Development Crash Course Campus Sundsvall, 2015 Stefan Forsström Department of Information and Communication Systems Mid Sweden University, Sundsvall, Sweden OVERVIEW The Android Platform Start

More information

Leak Canary Intro Jennifer McGee

Leak Canary Intro Jennifer McGee Leak Canary Intro Jennifer McGee 1 Leak Canary What is Leak Canary? Open source library written by Square s Pierre-Yves (PY) Ricau Library which attempts to automatically detect and report memory leaks

More information

Android Application Development

Android Application Development Android Application Development Course Code: AND-401 Version 7 (Nougat) 2016 Android ATC Published by: Android ATC Fourth Printing: December 2016. First Printing: October 2013. ISBN: 978-0-9900143-8-6

More information

FORT Mobile SDK for Android

FORT Mobile SDK for Android FORT Mobile SDK for Android Merchant Integration Guide Document Version: 3.0 December, 2018 Copyright Statement All rights reserved. No part of this document may be reproduced in any form or by any means

More information

360 Android Application Access Document

360 Android Application Access Document 360 Android Application Access Document Confirmed by Revision Revision Time Content Modifier No. 0.2 September 19, 2012 Draft Dong Wei, Cai Wenhua, Zhang Yuzhi, She Shuai, 0.3 November 06, Third-time Doc

More information

ATC Android Application Development

ATC Android Application Development ATC Android Application Development 1. Android Framework and Android Studio b. Android Platform Architecture i. Linux Kernel ii. Hardware Abstraction Layer(HAL) iii. Android runtime iv. Native C/C++ Libraries

More information

Lab 1: Getting Started With Android Programming

Lab 1: Getting Started With Android Programming Islamic University of Gaza Faculty of Engineering Computer Engineering Dept. Eng. Jehad Aldahdooh Mobile Computing Android Lab Lab 1: Getting Started With Android Programming To create a new Android Project

More information

CS378 -Mobile Computing. Anatomy of and Android App and the App Lifecycle

CS378 -Mobile Computing. Anatomy of and Android App and the App Lifecycle CS378 -Mobile Computing Anatomy of and Android App and the App Lifecycle Hello Android Tutorial http://developer.android.com/resources/tutorials/hello-world.html Important Files src/helloandroid.java Activity

More information

COMP61242: Task /04/18

COMP61242: Task /04/18 COMP61242: Task 2 1 16/04/18 1. Introduction University of Manchester School of Computer Science COMP61242: Mobile Communications Semester 2: 2017-18 Laboratory Task 2 Messaging with Android Smartphones

More information

HOW TO DEVELOP FOR GLASS ENTERPRISE

HOW TO DEVELOP FOR GLASS ENTERPRISE HOW TO DEVELOP FOR GLASS ENTERPRISE Index 1 Introduction. 2 Install Android Studio. 3 SDK Platform and Glass Development Kit preview for android 4.4.2 (API 19). 4 Activate debug. 5 Connect Glass. Authorize.

More information

NATIVE APP INTERCEPTS on ios & ANDROID

NATIVE APP INTERCEPTS on ios & ANDROID ethnio tm NATIVE APP INTERCEPTS on ios & ANDROID VERSION NO. 2 CREATED JAN 17, 2018 ETHNIO, INC. 6121 W SUNSET BLVD LOS ANGELES, CA 90028 TEL (888) 879-7439 OVERVIEW There are two basic methods for implementing

More information

Android Volley Tutorial

Android Volley Tutorial Android Volley Tutorial by Kapil - Monday, May 16, 2016 http://www.androidtutorialpoint.com/networking/android-volley-tutorial/ YouTube Video Volley is an HTTP library developed by Google to ease networking

More information