
Search In
Hello Friends
Here I am going to share a very important code to make ListView scroll inside a ScrollView.
Most of the Android developers says: “Its not a good approach to put a ListView inside a ScrollView because a ListView is already a scrollvie
In this blog we illustrate how to get the pagination data from SQL server stored procedure.
To create a such type of a stored procedure, we need to send a minimum three parameters(startRowIndex, pageSize, totalCount).
1. startRow
Using below Layout code you can create a Radial Gradient, Here I have created a Gradient.xml layout by using shape and gradient property. By using GradientDrawer we can make smooth transition between two or three colors in liner, radial or sweep pat
This blog is about how to show Popup for enable Location setting.
1. Add below dependency to app gradle file.
compile 'com.google.android.gms:play-services:9.6.1'
2. Implement GoogleApiClient.ConnectionCallbacks, GoogleApiClient.OnConnectionFaile
Sometime we need to download large file from server or some progress which takes time. For user experience we show progress bar so that user can check estimate time and progress completion.
This blog is about how to set up Progress bar in Notificat
If you are looking to make Custom Font in android check the below code example. For this first download the required fonts on your system and then place it in fonts folder. After putting fonts in the assets/fonts folder then I have used java code thr
In magento you can add custom shipping in your website by writing some custom code , lets first go through how shipping work in magento ,
When magento looks for available shipping methods, Magento first collects all available shipping methods. Each
In the below example code I have created android Service program. In activity_main.xml layout, first I have created a LinearLayout then in LinearLayout added two Button. Now See in coding part Here I have created a new MyService class and then MyServ
How to add imageview to the layout and change the source of the image with the click of the button.
This is a very simple android code in which we set the mage view in the layout and then use the the imageview to set the new source.This change
The Google Location Services API, part of Google Play services, is the preferred way to add location-awareness to an android app.
Follow the below steps to get current position of an android device.
1. To use the location manager make the Google pl
