--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>Systeminfo</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>json.validation.builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.tizen.web.jslint.nature.JSLintBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.tizen.web.editor.css.nature.CSSBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.validation.validationbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.tizen.web.project.builder.WebBuilder</name>
+ <arguments>
+ <dictionary>
+ <key>usedLibraryType</key>
+ <value>WebUIFramework</value>
+ </dictionary>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>json.validation.nature</nature>
+ <nature>org.tizen.web.jslint.nature.JSLintNature</nature>
+ <nature>org.tizen.web.editor.css.nature.CSSNature</nature>
+ <nature>org.eclipse.wst.jsdt.core.jsNature</nature>
+ <nature>org.tizen.web.project.builder.WebNature</nature>
+ </natures>
+</projectDescription>
<?xml version="1.0" encoding="UTF-8"?>
-
-<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" version="0.1.7" id="http://tizen.org/wid/Systeminfo" viewmodes="maximized">
- <name>Systeminfo</name>
- <icon src="icon.png"/>
- <content src="index.html"/>
- <tizen:application id="samplesysi.Systeminfo" package="samplesysi" required_version="2.1"/>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/Systeminfo" version="0.1.7" viewmodes="maximized">
+ <tizen:application id="nGZWgKPPAa.Systeminfo" package="nGZWgKPPAa" required_version="2.2"/>
+ <content src="index.html"/>
+ <icon src="icon.png"/>
+ <name>Systeminfo</name>
+
+
+
+
</widget>
</head>
<body>
- <div data-role="page" id="main" data-add-back-btn="true">
+ <div data-role="page" id="main" data-add-back-btn="header">
<div data-role="header" data-position="fixed">
- <h1>SYSTEM INFORMATION</h1>
+ <h1>System information</h1>
</div>
<div data-role="content">
</div>
</div>
- <div data-role="page" id="info" data-add-back-btn="true">
+ <div data-role="page" id="info" data-add-back-btn="header">
<div data-role="header" data-position="fixed">
<h1 id="info-title"></h1>
</div>
getSystemProperty("DEVICE_ORIENTATION", onOrientationSuccess);
return false;
});
+
+ document.addEventListener('tizenhwkey', function (e) {
+ if (e.keyName === "back") {
+ if ($.mobile.activePage.attr('id') === 'main') {
+ tizen.application.getCurrentApplication().exit();
+ } else {
+ history.back();
+ }
+ }
+ });
});
$(document).delegate("#info", "pageinit", function() {