Tizen Ver2.2 Application API Example

Similar documents
CS378 -Mobile Computing. Intents

Programming with Android: Intents. Luca Bedogni. Dipartimento di Scienze dell Informazione Università di Bologna

Tizen 3.0 Compliance Specification for IVI Profile

Guidelines for Creating Content for the PSP (PlayStation Portable) RSS Channel

Tizen Web Device API & W3C DeviceOrientation Example

Programming with Android: Activities and Intents. Dipartimento di Informatica Scienza e Ingegneria Università di Bologna

android application development CONTENTS 1.1 INTRODUCTION TO O ANDROID OPERATING SYSTEM... TURES Understanding the Android Software Stack...

Camera and Intent. Elena Fortini

CS378 -Mobile Computing. What's Next?

FLOATING IMAGE Android Application

Mobile Programming Practice Explicit intent Implicit intent Intent filter Lab#4 PA #1

Tizen/Artik IoT Practice Part 5 IoTivity Simple Server and Simple Client

1. Overview Account Configuration Details... 3

MOTOROKR EM30. Quick Start Guide

Android System Architecture. Android Application Fundamentals. Applications in Android. Apps in the Android OS. Program Model 8/31/2015

Understanding Application

Mobile Application Development

ExtraHop 7.3 ExtraHop Trace REST API Guide

Developing Android Applications

application components

Intents. Repo:

Tizen Architecture Overview

Android Fundamentals - Part 1

The Intent Class Starting Activities with Intents. Explicit Activation Implicit Activation via Intent resolution

HotSpot USER MANUAL. twitter.com/vortexcellular facebook.com/vortexcellular instagram.com/vortexcellular

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

Another difference is that the kernel includes only the suspend to memory mechanism, and not the suspend to hard disk, which is used on PCs.

Using Declarative Models in Multi-device Smart Space

Android Essentials with Java

Android Online Training

Android Apps Development

Tizen Ver. 2.3 Native UI Sample. Calculator Application

ORACLE UNIVERSITY AUTHORISED EDUCATION PARTNER (WDP)

Android. Mobile operating system developed by Google A complete stack. Based on the Linux kernel Open source under the Apache 2 license

Revision December 2018

Android Softphone User Guide

Mate2. Quick Start Guide

Smart Watch: GM8588. User Guide. Please read the manual before use.

Series 40 5th Edition SDK. User s Guide

Required Core Java for Android application development

R300. Quick Start Guide 15G06A E3403

AIRCALL GUIDE FOR ADMINS

Android Programming (5 Days)

Your phone at a glance

DLNA in the Car Oct 22, 2015/12:30 Intended Audience

MOTOROKR E8. User s Guide

Minds-on: Android. Session 2

Mobile Application Development Android

SPARK LITE Quick Start Guide

Tizen 2.3 API Overview. Hobum (Vincent) Kwon Principal Engineer at Samsung Electronics

brief contents PART 1 INTRODUCING WINDOWS PHONE... 1 PART 2 CORE WINDOWS PHONE... 57

Visual Voice Mail Client - VVMC. Product Description

Lecture 1 - Introduction to Android

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Eyes-Free User Interaction

DOWNLOAD PDF CAN I ADD A PAGE TO MY WORD UMENT

IGEEKS TECHNOLOGIES. Software Training Division. Academic Live Projects For BE,ME,MCA,BCA and PHD Students

The Intent Class Starting Activities with Intents. Explicit Activation Implicit Activation via Intent resolution

Mobile Computing. Introduction to Android

SHWETANK KUMAR GUPTA Only For Education Purpose

How to create a Slide Show with NeroVision Express 2

CS378 -Mobile Computing. Audio

Introduction. Lecture 1. Operating Systems Practical. 5 October 2016

Mobile Application Development Android

Introduction What is Android?

CS 528 Mobile and Ubiquitous Computing Lecture 4a: Fragments, Camera Emmanuel Agu

1. REMOVE BACK COVER 2. INSERT SIM CARDS AND MEMORY CARD

Setera Office+ Installation and User Guide for Android devices

Tizen IVI Architecture New features

Android App Development

Android Apps Development

MP Music & Video Player VOL. User Guide

ANDROID COURSE BROCHURE

Security when applications become web sites

The Ubiquitous Web. Dave Raggett (W3C/Volantis) CE2006, 19 September Contact:

imovie Guide Create a new imovie Project The imovie Interface

Lecture 2 Android SDK

Make Your Pictures Come to Life with Photo Story 3

Revision August 2016

MOTOROKR TM E8 Quick Start Guide

*EK-B Android user please download BT3.0

COPYRIGHTED MATERIAL. Getting Started with. Windows 7. Lesson 1

Android Application Development 101. Jason Chen Google I/O 2008

