Upload
lucinda-dawson
View
214
Download
0
Embed Size (px)
Citation preview
programming with touchdevelop
touchdevelopintroduction
Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including URL and other Internet Web site references, may change without notice. You bear the risk of using it. This document does not provide you with any legal rights to any intellectual property in any Microsoft product. You may copy and use this document for your internal, reference purposes. © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and Windows Live are trademarks of the Microsoft group of companies. All other trademarks are property of their respective owners.
programming with touchdevelop
technology shifto smartphones outsell PCso smartphones might be first and
possibly only computing device for many people
o smartphones perform many common PC tasks
programming with touchdevelop
smart phone specsiPhone 4 minimum Windows Phone 7 specs
Processor ? 800 Mhz
Display 960x640 800x480
Memory 512 MB 256 MB
“Disk” 16-64 GB 8 GB
more than your PC: hardware-accelerated graphics, touchscreen WiFi, cellular (GSM 3G or CDMA), bluetooth high-resolution camera(s) GPS, accelerometer, gyroscope, compass, ambient
light sensor, proximity sensor, FM tuner, …
programming with touchdevelop
smartphone useso text messagingo taking photoso internet browsingo emailingo downloading appso gamingo social networkingo navigatingo watching videoo …
what you haven’t done on your phone yet:
writing code,creating entire apps!
programming with touchdevelop
walled gardenmany platforms only allow user to run apps from vetted “app store” or “Marketplace”
have you already tried to create a mobile app?
programming with touchdevelop
what if…o we could write an app on the phone
directly?• without a PC
o and share it with your friends?
programming with touchdevelop
challengeso small screeno no keyboard, but touchscreeno easily lost
programming with touchdevelop
touchdevelop mobile application
development environmento create applications
(aka “scripts”) on the phone itself
o no PC requiredo access to phone
sensors, camera, music, web, etc.
o share scripts with other people
programming with touchdevelop
demoo similar to built-in “take the tour”
tutorial, built song player
programming with touchdevelop
this is for youo for students
• engaging experience
• work with your personal data (pictures, songs, …)
• create games
• on the go
o lowers bar of entry to programming• create tailored apps for micro-business
programming with touchdevelop
language+editoro typed language
• enables precise auto-completion suggestions
• imperative
• object-oriented, but doesn’t allow definition of new objects
o semi-structured editor• structured at statement level
• unstructured at expression level
• structured at token level
programming with touchdevelop
available APIsall phone features are available via touchdevelop:o camera, touch, accelerometer, compass,
gyro, microphone, …o contacts, calendar, email, …o pictures, songs, …o web queries, search, maps, social networkso graphics with physics engineo tiles
✿http://touchdevelop.com/Documents/whatcanido.pdf
✿ http://touchdevelop.com/help/api ✿ http://touchdevelop.com/help/languagecloud
programming with touchdevelop
script sharingscript bazaar in cloud:central authority for script sharingo backupo anyone can publish a scripto script source code
is made availableo discover new scripts!o all published scripts are
analyzed (privacy)
programming with touchdevelop
website
programming with touchdevelop
book + slides
available free online
touchdevelop.com/book
touchdevelop.com/slideso introduction to
programming on a phone
o how to use app + language
o for teachers + students
programming with touchdevelop
real appso submit scripts as apps to Marketplace!o requires App Hub developer account
(free for students via Dreamspark)o app needs to pass regular certification process on
App Hubo
Learn more…
programming with touchdevelop
receptiono TouchDevelop is popular (released April 2011)
• > 150K downloadsin top 1% of all apps (out of 60.000) of Windows Phone Marketplace
• Rated 4.7/5 by users
o great for teaching• engaging programming experience
• using personal device and data (songs, pictures, etc.)
o embraces new reality• language and editor optimized for touchscreen
• first-class access to sensors and services
• sharing and learning with friends in the cloud