08-22-2011 02:18 AM
Hello Friends !!
I am using addBitmapData method of cameraRoll class.
now i want to get the path of the file which is being added by this method.
as it return void so i am not able to know the path or file name.
is there any way by which i can know the file name.
08-24-2011 01:11 PM
Unfortunately you can't retrieve the folder path as there is no return value as you have mentioned, nor does the Event.COMPLETE contain any information.
As a workaround to retrieve the file path, you will need to use the File Object to reference the latest file that was added to the shared/camera folder.
08-25-2011 12:40 AM
Hello Masroor Sir
Thanks for your reply
i was thinking in same way as you told.
i searched a lot but dint get how to implement listener for shared camera folder to listen that a file is beind add.
if you can provide me sample code, it will be great help for me
Thanks in advance.