When i use ajax code to retrieve a json data, in tizen wearable emulator 2.3.1, I'm getting not able to connect to proxy error.
But when I searched, everyone is telling no need to give any specific proxy settings for emulator. If internet works fine in Tizen ide, then it will work in Tizen emulator too. But I'm getting proxy error.
Can someone help me solve this proxy error?
Update:
Where should I change the proxy?
Code sample:
$.getJSON( "http://api.geonames.org/citiesJSON? north=44.1&south=-9.9&east=-22.4&west=55.2&lang=de&username=demo", function( data ) {
$('#divText').html(data.result);
})
.fail(function( err ) {
//Never called
console.log( err );
});
}