Return-Path: X-Original-To: apmail-incubator-callback-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 71005D23B for ; Fri, 24 Aug 2012 20:29:42 +0000 (UTC) Received: (qmail 12186 invoked by uid 500); 24 Aug 2012 20:29:41 -0000 Delivered-To: apmail-incubator-callback-commits-archive@incubator.apache.org Received: (qmail 12092 invoked by uid 500); 24 Aug 2012 20:29:40 -0000 Mailing-List: contact callback-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-commits@incubator.apache.org Received: (qmail 11378 invoked by uid 99); 24 Aug 2012 20:29:39 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Aug 2012 20:29:39 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 94DD91FB1E; Fri, 24 Aug 2012 20:29:39 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: anis@apache.org To: callback-commits@incubator.apache.org X-Mailer: ASF-Git Admin Mailer Subject: [11/72] [abbrv] [tizen SDK samples ] mobile-spec test app Message-Id: <20120824202939.94DD91FB1E@tyr.zones.apache.org> Date: Fri, 24 Aug 2012 20:29:39 +0000 (UTC) http://git-wip-us.apache.org/repos/asf/incubator-cordova-tizen/blob/38e0ccf7/tizen SDK samples/mobile-spec/js/libs/modernizr-2.0.6.min.js ---------------------------------------------------------------------- diff --git a/tizen SDK samples/mobile-spec/js/libs/modernizr-2.0.6.min.js b/tizen SDK samples/mobile-spec/js/libs/modernizr-2.0.6.min.js new file mode 100644 index 0000000..4f00b71 --- /dev/null +++ b/tizen SDK samples/mobile-spec/js/libs/modernizr-2.0.6.min.js @@ -0,0 +1,4 @@ +/* Modernizr 2.0.6 | MIT & BSD + * Contains: All core tests, html5shiv, yepnope, respond.js. Get your own custom build at www.modernizr.com/download/ + */ +;window.Modernizr=function(a,b,c){function I(){e.input=function(a){for(var b=0,c=a.length;b",a,""].join(""),k.id=i,k.innerHTML+=f,g.appendChild(k),h=c(k,a),k.parentNode.removeChild(k);return!!h},w=function(b){if(a.matchMedia)return matchMedia(b).matches;var c;v("@media "+b+" { #"+i+" { position: absolute; } }",function(b){c =(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle).position=="absolute"});return c},x=function(){function d(d,e){e=e||b.createElement(a[d]||"div"),d="on"+d;var f=d in e;f||(e.setAttribute||(e=b.createElement("div")),e.setAttribute&&e.removeAttribute&&(e.setAttribute(d,""),f=D(e[d],"function"),D(e[d],c)||(e[d]=c),e.removeAttribute(d))),e=null;return f}var a={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return d}(),y,z={}.hasOwnProperty,A;!D(z,c)&&!D(z.call,c)?A=function(a,b){return z.call(a,b)}:A=function(a,b){return b in a&&D(a.constructor.prototype[b],c)};var H=function(c,d){var f=c.join(""),g=d.length;v(f,function(c,d){var f=b.styleSheets[b.styleSheets.length-1],h=f.cssRules&&f.cssRules[0]?f.cssRules[0].cssText:f.cssText||"",i=c.childNodes,j={};while(g--)j[i[g].id]=i[g];e.touch="ontouchstart"in a||j.touch.offsetTop===9,e.csstransforms3d=j.csstransforms3d.offsetLeft===9,e.generatedcontent=j.generatedcontent.offsetHeight>=1, e.fontface=/src/i.test(h)&&h.indexOf(d.split(" ")[0])===0},g,d)}(['@font-face {font-family:"font";src:url("https://")}',["@media (",o.join("touch-enabled),("),i,")","{#touch{top:9px;position:absolute}}"].join(""),["@media (",o.join("transform-3d),("),i,")","{#csstransforms3d{left:9px;position:absolute}}"].join(""),['#generatedcontent:after{content:"',m,'";visibility:hidden}'].join("")],["fontface","touch","csstransforms3d","generatedcontent"]);r.flexbox=function(){function c(a,b,c,d){a.style.cssText=o.join(b+":"+c+";")+(d||"")}function a(a,b,c,d){b+=":",a.style.cssText=(b+o.join(c+";"+b)).slice(0,-b.length)+(d||"")}var d=b.createElement("div"),e=b.createElement("div");a(d,"display","box","width:42px;padding:0;"),c(e,"box-flex","1","width:10px;"),d.appendChild(e),g.appendChild(d);var f=e.offsetWidth===42;d.removeChild(e),g.removeChild(d);return f},r.canvas=function(){var a=b.createElement("canvas");return!!a.getContext&&!!a.getContext("2d")},r.canvastext=function(){return!!e.canvas&& !!D(b.createElement("canvas").getContext("2d").fillText,"function")},r.webgl=function(){return!!a.WebGLRenderingContext},r.touch=function(){return e.touch},r.geolocation=function(){return!!navigator.geolocation},r.postmessage=function(){return!!a.postMessage},r.websqldatabase=function(){var b=!!a.openDatabase;return b},r.indexedDB=function(){for(var b=-1,c=p.length;++b7)},r.history=function(){return!!a.history&&!!history.pushState},r.draganddrop=function(){return x("dragstart")&&x("drop")},r.websockets=function(){for(var b=-1,c=p.length;++b";return(a.firstChild&&a.firstChild.namespaceURI)==q.svg},r.smil=function(){return!!b.createElementNS&&/SVG/.test(n.call(b.createElementNS(q.svg,"animate")))},r.svgclippaths=function(){return!!b.createElementNS&&/SVG/.test(n.call(b.createElementNS(q.svg,"clipPath")))};for(var J in r)A(r,J)&&(y=J.toLowerCase(),e[y]=r[J](),u.push((e[y]?"":"no-")+y));e.input||I(),e.addTest=function(a,b){if(typeof a=="object")for(var d in a)A(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return;b=typeof b=="boolean"?b:!!b(),g.className+=" "+(b?"":"no-")+a,e[a]=b}return e},B(" "),j=l=null,a.attachEvent&&function(){var a=b.createElement("div");a.innerHTML="";return a.childNodes.length!==1}()&&function(a,b){function s(a){var b=-1;while(++b=u.minw)&&(!u.maxw||u.maxw&&l<=u.maxw))m[u.media]||(m[u.media]=[]),m[u.media].push(f[u.rules])}for(var t in g)g[t]&&g[t].parentNode===j&&j.removeChild(g[t]);for(var t in m){var v=c.createElement("style"),w=m[t].join("\n");v.type="text/css",v.media=t,v.styleSheet?v.s tyleSheet.cssText=w:v.appendChild(c.createTextNode(w)),n.appendChild(v),g.push(v)}j.insertBefore(n,o.nextSibling)}},s=function(a,b){var c=t();if(!!c){c.open("GET",a,!0),c.onreadystatechange=function(){c.readyState==4&&(c.status==200||c.status==304)&&b(c.responseText)};if(c.readyState==4)return;c.send()}},t=function(){var a=!1,b=[function(){return new ActiveXObject("Microsoft.XMLHTTP")},function(){return new XMLHttpRequest}],c=b.length;while(c--){try{a=b[c]()}catch(d){continue}break}return function(){return a}}();m(),respond.update=m,a.addEventListener?a.addEventListener("resize",u,!1):a.attachEvent&&a.attachEvent("onresize",u)}}(this,Modernizr.mq("only all")),function(a,b,c){function k(a){return!a||a=="loaded"||a=="complete"}function j(){var a=1,b=-1;while(p.length- ++b)if(p[b].s&&!(a=p[b].r))break;a&&g()}function i(a){var c=b.createElement("script"),d;c.src=a.s,c.onreadystatechange=c.onload=function(){!d&&k(c.readyState)&&(d=1,j(),c.onload=c.onreadystatechange=null)},m(function(){d ||(d=1,j())},H.errorTimeout),a.e?c.onload():n.parentNode.insertBefore(c,n)}function h(a){var c=b.createElement("link"),d;c.href=a.s,c.rel="stylesheet",c.type="text/css";if(!a.e&&(w||r)){var e=function(a){m(function(){if(!d)try{a.sheet.cssRules.length?(d=1,j()):e(a)}catch(b){b.code==1e3||b.message=="security"||b.message=="denied"?(d=1,m(function(){j()},0)):e(a)}},0)};e(c)}else c.onload=function(){d||(d=1,m(function(){j()},0))},a.e&&c.onload();m(function(){d||(d=1,j())},H.errorTimeout),!a.e&&n.parentNode.insertBefore(c,n)}function g(){var a=p.shift();q=1,a?a.t?m(function(){a.t=="c"?h(a):i(a)},0):(a(),j()):q=0}function f(a,c,d,e,f,h){function i(){!o&&k(l.readyState)&&(r.r=o=1,!q&&j(),l.onload=l.onreadystatechange=null,m(function(){u.removeChild(l)},0))}var l=b.createElement(a),o=0,r={t:d,s:c,e:h};l.src=l.data=c,!s&&(l.style.display="none"),l.width=l.height="0",a!="object"&&(l.type=d),l.onload=l.onreadystatechange=i,a=="img"?l.onerror=i:a=="script"&&(l.onerror=function(){r.e=r.r=1,g()}) ,p.splice(e,0,r),u.insertBefore(l,s?null:n),m(function(){o||(u.removeChild(l),r.r=r.e=o=1,j())},H.errorTimeout)}function e(a,b,c){var d=b=="c"?z:y;q=0,b=b||"j",C(a)?f(d,a,b,this.i++,l,c):(p.splice(this.i++,0,a),p.length==1&&g());return this}function d(){var a=H;a.loader={load:e,i:0};return a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=r&&!s,u=s?l:n.parentNode,v=a.opera&&o.call(a.opera)=="[object Opera]",w="webkitAppearance"in l.style,x=w&&"async"in b.createElement("script"),y=r?"object":v||x?"img":"script",z=w?"img":y,A=Array.isArray||function(a){return o.call(a)=="[object Array]"},B=function(a){return Object(a)===a},C=function(a){return typeof a=="string"},D=function(a){return o.call(a)=="[object Function]"},E=[],F={},G,H;H=function(a){function f(a){var b=a.split("!"),c=E.length,d=b.pop(),e=b.length,f={url:d,origUrl:d,prefixes:b},g,h;for(h=0;h + + + + + Cordova Mobile Spec + + + + + + + + + +

