OSDN Git Service

Enable code to run pre-SDK-level 8.
authorJack Palevich <jack.palevich@gmail.com>
Mon, 10 Oct 2011 00:14:21 +0000 (17:14 -0700)
committerJack Palevich <jack.palevich@gmail.com>
Mon, 10 Oct 2011 00:14:21 +0000 (17:14 -0700)
commit22ad15a2e72778cfa3fdf94a3b0c3ec0b5da16f9
tree72acae9c37a220c2013eb77f95b5dfdca97fcec0
parent86b70e1a9ae87db2b483e1461d48407e96aebf35
Enable code to run pre-SDK-level 8.

Introduce a utility class to deal with post-SDK-level-3 APIs.

Cache the SDK level as an integer at start-up.

Use reflection to access post-SDK-level-3 APIs.

Add early out for space character, which shows up frequently.
src/jackpal/androidterm/util/PostAndroid3Utils.java [new file with mode: 0644]
src/jackpal/androidterm/util/UnicodeTranscript.java