Hi all,
My app is capturing photos . The photos are stored in the sdcard (internal storage).
Each set of photos called an event. The events parent folder is call events_fld.
I am looking to import a folder content of events_fld which should bring me list of folders.
I would like to get the newest folder created by checking each folder date.
I used : InputStream is = Runtime.getRuntime().exec(“adb pull /sdcard/storage/emulated/0/App_Name/events_fld”).getInputStream();
now i am loking a way to parse my input stream in to folder files to be able to get access to the folder list.
itried to use FileInputStream but the constructor need to get local file location and do not get inputStream
I also tried all Reader classes but they are used mostly with text.
Can anybody suggest me a solution ?
thanks to all!
Appium : 1.4.16.1
Eclipse : Mars.2 Release (4.5.2)
Device : Nexus 5
Android : 6.0.1