Equivalent of AppController.mm in android

Equivalent of AppController.mm in android
0.0 0



When we create a new Cocos2d-x Project in xcode, we will have the AppController.mm where we can add some functionality (like in application:didFinishLaunchingWithOptions)

Where can we do the similar thing on android?

(AppViewController and RootViewController Equivalent classes on android)

Thanks :slight_smile:


I think it’s in your project’s src/com/yourcompany/yourapp/youarpp.java folder. You can use onCreate,onDestroy,onPause, andonResume()*


Thank you :slight_smile: This is what i was looking for :slight_smile:


Of course, you’d have to code in Java if you want to tinker with that class.