Programming for Mobile Terminals