Location

+
+ Status: Stopped + + + + + + + + + +
Latitude: 
Longitude: 
Altitude: 
Accuracy: 
Heading: 
Speed: 
Altitude Accuracy: 
Time: 
+
+

Action

+

Use Built-in WebView navigator.geolocation

+ Get Location + Start Watching Location + Stop Watching Location + Get Location Up to 30 Seconds Old +

USe Cordova Geolocation Plugin

+ Get Location + Start Watching Location + Stop Watching Location + Get Location Up to 30 Seconds Old +

 

Back + + http://git-wip-us.apache.org/repos/asf/incubator-cordova-tizen/blob/38e0ccf7/tizen SDK samples/mobile-spec/main.js ---------------------------------------------------------------------- diff --git a/tizen SDK samples/mobile-spec/main.js b/tizen SDK samples/mobile-spec/main.js new file mode 100755 index 0000000..ae447aa --- /dev/null +++ b/tizen SDK samples/mobile-spec/main.js @@ -0,0 +1,140 @@ +var deviceInfo = function() { + document.getElementById("platform").innerHTML = device.platform; + document.getElementById("version").innerHTML = device.version; + document.getElementById("uuid").innerHTML = device.uuid; + document.getElementById("name").innerHTML = device.name; + document.getElementById("width").innerHTML = screen.width; + document.getElementById("height").innerHTML = screen.height; + document.getElementById("colorDepth").innerHTML = screen.colorDepth; +}; + +var getLocation = function() { + var suc = function(p) { + alert(p.coords.latitude + " " + p.coords.longitude); + }; + var locFail = function() { + }; + navigator.geolocation.getCurrentPosition(suc, locFail); +}; + +var beep = function() { + navigator.notification.beep(2); +}; + +var vibrate = function() { + navigator.notification.vibrate(0); +}; + +function roundNumber(num) { + var dec = 3; + var result = Math.round(num * Math.pow(10, dec)) / Math.pow(10, dec); + return result; +} + +var accelerationWatch = null; + +function updateAcceleration(a) { + document.getElementById('x').innerHTML = roundNumber(a.x); + document.getElementById('y').innerHTML = roundNumber(a.y); + document.getElementById('z').innerHTML = roundNumber(a.z); +} + +var toggleAccel = function() { + if (accelerationWatch !== null) { + navigator.accelerometer.clearWatch(accelerationWatch); + updateAcceleration({ + x : "", + y : "", + z : "" + }); + accelerationWatch = null; + } else { + var options = {}; + options.frequency = 1000; + accelerationWatch = navigator.accelerometer.watchAcceleration( + updateAcceleration, function(ex) { + alert("accel fail (" + ex.name + ": " + ex.message + ")"); + }, options); + } +}; + +var preventBehavior = function(e) { + e.preventDefault(); +}; + +function dump_pic(data) { + var viewport = document.getElementById('viewport'); + console.log(data); + viewport.style.display = ""; + viewport.style.position = "absolute"; + viewport.style.top = "10px"; + viewport.style.left = "10px"; + document.getElementById("test_img").src = "data:image/jpeg;base64," + data; +} + +function fail(msg) { + alert(msg); +} + +function show_pic() { + navigator.camera.getPicture(dump_pic, fail, { + quality : 50 + }); +} + +function close() { + var viewport = document.getElementById('viewport'); + viewport.style.position = "relative"; + viewport.style.display = "none"; +} + +// This is just to do this. +function readFile() { + navigator.file.read('/sdcard/phonegap.txt', fail, fail); +} + +function writeFile() { + navigator.file.write('foo.txt', "This is a test of writing to a file", + fail, fail); +} + +function contacts_success(contacts) { + alert(contacts.length + + ' contacts returned.' + + (contacts[2] && contacts[2].name ? (' Third contact is ' + contacts[2].name.formatted) + : '')); +} + +function get_contacts() { + var obj = new ContactFindOptions(); + obj.filter = ""; + obj.multiple = true; + obj.limit = 5; + navigator.service.contacts.find( + [ "displayName", "name" ], contacts_success, + fail, obj); +} + +var networkReachableCallback = function(reachability) { + // There is no consistency on the format of reachability + var networkState = reachability.code || reachability; + + var currentState = {}; + currentState[NetworkStatus.NOT_REACHABLE] = 'No network connection'; + currentState[NetworkStatus.REACHABLE_VIA_CARRIER_DATA_NETWORK] = 'Carrier data connection'; + currentState[NetworkStatus.REACHABLE_VIA_WIFI_NETWORK] = 'WiFi connection'; + + confirm("Connection type:\n" + currentState[networkState]); +}; + +function check_network() { + navigator.network.isReachable("www.mobiledevelopersolutions.com", + networkReachableCallback, {}); +} + +function init() { + // the next line makes it impossible to see Contacts on the HTC Evo since it + // doesn't have a scroll button + // document.addEventListener("touchmove", preventBehavior, false); + document.addEventListener("deviceready", deviceInfo, true); +} http://git-wip-us.apache.org/repos/asf/incubator-cordova-tizen/blob/38e0ccf7/tizen SDK samples/mobile-spec/master.css ---------------------------------------------------------------------- diff --git a/tizen SDK samples/mobile-spec/master.css b/tizen SDK samples/mobile-spec/master.css new file mode 100644 index 0000000..f64b29c --- /dev/null +++ b/tizen SDK samples/mobile-spec/master.css @@ -0,0 +1,131 @@ + body { + background:#222 none repeat scroll 0 0; + color:#666; + font-family:Helvetica; + font-size:72%; + line-height:1.5em; + margin:0; + border-top:1px solid #393939; + } + + #info{ + background:#ffa; + border: 1px solid #ffd324; + -webkit-border-radius: 5px; + border-radius: 5px; + clear:both; + margin:15px 6px 0; + width:295px; + padding:4px 0px 2px 10px; + } + + #info > h4{ + font-size:.95em; + margin:5px 0; + } + + #stage.theme{ + padding-top:3px; + } + + /* Definition List */ + #stage.theme > dl{ + padding-top:10px; + clear:both; + margin:0; + list-style-type:none; + padding-left:10px; + overflow:auto; + } + + #stage.theme > dl > dt{ + font-weight:bold; + float:left; + margin-left:5px; + } + + #stage.theme > dl > dd{ + width:45px; + float:left; + color:#a87; + font-weight:bold; + } + + /* Content Styling */ + #stage.theme > h1, #stage.theme > h2, #stage.theme > p{ + margin:1em 0 .5em 13px; + } + + #stage.theme > h1{ + color:#eee; + font-size:1.6em; + text-align:center; + margin:0; + margin-top:15px; + padding:0; + } + + #stage.theme > h2{ + clear:both; + margin:0; + padding:3px; + font-size:1em; + text-align:center; + } + + /* Stage Buttons */ + #stage.theme .btn{ + border: 1px solid #555; + -webkit-border-radius: 5px; + border-radius: 5px; + text-align:center; + display:block; + float:left; + background:#444; + width:150px; + color:#9ab; + font-size:1.1em; + text-decoration:none; + padding:1.2em 0; + margin:3px 0px 3px 5px; + } + + #stage.theme .large{ + width:308px; + padding:1.2em 0; + } + + #stage.theme .backBtn{ + border: 1px solid #555; + -webkit-border-radius: 5px; + border-radius: 5px; + text-align:center; + display:block; + float:right; + background:#666; + width:75px; + color:#9ab; + font-size:1.1em; + text-decoration:none; + padding:1.2em 0; + margin:3px 5px 3px 5px; + } + + #stage.theme .input{ + border: 1px solid #555; + -webkit-border-radius: 5px; + border-radius: 5px; + text-align:center; + display:block; + float:light; + background:#888; + color:#9cd; + font-size:1.1em; + text-decoration:none; + padding:1.2em 0; + margin:3px 0px 3px 5px; + } + + #stage.theme .numeric{ + width:100%; + } \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-cordova-tizen/blob/38e0ccf7/tizen SDK samples/mobile-spec/misc/index.html ---------------------------------------------------------------------- diff --git a/tizen SDK samples/mobile-spec/misc/index.html b/tizen SDK samples/mobile-spec/misc/index.html new file mode 100755 index 0000000..697cb10 --- /dev/null +++ b/tizen SDK samples/mobile-spec/misc/index.html @@ -0,0 +1,59 @@ + + + + + + Cordova Mobile Spec + + + + + + + + + +

