On Sun, Jan 27, 2013 at 6:51 AM, Antonio Manuel Amaya Calvo <[email protected]> wrote:
> Hey there.
>
> It mostly depends on how you want to install it. If you're building gaia
> yourself, and installing it on your device via
>
> make install-gaia
>
> or something like that, then it's very easy:
>
>  1.  Add your application package directory (complete with the manifest) to
> the gaia test_apps directory
>  2.  Run make reset-gaia (the first time you add your app) or make
> install-gaia (the rest of the times)
>
> And that's it.
>
> If you want to install your app from the network, as if was being installed
> from an app store, then it's somewhat more complicated:
>
>  1.  You'll need to generate yourself a test CA, and generate a signing
> certificate with that CA.
>  2.  You'll need to generate your zip file and then sign it with your
> signing certificate. You can check
> https://mxr.mozilla.org/mozilla-central/source/security/manager/ssl/tests/unit/test_signed_apps/
> for an example on how to generate a CA, and signing certificate, and a
> script to sign zips.
>  3.  You'll have to install the certificate database that includes your CA
> into the device
>  4.  And you'll have to modify a preference  on the device also.

You never need to do any of the signing stuff when developing an app.

If you are creating a privileged app then you can use the debugger
interface to install that app on the device. I believe Fabrice has
scripts which make this easy.

If you aren't creating a privileged app, then you can still use the
debugger interface. But you can also simply place a mini manifest and
the app package on any webserver and create a HTML page which calls
installPackage() pointing to the mini manifest.

I think we have some docs for this stuff nowadays, but I'm not sure where.

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

Reply via email to