Implement examples repository, switch to Ant build.
The examples repository is cloned in the app from Calsign/APDE-examples,
which is a modified version of the Android mode examples. The examples
are stored in a separate repository to enable asynchronous updates and
to decrease the size of the APK file. The INTERNET and
ACCESS_NETWORK_STATE permissions were added to enable downloading of the
repository. Next up is full-blown git support.
Adding the git libraries pushed the size of the DEX file over the method
limit. The bulk of the methods came from third party libraries, not APDE
source code. To remedy this problem, we had to enable ProGuard shrinking
(not optimization or obfuscation) for debug builds. However, Eclipse
ADT's build system doesn't support ProGuard except for release builds,
so we have switched to Ant. The necessary build files and ProGuard files
are included in this commit.
An assortment of minor bug fixes and improvements are also included in
this commit.