Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Tizen Development
Application
Hanoi University of Science and
Technology
Hoang Van Hiep
hiephv@soict.hust.edu.vn
HUST 2015
Application Framework
n
n
n
n
Application fundamentals
Badges
Bundles
Data Controls
STP@2015
Application Framework
n
Application fundamentals:
Start or exit the main event loop
n Register callbacks for application states
change events
n Register callbacks for basic system events
n Get information about the application
n
STP@2015
ui_app_exit (void)
STP@2015
STP@2015
STP@2015
STP@2015
STP@2015
STP@2015
Launching Applications
n
STP@2015
10
11
Exercise
Create a new application that has a button
(named Launch an application)
n When user clicks on the button launch
another application (E.g., launch the Hello
World application)
n
STP@2015
12
Exercise
n
n
n
STP@2015
13
To launch an application
n
<privilege>http://tizen.org/privilege/appmanager.launch</privilege>
Example:
<operation name="http://tizen.org/appcontrol/operation/view"/>
STP@2015
14
STP@2015
15
16
17
18
Implicit
launch
an
application
static void app_control(app_control_h app_control, void* user_data)
{
Badges
n
STP@2015
20
To be continued
STP@2015
21