added ability to ping and use a common ui for android