언어 설정

Menu
Sites
Language
jquery ajax jsonp implementation

my web application i am using jquery ajax json it will work on simulator fine...

 when ever  i try to run on emulator it not shown the value...

$.ajax({
            url: 'http://www.gasoftapi/v1',
            dataType: "json",
            data: {
                q: cnvt,
                compact: 'y',
            },

how to add  privillege in cofig.xml.... 

Responses

4 댓글
AVSukhov

Hello,

Do you add "access" policy property to you config.xml?

By default web app does not have access to external resources. For more info please see:

https://developer.tizen.org/dev-guide/2.3.0/org.tizen.mobile.web.appprogramming/html/app_dev_process/accessing_external_network_resources.htm

 

Also, if you develop web app for wearable you need add "internet" privilege.

ezhilarasan b
hello, kindly i refered the shared link... i add the screen will appear black colour.. how can i add access policy property in my web application...
AVSukhov

Hello,

Add following string to your config.xml:

<access origin="*" subdomains="true"/>

Also, please see in console If any errors. More info hot to use Log:

https://developer.tizen.org/forums/web-application-development/it-disabled-security-reasons-run-mode

ezhilarasan b
Hello, it will work fine... thanks