incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [18/72] [abbrv] [Cordova - Tizen]
Date Fri, 24 Aug 2012 20:29:39 GMT
http://git-wip-us.apache.org/repos/asf/incubator-cordova-tizen/blob/13c0744c/framework/fake-native-tizen.js
----------------------------------------------------------------------
diff --git a/framework/fake-native-tizen.js b/framework/fake-native-tizen.js
new file mode 100644
index 0000000..6bf15a1
--- /dev/null
+++ b/framework/fake-native-tizen.js
@@ -0,0 +1,9 @@
+var tizen = {
+	systeminfo: {}
+};
+
+tizen.systeminfo.getPropertyValue = function(name, successCallback, errorCallback) {
+	if (name === "Device") {
+		successCallback({model:"Tizen device", imei:"111111111", version:"1.0"});
+	}
+};

http://git-wip-us.apache.org/repos/asf/incubator-cordova-tizen/blob/13c0744c/framework/icon.png
----------------------------------------------------------------------
diff --git a/framework/icon.png b/framework/icon.png
new file mode 100644
index 0000000..03b3849
Binary files /dev/null and b/framework/icon.png differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-tizen/blob/13c0744c/framework/index.html
----------------------------------------------------------------------
diff --git a/framework/index.html b/framework/index.html
new file mode 100644
index 0000000..5dff21e
--- /dev/null
+++ b/framework/index.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html lang="en">
+	<head>
+		<script src="cordova-1.7.0.js"></script>
+		<link rel="stylesheet" type="text/css" href="tizen.css" />
+	</head>
+
+	<body>
+		<script>
+			document.addEventListener('deviceready', function () {
+				// Cordova is ready, do all your stuf here
+				console.log("Cordova is ready for platform " + window.device.platform + " v" + window.device.version
+ "!");
+			}, false);
+		</script>
+	</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-tizen/blob/13c0744c/framework/sounds/beep.wav
----------------------------------------------------------------------
diff --git a/framework/sounds/beep.wav b/framework/sounds/beep.wav
new file mode 100644
index 0000000..1e9797c
Binary files /dev/null and b/framework/sounds/beep.wav differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-tizen/blob/13c0744c/framework/tizen.css
----------------------------------------------------------------------
diff --git a/framework/tizen.css b/framework/tizen.css
new file mode 100644
index 0000000..8993e0f
--- /dev/null
+++ b/framework/tizen.css
@@ -0,0 +1,62 @@
+.ui-popupwindow-screen {
+	background: #000000;
+	opacity: 0.4;
+}
+.ui-popupwindow {
+	background: #828282;
+	padding: 1px 1px;
+	color: white;
+	width: 80%;
+	margin-left: 10%;
+}
+
+.popup-title {
+	background: #018ccc;
+	padding: 5px 5px;
+}
+
+.popup-title p {
+	padding: 0px;
+	margin: 0px;
+	text-align: center;
+}
+
+.popup-text {
+	background: #2d2d2d;
+	padding: 5px 5px;
+}
+
+.popup-text p {
+	padding: 0px;
+	margin: 0px;
+	text-align: center;
+	vertical-align: middle;
+	line-height:100px;
+}
+
+.popup-button-bg {
+	background: #424242;
+	padding: 5px 5px;
+}
+
+.popup-button-bg ul {
+	list-style-type:none;
+	width: 80%;
+	margin-left: 10%;
+	text-align: center;
+	padding: 0px;
+}
+
+.popup-button-bg li {
+	display: inline;
+}
+
+.popup-button-bg li input {
+	border-radius:4px 4px 4px 4px;
+	border: 0px;
+	background: #545454;
+	padding:5px 15px;
+	color: white;
+	min-width: 80px;
+	margin: 0px 5px;
+}


Mime
View raw message