I have a very dumb basic question.
From my main midlet I call upon a class FileSelector as follows :
Now, how can I go back from that class to my main application AND pass along data to it (a byte array) ?Code:fileSelector=new FileSelector(this); display.setCurrent(fileSelector);
As you can see the FileSelector is called with as parameter the main application class (FileSelection)
Inside the FileSelector class the main application class FileSelection is saved as FileSelection fileSelection;
I can't however use display.setCurrent(fileSelection), as I did to get into my class, to get back to my main application.
How can I do this AND pass along my byte array ?