Skip to content

Commit 754ce48

Browse files
committed
some notes about minimum API level
1 parent 3b0e99d commit 754ce48

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/processing/mode/android/AndroidBuild.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ class AndroidBuild extends JavaBuild {
5454
// TODO: make package parameter in the config file, as well as the SDK version
5555
// to download (latest, specific number)
5656
// static final String basePackage = "changethispackage.beforesubmitting.tothemarket";
57+
// We should start with either 16 (4.1) or 17 (4.2) because combined usage of
58+
// all previous versions is less than 5%:
59+
// http://developer.android.com/about/dashboards/index.html
60+
// With 17, we have getRealSize and getRealMetrics:
61+
// http://developer.android.com/reference/android/view/Display.html#getRealSize(android.graphics.Point)
62+
// http://developer.android.com/reference/android/view/Display.html#getRealMetrics(android.util.DisplayMetrics)
5763
static final String basePackage = "processing.test";
5864
static public final int min_sdk_fragment = 14; // Ice Cream Sandwich
5965
static public final int min_sdk_wallpaper = 14;

0 commit comments

Comments
 (0)