Yanuar, are you sure that you need to initialize the 3rd party library in the onCreate() method?
Because in my experience, it’s not required. I know that most 3rd party libraries’ sample code put their initialize code their, but that’s merely out of convenience. You can defer the initialize to just a bit later, such as via the CoronaRuntimeLister.onLoaded() callback which gets called just before your “main.lua” gets executed…
http://docs.coronalabs.com/native/android/html/com/ansca/corona/CoronaRuntimeListener.html
Have a look at the “SimpleLuaExtension” sample project included with Corona Enterprise. It shows you how to listen for Corona runtime events. It’s a much easier approach compared to deriving from the CoronaActivity class. Plus, you may run into some limitations with deriving from the CoronaActivity class. The biggest one that I can think of is that tapping push notifications on the status bar is hard coded to launch the CoronaActivity class and not your derived version. There might be other issues that I’m not aware of either, but that’s the biggest gotcha that I can think of.