Android – ListView – 3 – Custom ListView

|

Problem: Android – ListView with Two TextViews and ImageView Welcome to the part 3 of the ListView series. So far this series: Part 1 – Simple Part 2 – ListView with Two TextView In 2nd part, we discussed about defining custom adapter and defining a custom item xml layout file....

Android – ListView – 2 – Custom ListView

|

Problem: “ListView with 2 TextViews for one ListItems” . As said in Part one: ListView, I have decided to write a series of articles on ListView. If you haven’t checked 1st Article of ListView article series then you should check it, if you really don’t know about ListView, Ignore it...

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...

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...

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...

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" />...

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...