Adding HTML5 to your Android applications. Martin Gunnarsson & Pär Sikö

Size: px
Start display at page:

Download "Adding HTML5 to your Android applications. Martin Gunnarsson & Pär Sikö"

Transcription

1 Adding HTML5 to your Android applications Martin Gunnarsson & Pär Sikö

2 Martin Gunnarsson Mobility expert, Axis Communications Øredev Program Committee member JavaOne Rock Star Beer

3 Pär Sikö I m the poor guy who has to live with all the stupid stuff that Martin does

4 Objective

5 Demo

6 What we need to learn Loading a web page Under the hood Communication Android Javascript Javascript Android Modifying web content Debugging Error handling

7 Loading a web page

8

9 Loading a web page public void oncreate(bundle savedinstancestate) { super.oncreate(savedinstancestate); WebView webview = new WebView(this); webview.loadurl(" } setcontentview(webview);

10

11 WTF?

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

13

14 Loading a web page public void oncreate(bundle savedinstancestate) { super.oncreate(savedinstancestate); WebView webview = new WebView(this); webview.loadurl("file:///android_asset/page.html"); } setcontentview(webview);

15 Loading a web page public void oncreate(bundle savedinstancestate) { super.oncreate(savedinstancestate); WebView webview = new WebView(this); String text = "<html><body><b>i wish I was surfing in Hawaii</b></body></html>"; webview.loaddata(text, "text/html", null); } setcontentview(webview);

16 Under the hood

17 The web view WebView

18 The web view WebView WebSettings

19 The web view WebViewClient WebView WebSettings

20 The web view WebViewClient WebChromeClient WebView WebSettings

21 WebView public void goback(); public String geturl(); WebView public String gettitle(); public void loadurl(string url); public void reload();...

22 WebSettings WebSettings settings = webview.getsettings(); // Disable plugins settings.setpluginstate(pluginstate.off); WebView WebSettings // Configure cache settings.setappcacheenabled(true); settings.setappcachemaxsize(1000 * 1000 * 1); // Handle zoom controls settings.setdefaultzoom(zoomdensity.far); settings.setbuiltinzoomcontrols(true); settings.setdisplayzoomcontrols(true);

23 WebViewClient WebViewClient WebView public void onloadresource(...) public void onreceivederror(...) public void onpagefinished(...) public boolean shouldoverrideurlloading(...)...

24 WebChromeClient WebChromeClient WebView public boolean onjsalert(...); public void onprogresschanged(...); public void getvisitedhistory(...);...

25 The web view WebViewClient WebChromeClient WebView WebSettings

26 Communication Android Javascript

27

28 Executing Javascript Android WebView webview = new WebView(this); webview.getsettings().setjavascriptenabled(true); webview.loadurl("javascript:somefunction()");

29 Executing Javascript HTML <h1 id="head">headline</h1> Android WebView webview = new WebView(this); webview.getsettings().setjavascriptenabled(true); webview.loadurl("javascript:document.getelementbyid('head').innerhtml='hello!';");

30 Flipping images Card Back Front

31 Flipping images

32 Flipping images <div id="card_1" class="card"> <img id="1_front" class="front" /> <img id="1_back" class="back" /> </div> HTML

33 Flipping images <div id="card_1" class="card"> <img id="1_front" class="front" /> <img id="1_back" class="back" /> </div>.card { -webkit-transition: -webkit-transform 2s; -webkit-transform-style: preserve-3d; } HTML CSS.card > img { -webkit-backface-visibility: hidden; }.card > img.back { -webkit-transform: rotatex(180deg); }

34 Flipping images function changeimage(source, index, degrees) { var card = document.getelementbyid('card_' + index); var side = (degrees % 360 == 0)? '_front' : '_back'; var image = document.getelementbyid(index + side); Javascript } image.src = source; card.style.webkittransform = "rotatex(" + degrees + "deg)";

35 Flipping images function changeimage(source, index, degrees) { var card = document.getelementbyid('card_' + index); var side = (degrees % 360 == 0)? '_front' : '_back'; var image = document.getelementbyid(index + side); Javascript } image.src = source; card.style.webkittransform = "rotatex(" + degrees + "deg)"; Android webview.loadurl("javascript:changeimage(url, 2, 180)");

36 Communication Javascript Android

37

38 Javascript Android Android JavaScript

39 Javascript Android Android JavaScript

40 Javascript Android Android JavaScript

41 Javascript Android Android JavaScript

42 Javascript Android Android JavaScript

43 Javascript Android Android JavaScript

44 Javascript Android class Callback { Android } public void openimage(string url) { Intent showimage = new Intent(); showimage.setclass(context, ImageActivity.class); startactivity(showimage); }

45 Javascript Android class Callback { Android } public void openimage(string url) { Intent showimage = new Intent(); showimage.setclass(context, ImageActivity.class); startactivity(showimage); } webview.addjavascriptinterface(new Callback(), "android"); Android

46 Opening images function openimage(index) { var card = document.getelementbyid('card_' + index); android.openimage(card.currentimage.src); } Javascript

47 Opening images function openimage(index) { var card = document.getelementbyid('card_' + index); android.openimage(card.currentimage.src); } Javascript <div id="card_1" class="card" onclick="openimage(1)" > <img id="1_front" class="front" /> <img id="1_back" class="back" /> </div> HTML

48 Modifying web content

49

50 JSON

51 Modifying web content String line; StringBuilder builder = new StringBuilder(); BufferedReader reader = new BufferedReader(new InputStreamReader(url.openStream())); while ((line = reader.readline())!= null) { builder.append(line); } JSONObject jsobj = new JSONObject(builder.toString()); JSONObject item = jsobj.getjsonobject("entry");... Android

52 Modifying web content <html> <head>...</head> <body> HTML <h1 id="headline"></h1> <p id="snippet"></p> <a id="link" href="">read more</a> </body> </html>

53 Modifying web content String headline = item.getstring("title"); webview.loadurl("javascript: document.getelementbyid('headline').innerhtml = '" + title + "'"); Android

54 Debugging

55 Debugging Javascript

56 Debugging console.error('oh noes!'); Javascript

57 Debugging console.error('oh noes!'); Javascript :24:14.147: E/Web Console(23749): Oh noes! at file:///android_asset/file.html:5

58 Debugging console.error('oh noes!'); Javascript :24:14.147: E/Web Console(23749): Oh noes! at file:///android_asset/file.html:5 // WebChromeClient public boolean onconsolemessage(consolemessage message) { // Handle message }

59 Weinre

60 Weinre

61 Weinre

62 Demo

63 Error handling

64 Error handling

65 Error handling

66 Error handling

67 Error handling // WebViewClient public boolean shouldoverrideurlloading(webview view, String url) { // Check if URL is the one we expect } return true;

68 Error handling // WebViewClient public boolean shouldoverrideurlloading(webview view, String url) { // Check if URL is the one we expect } return public void onreceivederror(webview view, int code, String desc, String url) { webview.loadurl("file:///android_asset/error_page.html"); } Android

69 Threading issues UI thread Callback runonuithread

70 Threading issues Android runonuithread(new Runnable() public void run() { // Do stuff } });

71 To sum things up...

72 Q&A

73 Thank you!

Introduction to PhoneGap

Introduction to PhoneGap Web development for mobile platforms Master on Free Software / August 2012 Outline About PhoneGap 1 About PhoneGap 2 Development environment First PhoneGap application PhoneGap API overview Building PhoneGap

More information

JavaFX Mashups. #javafxmashups. @gunnarsson: Martin Gunnarsson, Epsilon @per_siko: Pär Sikö, Jayway. fredag 26 oktober 12

JavaFX Mashups. #javafxmashups. @gunnarsson: Martin Gunnarsson, Epsilon @per_siko: Pär Sikö, Jayway. fredag 26 oktober 12 JavaFX Mashups @gunnarsson: Martin Gunnarsson, Epsilon @per_siko: Pär Sikö, Jayway #javafxmashups Loading a web page Architecture Presentation Processing WebView WebEngine Simple web page public class

More information

Step One Check for Internet Connection

Step One Check for Internet Connection Connecting to Websites Programmatically with Android Brent Ward Hello! My name is Brent Ward, and I am one of the three developers of HU Pal. HU Pal is an application we developed for Android phones which

More information

Mini Project Report ONLINE SHOPPING SYSTEM

Mini Project Report ONLINE SHOPPING SYSTEM Mini Project Report On ONLINE SHOPPING SYSTEM Submitted By: SHIBIN CHITTIL (80) NIDHEESH CHITTIL (52) RISHIKESE M R (73) In partial fulfillment for the award of the degree of B. TECH DEGREE In COMPUTER

More information

the intro for RPG programmers Making mobile app development easier... of KrengelTech by Aaron Bartell aaronbartell@mowyourlawn.com

the intro for RPG programmers Making mobile app development easier... of KrengelTech by Aaron Bartell aaronbartell@mowyourlawn.com the intro for RPG programmers Making mobile app development easier... Copyright Aaron Bartell 2012 by Aaron Bartell of KrengelTech aaronbartell@mowyourlawn.com Abstract Writing native applications for

More information

Jari Pohjanen CROSS PLATFORM APPLICATION DEVELOPMENT WITH HTML5 FOR IOS AND ANDROID OPERATING SYSTEMS

Jari Pohjanen CROSS PLATFORM APPLICATION DEVELOPMENT WITH HTML5 FOR IOS AND ANDROID OPERATING SYSTEMS Jari Pohjanen CROSS PLATFORM APPLICATION DEVELOPMENT WITH HTML5 FOR IOS AND ANDROID OPERATING SYSTEMS CROSS PLATFORM APPLICATION DEVELOPMENT WITH HTML5 FOR IOS AND ANDROID OPERATING SYSTEMS Jari Pohjanen

More information

Embedding a Data View dynamic report into an existing web-page

Embedding a Data View dynamic report into an existing web-page Embedding a Data View dynamic report into an existing web-page Author: GeoWise User Support Released: 23/11/2011 Version: 6.4.4 Embedding a Data View dynamic report into an existing web-page Table of Contents

More information

WebView addjavascriptinterface Remote Code Execution 23/09/2013

WebView addjavascriptinterface Remote Code Execution 23/09/2013 MWR InfoSecurity Advisory WebView addjavascriptinterface Remote Code Execution 23/09/2013 Package Name Date Affected Versions Google Android Webkit WebView 23/09/2013 All Android applications built with

More information

Intell-a-Keeper Reporting System Technical Programming Guide. Tracking your Bookings without going Nuts! http://www.acorn-is.

Intell-a-Keeper Reporting System Technical Programming Guide. Tracking your Bookings without going Nuts! http://www.acorn-is. Intell-a-Keeper Reporting System Technical Programming Guide Tracking your Bookings without going Nuts! http://www.acorn-is.com 877-ACORN-99 Step 1: Contact Marian Talbert at Acorn Internet Services at

More information

Mobile Web Applications. Gary Dubuque IT Research Architect Department of Revenue

Mobile Web Applications. Gary Dubuque IT Research Architect Department of Revenue Mobile Web Applications Gary Dubuque IT Research Architect Department of Revenue Summary Times are approximate 10:15am 10:25am 10:35am 10:45am Evolution of Web Applications How they got replaced by native

More information

CMSC434 TUTORIAL #3 HTML CSS JavaScript Jquery Ajax + Google AppEngine Mobile WebApp HTML5

CMSC434 TUTORIAL #3 HTML CSS JavaScript Jquery Ajax + Google AppEngine Mobile WebApp HTML5 CMSC434 TUTORIAL #3 HTML CSS JavaScript Jquery Ajax + Google AppEngine Mobile WebApp HTML5 JQuery Recap JQuery source code is an external JavaScript file

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

Visualizing a Neo4j Graph Database with KeyLines

Visualizing a Neo4j Graph Database with KeyLines Visualizing a Neo4j Graph Database with KeyLines Introduction 2! What is a graph database? 2! What is Neo4j? 2! Why visualize Neo4j? 3! Visualization Architecture 4! Benefits of the KeyLines/Neo4j architecture

More information

Website Login Integration

Website Login Integration SSO Widget Website Login Integration October 2015 Table of Contents Introduction... 3 Getting Started... 5 Creating your Login Form... 5 Full code for the example (including CSS and JavaScript):... 7 2

More information

Memory Management for Android Apps Patrick Dubroy (dubroy.com @dubroy) May 11, 2011

Memory Management for Android Apps Patrick Dubroy (dubroy.com @dubroy) May 11, 2011 Memory Management for Android Apps Patrick Dubroy (dubroy.com @dubroy) May 11, 2011 3 192MB RAM 4 1GB RAM Xoom 1280x800 G1 320x480 5 6 Software Work expands to fill the time available. memory 7 Overview

More information

CSE476 Mobile Application Development. Yard. Doç. Dr. Tacha Serif tserif@cse.yeditepe.edu.tr. Department of Computer Engineering Yeditepe University

CSE476 Mobile Application Development. Yard. Doç. Dr. Tacha Serif tserif@cse.yeditepe.edu.tr. Department of Computer Engineering Yeditepe University CSE476 Mobile Application Development Yard. Doç. Dr. Tacha Serif tserif@cse.yeditepe.edu.tr Department of Computer Engineering Yeditepe University Fall 2015 Yeditepe University 2015 Outline Dalvik Debug

More information

Cisco Adaptive Security Appliance (ASA) Web VPN Portal Customization: Solution Brief

Cisco Adaptive Security Appliance (ASA) Web VPN Portal Customization: Solution Brief Guide Cisco Adaptive Security Appliance (ASA) Web VPN Portal Customization: Solution Brief Author: Ashur Kanoon August 2012 For further information, questions and comments please contact ccbu-pricing@cisco.com

More information

MASTERTAG DEVELOPER GUIDE

MASTERTAG DEVELOPER GUIDE MASTERTAG DEVELOPER GUIDE TABLE OF CONTENTS 1 Introduction... 4 1.1 What is the zanox MasterTag?... 4 1.2 What is the zanox page type?... 4 2 Create a MasterTag application in the zanox Application Store...

More information

Performance Testing for Ajax Applications

Performance Testing for Ajax Applications Radview Software How to Performance Testing for Ajax Applications Rich internet applications are growing rapidly and AJAX technologies serve as the building blocks for such applications. These new technologies

More information

A Case Study of an Android* Client App Using Cloud-Based Alert Service

A Case Study of an Android* Client App Using Cloud-Based Alert Service A Case Study of an Android* Client App Using Cloud-Based Alert Service Abstract This article discusses a case study of an Android client app using a cloud-based web service. The project was built on the

More information

Setting up an Apache Server in Conjunction with the SAP Sybase OData Server

Setting up an Apache Server in Conjunction with the SAP Sybase OData Server Setting up an Apache Server in Conjunction with the SAP Sybase OData Server PRINCIPAL AUTHOR Adam Hurst Philippe Bertrand adam.hurst@sap.com philippe.bertrand@sap.com REVISION HISTORY Version 1.0 - June

More information

Attacks on WebView in the Android System

Attacks on WebView in the Android System Attacks on WebView in the Android System Tongbo Luo, Hao Hao, Wenliang Du, Yifei Wang, and Heng Yin Dept. of Electrical Engineering & Computer Science, Syracuse University Syracuse, New York, USA ABSTRACT

More information

Professional & Workgroup Editions

Professional & Workgroup Editions Professional & Workgroup Editions Add a popup window for scheduling appointments on your own web page using HTML Date: August 2, 2011 Page 1 Overview This document describes how to insert a popup window

More information

Slide.Show Quick Start Guide

Slide.Show Quick Start Guide Slide.Show Quick Start Guide Vertigo Software December 2007 Contents Introduction... 1 Your first slideshow with Slide.Show... 1 Step 1: Embed the control... 2 Step 2: Configure the control... 3 Step 3:

More information

Design Pa*erns for JavaScript Web Apps. Stefan Scheidt OPITZ CONSULTING GmbH

Design Pa*erns for JavaScript Web Apps. Stefan Scheidt OPITZ CONSULTING GmbH Design Pa*erns for JavaScript Web Apps Stefan Scheidt OPITZ CONSULTING GmbH About me... stefan.scheidt@opitz- consuljng.com (@stefanscheidt) Mission The company's ambition is to help organizations to be

More information

WIRIS quizzes web services Getting started with PHP and Java

WIRIS quizzes web services Getting started with PHP and Java WIRIS quizzes web services Getting started with PHP and Java Document Release: 1.3 2011 march, Maths for More www.wiris.com Summary This document provides client examples for PHP and Java. Contents WIRIS

More information

SMART Supporting the Design and Execution of Usercentric Service-based Applications

SMART Supporting the Design and Execution of Usercentric Service-based Applications SMART Supporting the Design and Execution of Usercentric Service-based Applications Piergiorgio Bertoli, Raman Kazhamiakin, Michele Nori, Marco Pistore SAYservice s.r.l., Trento, Italy FBK-Irst, Trento,

More information

XSS Lightsabre techniques. using Hackvertor

XSS Lightsabre techniques. using Hackvertor XSS Lightsabre techniques using Hackvertor What is Hackvertor? Tag based conversion tool Javascript property checker Javascript/HTML execution DOM browser Saves you writing code Free and no ads! Whoo hoo!

More information

Developing Android Apps for BlackBerry 10. JAM854 Mike Zhou- Developer Evangelist, APAC Nov 30, 2012

Developing Android Apps for BlackBerry 10. JAM854 Mike Zhou- Developer Evangelist, APAC Nov 30, 2012 Developing Android Apps for BlackBerry 10 JAM854 Mike Zhou- Developer Evangelist, APAC Nov 30, 2012 Overview What is the BlackBerry Runtime for Android Apps? Releases and Features New Features Demo Development

More information

Finding XSS in Real World

Finding XSS in Real World Finding XSS in Real World by Alexander Korznikov nopernik@gmail.com 1 April 2015 Hi there, in this tutorial, I will try to explain how to find XSS in real world, using some interesting techniques. All

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

The Semantic Web. CSCI 470: Web Science Keith Vertanen

The Semantic Web. CSCI 470: Web Science Keith Vertanen The Semantic Web CSCI 470: Web Science Keith Vertanen Overview HTML5 semantic markup Why? Common tags Custom markup Microdata Microformats RDFa JSON-LD 2 3 The problem: Semantic web: Why? Web pages are

More information

Developing Android Apps for BlackBerry 10. JAM 354 Matthew Whiteman - Product Manager February 6, 2013

Developing Android Apps for BlackBerry 10. JAM 354 Matthew Whiteman - Product Manager February 6, 2013 Developing Android Apps for BlackBerry 10 JAM 354 Matthew Whiteman - Product Manager February 6, 2013 Overview What is the BlackBerry Runtime for Android Apps? BlackBerry 10 Features New Features Demo

More information

Using Extensions or Cordova Plugins in your RhoMobile Application Darryn Campbell @darryncampbell

Using Extensions or Cordova Plugins in your RhoMobile Application Darryn Campbell @darryncampbell Using Extensions or Cordova Plugins in your RhoMobile Application Darryn Campbell @darryncampbell Application Architect Agenda Creating a Rho Native Extension on Android Converting a Cordova Plugin to

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

Mobile Application Development

Mobile Application Development Mobile Application Development (Android & ios) Tutorial Emirates Skills 2015 3/26/2015 1 What is Android? An open source Linux-based operating system intended for mobile computing platforms Includes a

More information

Xamarin.Forms. Hands On

Xamarin.Forms. Hands On Xamarin.Forms Hands On Hands- On: Xamarin Forms Ziele Kennenlernen von Xamarin.Forms, wich:gste Layouts und Views UI aus Code mit Data Binding Erweitern von Forms Elementen mit Na:ve Custom Renderer UI

More information

The purpose of jquery is to make it much easier to use JavaScript on your website.

The purpose of jquery is to make it much easier to use JavaScript on your website. jquery Introduction (Source:w3schools.com) The purpose of jquery is to make it much easier to use JavaScript on your website. What is jquery? jquery is a lightweight, "write less, do more", JavaScript

More information

Visualizing an OrientDB Graph Database with KeyLines

Visualizing an OrientDB Graph Database with KeyLines Visualizing an OrientDB Graph Database with KeyLines Visualizing an OrientDB Graph Database with KeyLines 1! Introduction 2! What is a graph database? 2! What is OrientDB? 2! Why visualize OrientDB? 3!

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

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

Login with Amazon. Getting Started Guide for Websites. Version 1.0

Login with Amazon. Getting Started Guide for Websites. Version 1.0 Login with Amazon Getting Started Guide for Websites Version 1.0 Login with Amazon: Getting Started Guide for Websites Copyright 2016 Amazon Services, LLC or its affiliates. All rights reserved. Amazon

More information

An Android-based Instant Message Application

An Android-based Instant Message Application An Android-based Instant Message Application Qi Lai, Mao Zheng and Tom Gendreau Department of Computer Science University of Wisconsin - La Crosse La Crosse, WI 54601 mzheng@uwlax.edu Abstract One of the

More information

Magento 1.4 Theming Cookbook

Magento 1.4 Theming Cookbook P U B L I S H I N G community experience distilled Magento 1.4 Theming Cookbook Jose Argudo Blanco Chapter No. 5 "Going Further Making Our Theme Shine" In this package, you will find: A Biography of the

More information

Hello World! Some code

Hello World! Some code Embedded Systems Programming Hello World! Lecture 10 Verónica Gaspes www2.hh.se/staff/vero What could an Android hello world application be like? Center for Research on Embedded Systems School of Information

More information

Web Development 1 A4 Project Description Web Architecture

Web Development 1 A4 Project Description Web Architecture Web Development 1 Introduction to A4, Architecture, Core Technologies A4 Project Description 2 Web Architecture 3 Web Service Web Service Web Service Browser Javascript Database Javascript Other Stuff:

More information

Web Server Lite. Web Server Software User s Manual

Web Server Lite. Web Server Software User s Manual Web Server Software User s Manual Web Server Lite This software is only loaded to 7188E modules acted as Server. This solution was general in our products. The Serial devices installed on the 7188E could

More information

Collections.sort(population); // Método de ordenamiento

Collections.sort(population); // Método de ordenamiento import java.util.collections; import java.util.linkedlist; import java.util.random; public class GeneticAlgorithms static long BEGIN; static final boolean _DEBUG = true; LinkedList population

More information

Android Framework. How to use and extend it

Android Framework. How to use and extend it Android Framework How to use and extend it Lectures 9/10 Android Security Security threats Security gates Android Security model Bound Services Complex interactions with Services Alberto Panizzo 2 Lecture

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

jquery Programming Cookbook jquery Programming Cookbook

jquery Programming Cookbook jquery Programming Cookbook jquery Programming Cookbook i jquery Programming Cookbook jquery Programming Cookbook ii Contents 1 Add/Remove Class Example 1 1.1 Basic Document Setup................................................ 1

More information

CSC 210 1 WEB DESIGN. Web Design

CSC 210 1 WEB DESIGN. Web Design 1 WEB DESIGN Web Design Announcements 2 Test 1 Average: 68 Standard Deviation: 16 The proposals are all good. All will need: The ability to track and manage users A database to keep track of data. Tomorrow

More information

PLAYER DEVELOPER GUIDE

PLAYER DEVELOPER GUIDE PLAYER DEVELOPER GUIDE CONTENTS CREATING AND BRANDING A PLAYER IN BACKLOT 5 Player Platform and Browser Support 5 How Player Works 6 Setting up Players Using the Backlot API 6 Creating a Player Using the

More information

Databases and Information Systems II

Databases and Information Systems II Databases and Information Systems II Performance evaluation Profiling Performance evaluation New compression approach must be competible in terms of Compression ratio Compression time Decompression time

More information

Mocean Android SDK Developer Guide

Mocean Android SDK Developer Guide Mocean Android SDK Developer Guide For Android SDK Version 3.2 136 Baxter St, New York, NY 10013 Page 1 Table of Contents Table of Contents... 2 Overview... 3 Section 1 Setup... 3 What changed in 3.2:...

More information

How to code, test, and validate a web page

How to code, test, and validate a web page Chapter 2 How to code, test, and validate a web page Slide 1 Objectives Applied 1. Use a text editor like Aptana Studio 3 to create and edit HTML and CSS files. 2. Test an HTML document that s stored on

More information

Android Studio Application Development

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

Dashboard Skin Tutorial. For ETS2 HTML5 Mobile Dashboard v3.0.2

Dashboard Skin Tutorial. For ETS2 HTML5 Mobile Dashboard v3.0.2 Dashboard Skin Tutorial For ETS2 HTML5 Mobile Dashboard v3.0.2 Dashboard engine overview Dashboard menu Skin file structure config.json Available telemetry properties dashboard.html dashboard.css Telemetry

More information

IBM Tealeaf CX Mobile Android Logging Framework Version 9 Release 0.1 December 4, 2104. IBM Tealeaf CX Mobile Android Logging Framework Guide

IBM Tealeaf CX Mobile Android Logging Framework Version 9 Release 0.1 December 4, 2104. IBM Tealeaf CX Mobile Android Logging Framework Guide IBM Tealeaf CX Mobile Android Logging Framework Version 9 Release 0.1 December 4, 2104 IBM Tealeaf CX Mobile Android Logging Framework Guide Note Before using this information and the product it supports,

More information

Security starts in the head(er)

Security starts in the head(er) Security starts in the head(er) JavaOne 2014 Dominik Schadow bridgingit Policies are independent of framework and language response.addheader(! "Policy name",! "Policy value"! ); User agent must understand

More information

Last week we talked about creating your own tags: div tags and span tags. A div tag goes around other tags, e.g.,:

Last week we talked about creating your own tags: div tags and span tags. A div tag goes around other tags, e.g.,: CSS Tutorial Part 2: Last week we talked about creating your own tags: div tags and span tags. A div tag goes around other tags, e.g.,: animals A paragraph about animals goes here

More information

How to build your first Android Application in Windows

How to build your first Android Application in Windows APPLICATION NOTE How to build your first Android Application in Windows 3/30/2012 Created by: Micah Zastrow Abstract This application note is designed to teach the reader how to setup the Android Development

More information

Timeline for Microsoft Dynamics CRM

Timeline for Microsoft Dynamics CRM Timeline for Microsoft Dynamics CRM A beautiful and intuitive way to view activity or record history for CRM entities Version 2 Contents Why a timeline?... 3 What does the timeline do?... 3 Default entities

More information

Portability Study of Android and ios

Portability Study of Android and ios Portability Study of Android and ios Brandon Stewart Problem Report submitted to the Benjamin M. Statler College of Engineering and Mineral Resources at West Virginia University in partial fulfillment

More information

App Development for Smart Devices. Lec #4: Services and Broadcast Receivers Try It Out

App Development for Smart Devices. Lec #4: Services and Broadcast Receivers Try It Out App Development for Smart Devices CS 495/595 - Fall 2013 Lec #4: Services and Broadcast Receivers Try It Out Tamer Nadeem Dept. of Computer Science Try It Out Example 1 (in this slides) Example 2 (in this

More information

JQUERY - EFFECTS. Showing and Hiding elements. Syntax. Example

JQUERY - EFFECTS. Showing and Hiding elements. Syntax. Example http://www.tutorialspoint.com/jquery/jquery-effects.htm JQUERY - EFFECTS Copyright tutorialspoint.com jquery provides a trivially simple interface for doing various kind of amazing effects. jquery methods

More information

Introduction to NaviGenie SDK Client API for Android

Introduction to NaviGenie SDK Client API for Android Introduction to NaviGenie SDK Client API for Android Overview 3 Data access solutions. 3 Use your own data in a highly optimized form 3 Hardware acceleration support.. 3 Package contents.. 4 Libraries.

More information

Building Rich Internet Applications with PHP and Zend Framework

Building Rich Internet Applications with PHP and Zend Framework Building Rich Internet Applications with PHP and Zend Framework Stanislav Malyshev Software Architect, Zend Technologies IDG: RIAs offer the potential for a fundamental shift in the experience of Internet

More information

Sensors & Motion Sensors in Android platform. Minh H Dang CS286 Spring 2013

Sensors & Motion Sensors in Android platform. Minh H Dang CS286 Spring 2013 Sensors & Motion Sensors in Android platform Minh H Dang CS286 Spring 2013 Sensors The Android platform supports three categories of sensors: Motion sensors: measure acceleration forces and rotational

More information

Lecture 1 Introduction to Android

Lecture 1 Introduction to Android These slides are by Dr. Jaerock Kwon at. The original URL is http://kettering.jrkwon.com/sites/default/files/2011-2/ce-491/lecture/alecture-01.pdf so please use that instead of pointing to this local copy

More information

MAGENTO THEME SHOE STORE

MAGENTO THEME SHOE STORE MAGENTO THEME SHOE STORE Developer: BSEtec Email: support@bsetec.com Website: www.bsetec.com Facebook Profile: License: GPLv3 or later License URL: http://www.gnu.org/licenses/gpl-3.0-standalone.html 1

More information

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

AdFalcon Android SDK 2.1.4 Developer's Guide. AdFalcon Mobile Ad Network Product of Noqoush Mobile Media Group AdFalcon Android SDK 214 Developer's Guide AdFalcon Mobile Ad Network Product of Noqoush Mobile Media Group Table of Contents 1 Introduction 3 Supported Android version 3 2 Project Configurations 4 Step

More information

Admin. Mobile Software Development Framework: Android Activity, View/ViewGroup, External Resources. Recap: TinyOS. Recap: J2ME Framework

Admin. Mobile Software Development Framework: Android Activity, View/ViewGroup, External Resources. 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 information

Obsoleted chapter from The Busy Coder's Guide to Advanced Android Development

Obsoleted chapter from The Busy Coder's Guide to Advanced Android Development CHAPTER 13 "" is Android's overall term for ways that Android can detect elements of the physical world around it, from magnetic flux to the movement of the device. Not all devices will have all possible

More information

1 of 8 9/14/2011 5:40 PM

1 of 8 9/14/2011 5:40 PM file:///z:/sites/gemini/public_html/westbendmarketingfirm.htm 1 of 8 9/14/2011 5:40 PM

More information

Chapter 2 Getting Started

Chapter 2 Getting Started Welcome to Android Chapter 2 Getting Started Android SDK contains: API Libraries Developer Tools Documentation Sample Code Best development environment is Eclipse with the Android Developer Tool (ADT)

More information

Android App Development. Rameel Sethi

Android App Development. Rameel Sethi Android App Development Rameel Sethi Relevance of Android App to LFEV Would be useful for technician at Formula EV race course to monitor vehicle conditions on cellphone Can serve as useful demo of LFEV

More information

Sample HP OO Web Application

Sample HP OO Web Application HP OO 10 OnBoarding Kit Community Assitstance Team Sample HP OO Web Application HP OO 10.x Central s rich API enables easy integration of the different parts of HP OO Central into custom web applications.

More information

Dynamic Web Pages With The Embedded Web Server. The Digi-Geek s AJAX Workbook

Dynamic Web Pages With The Embedded Web Server. The Digi-Geek s AJAX Workbook Dynamic Web Pages With The Embedded Web Server The Digi-Geek s AJAX Workbook (NET+OS, XML, & JavaScript) Version 1.0 5/4/2011 Page 1 Table of Contents Chapter 1 - How to Use this Guide... 5 Prerequisites

More information

The Mannheim University Library App

The Mannheim University Library App The Mannheim University Library App IgeLU 2015 Alexander Wagner Mannheim University Library alexander.wagner@bib.uni-mannheim.de 2015/09/04 My Name is Alexander Wagner I am Systems Administrator & Developer

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

Abusing HTML5. DEF CON 19 Ming Chow Lecturer, Department of Computer Science TuCs University Medford, MA 02155 mchow@cs.tucs.edu

Abusing HTML5. DEF CON 19 Ming Chow Lecturer, Department of Computer Science TuCs University Medford, MA 02155 mchow@cs.tucs.edu Abusing HTML5 DEF CON 19 Ming Chow Lecturer, Department of Computer Science TuCs University Medford, MA 02155 mchow@cs.tucs.edu What is HTML5? The next major revision of HTML. To replace XHTML? Yes Close

More information

AJAX and JSON Lessons Learned. Jim Riecken, Senior Software Engineer, Blackboard Inc.

AJAX and JSON Lessons Learned. Jim Riecken, Senior Software Engineer, Blackboard Inc. AJAX and JSON Lessons Learned Jim Riecken, Senior Software Engineer, Blackboard Inc. About Me Jim Riecken Senior Software Engineer At Blackboard for 4 years. Work out of the Vancouver office. Working a

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

Working with Indicee Elements

Working with Indicee Elements Working with Indicee Elements How to Embed Indicee in Your Product 2012 Indicee, Inc. All rights reserved. 1 Embed Indicee Elements into your Web Content 3 Single Sign-On (SSO) using SAML 3 Configure an

More information

Programming Autodesk PLM 360 Using REST. Doug Redmond Software Engineer, Autodesk

Programming Autodesk PLM 360 Using REST. Doug Redmond Software Engineer, Autodesk Programming Autodesk PLM 360 Using REST Doug Redmond Software Engineer, Autodesk Introduction This class will show you how to write your own client applications for PLM 360. This is not a class on scripting.

More information

RESTful web applications with Apache Sling

RESTful web applications with Apache Sling RESTful web applications with Apache Sling Bertrand Delacrétaz Senior Developer, R&D, Day Software, now part of Adobe Apache Software Foundation Member and Director http://grep.codeconsult.ch - twitter:

More information

Interspire Website Publisher Developer Documentation. Template Customization Guide

Interspire Website Publisher Developer Documentation. Template Customization Guide Interspire Website Publisher Developer Documentation Template Customization Guide Table of Contents Introduction... 1 Template Directory Structure... 2 The Style Guide File... 4 Blocks... 4 What are blocks?...

More information

BASICS OF WEB DESIGN CHAPTER 2 HTML BASICS KEY CONCEPTS COPYRIGHT 2013 TERRY ANN MORRIS, ED.D

BASICS OF WEB DESIGN CHAPTER 2 HTML BASICS KEY CONCEPTS COPYRIGHT 2013 TERRY ANN MORRIS, ED.D BASICS OF WEB DESIGN CHAPTER 2 HTML BASICS KEY CONCEPTS COPYRIGHT 2013 TERRY ANN MORRIS, ED.D 1 LEARNING OUTCOMES Describe the anatomy of a web page Format the body of a web page with block-level elements

More information

Android. Learning Android Marko Gargenta. Tuesday, March 11, 14

Android. Learning Android Marko Gargenta. Tuesday, March 11, 14 Android Learning Android Marko Gargenta Materials Sams Teach Yourself Android Application Development in 24 Hours (Amazon) Android Apps for Absolute Beginners (Amazon) Android Development Tutorial (http://

More information

Mobile App Sensor Documentation (English Version)

Mobile App Sensor Documentation (English Version) Mobile App Sensor Documentation (English Version) Mobile App Sensor Documentation (English Version) Version: 1.2.1 Date: 2015-03-25 Author: email: Kantar Media spring support@spring.de Content Mobile App

More information

Client-side Web Engineering From HTML to AJAX

Client-side Web Engineering From HTML to AJAX Client-side Web Engineering From HTML to AJAX SWE 642, Spring 2008 Nick Duan 1 What is Client-side Engineering? The concepts, tools and techniques for creating standard web browser and browser extensions

More information

2- Forms and JavaScript Course: Developing web- based applica<ons

2- Forms and JavaScript Course: Developing web- based applica<ons 2- Forms and JavaScript Course: Cris*na Puente, Rafael Palacios 2010- 1 Crea*ng forms Forms An HTML form is a special section of a document which gathers the usual content plus codes, special elements

More information

Network Traffic based Application Identification Demonstrator (Net AI) GUI. Kenny Nguyen 4150864@swin.edu.au

Network Traffic based Application Identification Demonstrator (Net AI) GUI. Kenny Nguyen 4150864@swin.edu.au Network Traffic based Application Identification Demonstrator (Net AI) GUI Kenny Nguyen 4150864@swin.edu.au Supervisor: Sebastian Zander CAIA INTERNSHIP Outline Motivation Design Implementation Demonstration

More information

Guide to Integrate ADSelfService Plus with Outlook Web App

Guide to Integrate ADSelfService Plus with Outlook Web App Guide to Integrate ADSelfService Plus with Outlook Web App Contents Document Summary... 3 ADSelfService Plus Overview... 3 ADSelfService Plus Integration with Outlook Web App... 3 Steps Involved... 4 For

More information

The Migmap project: technical aspects

The Migmap project: technical aspects The Migmap project: technical aspects New Trends in e-humanities, 29 November 2012 Jan Pieter Kunst, Meertens Institute 1 General architecture of the application 2 General architecture of the application

More information

WebSocket Server. To understand the Wakanda Server side WebSocket support, it is important to identify the different parts and how they interact:

WebSocket Server. To understand the Wakanda Server side WebSocket support, it is important to identify the different parts and how they interact: WebSocket Server Wakanda Server provides a WebSocket Server API, allowing you to handle client WebSocket connections on the server. WebSockets enable Web applications (clients) to use the WebSocket protocol

More information

Consuming a Web Service(SOAP and RESTful) in Java. Cheat Sheet For Consuming Services in Java

Consuming a Web Service(SOAP and RESTful) in Java. Cheat Sheet For Consuming Services in Java Consuming a Web Service(SOAP and RESTful) in Java Cheat Sheet For Consuming Services in Java This document will provide a user the capability to create an application to consume a sample web service (Both

More information

ecommercesoftwareone Advance User s Guide -www.ecommercesoftwareone.com

ecommercesoftwareone Advance User s Guide -www.ecommercesoftwareone.com Advance User s Guide -www.ecommercesoftwareone.com Contents Background 3 Method 4 Step 1 - Select Advance site layout 4 Step 2 - Identify Home page code of top/left and bottom/right sections 6 Step 3 -

More information

SiteWit JavaScript v3 Documentation

SiteWit JavaScript v3 Documentation SiteWit JavaScript v3 Documentation Tracking code Basic tracking code The base SiteWit tracking code is sw.js on SiteWit s servers at analytics.sitewit.com/sw.js and should be embedded as follows (for

More information