"The book is great! It's clear and easy to read, with loads of examples that showed my students what to do." -- Larry Snyder, Emeritus Professor, University of Washington, Department of Computer Science and EngineeringHaving the TouchDevelop book available made our events so much easier. Students could figure things out for themselves with help from the book.-- Jennifer Marsman, Microsoft Principal Developer EvangelistMobiledevices such as smartphones and tablets are set to become the main computersthat virtually all people will own and carry with them at all times. And yet,mobile devices are not yet used for all computing tasks. A project at MicrosoftResearch was created to answer a simple question: It is possible to createinteresting apps directly on a smartphone or tablet, without using a separatePC or a keyboard? The result is TouchDevelop, a programming environment thatruns on all modern mobile devices such as Windows Phone, iPhone, iPad, Androidphones and tablets, and also on PCs and Macs. This book walks you through all of the screens of the TouchDevelop app, and itpoints out similarities and differences of the TouchDevelop language comparedto other programming languages. For users, the book can serve as a handyreference next to the phone. The book systematically addresses all programminglanguage constructs, starting from the very basic constructs such as variablesand loops. The book also explores many of the phone sensors and data sourceswhich makecreating apps for mobile devices so rewarding. If you are new to programming with TouchDevelop, or if you have not yet workedon touchscreen devices, we suggest that you read the book starting from Chapter1. If you are already familiar with the basic paradigm of the TouchDevelopprogramming environment, then feel free to jump ahead to the later chaptersthat address particular topic areas. This book is written from theperspective of a person developing their code using a web browser. The TouchDevelop Web App runs in many modern browsers on many different devicesincluding smartphones and tablets, Macs, PC. All screenshots and navigationinstructions refer to the TouchDevelop Web App running in a browser. ForWindows Phone, there is a dedicated TouchDevelop app in the Windows Phone Storewhich gives access to many more sensors and data sources. Starting with the TouchDevelop app v3.0 for Windows Phone 8, the phone app will share the samelook and navigation structure and all features of the Web App. What youll learn The little tricks to programming on your mobile devices and for a mobile device The scripting language and cloud-based ecosystem Using cameras, video and audio, and other sensors such as a microphone, accelerometer, compass, and gyroscope Access to the web, authorized access to web services How to write simple games using a built-in physics engine Who this book is for This programming language was written for people who wish tobe able to create apps from their phone. This scenario is particularlyappealing to enthusiastic end-users who own mobile devices and students, whoare the target audience of this book. Table of ContentsChapter 1 Introduction to TouchDevelopChapter 2 The Scripting LanguageChapter 3 The Wall using the screenChapter 4 The WebChapter 5 AudioChapter 6 Camera, Graphics and VideoChapter 7 SensorsChapter 8 InteractionsChapter 9 Game BoardChapter 10 UI with Boxes and PagesChapter 11 Authenticating Web ServicesAppendix A Editing TouchDevelop ScriptsAppendix B TouchDevelop ServicesAppendix C TouchDevelop DatatypesAppendix D Platform CapabilitiesAppendix E TouchDevelop Editor on a Windows Phone
Cited By
- Ball T, Burckhardt S, de Halleux J, Moskal M, Protzenko J and Tillmann N Beyond open source Proceedings of the Second ACM International Conference on Mobile Software Engineering and Systems, (83-93)
- Simon and Cornforth D Teaching mobile apps for windows devices using TouchDevelop Proceedings of the Sixteenth Australasian Computing Education Conference - Volume 148, (75-82)
Index Terms
- TouchDevelop: Programming on the Go
Recommendations
TouchDevelop: app development on mobile devices
FSE '12: Proceedings of the ACM SIGSOFT 20th International Symposium on the Foundations of Software EngineeringMobile devices are becoming the prevalent computing platform for most people. TouchDevelop is a new mobile development environment that enables anyone with a Windows Phone to create new apps directly on the smartphone, without a PC or a traditional ...
TouchDevelop: programming cloud-connected mobile devices via touchscreen
Onward! 2011: Proceedings of the 10th SIGPLAN symposium on New ideas, new paradigms, and reflections on programming and softwareThe world is experiencing a technology shift. In 2011, more touchscreen-based mobile devices like smartphones and tablets will be sold than desktops, laptops, and netbooks combined. In fact, in many cases incredibly powerful and easy-to-use smart phones ...
TouchDevelop: create rich mobile apps on touch devices (tutorial)
MOBILESoft 2014: Proceedings of the 1st International Conference on Mobile Software Engineering and SystemsWe are experiencing a technology shift: Powerful and easy-to-use mobile devices like smartphones and tablets are becoming more prevalent than traditional PCs and laptops. Mobile devices are going to be the first and, in less developed countries, ...