Tutorial: Getting Started with RenderScript

Download Code SampleDownload Documentation

RenderScript Basic Tutorial for Android* OS provides guidelines on using the RenderScript in application development for Android OS version 4.2.2 and higher.
The focus of the tutorial is on the RenderScript, its kernel language, and Java* API. Since the tutorial uses only Java, even though Native (C/C++) analogs for RenderScript API exist, and since RenderScript kernels are actually Just-In-Time as well, the resulting application binary can be executed on any device running the supported version of the Android OS.
The tutorial application is a minimalistic GUI Activity that displays the computation results and statistics. It implements a simple full-screen image processing algorithm, with which you can interact through screen touches.

Target Platform: Emulators and devices running the Android* OS 4.2.2 and higher
Development Platform: Any
Complexity Level: Novice

For more information about the sample refer to the sample documentation inside the package.

* OpenCL and the OpenCL logo are trademarks of Apple Inc. used by permission by Khronos.

For more complete information about compiler optimizations, see our Optimization Notice.