Hi,
Is it possible to not to patch Cocos2dxActivity.java when using SDKBox?
Like add the additional code to the class “AppActivity.java” which subclass Cocos2dxActivity.java.
I think if it is possible, it’s better for decoupling.
Thanks,
Jo
Hi,
Is it possible to not to patch Cocos2dxActivity.java when using SDKBox?
Like add the additional code to the class “AppActivity.java” which subclass Cocos2dxActivity.java.
I think if it is possible, it’s better for decoupling.
Thanks,
Jo
Thank you for your suggestion, we will consider this change.
Hi @yinjimmy
I created a middle layer of class between Cocos2dxActivity.java and AppActivity.java.
Here is the code (almost copy and paste from your document).
Thanks,
Jo
Good idea.