Thanks
If I use paths I have to save the file, maybe in a private app folder. 
Would it work? Would the file be sent as a copy or would the chosen app 
receive the path or the system format for exchanging (automatic)?
If I use urls, is there a generic url schema to share the file? (at least 
for a wide range of common apps?)
All this I need on iOS for now.
Il giorno venerdì 4 settembre 2020 alle 14:23:19 UTC+2 Steve Hannah ha 
scritto:

> 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/a47d2c0d-5a24-422e-8699-25381f162055n%40googlegroups.com.

Reply via email to