init phoneapp