Continuing my struggle with Java-C++ interoperability, calling a C++ function from Java is not straight forward as well. In my cocos2d-x game, I need to call a function called showOptions in a C++ class from AppActivity Java class when user taps on a button outside Cocos2dxGLSurfaceView.

I was just wondering out of the blue if I could delete and deactivate all my Google search history. Turns out it's easy. All you have to do is to go to your account's activity control page, and turn off the Your searches and browsing activity setting to stop Google...

While making my first cross platform game using Cocos2d-x CPP version, I realized that it's so much easier to use C++ with Objective-C than to use C++ with Java. In iOS, I can simply name a .cpp file to .mm and include it in the project and I can call...

Recently I submitted a game to the App Store. Apple allows developers to submit up to 5 screenshots for each of the activated languages and for each of the devices. There are 4 iPhone sizes and 1 iPad. That means if I activate three languages, e.g., English, Japanese, and Chinese...

UICollectionView has a method to change layout easily: setCollectionViewLayout:animated:completion:. And according to documentation, if you implement the delegate's collectionView:transitionLayoutForOldLayout:newLayout: you can customize the behaviour or the cells and decoration views during transition.