My html5 game is not working in BB10 simulator -


i have created 1 html5 game.

as per bb10 webworks guidelines have made config.xml file. game working fine in ripple emulator .but when tested in bb10 dev alpha simulator black screen appears.. issue?? have uploaded code here.

config.xml

<?xml version="1.0" encoding="utf-8"?>     <widget xmlns="http://www.w3.org/ns/widgets"     xmlns:rim="http://www.blackberry.com/ns/widgets"     version="1.0.0.5" id="mani" xml:lang="en">      <author href="http://www.example.com/"       rim:copyright="copyright 1998-2012 corp">my corp</author>       <name>mani</name> <icon src="logo.png"/>     <content src="index.html"/>     <feature id="blackberry.identity" required="true" version="1.0.0.0"/>     </widget> 

and added script tag in index.html file. rest thing untouched.

index.html

      <script src="local:///chrome/webworks.js" type="text/javascript"></script>     

if getting black screen, expect there runtime error has prevented game starting and/or

here instructions on how use remote-web inspector. recommend connecting, opening console panel , reloading app. should tell right away if there error: https://developer.blackberry.com/html5/documentation/web_inspector_overview_1553586_11.html

do have remote content being used in app? if so, suspect application not have permission access content don't see <access> elements in config.xml. make sure whitelist remote urls: https://developer.blackberry.com/html5/documentation/access_element_834677_11.html


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -