Le 06/08/2013 05:31, Kilcheon Kim a écrit : > Thank you for comment. > I have additional questions. > 1. As your mention, we never be able to modify gecko and gonk layer such as > my sample codes. Is that right? > 2. Do FirefoxOS have any plans to support native library for making > applications?
Not that I know of. > 3. To reuse my native library, the best way is to use emscripten? Is there > any other way? Not that I know of either. > > Please let me know more detail information for above my questions. > It is very important thing to decide my direction. If we never be able to > modify gecko and gonk as your comment, we should find another way to create > application. > > Lastly, > As you know, now I'm learning the xpcom. So, I implemented sample codes to > test xpcom. but I still can't call function of gecko C++ from gecko js or > gaia js. Is it impossible in B2G? Is there any sample codes for implementing > xpcom on B2G? Please let me know how to create and use xpcom. > the only way to call C code from Gaia JS code is to expose an API. I'm not the ideal person to explain you how to do this, and I sincerely think it's the wrong path, because you won't be able to distribute this as part of your application. Of course XPCom is supported because nearly everything in Gecko is made using this technology. Hope this helps.
signature.asc
Description: OpenPGP digital signature
_______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
