I think he's probably referring to just calling CN.execute(filePathOrURL)

If you provide a file path, it will generally allow the user to select from
the apps they have installed that can open that file type.  Many apps have
registered custom URL schemes that will allow you to target those apps
directly.

Steve

Steve

On Thu, Sep 3, 2020 at 11:50 AM 'P5music' via CodenameOne Discussions <
[email protected]> wrote:

> Excuse me, what do you mean by sharing information passing data within the
> Uri?
> I need a general sharing option like the Android sharesheet.
> What kind of apps could be reached by the Uri? And notice that I have to
> share a file, not text.
> Il giorno giovedì 3 settembre 2020 alle 05:48:43 UTC+2 Shai Almog ha
> scritto:
>
>> Versions in the system don't mean much since our product is delivered
>> weekly. This feature is scheduled for the next version at this time which
>> means it won't be ready in the next few months as there's a suggested
>> workaround.
>>
>> You can use URLs to share information between apps by passing data within
>> the URI. This is a common practice and works today on iOS/Android.
>>
>> On Wednesday, September 2, 2020 at 11:20:01 AM UTC+3 P5music wrote:
>>
>>> I want to add the sharing option to my CodenameOne app.
>>> It's going to be possible because there is an filed issue:
>>> https://github.com/codenameone/CodenameOne/issues/3225
>>> I see that it is planned for Version 8 release, if I am not wrong.
>>>
>>> I would like to know
>>> -will it be possible to share a txt file with a customized extension,
>>> like myfile.ext, so that available apps can share it, email, cloud
>>> providers app, and so on?
>>> -is Version 8 coming soon?
>>> -is it possible to add an option to "share" with the filesystem, that
>>> is, when the user wants just to leave the file in one of user's folders (in
>>> iOS just some folder are under the user control I think).
>>>
>>> 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/0282a911-eb2e-4691-8e52-4102a01c7588n%40googlegroups.com
> <https://groups.google.com/d/msgid/codenameone-discussions/0282a911-eb2e-4691-8e52-4102a01c7588n%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/CAGOYrKWdAiMYkiZjxVUXweDg7s3Y2aLuXGNttO5AUpaoX79LvQ%40mail.gmail.com.

Reply via email to