Java mobile app class