0

Is there anyway to call android media player JAVA API's to call from Native C/C++ ? If does not, how can we achieve this. Im new to Android.Please help.

Best Regards, Kumar

kumar
  • 77
  • 7

1 Answers1

1

These links might be useful to you, calling from jni audio, calling java from c, calling java memeber.

Tutorial on developing media application using NDK ,

Tutorial on media apps NDK

Community
  • 1
  • 1
Kaliuday
  • 110
  • 8
  • Please share if you have any sample code. I followed the procedure still its confusing. – kumar Jul 01 '14 at 12:21
  • @kumar have checked the tutorial ? calling media application is similar to what is done for audio – Kaliuday Jul 01 '14 at 12:36
  • I did the similar programming for playing audio. But im getting the error while loading class reference. please peruse the url http://stackoverflow.com/questions/24490020/failed-to-get-class-reference-from-native-code-invoking-java-code – kumar Jul 01 '14 at 14:11