let the build tools set android:debuggable

From SDK Tools : ( SDK Tools, Revision 8 (December 2010) )

Support for a true debug build. Developers no longer need to add the
android:debuggable attribute to the <application> tag in the manifest — the
build tools add the attribute automatically. In Eclipse/ADT, all incremental
builds are assumed to be debug builds, so the tools insert
android:debuggable="true". When exporting a signed release build, the tools do
not add the attribute. In Ant, a ant debug command automatically inserts the
android:debuggable="true" attribute, while ant release does not. If
android:debuggable="true" is manually set, then ant release will actually do a
debug build, rather than a release build.
android:targetSdkVersion="16"  (4.1.2)
add a skeleton SEND intent handler for .gpg and .asc files
make findProcessIdWithPIDOF() return first pid of multiple, rather than crash

'pidof' will return multiple pids if multiple processes are running, but
the code is all structured to handle a single pid. So at least only return
one pid, rather than just crash.
append GnuPG tools to Android Terminal Emulator's PATH
create app_gnupghome for apps to create their keyrings in

This folder is a writeable place for apps to create their GnuPG keyring
folders, i.e. GNUPGHOME.  Its not possible to make a shared keyring folder
because of the Android permissions model.  For a shared keyring, apps will
have to use the Intents or AIDL interfaces.
create aliases for all cmd line commands that auto-setup necessary env vars

GnuPG tools require a writeable HOME or GNUPGHOME to put the keyring in,
and the lib/ folder in LD_LIBRARY_PATH so the tools can find the needed
shared libraries.  These alias scripts just set up those env vars, so that
other apps can just call them directly and have a working command.
document using the GnuPG command line tools in a terminal emulator