I get this:

 Exception: java.lang.ClassNotFoundException - 
com.codename1.ext.filechooser.FileChooserNativeImpl
java.lang.ClassNotFoundException: 
com.codename1.ext.filechooser.FileChooserNativeImpl
at 
java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at 
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
at java.base/java.lang.ClassLoader.findSystemClass(ClassLoader.java:1248)
at 
com.codename1.impl.javase.ClassPathLoader.findClass(ClassPathLoader.java:269)
at 
com.codename1.impl.javase.ClassPathLoader.loadClass(ClassPathLoader.java:109)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:315)
at com.codename1.system.NativeLookup.create(NativeLookup.java:82)
at com.codename1.ext.filechooser.FileChooser.nativePeer(FileChooser.java:66)
at 
com.codename1.ext.filechooser.FileChooser.isAvailable(FileChooser.java:95)
...
...
...

It says also that "Library source does not match the bytecode for class 
FileChooser"
Il giorno venerdì 28 agosto 2020 alle 06:58:22 UTC+2 Shai Almog ha scritto:

> There's this issue for sharing support: 
> https://github.com/codenameone/CodenameOne/issues/3225 which seems to be 
> close to what you're looking for.
>
> There's file chooser but it's mostly for reading not for writing: 
> https://github.com/shannah/cn1-filechooser/tree/master/CN1FileChooser
>
> On Thursday, August 27, 2020 at 1:26:01 PM UTC+3 P5music wrote:
>
>> My app is derived from an Android app. The Android app lets the user 
>> select folders where  exported data can be saved. This is accomplished by 
>> means of calling the Storage Access Framework that is now somehow mandatory 
>> I think, for OS versions not recent too, if I am not wrong.
>>
>> Now I am addressing the file save part (export).
>> The user has to select the folder. I am not expert of iOS way of handling 
>> app public directories and sharing files. But I need that functionality.
>>
>> And I need the user selection of a file to read it, of course (import).
>>
>> (Sharing exported data directly, as with bluetooth or sending to another 
>> app, and the incoming intent for import are a separate question, I will 
>> create another thread but it could be related to this one)
>>
>> How can achieve those two functionalities (import/export)?
>> (Take into account that I  am focused on iOS port at present time but I 
>> want that my Codename app can be also deployed on Android in the future 
>> with minimum changes and native code injection)
>>
>

-- 
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/b354ec5b-e403-4d40-810b-a93a855a056dn%40googlegroups.com.

Reply via email to