make a callback in Java; in that java_callback() invoke a JNI function; in the JNI function, invoke a cocos_callback(); and there you have it 😉
More Related Contents:
- The Completest Cocos2d-x Tutorial & Guide List [closed]
- Getting the dimensions of the soft keyboard
- Making TextView scrollable on Android
- Android BroadcastReceiver on startup – keep running when Activity is in Background
- How do I set my app as the default SMS app?
- How do you save/store objects in SharedPreferences on Android?
- android.content.ActivityNotFoundException:
- How do I view the SQLite database on an Android device? [duplicate]
- Animate a custom Dialog
- Is this the right way to clean-up Fragment back stack when leaving a deeply nested stack?
- Get Bitmap attached to ImageView
- How do I use SharedPreferences in Xamarin.Android?
- How to write character & in android strings.xml
- Snappy scrolling in RecyclerView
- Android actionbar how to add supporting library v7 appcompat for Eclipse
- Android.app Fragments vs. android.support.v4.app using ViewPager?
- Android NDK: dlopen failed
- Android: How to track down the origin of a InflateException?
- Detect when Android v2 maps has loaded
- android attaching multiple adapters to one adapter
- How to exclude certain messages by TAG name using Android adb logcat?
- Is it possible to declare git repository as dependency in android gradle?
- Clarify the Firebase connections
- How to import Android Studio project in Eclipse?
- Using WebView setHttpAuthUsernamePassword?
- Get background color of a Layout
- Is there a way to load image as bitmap to Glide
- Android browser bug? div overflow scrolling
- PhoneGap 1.4 wrapping Sencha Touch 2.X – What about performance?
- android : camera doesn’t open in marshmallow