MCA #323 - android: appWindow show/hide/restore

First draft for review:
- appWindow.hide() seems to work as expected
- show() is not bringing the app back to the foreground. Instead, it's showing the next activity in the task stack
nit: this first part of the && is redundant. typeof undefined == 'undefined'