Tag Archives: Java Note
How to get Device Orientation in Cocos2D, iPhone in Objective C?
Hello all…… We may need to know that what is your current device orientation. Using the below code you can do this. Note: If you have to explicitly set the orientation of your phone to any of the above you can set this in the appDelegate.m file. You can put an “||” (OR) symbol in between to set… Read More »
How to create shortcut for your application in the Desktop in Android?
Shortcuts are really useful feature in android. This example also explains how to create shortcut for your app in the desktop of your android phone. This is the complete code of an application which creates a shortcut of this app in the homescreen. Note : You need to add permission for this to work. Now the AndroidManifest looks… Read More »