File upload problem In Android ,(Error: 77 The specified file extension '' is not supported)

Sep 12, 2013 at 12:05 PM
Edited Sep 22, 2013 at 1:09 PM
Hi,

__Any one know how to upload (.text,.pdf,.jpg) file to health vault in ANDROID

My request code is:

String infoBuilder = <info><thing><type-id>bd0403c5-4ae2-4b0e-a8db-1888678e4528</type-id><thing-state>Active</thing-state><flags>0</flags><data-xml><blob-payload><blob><blob-info><name/><content-type>text/plain</content-type></blob-info><content-length>4</content-length><base64data>VGVzdA==
</base64data></blob></blob-payload></data-xml></thing></info
        Request request = new Request();
    request.setMethodName("PutThings");
    //request.setMethodVersion("2");
    request.setInfo(infoBuilder.toString());

    template.makeRequest(request);

I am getting

com.microsoft.hsg.HVUncategorizedException: Error: 77 The specified file extension '' is not supported.

what is the reason of :Error 77?