I am currently working on publishing a Cocos2d-x app on google play and since the file size is larger than 50MB, I have to use the APK expansion file.
I refer to this page and the sample given at http://developer.android.com/google/play/expansion-files.html
Currently, everything works fine.
My problem is that when it finishes downloading the expansion file and verified the file, clicking the OK button will close the app.
I just wondering, how can I resume my main app after clicking OK?
Reopening the app again will run the game perfectly since the expansion file has been downloaded.
But, I would like it to resume the main app right away after downloading the expansion. I hope somebody can help me.