首页 » Andorid » 临时分类 » 正文

blockly-android

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.](http://google.github.io/blockly-android/screenshot.png "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:'
    // Full Version (All code lanuage generators)
    implementation 'com.google.blockly.android:blocklylib-vertical::full@aar'
    // Lite Version (Only JavaScript)
    implementation 'com.google.blockly.android:blocklylib-vertical::lite@aar'
}
下载 (0)

发表评论