El Friday 21 November 2014, Liang Jian escribió: > I am writing an android app using Qt5.3, I need to use a third party > sdk to perform some statistics about my app and that sdk require call > something in onResume()/onPause() of the main activity. But Qt has > implemented the activity in QtActivity.java, is it possible for me to > achieve this? Thanks!
Have you seen the support classes on the "androidextras" module? There you'll find androidActivity(), which returns the activity of your application, and you can call Java methods on it. -- Alex (a.k.a. suy) | GPG ID 0x0B8B0BC2 http://barnacity.net/ | http://disperso.net _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest