hi
i would like to get the filesize and the filename from all photos in my phone.
i am using @narek adonts AllAssets wrap to get a list of all photos. then i put them to a tableview because if the user will have a lot of photos it would take to long to load them to a scrollview i guess and a tableview is loading only cells that are visible so it should run faster.
until now everything works but i would like to get the filesize and the filename returned from all photos. i could not figure out how to extend nareks class to do that can someone please help me??
i have created a very bad workarroundto get the filesize. what i do is saving each image in a loop and check his size. i know its a terrible workarround so can someone help me get the filesize and filename from the allassets class?
the class can be found here: https://www.b4x.com/android/forum/t...tive-alassets-framework-photos.65231/#content
thanx, ilan
i would like to get the filesize and the filename from all photos in my phone.
i am using @narek adonts AllAssets wrap to get a list of all photos. then i put them to a tableview because if the user will have a lot of photos it would take to long to load them to a scrollview i guess and a tableview is loading only cells that are visible so it should run faster.
until now everything works but i would like to get the filesize and the filename returned from all photos. i could not figure out how to extend nareks class to do that can someone please help me??
i have created a very bad workarroundto get the filesize. what i do is saving each image in a loop and check his size. i know its a terrible workarround so can someone help me get the filesize and filename from the allassets class?
the class can be found here: https://www.b4x.com/android/forum/t...tive-alassets-framework-photos.65231/#content
thanx, ilan