How to Use Render Scripts in Android

If you are an android developer, you must have faced the problem of slowing down or even crash of your app while implementing complex image processing operations? I faced the same and found RenderScripts as appropriate solution to it.

The RenderScript are used in android for complex computations such as image processing. The Scripts are based on the C99 standard of C language. RenderScripts was introduced in API 11 i.e. Honeycomb.

For accessing RenderScript in android there are two API’s

1. Android.renderscript :- from API 11(HoneyComb) to higher API’s.
2. Android.support.v8.renderscript :- from API 8(Froyo) to higher.

Continue reading

Advertisements