Greetings, I am looking into porting a c++ application to Android 2.3 and above. This application runs a dataset composed of a main file along with a resource directory; much like a game engine where the game was completely specified by the dataset.
I would like users to be able to click on the main file and view the dataset. It appears I need to get information from Intents to do this. It doesn't appear that a native activity has a way to get information from an intent; the onNewIntent callback isn't represented anywhere. Also, the native activity wrappers don't have a getIntent function on them to get in intent the activity was created with. So specifically, after some very preliminary research there are three ways I can get my code to run: 1. android_native_app_glue - does most of the work setting up an event system and dispatching events to another thread where the native application will do the work. I would love to use this framework. 2. Implement ANativeActivity_create - then I have to re-do a lot of android_native_app_glue *but* it appears I can call 'getIntent' at least through the jni wrapper. 3. Implement a jni backend to a normal java activity. I get everything here, and I think this is the route I need to go for high- quality android integration. Am I missing something? I would love to go 1, 2 is less desirable and 3 is whatever it is; I will do it if I have to. I am brand new to Android development so if I missed anything please point me to documentation where I can get up to speed. Chris -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

