Require to Upload Data to Server and Display progress in Notification Bar: android
<p>i have tried alot But Unsucessful on Exploring that how to Display Progress In notification at uploading..i am able to Upload data to server Using Asynch Task but now i req to upload the data to server, and display in notication bar , as like when we upload image or video in Face Book..i exactly require this feature but unable to do ..please help , my code for Uploading data through asynch are below..Please suggest , now what should i do..</p>

<p>I write  below code in doInBackGround() method:</p>

<pre><code>            HttpClient httpClient = new DefaultHttpClient();
            HttpPost postRequest = new HttpPost(
                    "http://********.php?f=setAvatar");
            ByteArrayBody bab = new ByteArrayBody(data, "receipt.jpg");
            // File file= new File("/mnt/sdcard/forest.png");
            // FileBody bin = new FileBody(file);
            File file = new File(ProfileEdit.selectedImagePath);
            MultipartEntity reqEntity = new MultipartEntity(
                    HttpMultipartMode.BROWSER_COMPATIBLE);
            ContentBody cbFile = new FileBody(file, "image/jpeg");
            reqEntity.addPart("im", cbFile);
            reqEntity.addPart("u", new StringBody(USERID));
            reqEntity.addPart("k", new StringBody(KEY));
            reqEntity.addPart("p", new StringBody(pannelId));

            //reqEntity.addPart("id", new StringBody(password));
            //reqEntity.addPart("addExpenseResult", new StringBody(expenceresult));
            postRequest.setEntity(reqEntity);
            HttpResponse response = httpClient.execute(postRequest);
            BufferedReader reader = new BufferedReader(new InputStreamReader(
                    response.getEntity().getContent(), "UTF-8"));
            String sResponse;
            StringBuilder s = new StringBuilder();
</code></pre>

<p>please help any help would be highly apreciated here..thanks in adv.</p>
