Home

Microsoft on{X} For Android: A Visual Tour

Microsoft--yes, Microsoft--has a new Android programming platform called on{x} and it's great. Developed by the Microsoft R&D team in Israel, on{x} lets anyone turn an Android phone into an uber event-driven notification gadget.
Comments | Todd Ogasawara | June 06, 2012 02:48 PM

E-mail | Share

on{x} is an Android app and companion website from Microsoft that lets you add notification capabilities to your Android phone. You simply download the on{x} app to your phone, then select from among various canned Java scripts (called "recipes") at the on{x} website. These scripts remotely program your phone to take actions when certain events occur. For example, you could have your phone automatically send a "Coming home" text to your significant other when you leave work, or tell you to take an umbrella when rain is in the forecast. You can write your own scripts or customize the canned ones to make your phone do other cool things, such as remember where you parked your car.

on{X} does not have all the features of Microsoft's other mobile development platform, TouchDevelop for Windows Phone, which has access to the camera API and even remote speech recognition and OCR servers. However, on{X} provides a much better development environment--the Web--and uses as its underlying language JavaScript, which is familiar to many Web developers.

The two sample images above demonstrate the revolutionary nature of on{x} programming, especially in a language as accessible as JavaScript. On the left are three on{x} events. The first event demonstrates a time-based event, but it also shows that it is easy to access other apps. The second event demonstrates a location-based event, as the program needs to know where you are--although it seems to us that you would want to be reminded to buy milk when you are out, not when you get home. The last event one shows a lot more: It identifies the person from contacts listed as boyfriend, it reads an SMS text, and it uses GPS to get the current location and send a reply text.

The image on the right is from the development environment and shows how on{x} programs can tell whether you are walking, running or driving, and fire off events based on that status.



Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

BYTE encourages readers to engage in spirited, healthy debate, including taking us to task. However, BYTE moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing/SPAM. BYTE further reserves the right to disable the profile of any commenter participating in said activities.

Tune In to BYTE
Facebook Twitter LinkedIn Newsletter RSS
Whitepapers
whitepaper
In this paper you will learn the five trends shaping the future of enterprise mobility. Learn how the rise of social media as a business application, the lurring between work and home, the emergence of new mobile devices, the demand for tech savvy employees and changing expectations of corporate IT will fundamentally change the workplace.
whitepaper
In a survey of more than 1,700 information workers (iWorkers) in North America, notebooks, desktops, and smartphones were found to be “must-have” devices, while tablets, slates, and netbooks were relegated to “nice-to-have” status, according to a commissioned study conducted by Forrester Consulting on behalf of Dell and Intel.
Sponsored by: Dell
Upcoming Events