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

Search In

How to make RatingBar in android ?

Here I have created RatingBar function in android. In android RatingBar can be used to get the rating from the user, it is also used for creating RatingBar. Below code example will described you how to make RatingBar function in Android. Step(1)- ac

How to make Graphics app in android.

Here I have created graphic app. In below example I have used android.graphics.Canvas. The android.graphics.Canvas provides method to draw oval,rectangle,text,picture etc.And The android.graphics.paint holds the information of color and style. Below

Refreshing a ListView or GridView using Vertical Swipe Gesture

We can refresh a ListView or GridView by vertical swipe using SwipeRefreshLayout class. The SwipeRefreshLayout should be used whenever the user can refresh the contents of a view via a vertical swipe gesture. We need to add an OnRefreshListener that

How to make custom toast in android.

In the below example I have created a custom toast Function in Android, the toast will open in center of the screen. Here I have used a image, image shown below contains a toast at the bottom of the screen. For more see the below code, in which I hav

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 Progress Dialog with spinning wheel in android

In the below example I have created Progress Dialog with spinning wheel code function. Here I have used ProgressDialog function and I have used onClick method in the MainActivity class. And In Activity_main.xml I have added a button. See the below co

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

How to open Calendar on clicking the EditText and set the date.

To open Calendar on Clicking the EditText follow the steps mentioned below:- 1) Create a Edit Text in your xml file. activity_main.xml <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.a

1 13 30
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: