Thanks for the response.
I need two questions to be addressed:
1-Said that the start() method is called, this means that it is like the 
app starts again and what is going on (or was going on when it went to 
background) is lost? (except for that some methods are called before it 
happens to let the app save its state)
2-How the incoming url has to managed? I mean, permissions, access to 
filesystem and so on.
Thanks in advance
Regards

Il giorno martedì 22 settembre 2020 alle 14:00:59 UTC+2 Steve Hannah ha 
scritto:

> Yes.  If the app is already started and it receives a call to open it with 
> an argument, the app's start() method will be run again, and this time the 
> AppArg will contain the new value.
>
> On Tue, Sep 22, 2020 at 2:39 AM 'P5music' via CodenameOne Discussions <
> [email protected]> wrote:
>
>> 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
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "CodenameOne Discussions" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/codenameone-discussions/bc969123-5366-4785-9eca-44ed804d8e19n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/codenameone-discussions/bc969123-5366-4785-9eca-44ed804d8e19n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> -- 
> Steve Hannah
> Software Developer
> Codename One
> http://www.codenameone.com
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/271ab3f4-d060-4585-b275-d8481d1c56aen%40googlegroups.com.

Reply via email to