1

Does anybody have a decent example on how to introduce callback functionality in an Android app that uses native code? Ideally, I would like to use swig to generate the interface. Website links?

Houston
  • 426
  • 4
  • 17
  • I can only tell about callback and by using interfaces... – Farhan Oct 23 '12 at 10:29
  • 1
    I think you looking for this: http://stackoverflow.com/questions/3398363/how-to-define-callbacks-in-android – Farhan Oct 23 '12 at 10:38
  • ok, think we misunderstood each other...I meant callback from native code. I want to call java code from native code...thanks anyway. – Houston Oct 23 '12 at 10:44
  • ok ok ok.. now i understand... i am not a native programmer but check this link: http://stackoverflow.com/questions/5198105/calling-a-java-method-from-c-in-android – Farhan Oct 23 '12 at 11:00

0 Answers0