This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Create Android activity file for Mali OpenCL Samples

Hello

I am having the Mali Opencl SDK v1.1.0

I want to run those samples in Android.

I am having OpenCL libraries so that s not an issue.

But i want to generate the activity files and native files for the corresponding cpp files.

Plse help me out.

Thks

Parents
  • Hi Aravind,

    What you need is to create an Android NDK application.  These allow you to call code written in C++ from a standard Android framework application  You can download the NDK here... Android NDK | Android Developers

    The download includes a number of sample NDK-based applications which should help get you started.  The simplest of these is the "hello-jni"sample which includes everything you need to setup a basic framework.  You could use this as your starting point for your own OpenCL-based application.  The above link also has some really useful guidance for getting started with the NDK.

    Hope that helps,

    Tim

Reply
  • Hi Aravind,

    What you need is to create an Android NDK application.  These allow you to call code written in C++ from a standard Android framework application  You can download the NDK here... Android NDK | Android Developers

    The download includes a number of sample NDK-based applications which should help get you started.  The simplest of these is the "hello-jni"sample which includes everything you need to setup a basic framework.  You could use this as your starting point for your own OpenCL-based application.  The above link also has some really useful guidance for getting started with the NDK.

    Hope that helps,

    Tim

Children