* Post moved from android-platform group * First off let me give some background about myself and my inquiry: I am an iPhone developer, and I am an Android developer. I have recently embarked on a potentially interesting side project that others may see some use to. Just as a preamble, I am not looking to have any sort of feedback on the benefits of Java versus Objective-C either linguistically or efficiency etc. I am looking for viability of how this can be accomplished.
In this project I have started, I have successfully compiled, tested, and verified a variant of the Android NDK to build ObjC binaries for the Android platform. After coercing the compiler to do my bidding (along with hammering Xcode to recognize the new platform), my next trick will be making a code compatible port of some of the base frameworks from iPhone to the Android platform. I need suggestions on the path of implementation for a few fundamentals... Dynamic Libraries or Static? Should my port build the framework libraries as dynamic and if so, how and where would they ideally be stored on the device? If the frameworks should be static library inclusions into the built applications, will this have a horrific adverse effect of the device limitations per installed application size (my best guess is that it will be an issue)? Inherited UI or ported UI? If I am successful in the port of Foundation, the next logical step will be UIKit. I am a firm believer in consistency of the user experience for operating systems, so a tie-in to the native UI would be the best route in my opinion. This poses a quandary, how can a c/c + +/objc application bind into the Java based UI? Is there a lower level hook point for this? Can the JNI be bi-directional for connections to UI elements? The overall aim to this project is somewhat academic at the moment, however for the concept of speed of porting applications to multiple platforms this would definitely be quite attractive to developers currently developing for iPhone and wanting to migrate to the android platform. I would love to hear any constructive ideas in regards to these issues. -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