Display Other Content

+
+
+

Action

+
Call 411
+ Send Mail + Send SMS + Load Web Site + + + Load another PhoneGap page +

Android Only

+ Map IBM + Search Android market + View image app + +

Back
+ + http://git-wip-us.apache.org/repos/asf/incubator-cordova-tizen/blob/38e0ccf7/tizen SDK samples/mobile-spec/misc/page2.html ---------------------------------------------------------------------- diff --git a/tizen SDK samples/mobile-spec/misc/page2.html b/tizen SDK samples/mobile-spec/misc/page2.html new file mode 100755 index 0000000..22026fc --- /dev/null +++ b/tizen SDK samples/mobile-spec/misc/page2.html @@ -0,0 +1,25 @@ + + + + + + Cordova Mobile Spec + + + + + + +

Page2 App

+

This is page 2 of a PhoneGap app

+
+

Platform:

+

Version:

+

UUID:

+

Name:

+

Width: , Height: + , Color Depth:

+
+
+ + http://git-wip-us.apache.org/repos/asf/incubator-cordova-tizen/blob/38e0ccf7/tizen SDK samples/mobile-spec/mobile-spec.wgt ---------------------------------------------------------------------- diff --git a/tizen SDK samples/mobile-spec/mobile-spec.wgt b/tizen SDK samples/mobile-spec/mobile-spec.wgt new file mode 100644 index 0000000..c258ab8 Binary files /dev/null and b/tizen SDK samples/mobile-spec/mobile-spec.wgt differ http://git-wip-us.apache.org/repos/asf/incubator-cordova-tizen/blob/38e0ccf7/tizen SDK samples/mobile-spec/network/index.html ---------------------------------------------------------------------- diff --git a/tizen SDK samples/mobile-spec/network/index.html b/tizen SDK samples/mobile-spec/network/index.html new file mode 100644 index 0000000..0b2204b --- /dev/null +++ b/tizen SDK samples/mobile-spec/network/index.html @@ -0,0 +1,59 @@ + + + + + + Cordova Mobile Spec + + + + + + + + + +

