Questions tagged [android-ndk-r7]

The Android Native Development Kit enables users to call C/C++ code from their applications running in the Dalvik Virtual Machine. Use this tag only for questions relating specifically to revision 7 of the Android Native Development Kit. Otherwise, use the [android-ndk] tag, and make sure to include that anyway.

The Android Native Development Kit enables users to call C/C++ code from their applications running in the Dalvik Virtual Machine.

Use this tag only for questions relating specifically to revision r7 of the Android Native Development Kit. Otherwise, use , and make sure to include that anyway.

Information about specific features in revision 7 is available at the NDK Revision History page.

40 questions
0
votes
1 answer

Header files in includes are not identified jni c files

I am very beginner to android native programming. I know this is very basic question, but still i could not solve this. Please support me. I have some set of header files residing remotely(not in local_path). But i have included it under includes…
Nikesh Devaki
  • 2,091
  • 2
  • 16
  • 24
0
votes
1 answer

Android FM Radio using OmapZoom source code Error

I downloaded the code from git://git.omapzoom.org/platform/hardware/ti/wpan.git to do the FMRadio in android. But while importing the app FmRxApp its showing compilation errors. Can any one help me how to import this app who already worked on this…
Tripaty Sahu
  • 955
  • 4
  • 13
  • 32
0
votes
1 answer

How to open android phone internal memory mmcblk0 in read mode using open()

I am doing my research in android phone forensics. i want to access android phone internal memory using open() and read() linux call. I implemented these calls in c using NDK. This is my native C code: jint fd; jlong ReadMemory(jbyte* buf, jint…
0
votes
1 answer

Full native android app doesn't generate .apk in eclipse

I'm creating a full native app based off this example from the android dev site. My project compiles successfully however, after compiling I receive the error "Could not find app_name.apk!" and "Null APK" when building the native application. Here…
0
votes
0 answers

android ndk doesn't have maps

I am cross compiling my some legacy source code to android , I am using c++ map in my source code . I am using map to store some object with ID map ; map<"ls/1/uri/2", test> ; Since I dont have map support in android ndk can…
user2245568
  • 87
  • 1
  • 7
0
votes
1 answer

Use linux command in Android NDK

I have build ffmpeg for android using NDK as mentioned here. What I want to do is create a video file using image list as mentioned in here. ffmpeg -i ffmpeg_temp/%05d.png -b 512 video2.mpg I want to know how can I run this command in my C class…
Chrishan
  • 4,076
  • 7
  • 48
  • 67
0
votes
1 answer

ImageMagic for android

Hi i tried to compile https://github.com/lilac/Android-ImageMagick library for android but it didn't work. Then i found out this library https://github.com/puelocesar/android-lib-magick which i don't need to compile. when i run this library it got…
anshul
  • 982
  • 1
  • 11
  • 33
0
votes
1 answer

how to make executable(.exe) using arm-linux-androideabi-gcc?

I have one shared library ,Which written in c build using arm-linux-androideabi-gcc compiler now i want to test my shared library so i written one sample c which call that shared library(.so) and i want to make .exe , so when i compile i got the…
Mr.Cool
  • 1,525
  • 10
  • 32
  • 51
0
votes
0 answers

how to include libprotobuf.a in cocos2d-x

I need to use google's protobuf in my cocos2d-x android project. I include headers and C++ files in project. But when I try to compile project via NDK, compiler return me errors: jni/../../Classes/PromowallLibrary/protocol.pb.cpp:55: error:…
0
votes
2 answers

how to use the JNI to change the fields of a java class

I am using a c native function to change the integer fields of a java class. Basically i want to see how the call by reference can be implemented using JNI. But i am getting the error "No Implementaion found for native". Can anybody help me to solve…
user1497818
  • 375
  • 1
  • 7
  • 16
1 2
3