Tizen Framework (Tizen Ver. 2.3)

Tizen Multiple App FW support Automotive Linux Conference Tokyo, Japan

Android Basics Nanodegree Syllabus

How to Make a Two Button Communication Board for Go Talk Now By Rebecca Mcguffin

Welcome Packing List Specifications Safety Precautions

Download the Driver software from the following link: Establish Bluetooth Connection

Developer s overview of the Android platform

INTENTS android.content.intent

Understanding Intents and Intent Filters

Skype for Business Softphone FAQ

Under The Hood: Performance Tuning With Tizen. Ravi Sankar Guntur

Seagate Access for Personal Cloud User Manual

SMARTWATCH User Manual

Mobile Application Development Android

Smartwatch User Manual

First-Time Employee Registration

Using Intents to Launch Activities

Transcription:

Tizen Ver2.2 Application API Example 2014. 08. 18

Contents Application API Application Control Example

Application API Privilege, Functions

Application API Enables searching running applications list and executing other applic ations using the application control. To take a picture, executing the Camera application, or to listening the music, using the Music Player are the typical examples. Application control has similar role as if in Android, implicit or explicit intent accesses to other applications. Here is its privileges:

Application API getappsinfo : get applications informa tion installed on the devi ce currently.

Application API getappscontext : get currently running ap plications information

Application API getappinfo :call specific application s information.

Application API getappcontext : get current application s i nformation.

Application API launch : launch a specific applica tion. (need launch privile ge)

Application Control

Application Control There are different types of application control requests for launching other applicatio ns. The system determines which application is suitable for handling the application co ntrol request: Explicit launch Determine which application must be launched. If you specify the exact application ID, t he application ID determines which application is launched and the application perform s the operation as specified in the application control request. (showed before slide) Implicit launch You provide information to describe the request to be performed by the newly launche d application without the application ID. The system uses the information to resolve the application control, by trying to find the proper application to perform the requested a pplication control and then launching the selected application.

Application Control Following attributes are used to resolve which application is launched: Operation (Mandatory) : string that defines the action to be performed by the applicatio n control. URI : data on which the action is performed. MIME type : specific type of the URI additional data : key-value pairs providing additional information for the control request.

Application Control Operation Key Description http://tizen.org/appcontrol/operati on/view http://tizen.org/appcontrol/operati on/call - Display the requested data (show an image or text, or play music or a video). The URI scheme must co ntain the path to the requested data. These are standard operations. You can also generate custom operation. - Make a call to a specific phone number. The URI s cheme must be tel:or set to NULL. http://tizen.org/appcontrol/operati on/pick http://tizen.org/appcontrol/operati on/create_content http://tizen.org/appcontro l/data/selected http://tizen.org/appcontro l/data/selected Provide a selection window for requested items an d return the selection. The return value (the path t o the selected item) must be stored with the data key. Create content (such as a photo or video). The ret urn value (the path to the created content) must b e stored with the data key. http://tizen.org/appcontrol/operati on/dial - Show the dialer UI and dial a number using the re quested phone number. The URI scheme must be tel:or set to NULL. If the URI scheme is NULL, th e dialer UI is shown without a phone number. http://tizen.org/appcontrol/operati on/share - Share content (for example, share a picture with fri ends using SNS services). The URI scheme must co ntain the path of the data. http://tizen.org/appcontrol/operati on/multi_share http://tizen.org/appcontro l/data/path Share multiple files. Each data path must be saved as anapplicationcontroldataobject with the data key.

Application Control How to call predefined applications that are provided by Tizen platform Service Operation Scheme MIME Browsing a Web page http://tizen.org/appcontrol/ope ration/view http https - Displaying an i mage http://tizen.org/appcontrol/ope ration/view file http image/bmp image/gif https image/jpeg image/png Playing a sound file file audio/aac audio/amr audio/mp3 audio/wav Playing a video file Selecting a file http://tizen.org/appcontrol/ope ration/pick video/mp4 video/3gpp */* image/* video/* audio/*

Application Control Predefined applications can be called explicitly by specifing particular application using application ID. The list of provided application ID is here

Example Application Control Example

Example This is a application control example. (make app_control.js file in the project) operation URI MIME ApplicationControl : parameters are operatio n, URI, MIME, additional data. launchappcontrol : parameters are defined ApplicationControl, application ID (when explici t), success callback, fail callb ack, data return callback

Example Execution Result main.js result app_control.js result In here, the window will be opened which asks choosing an application bet ween Gallary and File Manager.(or there would be other applications)

Reference Hojun Jaygarl at al. Professional Tizen Application Development, 2014 Tizen Dev Guide 2.2.1 https://developer.tizen.org/ko/documentation/dev-guide/2.2.1