Working

Modifications to ActivityManagerNative along with the sample app are
now working as hoped.