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

Search In

How to Integrate an Open Street Map in Android Application

In this blog we will learn to use open street map (OSM), adding marker and get device location. OpenStreetMap (OSM) is absolutely editable Wikipedia like world map which is also free. Through openstreetmap you can easily download maps for the offlin

How to make Touch Listener Image in Android.

Here I have created and example of Touch Listener Image. In this example a image can pull left, right, up and down easily. It can be used to shift your mobile app icon left and right. For this in below code I have used MotionEvent() method. Below exa

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 custom Spinner in android

In the below example I have created Custom View spinner. Here first I have created a row.xml layout , In row.xml I have added a TextView and Button. Then I have created drop.xml layout in this I have added two TextView with in LinearLayout, Then in n

How to create custom keyboard in android

In this tutorial we will learn how to create custom keyboard in android. We can customise keyboard by adding extra buttons, change keyboard theme, set image as keyboard background etc. Here in this example we are going to add two extra buttons, one

How to make AlertDialog in android ?

Here I have created AlertDialog function in android. We can use alertdialog for choice to continue or discontinue. AlertDialog can be used to display the dialog message with OK and Cancel buttons. Android AlertDialog is the subclass of Dialog class.

How to pass data from one fragment to another in Android?

To pass data from one fragment to another in android we simply make use of Bundle . In this example I am sending three String  from MainActivityFragment(Fragment)  to SecondFragment(Fragment) with the help of Bundle.  Below is the co

How to make ListView fragment in android

In the below example code I have created a ListView fragment app. In first step, first I have created list_fragment.xml layout here I have added a ListView and TextView. In Step second, I have added a fragment in actvity_main.xml layout and then in s

How to make simulate animation in android

In the below example I have created simulate animation in android. Here I have added first TextView and ImageView in activity_main.xml layout ,In MainActivity I have used Runnable Thread. On this animation image will be rotate like watch. You can see

How to rename a file in android

Below is the code to rename a file, in this code newdirectory is the path where the file is existing . The Boolean done will give true value if the file get renamed. String PIC_FILE_NAME="hello.png"; String UPDATED_PIC_FILE="world.png"; File direct

1 14 408
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: