Using Kaltura API in Android - cannot get XML result for media services

Hi,

While using Kaltura API in Adnroid App, I am facing an issue when trying to upload new media. I am using Media–>Add API call and it seems that the entry is created however I cannot get the result XML and a general exception is thrown.

The problem is with this line:

int statusCode = client.executeMethod(method); (KalturaClientBase.java)

The status code is not returning anything but the API call is still made. (I can see a new draft entry in my account)

I managed to upload a video with the demoApp and I am following the same API calls.

Can anyone assist?

Thanks

I can’t see any specific exception. (in my code I am catching general Exception)

When debugging my code, It enter to this method - client.executeMethod(method) and skips all the lines after (go to “finally”), and then close the connection.

It doesn’t catches any of the exceptions in KalturaClientBase.java

I think that there is something wrong with import org.apache.commons.httpclient.HttpClient; but I’m not sure.