Build a shared lib out of your c code that has a JNI interface. Load the lib from your java code and then invoke your functions via JNI.
GnuHash Amit wrote: > Hello friends, > > Can u plz tell that if i want to write some piece of code for android > in c or c++, how can i integrate the code with java code. > > Any help appreciated > > Thanks > Amit --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "android-framework" group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~----------~----~----~----~------~----~------~--~---