Hi !
I want code my own file selector. Something easy. So...
1) i've a .bal form with : an listview (list files and folders), a button 'root' to return to the initial start path, 'previous' to return to the previous folder path, 'Ok' button. No problem with this.
2) In my only one activity code i've loaded a database form. It's time to press the button 'choose file'. (i want sent the initial start path and retrieve the user selected path and file). I don't know how to do this :
- send the initial path to the file_selector screen
- display the file_selectorscreen
- retreive the user path and file
- hide the file_selector screen
A new Activity ?
- i open it, send to it my initial path, display the file_selector bal.
- close it and retreive the user path ?
Many thanks for your help !
I want code my own file selector. Something easy. So...
1) i've a .bal form with : an listview (list files and folders), a button 'root' to return to the initial start path, 'previous' to return to the previous folder path, 'Ok' button. No problem with this.
2) In my only one activity code i've loaded a database form. It's time to press the button 'choose file'. (i want sent the initial start path and retrieve the user selected path and file). I don't know how to do this :
- send the initial path to the file_selector screen
- display the file_selectorscreen
- retreive the user path and file
- hide the file_selector screen
A new Activity ?
- i open it, send to it my initial path, display the file_selector bal.
- close it and retreive the user path ?
Many thanks for your help !