Network Events and State

+
+ Results:
+ +
+ +

Action

+
Show Network Connection
+

Back
+ + + http://git-wip-us.apache.org/repos/asf/incubator-cordova-tizen/blob/38e0ccf7/tizen SDK samples/mobile-spec/notification/index.html ---------------------------------------------------------------------- diff --git a/tizen SDK samples/mobile-spec/notification/index.html b/tizen SDK samples/mobile-spec/notification/index.html new file mode 100755 index 0000000..c43b1a1 --- /dev/null +++ b/tizen SDK samples/mobile-spec/notification/index.html @@ -0,0 +1,82 @@ + + + + + + Cordova Mobile Spec + + + + + + + + + + +

Notifications and Dialogs

+
+
+ +

Action

+
Beep
+
Vibrate
+
Alert Dialog
+
Confirm Dialog
+
Built-in Alert Dialog
+
Built-in Confirm Dialog
+
Built-in Prompt Dialog
+

Back
+ + http://git-wip-us.apache.org/repos/asf/incubator-cordova-tizen/blob/38e0ccf7/tizen SDK samples/mobile-spec/robots.txt ---------------------------------------------------------------------- diff --git a/tizen SDK samples/mobile-spec/robots.txt b/tizen SDK samples/mobile-spec/robots.txt new file mode 100644 index 0000000..d310d07 --- /dev/null +++ b/tizen SDK samples/mobile-spec/robots.txt @@ -0,0 +1,5 @@ +# www.robotstxt.org/ +# www.google.com/support/webmasters/bin/answer.py?hl=en&answer=156449 + +User-agent: * + http://git-wip-us.apache.org/repos/asf/incubator-cordova-tizen/blob/38e0ccf7/tizen SDK samples/mobile-spec/signature1.xml ---------------------------------------------------------------------- diff --git a/tizen SDK samples/mobile-spec/signature1.xml b/tizen SDK samples/mobile-spec/signature1.xml new file mode 100644 index 0000000..65ba010 --- /dev/null +++ b/tizen SDK samples/mobile-spec/signature1.xml @@ -0,0 +1,384 @@ + + + + + + + +3CSUeurkVph1jMZgYwdy4icHzA8Nqodc2Zqa9jSOAg8= + + + +t6SSj0BJVpPVQDqwnwGtvXzrsaR7UEqUGR4WeDghXp0= + + + +HiKTdWrRD+ixu27xhPNh4CmhRflzHXBM11GbqZAw7/4= + + + +PiNSItuYwCIPeWsBePhS1cCl0EwehR63Tt/RDDYP0AI= + + + +AQV6/tlqLe0L/2KTd9EKkWLK74kimyjt98vcPNBV3Oo= + + + +U26GUDUlQ4xDIAWxkvdNC5+uTAA+/r3t5PFh6lF8F6g= + + + +rLscwsJJWPtKreN+BY4sDP1X0dfIVnu77hKOIbpyJ2w= + + + +U26GUDUlQ4xDIAWxkvdNC5+uTAA+/r3t5PFh6lF8F6g= + + + +U26GUDUlQ4xDIAWxkvdNC5+uTAA+/r3t5PFh6lF8F6g= + + + +ysrbrmfiqdzPM/TChplimZNPdlno286jkoXgNQ5a3jA= + + + +8Ur2PTr0opMQ7hxmqyNcZAIqH9PcbeHM4ViUg6eYOaI= + + + +r/ioDEE3e/8mhtf5FiiHoXSTP96leDYMUq7Z4TAcwdU= + + + +ZmXRQVw85VODwgrkarjq2jf6KXEpIUoiYdwuYuZlsDw= + + + +bEaFh2t9r63l3NX2hbmlSseXrChfE2QdE70X5RMc+C0= + + + +EnM3tc62wH3Jo9aKPB3kbY5kZHrPGt/rltT37M/fZx4= + + + +DUurgLA4WwhLfMDybFyErVBJ+gSYvLtP4SNSLQZnu+Q= + + + +HqJ8ooP0wOfa6NIw0NKs07vpbYL7sS6MMLqqpMZSk8M= + + + +5WNUCIzU19und7c+Q4QtM+Rfd0j9YbnxfMoLuQck1GY= + + + +DdcWhXrSd2LTvbIA0MuHALkDNl3XUPq/hYtNm0dmsiQ= + + + +/QHG9aRxs4KIQ4+pWtCtXNu+RFXF56/Sh5RRcFB7iKc= + + + +ozAYZz/iUrxYLWWo1cETgPlFedDkbmHtrdcdXp0jzQ4= + + + +yCr97EfZT5SeQ2615zNIxOhhaLbdGYXqlOynnjjEsCA= + + + +QJF7Wk9EUgsbTyib6IMnwfsej+w6EsFvNqV0l3WdPD0= + + + +D7E0pWTjFo7lVzZJgcaqvcBTMRujt4fChIFpM4LSsTw= + + + +K5WC6+qtQXKMFZEU6U+hSQHGW6Jc3MLqkAEsbS7tiFA= + + + +jiJNmOvxiZwJhpTMp8j9cFkb3lmDCDrI5iX7Z9BEnSA= + + + +U8ro9106HEVta7FO3RLgIJOflykOtBt/fVD9zLCe7SU= + + + +uIfhm7V4+Nvzk6fOOkM9jE+GGtxOWMvOYL8BA0/p7HI= + + + +ANYsWiUHFdbgHlD+iTxf11UMEEzVeqnnHagoQBB7aP4= + + + +gVcob42vEyf4QRIgzhW7DXpOsBZffmGq8PQ6y1Y3DdI= + + + +i2zidsKDndCjUJ2KuIkdMaV901TdWhEBZjnd5aNhqKI= + + + +4Xk6BNhv0Ok2z8r4LfCSMhgsXzuGaSB7c9R6n/w9RSs= + + + +LIfVOYmq48LziJJVYul6RSpptA/eqU+ySt88IALHBU8= + + + ++8i1jGwfsIBpSHD9zjFBfmZQbGf2eB4Rhi12QhR9pD4= + + + +Z//ZB7oa9gtPSguOX2dFx0O/dRnOtZRiJeNzXkpOCHs= + + + +NiQ210MEXBA1Rlfha4I2ZUZNPMEiWjcyTvJw/rZHW3E= + + + +Ca4+ZsDMGX3BHMqYkhN0T8aCL6cupSB9nIwKzZ7Hkjs= + + + +TnVfLZ7K/pZHJJqow5l4fM502Os/TCPzM0kpp8xYxKI= + + + +XW/+5QW3grNJUCam84S1vgbzpz2xGLVFJTuDpC7NQAY= + + + +GSNfCZzLhAp0o83eFPAUWSGk5Dv0HysqY7WiXnMCoN0= + + + +xaCNdvGunrdDm0Ykb5LWNRVW139epNCrero1bJqSIw0= + + + +iIK/NJDvF2834dVJn0mC3jyVTyY2QgmzR0LxWNd05r8= + + + +9e80Iu6AO0Mup5KADRUdiRYLqc5U+N3HlDwSj79Itdk= + + + +iLa9tm36Nty8n52JDTlD/QBOROh13xtttPBn2oQQGzs= + + + +PpE+PWZKjDOmzNZ+RMt+2Dhzh2tjMt0gZvsR+hwluVU= + + + +HSz9W3254r6AHBcu/YDYHEY1wOCvrbWf7lX4I07cJ2k= + + + +HPzisI5aX++nUTJ+1c4GYVE84hBW/baRa0dcrLgRgZ0= + + + +CVYgbFrhRTT3cWKsrtbMSy9spLKWmOjs0b9LVRuV34Y= + + + +43dLWp/kLzmZQi/Nkuvb6auN5gqo79NuY0jydxPX5IA= + + + +Ash2wrP+Gs3+4TY4bOyhu7i+LuVxUY/qD1yUl9vYBsA= + + + +DG8gxXUPrUEq4eRdrahNF6bqpo4cJFS3H3XBdoG5z78= + + + +54ko0vaT0cFhDApv5RZkbnvoIS/8/2Mfb9Rar+6IhGc= + + + +ih5ZUAlnQwgVFKPzn7J4YzNKMy8/e1wdurIPlzsEgjY= + + + +73NTr9EDyGB+PCncjwYAEVP3x/3bn1g5OEMiaXTSe74= + + + +SCLJss45C33/aO7h1q1r7EV6m4mdoxG1FUQzzD67qLc= + + + +PBGO/8dbHSgIqWawz5UryfDSpjPgAr8l4DIdAvqg7zk= + + + +i/W2aWbtVAoDPa5Y0lt3Zp9EELJUXNH+y6MB01eP0HU= + + + +MyzJr8VbCeOm5RSYWm4O2TT/ZOs/FoeRgihxTV4MigY= + + + +WB8RwsQosO4NOiu6QjXu/yg2UKcIcpkcMvXfA9PNg4Q= + + + +c93PQ1U7950fotjfYSrbmow0gccoJXY9QrpbiLeLrCE= + + + +gM9hv44kb7TNz/cDhXAfz1MXAJb9038KF6ZXTSVOZOQ= + + + +gJY+2pw3HZKMFcjekS2AAJtNtGBCjiwHWdMjZBou1RA= + + + +gKNL8MGOiXHPb7BHaDChDNy1qfvKwJ8sBzN5MBb4xyw= + + + +yPScQn9FPuiXCy0N1PyQX+8Aehik5tAgLYzDpiXtdyg= + + + +pXKSYZ0U64y9kjvenyjPmUrGarxI98l1t2kyj/M73ck= + + + +0W0HoDU0BfzslffvxQomIbx0Jfml6IlQeDlvsNxGDE8= + + + +MMaotXk5lfgxOo+i5KCro1MDhhVCS0+yrWjqnU8rJDU= + + + +2nMprrNU661nOWNjgBFxqvBs8JsyqrlBwL4Ng4x3mRg= + + + +6A+4K1w+qA1+mKCe/NoQLL/SymnxXFV14abLjbRH7bo= + + + +V6b0tMs2E4oGOHoUlQqx4A+H+DuG1SnzwgLZ3pQL8ag= + + + +C5nNz+zjeRGQ+sq2PKupsKrD4GH5bzpN47+RqtkrdLM= + + + +yYoBtktkTuG3AgWxr6OGkEM9g1nGHIA0ZqCWB8p5EQM= + + + +qIhkqqMtn+up/Fcx0xmFVhY8KKvonO/uSBvkX2+JAtw= + + + +C43NlrbdD3bhiz83kkZ73G22bhZQWdhJenMptkhLYsY= + + + +gr5OSeSU4GQIgcXJXTB24frWTm3MXTuieLHFeWIDnXA= + + + +LYm6fOsoXFYfrIQr0X4vrUL+nLlGaMBVg5eBH+ucg9c= + + + +NfCm84IMN9mN2yeXytMAik45PTcfvro5X4oP4EKVoxY= + + + +vIpe3Beq9hxVgSrgBHIRkPlbAHmo1F2sZuaWix4LII0= + + + +gzVnvbpaNM436RRjeTuQ9qM7gJO4agEAbTzihm9y+Ro= + + + +QVminT/EsWQjQvtLQxuIg9mrydq9ZU0YvCvqV7wPAtE= + + + +EAZjfazy/JcWevhFs9An0tY8LfqTkV29+O0p52cOdCw= + + + +27wnjxZh9cF3P49dnyIPNVS+qaX2Q2lNS17YTUoUy8Q= + + + +YWG8AhhxMAyJLm/hCefkltRaSdJzdB/8O3l6b7YSpfc= + + + +XGkigVM4x4H3gAnyPMQvqIrJXltfbYcKpWBRp45o43M= + + + +K4d4wWi5THYj6nTYm2PHF1bbfmXh/95BPHUS5oRohXo= + + + + + + +hY0iyFTYeCv6J8/tzTxWqgJpCXwjbT6gTSnzxXQrEEk= + + + +OTnww57CsgR3uJsL2xwS9wxe4DVHgZFAKSdMV5uk65kQ9u9M4u5qu4q66wFEW1Orqw+trebQ/oBu +Af5mlKdJGUEUUMw8KeNoj4v3wt74zLAzzjX9UX3I6u+z7CuZAG7RKrxD6nDej7/iilwq+S3aM38T +Ij9ReUGGphWNbMCSu/k= + + + + +MIIC+DCCAmGgAwIBAgIBADANBgkqhkiG9w0BAQUFADCBkzELMAkGA1UEBhMCS1IxDjAMBgNVBAgM +BVN1d29uMRwwGgYDVQQKDBNTYW1zdW5nIEVsZWN0cm9uaWNzMQwwCgYDVQQLDANTTFAxIDAeBgNV +BAMMF1NMUCBXZWJBcHAgVGVtcG9yYXJ5IENBMSYwJAYJKoZIhvcNAQkBFhd5dW5jaGFuLmNob0Bz +YW1zdW5nLmNvbTAeFw0xMTEyMDgwMTMxMDBaFw0yMTExMzAwMTMxMDBaMHMxCzAJBgNVBAYTAktS +MQ4wDAYDVQQIEwVTdXdvbjEcMBoGA1UEChMTU2Ftc3VuZyBFbGVjdHJvbmljczEMMAoGA1UECxMD +U0xQMSgwJgYDVQQDEx9TTFAgV2ViQXBwIFRlbXBvcmFyeSBDQSBmb3IgU0RLMIGfMA0GCSqGSIb3 +DQEBAQUAA4GNADCBiQKBgQClQyI7k1NTkEoWsrIl8qWSEhvnfc77AvEUvPuYJSU+9BsQf16grM1w +NCGdbmf/uM869FgeRMFjhT2xsHKpbXdQv8nV4LZhUevyLouE8auCkdewmQJUwujCE/fgAA+TEzAt +bN+4Kl8T5fSYB7qqeLWEyDtvNoxTQuivEBlv31AMmwIDAQABo3sweTAJBgNVHRMEAjAAMCwGCWCG +SAGG+EIBDQQfFh1PcGVuU1NMIEdlbmVyYXRlZCBDZXJ0aWZpY2F0ZTAdBgNVHQ4EFgQU3iIuHrLj +UZjHgtS1fkzpFei8fGYwHwYDVR0jBBgwFoAUR6iPzR8iummFE1UhLcIZLV//3AMwDQYJKoZIhvcN +AQEFBQADgYEAj0da5fhxEcgnDMZGOp07YWeIFdUmx7eGQANtHqWm7jdbG2j0vS3kGCFgqqPift8a +pos8llZq3N65mqfLvgjdanC/cP7gR7AC3oCiE9lOSeEYxU5I/UGDjjTRCa+eJfE3UmAz8sVbrWG/ +S5WLPBgd4IQpQ0tNiGd2NLyCqaZXL7U= + + + + + + + + + \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-cordova-tizen/blob/38e0ccf7/tizen SDK samples/mobile-spec/sounds/beep.wav ---------------------------------------------------------------------- diff --git a/tizen SDK samples/mobile-spec/sounds/beep.wav b/tizen SDK samples/mobile-spec/sounds/beep.wav new file mode 100644 index 0000000..1e9797c Binary files /dev/null and b/tizen SDK samples/mobile-spec/sounds/beep.wav differ http://git-wip-us.apache.org/repos/asf/incubator-cordova-tizen/blob/38e0ccf7/tizen SDK samples/mobile-spec/sql/index.html ---------------------------------------------------------------------- diff --git a/tizen SDK samples/mobile-spec/sql/index.html b/tizen SDK samples/mobile-spec/sql/index.html new file mode 100755 index 0000000..116f8d1 --- /dev/null +++ b/tizen SDK samples/mobile-spec/sql/index.html @@ -0,0 +1,132 @@ + + + + + + Cordova Mobile Spec + + + + + + + + + +

