Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Implements Runnable” Vs “extends Thread” in java

Implements Runnable Vs extends Thread in java There are two ways by which we can create custom java thread class 1. By using Runnable interface (implements Runnable) 2. Extending Thread class (extends Thread) I read a statement for Thread and I

How to make Call State in android

Hello friend's If you want to create a Call State function in Android see the below code example. Here I have used TelephonyManger method to get the information of call state And I have used PhoneStateListener. In AndroidManifest.xml I have added P

How to make ON/OFF switch button in android.

In the below code first I have added a Switch button in main layout. Here I have created two-state toggle switch that can select between two options. The user may drag the thumb back and forth to choose the selected option. In MainActivity I have use

How to make spalsh screen in android

In the below code I have created splash screen. Here first I have added images in drawable folder, and then added in activity_splash_screen, In SplashScreenActivity I have also used Timer function. See the below code it will clerly describe you how

How to set text in Toolbar in android

In the below exmaple I have created Toolbar. Here I have used In activity_main xml.layout a toolbar and TextView, and In MainActivity I have used toast function. You can see the below example it will clearly describe you how to create Toolbar with t

PreparedStatement Interface

PreparedStatement interface: It is used to execute a SQL parameterized query and it compiles only one time and we can use it many times. It extends the Statement interface. It is more secure then Statement interface and safely provide valu

How to open Camera using intent on button click.

Here we will learn how to open camera in android, to open Camera in the android app we have to add <uses-permission android:name="android.permission.CAMERA"/> permission in our manifest file. In this example I'm moving to

Virtual Private Network

VPN is used by the companies who have very sensitive data flow in their organization.   Data is crucial in terms of every aspect for some governing bodies like military.   So in that case these bodies purchase their own private network

  • 263
Polar Encoding

Polar Encoding   The polar encoding uses the variant voltage levels to represent the binary data. Polar encodings is available in four types:   Polar Non-Return to Zero (Polar NRZ)   It mainly uses two different voltage for the p

  • 1.39k
Unity 3D: Idle check direction

Basically I have created a 2d rpg click to move game on unity. My problem is that my player isn't facing the right direction once it has reached it's position, for example please take a look at this video: Unity problem 2 - YouTube[^]. T

1 100 352
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: