0

I have developed C/C++ binaries and I have android app. I have ported binaries on linux base server and now I would like to use this binaries in my android app. Can i call this binaries from my app? Is it possible, please excuse me as I don't have any idea about this.

Scorpion
  • 6,831
  • 16
  • 75
  • 123

1 Answers1

1

Here you will find a nice tutorial to implement C code into your Android Project:

JNI tutorial

  • 1
    While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. – S.L. Barth is on codidact.com Aug 28 '13 at 09:53
  • Ok, but I think he need to understand about JNI complexity from the bottom to implement his own C code. – user2143600 Aug 28 '13 at 10:15
  • Thanks for the link but i have query for this, please don't take me wrong if my question looks stupid as I am newbie for this. I have my C code already uploaded on the server ok. Now why i need to create JNI for my android project. Do i need to include the binaries in my android app? This is like web service but I have C code instead of web service, my binaries will return me the data in text only. – Scorpion Aug 29 '13 at 02:55