Uncategorized

Android how to prevent restart the activity on orientation change.

For manual orientation change: [php] <activity android:name=".ActivityName" android:configChanges="orientation"/> [/php] [php] public class ActivityName extends Activity { … onStart() { setRequestedOrientation(orientation); } onConfigurationChanged(Configuration newConfig){ // do stuff for orientation change. } onClick() { setRequestedOrientation(orientation); } } [/php] For auto-orientation detect: [php]… Continue Reading…

Uncategorized

How to replace string of whole project in android studio

[java] Ctrl+Shift+R on Windows and Linux/Ubuntu Cmd+Shift+R on Mac OS X [/java]

Uncategorized

Unity 3d – Script Collection

Player Follow the Camera Script [java] using UnityEngine; using System.Collections; public class CompleteCameraController : MonoBehaviour { public GameObject player; //Public variable to store a reference to the player game object private Vector3 offset; //Private variable to store the offset distance… Continue Reading…

Uncategorized

Unity 3d game development tutorial : part 1 – Introduction and Installation.

Whether you’re looking for a game industry career or simply curious about the way game developers think, Extra Credits makes video game design approachable by exploring concepts like gamification, perfect imbalance, the skinner box, the uncanny valley, and more, since… Continue Reading…

Uncategorized

Unable to list target platforms. Please make sure the android sdk path is correct.

Delete android sdk “tools” folder : [Your Android SDK root]/tools -> tools Download SDK Tools:¬†http://dl-ssl.google.com/android/repository/tools_r25.2.5-windows.zip Extract that to Android SDK root Build your project

July 2018
M T W T F S S
« Jun   Aug »
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Site Statistics

  • Users online: 0 
  • Visitors today : 14
  • Page views today : 14
  • Total visitors : 3,872
  • Total page view: 4,337