HTML5 Database

+
+ Results:
+ +
+

Action

+
Create, Add, Read Database
+
Read Database
+

Back
+ + http://git-wip-us.apache.org/repos/asf/incubator-cordova-tizen/blob/38e0ccf7/tizen SDK samples/mobile-spec/storage/index.html ---------------------------------------------------------------------- diff --git a/tizen SDK samples/mobile-spec/storage/index.html b/tizen SDK samples/mobile-spec/storage/index.html new file mode 100755 index 0000000..85a0dbd --- /dev/null +++ b/tizen SDK samples/mobile-spec/storage/index.html @@ -0,0 +1,50 @@ + + + + + + Cordova Mobile Spec + + + + + + + + + +

Local Storage

+
+ You have run this app an untold number of time(s). +
+ + + +

Back
+ + http://git-wip-us.apache.org/repos/asf/incubator-cordova-tizen/blob/38e0ccf7/tizen SDK samples/mobile-spec/test/index.html ---------------------------------------------------------------------- diff --git a/tizen SDK samples/mobile-spec/test/index.html b/tizen SDK samples/mobile-spec/test/index.html new file mode 100644 index 0000000..ddc3a99 --- /dev/null +++ b/tizen SDK samples/mobile-spec/test/index.html @@ -0,0 +1,31 @@ + + + + QUnit Tests + + + + + + + + + + + + + + + + + + + +

