How to use smart phone to code