Difference between revisions of "Android/Gecko"

Jump to navigation Jump to search
Line 7: Line 7:
We focus on tablets because this seems to be there where Kiwix can help a lot, especially in India, but the software should also run on smartphones an we will do our best in that way.
We focus on tablets because this seems to be there where Kiwix can help a lot, especially in India, but the software should also run on smartphones an we will do our best in that way.


== Development ==
== Challenges ==


We do not want to start an other software which would generate a lot of additional code to develop and maintain. So, current Kiwix code base has to be reused and ported. Kiwix runs currently with the help of [https://developer.mozilla.org/fr/xulrunner Xulrunner], but it can also runs perfectly using Firefox. [https://developer.mozilla.org/en/getting_started_with_xulrunner#Alternative.3a_Use_Firefox3_-app_to_run_XUL_apps Firefox can since version 3 is able to launch third party software], like Kiwix. [https://wiki.mozilla.org/Fennec Fennec], Firefox for mobiles, was launched a few month ago for Android, so we hope that Kiwix could be ported to Android using Fennec or something similar (see [http://joliclic.free.fr/blog/index.php?category/mozilla this example]).
We do not want to start an other software which would generate a lot of additional code to develop and maintain. So, current Kiwix code base has to be reused and ported. Kiwix runs currently with the help of [https://developer.mozilla.org/fr/xulrunner Xulrunner], but it can also runs perfectly using Firefox. [https://developer.mozilla.org/en/getting_started_with_xulrunner#Alternative.3a_Use_Firefox3_-app_to_run_XUL_apps Firefox can since version 3 is able to launch third party software], like Kiwix. [https://wiki.mozilla.org/Fennec Fennec], Firefox for mobiles, was launched a few month ago for Android, so we hope that Kiwix could be ported to Android using Fennec or something similar (see [http://joliclic.free.fr/blog/index.php?category/mozilla this example]).
Line 15: Line 15:
Porting a Xulrunner application to Android is not documented and it seems we are one of the first projects trying to do that. Here are three different approaches:
Porting a Xulrunner application to Android is not documented and it seems we are one of the first projects trying to do that. Here are three different approaches:
* Compile Firefox mobile and hack the code (easier way)
* Compile Firefox mobile and hack the code (easier way)
* Compile Firefox mobile and run the code with -app code
* Compile Firefox mobile and run the code with -app code (middle way)
* Compile Xulrunner for Android (most complicated)
* Compile Xulrunner for Android (most complicated)


== See also ==
== See also ==
* https://wiki.mozilla.org/Mobile/Fennec/Android
* https://wiki.mozilla.org/Mobile/Fennec/Android

Navigation menu