Thanks ....now it is working......But I am passing a String in my native method like public native void createImage(String str); But while printing the same in C program it displaying some junk Characters.do u know waht i have to do for this.
Thanks.Yes.... that also working as i am passing jstring.....Now the problem is that i have parse an .xml file send to C program......so that i can create an image in C...Or is it possible to oarse the XML once the file path is given..