what am I doing wrong?

what am I doing wrong?

BY 25 Apr 2015 Web Application Development

Im working on my first wearable tizen app for a galaxy gear 2. I get no internet access when I try to load a page. I cannot start the emulator, it hangs (even if I leave it overnight) on booting the kernel. This works on the simulator as expected, its just a few lines of code. No matter how I try to open a page, I get a webpage not available screen or it just doesn’t load. I changed the code to go to a test site and am not getting any requests from my server access logs. Am I missing something? My config.xml has the access origin in it, tried with google, and also with “*”.  I have added every permission possible within my role. Below are my files.

config.xml:
<?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/REMOVED" version="1.0.0" viewmodes="maximized">
    <access origin="http://google.com" subdomains="true"></access>
    <access origin="*" subdomains="true"></access>
    <tizen:application id="REMOVED" package="REMOVED" required_version="2.2"/>
    <author href="http://I_dont_have_one.info" email="REMOVED">REMOVED</author>
    <content src="index.html"/>
    <tizen:content-security-policy>script-src 'self'</tizen:content-security-policy>
    <feature name="http://tizen.org/feature/screen.size.all"/>
    <icon src="icon.png"/>
    <name>HomeControl</name>
    <tizen:privilege name="http://developer.samsung.com/privilege/accessoryprotocol"/>
    <tizen:privilege name="http://tizen.org/privilege/content.read"/>
    <tizen:privilege name="http://tizen.org/privilege/content.write"/>
    <tizen:privilege name="http://tizen.org/privilege/download"/>
    <tizen:privilege name="http://tizen.org/privilege/internet"/>
    <tizen:privilege name="http://tizen.org/privilege/location"/>
    <tizen:setting background-support="disable" encryption="disable" hwkey-event="enable"/>
</widget>

main.js:


$(window).load(function(){
    document.addEventListener('tizenhwkey', function(e) {
        if(e.keyName == "back")
            tizen.application.getCurrentApplication().exit();
    });
});

index.html:

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <meta name="description" content="A single-page template generated by Tizen Wearable Web IDE"/>

    <title>Tizen Wearable Web IDE - Tizen Wearable - jQuery</title>

    <script type="text/javascript" src="js/jquery-1.9.1.js"></script>
    <script type="text/javascript" src="js/main.js"></script>
    <link rel="stylesheet" href="css/style.css" />
</head>
<body>
  <div class=contents>
    <div data-role="content">
		<p >Foo</p>
		<p id="label">Status: UNKNOWN</p>
		<button id="btnLOn">On</button>
		<button id="btnLOff">Off</button>
		<br><br><br>  
		<p ><a href="http://www.google.com" target="_blank">test</a></p>
	</div>
  </div>
</body>
</html>

Thanks in advance.

Written by