Android code for heartway