need help to use api flickr.people.getUploadStatus
<p>Can anybody help how to use this api flickr.people.getUploadStatus. </p>

<p>Here is my code . </p>

<pre><code>private void getUploadStatus(){
    String flickr_api_secret = "XXXXXXXXXXXXXXXX"; 
    String flickr_api_key = "YYYYYYYYYYYYYYYYYYYYYY";
    String flickr_getUploadStatus_method = "flickr.people.getUploadStatus";
    HttpResponse response = null;
    String s_for_get_apisig = flickr_api_secret + "api_key"+ flickr_api_key + "method" +          flickr_getUploadStatus_method +"permsread";

    String s_api_sig = getMD5CodeAsApiSig(s_for_get_apisig);
    String url_frob = flickr_api_call_point + "?" + "method=" +  flickr_getUploadStatus_method + "&amp;api_key="+ flickr_api_key + "&amp;api_sig=" + s_api_sig;

    Log.i(TAG, " url frob == " + url_frob);
    HttpPost post_for_frob = new HttpPost(url_frob);
    HttpParams params1 = new BasicHttpParams();
    post_for_frob.setParams(params1);
    HttpConnectionParams.setConnectionTimeout(params1,Get_TOKEN_TIME_OUT);
    try {
            // Thread.sleep(20*1000);
            response = mClient.execute(post_for_frob); 
            Log.i(TAG, " response === " + response);
     } catch (Exception e) {
            Log.v(TAG, "exception in getFlickrAuthUrl" + e.toString());
            e.printStackTrace();
     }
     HttpEntity entity = response.getEntity();
     String raw = FlickrUploadUtil.getStringInEntity(entity);
     Log.i(TAG," ------------ RAW ==== "+raw);
}

public static String getMD5CodeAsApiSig(String src){
try{
     MessageDigest md = MessageDigest.getInstance("md5");
     byte[] bs = md.digest(src.getBytes());
     StringBuilder sb = new StringBuilder(32);
     for (int i = 0; i &lt; bs.length; i++) {
           byte left = bs[ i ], right = bs[ i ];
            sb.append(Integer.toHexString((left &amp; 0xf0) &gt;&gt; 4));
            sb.append(Integer.toHexString(right &amp; 0x0f));
     }
     return sb.toString();
}catch(Exception e){
    Log.v(TAG,"Exception at getMD5CodeAsApiSig"+e.toString() );
}
return null;
}
</code></pre>

<p>I am Always getting <strong>invalid signature error</strong> . Unable to find whats wrong in this code. 
But i m successfully able to upload the photos.
Please help me. </p>
