- Home /
How to use callback function of Android?
I have known use AndroidJavaObject and AndroidJavaClass to call Android API, but how to use callback function of Android, For example 'onActivityResult'? Thank you.
Comment
Best Answer
Answer by Lucifer · May 27, 2011 at 10:03 AM
I already find a way to implement this function: build a new android project and import the libmono.so and libunity.so, now you can call callback function in new project, and in unity project, use AndroidJavaObject and AndroidJavaClass to get the results.
Your answer
Follow this Question
Related Questions
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
Touch android iput shootting 3 Answers
function Touch 5 Answers
How Do I Make A Health Bar 6 Answers
How do I set my android app to landscape mode entirely? 1 Answer