Hi,
I'm trying to get the list of images in the gallery on my 5800, using Media Management Service API:
But the application never gets to the onReceive callback! Instead, it exits immediately.Code:ImageName_txt.text = "Loading..."; // get the list of images var media = new Service("Service.MediaManagement", "IDataSource"); var filter = {FileType:"Image", Key:"FileExtension", StartRange:".jpg"}; var inParam = {Type:"FileInfo", Filter:filter}; media.GetList(inParam,onReceive); // load images function onReceive(transactionID:Number, eventID:Number, outParam:Object) { ImageName_txt.text = "in onReceive()"; if (outParam.ErrorCode == 0) { ...
Any clue? Did anyone had a success with this Service?
Thanks,
Ranco




