
Search In
This tutorial will help you share image and text on whatsapp from other android application. We can do it by adding filter to intent, where we will provide package name of the application.
In my code I am sharing image stored on drawable folder, you
Below I have created fragment app in android. In Fragment class we can insert a fragment into our activity layout by declaring the fragment in the activity's layout file.
Fragment Features-
1. Fragment has its own layout and its own behavior with it
Using below code I have created a load string array value from string.xml. String is a simple resource using the value provided in the name attribute. So we can combine string resources with other simple resourecs in the xml file. Below code will cle
In the below example I have created a Selected Item from spinner in android. Here I have added first aTextView and Spinner in activity_main.xml layout, after then you can see in MainActivity I have used String class and created a ArrayAdapter. I have
We know that test driven development is basically for functional testing , in this blog we will test listview using instrumentation method runOnMainSync() that executes a call on application main ui thread.
here is the layout file :
<LinearLayo
Several companies are grabbing the android to make custom mobile apps development programs to improve their income. Android is an open-source program for mobile devices providing significant, agility and functionality.
Th
In this android tutorial blog, we are going to discuss customizing Alert Dialog with Dynamic Buttons. Before we start the tutorial and the coding, it is first immensely important to comprehend what is android dialog. Android dialog is identical
In this blog I am going to show how to make GridView or GridView function. In the below example I have created a adapter class , item class and Created another layout for GridView image. In values folder I have created color.xml file for color code.
In the below example I have created Customizing Switch button. Here I have added a Switch in activity_main.xml layout. In second step I have created backgraund.xml layout in drawable folder, here I have design switch backgraund shape. In third step I
In the below example I have created a Horizontal RecyclerView.
Here first I have added RecyclerView dependency to Grandle file.
In second step I have added a RecyclerView and Set RecyclerView gravity (center_horizontal). Now see In MainActivit