Skip to content

mingway426/blockly-android

 
 

Repository files navigation

The blockly-android project is no longer actively developed by the Google Blockly team. We will continue to review and accept pull requests. If you are looking to create a new Blockly-based app, we recommend using the web version in a WebView. We have also create an Android Studio demonstration project that does exactly this.

Blockly is a library for building drag-and-drop visual editors for JavaScript and other programming languages. Blockly for Android is a developer preview of Blockly's editor built with standard Android views and fragments, offering more responsive touch performance and easier integration in Android apps.

Blockly Turtle demo running on an Android tablet.

Get started building your own Android app using Blockly.

Google is proud to offer Blockly for Android for free and open source under the Apache License, version 2.0.

Blockly has an active developer forum. Please drop by and say hello. Show us your prototypes early; collectively we have a lot of experience and can offer hints which will save you time.

Help us focus our development efforts by telling us what you are doing with Blockly. The questionnaire only takes a few minutes and will help us better support the Blockly community.

Want to contribute? Great! First, read our guidelines for contributors.

How To Use

Add one of the following dependencies to your application's build.gradle.

dependencies {
    // Default (Lite)
    implementation 'com.google.blockly.android:blocklylib-vertical:<Blockly Version>'
    // Full Version (All code lanuage generators)
    implementation 'com.google.blockly.android:blocklylib-vertical:<Blockly Version>:full@aar'
    // Lite Version (Only JavaScript)
    implementation 'com.google.blockly.android:blocklylib-vertical:<Blockly Version>:lite@aar'
}

About

Blockly for Android

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 98.5%
  • JavaScript 1.3%
  • HTML 0.2%