Shane has landed some patches in bug 880118 [1] that make it possible to build Gecko as an Android library. This is how we are moving ahead with creating a GeckoView widget for other Android applications to use.
In doing so, Shane hit upon a problem with using Android resources (R.java) from libraries. The IDs are no longer "final" because two or more libraries might define the same ID. The most noticeable affect on development is that we can no longer use R.id.constant in switch statements. We need to use if/else blocks instead. More details can be found here [2]. [1] https://bugzilla.mozilla.org/show_bug.cgi?id=880118 [2] http://tools.android.com/tips/non-constant-fields
_______________________________________________ mobile-firefox-dev mailing list [email protected] https://mail.mozilla.org/listinfo/mobile-firefox-dev