QUnit Test Suite

+

+
+

+
    +
    test markup
    + + http://git-wip-us.apache.org/repos/asf/incubator-cordova-tizen/blob/38e0ccf7/tizen SDK samples/mobile-spec/test/qunit/qunit.css ---------------------------------------------------------------------- diff --git a/tizen SDK samples/mobile-spec/test/qunit/qunit.css b/tizen SDK samples/mobile-spec/test/qunit/qunit.css new file mode 100644 index 0000000..214b9b0 --- /dev/null +++ b/tizen SDK samples/mobile-spec/test/qunit/qunit.css @@ -0,0 +1,148 @@ +/** Font Family and Sizes */ + +#qunit-tests, #qunit-header, #qunit-banner, #qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult { + font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial; +} + +#qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult, #qunit-tests li { font-size: small; } +#qunit-tests { font-size: smaller; } + + +/** Resets */ + +#qunit-tests, #qunit-tests li ol, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult { + margin: 0; + padding: 0; +} + + +/** Header */ + +#qunit-header { + padding: 0.5em 0 0.5em 1em; + + color: #fff; + text-shadow: rgba(0, 0, 0, 0.5) 4px 4px 1px; + background-color: #0d3349; + + border-radius: 15px 15px 0 0; + -moz-border-radius: 15px 15px 0 0; + -webkit-border-top-right-radius: 15px; + -webkit-border-top-left-radius: 15px; +} + +#qunit-banner { + height: 5px; +} + +#qunit-testrunner-toolbar { + padding: 0em 0 0.5em 2em; +} + +#qunit-userAgent { + padding: 0.5em 0 0.5em 2.5em; + background-color: #2b81af; + color: #fff; + text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px; +} + + +/** Tests: Pass/Fail */ + +#qunit-tests { + list-style-position: inside; +} + +#qunit-tests li { + padding: 0.4em 0.5em 0.4em 2.5em; + border-bottom: 1px solid #fff; + list-style-position: inside; +} + +#qunit-tests li strong { + cursor: pointer; +} + +#qunit-tests li ol { + margin-top: 0.5em; + padding: 0.5em; + + background-color: #fff; + + border-radius: 15px; + -moz-border-radius: 15px; + -webkit-border-radius: 15px; + + box-shadow: inset 0px 2px 13px #999; + -moz-box-shadow: inset 0px 2px 13px #999; + -webkit-box-shadow: inset 0px 2px 13px #999; +} + +#qunit-tests li li { + margin: 0.5em; + padding: 0.4em 0.5em 0.4em 0.5em; + background-color: #fff; + border-bottom: none; + list-style-position: inside; +} + +/*** Passing Styles */ + +#qunit-tests li li.pass { + color: #5E740B; + background-color: #fff; + border-left: 26px solid #C6E746; +} + +#qunit-tests li.pass { color: #528CE0; background-color: #D2E0E6; } +#qunit-tests li.pass span.test-name { color: #366097; } + +#qunit-tests li li.pass span.test-actual, +#qunit-tests li li.pass span.test-expected { color: #999999; } + +strong b.pass { color: #5E740B; } + +#qunit-banner.qunit-pass { background-color: #C6E746; } + +/*** Failing Styles */ + +#qunit-tests li li.fail { + color: #710909; + background-color: #fff; + border-left: 26px solid #EE5757; +} + +#qunit-tests li.fail { color: #000000; background-color: #EE5757; } +#qunit-tests li.fail span.test-name, +#qunit-tests li.fail span.module-name { color: #000000; } + +#qunit-tests li li.fail span.test-actual { color: #EE5757; } +#qunit-tests li li.fail span.test-expected { color: green; } + +strong b.fail { color: #710909; } + +#qunit-banner.qunit-fail, +#qunit-testrunner-toolbar { background-color: #EE5757; } + + +/** Footer */ + +#qunit-testresult { + padding: 0.5em 0.5em 0.5em 2.5em; + + color: #2b81af; + background-color: #D2E0E6; + + border-radius: 0 0 15px 15px; + -moz-border-radius: 0 0 15px 15px; + -webkit-border-bottom-right-radius: 15px; + -webkit-border-bottom-left-radius: 15px; +} + +/** Fixture */ + +#qunit-fixture { + position: absolute; + top: -10000px; + left: -10000px; +}