Tizen Developers

Menu
Sites
Language
Google Map API- Emulator – BlackScreen

Hello,

 I have a problem with integrating Google or OSM API in Web Tizen project  ( mobil 2.3).

1. I have Google API   or http://pastebin.com/BAQz1ebv

 

2. Config file with only location  and internet privilege

3. Index. html  or http://pastebin.com/QF8ApN6d

4. The Result on Simulator and Emulator

On Emulator and PQ-device we see only black screen

File Logs on Emulator 

What's wrong?

 I have see info about OSM Map in Help SDK. There are only information  for native app :

 P.S.

SORRY  but spam-filter not alow post js and another code, i don't know why

Edited on 08 02, 2015

Responses

23 Replies
Marco Buettner

Do you setup access to googleapis.com? You can also use * to allow very http connection

Kilim A

When i run simply in Chrome - i don't need ane access

 

 And when we use OSM Map - we see  the same ( see Emul and Simul screenshoots). In OSM - we don't need any access.

 The problem  is not there

 

Kilim A

How add "to allow very http connection"?

 Where? In config file or not?

AVSukhov

In config.xml add <access origin="*" subdomains="true" />

John Ixion

You should be able to post a link to pastebin.com without an issue.

Kilim A

Sorry but i don't understand.For what post link to pastebin.com?
 

Kilim A

Ok, Thank you. I edit it in main post

Marco Buettner

how looks your config.xml?

Kilim A
Marco Buettner
<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/GeoPoint" version="1.0.0" viewmodes="maximized">
    <access origin="*" subdomains="true"/>
    <tizen:application id="FbdXxOsAZq.GeoPoint" package="FbdXxOsAZq" required_version="2.3"/>
    <content src="index.html"/>
    <feature name="http://tizen.org/feature/screen.size.all"/>
    <icon src="icon.png"/>
    <name>GeoPoint</name>
    <tizen:privilege name="http://tizen.org/privilege/internet"/>
    <tizen:privilege name="http://tizen.org/privilege/location"/>
    <tizen:profile name="mobile"/>
</widget>

 

Kilim A

Yes. Thank you. I'm afraid post code - very ofen i see spam list from Mollom.

 Everything right in config file, Marco?
 

Kilim A

How about another type of policy?

 SDK 2.3 -Help-Tizen Mobile Web App Programming > Application Development Process > Creating the Application Project > Setting Widget Configuration-Policy

 I don't see  the difference between  allow-navigation and access.

Kilim A

The problem was in incorrect minification js

 Anyone know how turn wi fi on in Emulator ?


 

Pretty! This has been a really wonderful post. Many thanks for providing these details.
For the reason that the admin of this site is working, no uncertainty very quickly it will be renowned, due to its quality contents.
Very well presented. Every quote was awesome and thanks for sharing the content. Keep sharing and keep motivating others.
This blog has opened my eyes to new ideas and perspectives that I may not have considered before Thank you for broadening my horizons
Hemşire Forması | Nur Medical Wear hemşire forması, scrubs ayakkabı
vakum ambalaj
vakum ambalaj
I just like the helpful information you provide in your articles