Hello Prasanna,

On Tues., Apr. 03, 2013, Prasanna Grande wrote:
>I have some HttpRequest code in javascript to connect server and
>get data, which was working properly 2.0a SDK, in Magnolia SDK the
>same code is not working, kindly anybody can let me know how to
>resolve it
>
Try messing around with the config.xml in your project that should
resemble the one below. Don't just copy it, instead research all the
possible features and there may be one that enables XHR null origin.

Tizen APIs are a little unstable, so it may be that there's no API
bug to fix, rather that you need to adjust your apps instead. That's
a 'maybe' of course.

<?xmlversion="1.0"encoding="UTF-8"?>
<widgetxmlns="http://www.w3.org/ns/widgets"; 
xmlns:tizen="http://tizen.org/ns/widgets"; id="http://your.hostname.tld/project"; 
version="1.0.0" viewmodes="maximized">
  <tizen:applicationid="123456789A"required_version="1.0"/>
  <contentsrc="index.html"/>
  <iconsrc="icon.png"/>
  <name>Projectname</name>
  <tizen:privilegename="http://tizen.org/privilege/tizen"/>
  <featurename="http://tizen.org/privilege/systeminfo"required="true"/>
</widget>

Also how about the SDK samples, do any carry out XmlHttpRequest like
you want? If yes, maybe a test with one of them shows the project
settings that you need? Good luck.

If you find the solution to your problem please share it.

Regards,
Michael
_______________________________________________
General mailing list
[email protected]
https://lists.tizen.org/listinfo/general

Reply via email to