| Summary: | Implement Android on top of native glue | ||
|---|---|---|---|
| Product: | SDL | Reporter: | LCID Fire <lcid-fire> |
| Component: | *don't know* | Assignee: | LCID Fire <lcid-fire> |
| Status: | ASSIGNED --- | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | denis, etc0de, icculus, m.massing, matthew.huck, sdl, yzy0 |
| Version: | HG 2.0 | ||
| Hardware: | ARM | ||
| OS: | Android (All) | ||
|
Description
LCID Fire
2012-01-20 10:43:44 UTC
The last time I looked there wasn't a significant advantage in using native code, since it was still new and less flexible than the Java code, but that may have changed in the last year. Go for it! The first code landed. http://code.google.com/p/android-sdl-native/ The question to me is how to support some advanced features like - OpenSL ES - Sensors *** Bug 1466 has been marked as a duplicate of this bug. *** I've got a working libSDL2 with native activities, no sensors yet, but that wouldn't be hard to add since it's demonstrated in the native activity code from google. I've implemented it as a separate platform alongside the JNI android platform (it's called android_native). It's built using cmake, and android ndk-r8 at the moment (just because we use cmake for all our other projects, and extern dependancies so cross compiling is easy). How would you like to see what I've done? @Matthew_Huck I would very much like to see your implementation. Thanks ! Marking a large number of bugs with the "triage-2.0.4" keyword at once. Sorry if you got a lot of email from this. This is to help me sort through some bugs in regards to a 2.0.4 release. We may or may not fix this bug for 2.0.4, though! Whoops, that shouldn't be part of triage-2.0.4. --ryan. (In reply to Matthew Huck from comment #4) > I've got a working libSDL2 with native activities, no sensors yet, but that > wouldn't be hard to add since it's demonstrated in the native activity code > from google. I've implemented it as a separate platform alongside the JNI > android platform (it's called android_native). It's built using cmake, and > android ndk-r8 at the moment (just because we use cmake for all our other > projects, and extern dependancies so cross compiling is easy). > > How would you like to see what I've done? Hi, @Matthew_Huck can you send me ur implementation about this(a working libSDL2 with native activities), my email is yzy0@yeah.net, thx!! |