how to get the total number of contact in our contactlist android
<p>friends ....how to get  total length of our contact in contact list save in mobile .means how to fetch total no of contacts saved in our mobile ...android....</p>

<pre><code>public class justexmple extends Activity {
    public static final int DIALOG_DOWNLOAD_PROGRESS = 0;
    private Button startBtn;
    private ProgressDialog mProgressDialog;

        @Override
        public void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);
            setContentView(R.layout.main);

        }
}
</code></pre>
