I’ve been trying to get this working for a few days now and I feel like I’m not experienced enough with JNI to understand what’s going wrong. When I set my AlarmManager, my reciever is never called.
Others have had problems integrating AlarmManager into cocos2d-x as well:
I have tried using this sample code as a guide for writing my own, but I think it’s a bit out of date and still uses NativeActivity.
Has anyone managed to get AlarmManager to work with a recent version of cocos?