firefoxfirefox-osmobile-os

My App is not installed in my firefox os simulator


I wrote a simple hello world application for Firefox mobile. While adding a .webapp file, I got Validation Result: OK, But My App is not installed in simulator. My file contents are following.

Hello.webapp

{
  "name": "My App",
  "description": "My elevator goes here",
  "launch_path": "/Hello.html",
  "icons": {
    "128": "FF101.png"
  },
  "developer": {
    "name": "Your name or organization",
    "url": "http://your-homepage-here.org"
  },
  "default_locale": "en"
}

Hello.html

<html>
<head>
    <title>
        Hello Firefox101
    </title>
    <script>
        function sayHello()
        {
            alert("Hi Hello");
        }
    </script>
</head>
<body>
    This is my First App For FireFox OS.<br>
    <input type="button" class="button" value="Click Me For Alert" onClick="sayHello()"/>
</body>
</html>

Image file is in same folder.
Please guide me what I have missed.
Thanks in advance.


Solution

  • The name of your webapp file must be manifest.webapp.

    Link : https://marketplace.firefox.com/developers/docs/quick_start (Part : App Manifests)