I'm building a little chess-problem app for firefoxOS. 
(https://github.com/buzzdecafe/kinghunt). I want to make it a packaged app so 
you can always use it offline. 

I am running into two problems. 

First, installing:

My zipfile passes validation here:

    https://marketplace.firefox.com/developers/validator

But when I try to install on the phone (from here: 
buzzdecafe.github.io/kinghunt/) I get the error:

    KingHunt download failed

But in my homescreen, I have an icon labeled Kinghunt; I tap that and it 
prompts:

    Do you want to download KingHunt?

I tap "Download" and ...

    KingHunt download stopped.

I am new to this platform, and I am not seeing where I went wrong on this. Any 
guidance is much appreciated.


Second, the simulator is choking on something in this app:

I can load and run the app from a web server using Firefox the *web browser* on 
the desktop or on the ZTE Open or through the simulator. I can also install the 
app on the simulator. The simulator reports:

    KingHuntPackaged App
    Last updated: just now
    Open Location /home/mike/dev/kinghunt/manifest.webapp
    Validation Result: OK 

Then I can view the index page (#/load), and I can view the about page 
(#/about), but when I try to open the board page (#/board), it bombs. The error:

    The address wan't understood
    Firefox doesn't know how to open this address, because the protocol 
    (unsafe) isn't associated with any program.

This looks to my untrained eye like a security violation; but I have no idea 
what constraint I have violated or how to work around it. The URL I am trying 
to access is something like: 

    #/board/4

Note that #/ and #/about and #/load all load just fine.

Sorry for the long post, I'm a bit stuck. I appreciate any support. Thanks

-mike

_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to