We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 1618

Summary: Changeset 6555 raises minimum Android SDK version to 11
Product: SDL Reporter: Joseba García Echebarria <joseba.gar>
Component: mainAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: philipp.wiesemann
Version: HG 2.0   
Hardware: ARM   
OS: Android (All)   

Description Joseba García Echebarria 2012-10-09 07:38:10 UTC
Changeset 6555 (http://hg.libsdl.org/SDL/rev/f2c03c06d987) uses  IME_FLAG_NO_FULLSCREEN which, according to the Android documentation (http://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#IME_FLAG_NO_FULLSCREEN) was introduced in Android SDK 11 but the rest of the build files refer to android-5 as required version.
Comment 1 Philipp Wiesemann 2012-10-09 11:10:49 UTC
This could be fixed by replacing the line

                | EditorInfo.IME_FLAG_NO_FULLSCREEN;

with

                | 33554432 /* API 11: EditorInfo.IME_FLAG_NO_FULLSCREEN */;

which should work for API level 5 and higher because the Java compiler would inline static final ints anyway.

The file README.Platforms lists Android 1.6. This may be changed to 2.0 which is API level 5. And it lists Windows CE.
Comment 2 Sam Lantinga 2012-11-02 18:43:29 UTC
Fixed, thanks!
http://hg.libsdl.org/SDL/rev/47ab7ba21530