Today I came across this setEmptyView() method of ListView. Many times it happens that we make a call on web service and we receive nothing in response at that time…
Hi, Here i am going to write about "How do we Enable and Disable Wifi programmatically in android application?" To Enable WiFi: To Disable WiFi: Note: To access with WiFi…
Hi, Here i am going to discuss about on making activity full-screen by hiding Title bar and notification bar from the activity. So question here is: Android - How do…
Here I am going to show how to fetch some device values: 1. Brand name of Android device (SDK Says: The Brand the software is customized, if any) => Build.BRAND 2.…
Hi, How do we fetch phone number to use inside our application? By using below code we can retrieve the phone number: TelephonyManager mTelephonyMgr; mTelephonyMgr = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE); String mblNumber…
Ques:How do i fetch device's SDK version and API level number? Ans: Build.VERSION.SDK_INT => To know API Level number i.e. 7,8,9 Build.VERSION.RELEASE => To know version code i.e. 2.1, 2.2,…
Today I am going to discuss about to send SMS from your android application. Basically there are 2 ways by which we can send sms: Open native SMS composer write…