Blockly 1.0 on Android and iOS
Blockly 1.0 on Android and iOS
Written by Lucy Black   
Tuesday, 13 June 2017

Google has released Version 1.0 of Blockly on Android and iOS, which will allow developers to use Blockly natively in mobile apps.

Google Blockly was introduced in 2012 and is open source under the Apache 2.0 License. It looks and feels like a version of Scratch in that users program by dragging and dropping code blocks onto a design surface, that is then compiled to JavaScript. It is also written in JavaScript and as such is designed to run in a web page.

A native Android version of Blockly made its first appearance at Google I/O 2016 and the iOS version, which is also open source, was made available in developer preview in November 2016. Now both these versions have reached Version 1.0 with everything needed to use Blockly natively in a mobile app, including:

  • Blockly's standard UI
  • Custom blocks, toolbox categories, and layouts
  • Functions, variables, mutators, and extensions
  • Code generation in JavaScript, Python, Dart, PHP, and Lua
  • Internationalization support (including for RTL languages) 


The post on the Google Developers blog from Erik Pasternak also announces several updates to the web project over the past six months, including major improvements to performance and testing,  more structured APIs, improved touch support for the mobile web and  improved Internet Explorer and Edge support with Blockly fully supported on IE10+.

The team has also taken steps to ease cross platform development. All blocks can now be defined by JSON, allowing a single set of block definitions to be used for web, iOS, and Android.

Although Blockly started out to be used to introduce coding to kids, and has been extensively used in the Hour of Code, there is no reason for restricting it to this role, as this video from Cory Diers introducing Blockly to app developers shows:






More Information

Introducing Blockly 1.0 for Android and iOS

Blockly documentation

Related Articles

Google Languages Update - Blockly

Block Based Languages Are Best

Minecraft Code Builder In Beta

Stanford CS Moves To JavaScript

Choosing The Best Beginner's Programming Language

Getting started with MIT App Inventor 2

A Programmer's Guide to Scratch 2

Blockly Games Introduce Kids To Code

The Working Programmer's Guide To Language Paradigms

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on, Twitter, FacebookGoogle+ or Linkedin.



MyRocks For Percona Server

There's an experimental release of MyRocks in Percona Server for MySQL 5.7, with packages. MyRocks is open source software that was developed at Facebook to provide a way to use MySQL features with Fa [ ... ]

GitHub Adds Security Alerts

Using its new dependency graph feature, GitHub is now able to warn you of potential security vulnerabilities in code that a project relies on and to suggest known fixes.

More News



blog comments powered by Disqus



Last Updated ( Tuesday, 13 June 2017 )

RSS feed of news items only
I Programmer News
Copyright © 2017 All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.