| Summary: | SDLActivity.java is missing the getContext static method. | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Gabriel Jacobo <gabomdq> |
| Component: | *don't know* | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED INVALID | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | tim |
| Version: | HG 2.0 | ||
| Hardware: | ARM | ||
| OS: | Android (All) | ||
Adding Tim Angus to the bug report. Tim: was this related to your Android RWOPS patch? --ryan. Looks like it is there on line 117? Although I screwed up the tabulation. http://hg.libsdl.org/SDL/file/022880331cac/android-project/src/org/libsdl/app/SDLActivity.java Gabriel, perhaps you haven't copied the update to your project copy of "android-project"? Coincidentally I've recently fixed some (fairly severe) memory leaks with the Android FS stuff. It's probably more appropriate for me to reopen the original bug than stick it here though. You can mark as fixed, looks like I had an out of date file. |
The Android_JNI_FileOpen seems to rely on a getContext static method that should be present in the SDLActivity class (from SDLActivity.java), however this method is not there in the hg code. The function is simple enough: public static Context getContext() { return mSingleton; }