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

Add Core Data to an Application in Xcode

Who should read this Blog: User must know about Basic Concept of CoreData. Those who want to convert their non-Core data Application to a Core Data Application. Those who have some experience working with iOS Application. You must have a Sample Project to which you can convert it to CoreData Project.

So Let’s get started with Step by Step Process.

  1. First and Foremost is to Add CoreData.framework to the application directory.
  2. Now you need to add data model to your Application.

How can you do this?

Go To File-> New File->iOS->Core data->Data Model
Select Next and Give appropriate Name to your Data Model

Continue reading

Display red edit button on left side of rows in a table view using Alloy with Titanium

Introduction :
For iOS we can implement the row edit functionality in a table view.
Here I am describing the same with below video.

Summary :
Following above video we have learned to display edit button along with red delete button on rows using Alloy with Titanium.

THAT’S IT

Written ByRaju Mahato, Software Developer, Mindfire Solutions

Types of Variables in Rhomobile

Variable is a symbol or name that stands for a value. Variables play an important role in computer programming because they enable programmers to write flexible programs. Rather than entering data directly into a program, a programmer can use variables to represent the data. Later, when the program is executed, the variables are replaced with real data. This makes it possible for the same program to process different sets of data.

There are five types of variables supported in Rhomobile. These types of variables are explained below.

Continue reading