Design Introduction “Air” Styles Mobile Design Principles Styles UX Overview Design Patterns UI Components for Tizen App Design 2.3 TV Design Principles Styles UX Overview Patterns UI Components Wearable Development Tizen Studio Overview Download Tizen Extensions for Visual Studio Family IoT extension SDK Docs Blog Blog Announcing the Tizen Studio 3.7 Release Announcing the Tizen Studio 3.1 Release Community Forums General Support Tizen .NET Web Application Development Native Application Development SDK & IDE Design Introduction “Air” Styles Mobile Design Principles Styles UX Overview Design Patterns UI Components for Tizen App Design 2.3 TV Design Principles Styles UX Overview Patterns UI Components Wearable Development Tizen Studio Overview Download Tizen Extensions for Visual Studio Family IoT extension SDK Docs Blog Blog Announcing the Tizen Studio 3.7 Release Announcing the Tizen Studio 3.1 Release Community Forums General Support Tizen .NET Web Application Development Native Application Development SDK & IDE
Load API in tizen web app
Hi All;
I developed a web application with the Tizen 2.1. I use jQuery.getJSON(); to get the Flickr API. For example
<!DOCTYPE html>
<html>
<head>
<style>img{ height: 100px; float: left; }</style>
<script src=”http://code.jquery.com/jquery-1.5.js”></script>
<script src=”/usr/share/tizen-web-ui-fw/latest/js/jquery.js”></script>
<script src=”/usr/share/tizen-web-ui-fw/latest/js/tizen-web-ui-fw-libs.js”></script>
</head>
<body>
<div id=”images”> </div>
<script>
$.getJSON(“http://api.flickr.com/services/feeds/photos_public.gne?jsoncallback=?”,
{
tags: “flower”,
tagmode: “any”,
format: “json”
},
function(data) {
$.each(data.items, function(i,item){
$(“<img/>”).attr(“src”, item.media.m).appendTo(“#images”);
if ( i == 5 ) return false;
});
});</script>
</body>
</html>
It is run OK on chrome, but can not run on the Tizen.
I have added <access origin=”http://api.flickr.com” subdomains=”true”/> in config.xml file.
please help me.
thanks,
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio