Using these lines in your activity:-
this.finish();
Process.killProcess( Process.myPid() );
will kill your whole application (assuming its running in a single process) it will also free any associated memory.
WARNING: On some phones doing this may leave bluetooth sockets dangling if you are using them.