I read in the documentation that it is possible to let the user open the CodenameOne app by means of selecting an associated file type.
The instruction (let aside all settings necessary) is something like
String arg=Display.getInstance().getProperty("AppArg",null);
From the documentation I see that this is at startup, that is, the app gets launched with that if the user wants the file. Value is null when the app is started by tapping on its icon, if I am not wrong.
But what if the app is already running, in both case it's in foreground or in background?
Thanks in advance