AppArg - file URI on iOS

10 views
Skip to first unread message

P5music

unread,
Oct 12, 2020, 7:41:16 AM10/12/20
to CodenameOne Discussions
My app has to be called when a certain file is selected by the user.
I need this functionality on iOS.

In the start() method the URI is obtained:

    String arg=Display.getInstance().getProperty("AppArg",null);

and then used

...
...
    is=Storage.getInstance().createInputStream(arg);
...
...

Is it "arg" the file URI parameter, so it can be used as the input stream name?

I mean, on iOS. Does it work in your iOS apps?

Thanks in advance

Shai Almog

unread,
Oct 12, 2020, 10:26:57 PM10/12/20
to CodenameOne Discussions
You mean related to mime type association?
Yes that should work.
Reply all
Reply to author
Forward
0 new messages