- Home
- Android
Android – ListView – 1 – Simple
Based on the requests I have received for writing articles on ListView, I have decided to write a series of article for the beginner developers and this is the First part about simple listview implementation in Android. This series will have articles from simple ListView to advanced listview. Purpose: ListView is used to display list […]
-
Paresh Mayani
- June 10, 2011
Android – ProgressBar Style
As I have mentioned in my earlier post Android – Types of EditText Android has tried a lot in ADT 11.0 to provide more flexibility to developer to design UI easily. I remember and i found many Android programmers were facing the problem and asking a question on StackOverflow regarding the ProgressBar style. Android – […]
-
Paresh Mayani
- June 9, 2011
Android – Types of EditText
After updating my ADT to ADT 11.0, i got just a little surprise that Android has tried a lot to make developer’s life easy to design UI. I have found one great things i.e. Android has provided different EditText to enter suitable information like EditText for Phone Number, EditText for Email, EditText for Time, EditText […]
-
Paresh Mayani
- June 9, 2011
Android – Vibrate the phone programmatically
Hi, I came across to making phone vibrate when user change the orientation from portrait to landscape or viceversa. So How do we make phone vibrate programatically in android? Code: // vibration for 800 milliseconds ((Vibrator)getSystemService(VIBRATOR_SERVICE)).vibrate(800); Required permission to add inside the AndroidManifest.xml file: <uses-permission android:name="android.permission.VIBRATE" />
-
Paresh Mayani
- June 8, 2011
Android – ListView => setEmptyView()
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 listview is displayed blank. At that time we should display messages like: No Records Found. No Data Found. No Items Found. How do we handle […]
-
Paresh Mayani
- June 8, 2011
Android – Enable and Disable Wifi programmatically
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 state, we have to add following permissions inside the AndroidManifest.xml file:
-
Paresh Mayani
- June 8, 2011
Android – Hide Title bar and Notification bar
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 we hide Title bar? //write before setContentView() this.requestWindowFeature(Window.FEATURE_NO_TITLE); Android – How do we hide Notification bar? //write before setContentView() this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); OR And yes, we […]
-
Paresh Mayani
- June 7, 2011
Search
Explore Topics
Short Stories
From Payroll to People: The Evolution of
- 7 min read
How to Host a Web App :
- 6 min read
Why Hiring a Flutter Developer is the
- 10 min read