
Search In
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
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
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
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
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:
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
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
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
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
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
