언어 설정

Menu
Sites
Language
internet connection

hello,

i'm using Tizen sdk 1.0.0 for develop a app for gear s.

now,this app has to screen the google homepage (www.google.com) but when i running the emulator it screen me that no internet connection is avaiable and return "webpage temporarily not avaiable".

the code is simply: window.open("www.google.com","_self"); in the app.js

i have to configuring some setting in the IDE or in the emulator? or i have to implement code?

this emulator can emulate samsung gear s?

thanks

 

Responses

5 댓글
Marco Buettner

Did you setup the access on the config.xml? And setup the privileg?

 

minelli

i think yes

i set the following privileg: tizen.org/privilege/internet

and in policy i set: allow navigation: www.google.com/ ; acces (network URL): www.google.com/  , allow subdomain: true

Bogon Kim

You shoud write down http prefix for privilege name like "http://tizen.org/privilege/internet"

 

AVSukhov

Hello,

Try to add <access origin="*" subdomains="true" />

or use origin="http://www.google.com"

Palitsyna

Hello,

you need to add <access origin="*" subdomains="true" />  and <tizen:privilege name="http://tizen.org/privilege/internet"/> to your config.xml file.

You can find more information about it here:

http://www.w3.org/TR/widgets-access/

https://download.tizen.org/misc/media/conference2012/wednesday/seacliff/2012-05-09-0945-1025-understanding_the_permission_and_access_control_model_for_tizen_application_sandboxing.pdf