logo

We can show ProgressBar while downloading image/video/getting response from server etc. Steps are given below: In main.xml write following code. [sourcecode language="xml"] <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="@android:color/black"> <LinearLayout android:id="@+id/layout_loading" android:layout_width="wrap_content" ...

This week, Google officially announced Android 4.0, Ice Cream Sandwich, at an event in Hong Kong, in which it revealed the new Samsung Galaxy Nexus, the first phone to run Ice Cream Sandwich. And good news for developer is that Ice Cream Sandwich source will soon...

Many times we want to filter the ListView based on what user types and in Android, simple straightforward way to filter the list in Android is as follows: 1) Create Layout XML 2) Create Activity Class It has got...

Lets think, on Android phone if we want to trap end call event. How we can achieve this on Android phone? We can achieve this by using PhoneStateListener and BroadcastReceiver. 1) Create our own BroadCastReceiver and filter it to receive android.intent.action.PHONE_STATE using IntentFilter in AndroidManifest. 2) In BroadCastReceiver's...

Sixth time in a row, iPhone tops the US Smartphone customer satisfaction survey carried out by J.D.Power and Associates. iPhone scored 838 points with great satisfaction in all areas particularly in physical features and ease of operation followed by HTC (801). According to report, the key factors...