Table of Contents

NEWS

XmlHttpRequest

Edit:

Answer is :

git diff config.xml 
diff --git a/config.xml b/config.xml
index 98b3a9a..f4e0c11 100644
--- a/config.xml
+++ b/config.xml
@@ -44,5 +44,6 @@
        <feature name="http://tizen.org/api/time.read" required="true"/>  
        <feature name="http://tizen.org/api/time.write" required="true"/>  
        <feature name="http://tizen.org/api/tizen" required="true"/>  
-       <name>transig</name>
+       <name>transig</name>  
+       <access origin="*" subdomains="true"/>
 </widget>

http://rzr.online.fr/q/html5# Hey #TiZen do you know how to perform a #CORS / #XmlHttpRequest through WebApp SDK ( using “file:” origin )?

How to use XmlHttpRequest from local file and prevent Origin null is not allowed by Access-Control-Allow-Origin. ?

I am in the process of creating a tizen app , and I want to perform a http query from my app , but it looks this is unsecure …

This action seems very basic, so I might have miss something ?

I can explain further and provide a sample code if needed

More to come later :

I will provide a sample code if needed …

XMLHttpRequest cannot load $URL. Origin null is not allowed by Access-Control-Allow-Origin.

WorkAround:

FeedBack WelCome:

Some hints :

if (origin != null) {
resp.setHeader("Access-Control-Allow-Origin", origin);
} else {
resp.setHeader("Access-Control-Allow-Origin", "*");
}

API

CANVAS

AUDIO / MULTIMEDIA

MULTIMEDIA

WEBRTC's GetUserMedia : needs to be enabled using : about:flags

  <input type="file" accept="image/*;capture=camera">   <script> navigator.getUserMeda( {video:true}, success, fallback ); </script>

  <audio id="gum" autoplay></video>   <script defer> navigator.webkitGetUserMedia("audio", function(stream) { document.querySelector("#gum").src = webkitURL.createObjectURL(stream); }, function(){}); </script>

COMMUNICATION

MISC

DOCUMENTATION

MisC

Platform

HarmattaN MeeGo :

GnuLinuX : TiZen MozillA

Qt / QmL :

MozillA :

BlackBerry :

SoftWare :

MicroSoft :

HTML5

PhoneGap

PrograM / LearN

ToDo : EditoR

ToDo : TerminaL

SOFTWARE

DEMOS

WEB

Migrate to h5 :

UI

WS

MISC

MORE

@TaG: JavaScript html javascript tizen EdiT EditoR RedaK TiZen CapturE WebGl

<iframe width="560" height="315" src="http://www.youtube-nocookie.com/embed/RkXbWc3BI78" frameborder="0" allowfullscreen></iframe>

www.developer-tech.com_media_html5_600x4782.jpg

<video src="https://files.mastodon.social/media_attachments/files/025/957/465/original/779aec95ea1944cb.mp4" loop="true" autoplay="true" />