what David Given just wrote is true. moreover, you can perfectly have a Java GUI on top of a large JNI codebase. that's the case for the browser application or even the Quake demo you see in videos
On Fri, Apr 4, 2008 at 7:29 PM, David Given <[EMAIL PROTECTED]> wrote: > > Sean Kelley wrote: > [...] > > In other words, it does not seem very appealing to be required to > > re-architect an SDL/Gtk+/fill-in-the-blank application to use the > Android > > Java UI framework and then somehow re-partition the native code into > > libraries that may or may not be easy to combine with JNI. > > Of course, they wouldn't run anyway because Android phones don't > (AFAICT) have X. And even if you could you wouldn't want to do that > because they wouldn't integrate with the Android UI and the result would > be utterly horrible. > > *Any* application that has a UI will have to have a UI written, and > designed for, Android. And that's almost certainly going to mean Java, > because that's what it's written in. > > (It may be possible to wrap up all the JNI needed to call into the > Android UI in, say, a set of C++ classes so that you can write a C++ app > that used it; but it would be a repulsive amount of work and would > probably be extremely brittle... and even then you wouldn't be able to > subclass components, so you'd have to write Java code to receive > callbacks. And, frankly, I don't see the benefit; you'll have to rewrite > your UI to fit the Android framework anyway, so you might as well do it > in the preferred language and save everyone a lot of time.) > > -- > David Given > [EMAIL PROTECTED] > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Internals" group. To post to this group, send email to android-internals@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-internals?hl=en -~----------~----~----~----~------~----~------~--~---