Re: [codenameone-discussions] How to determine if the app is being used for the first time?

2021-05-24 Thread Shai Almog
You can delete individual files in storage one by one. Just avoid the preferences file name. On Monday, May 24, 2021 at 11:00:27 PM UTC+3 hana@gmail.com wrote: > I noticed that Android 7 device (API 24) doesn't erase some of the > preferences when the app is being reinstalled, unless I

[codenameone-discussions] Re: Can I create a LinearLayout (for example) with native android code and display it on a CN1 interface ?

2021-05-24 Thread Shai Almog
Answered here: https://stackoverflow.com/questions/67673539/display-an-android-linearlayout-in-a-codename-one-application On Monday, May 24, 2021 at 5:24:27 PM UTC+3 ahmed.t...@gmail.com wrote: > I have a method that implements native android code to create this view. > if the method returns

Re: [codenameone-discussions] Re: New Xcode "mac" option

2021-05-24 Thread Shai Almog
That isn't something I'm waiting for right now so I don't know when I'll get that. We still need to do some changes for m1 support. On Monday, May 24, 2021 at 5:22:50 PM UTC+3 javier...@gmail.com wrote: > Shai, > > Once you get that M2 it would be great to see how the deployment process > has

Re: [codenameone-discussions] How to determine if the app is being used for the first time?

2021-05-24 Thread Hannah R
I noticed that Android 7 device (API 24) doesn't erase some of the preferences when the app is being reinstalled, unless I call clearAll() or manually choose "Clear Data" in the App Storage settings. This caused some bugs. Adding android.allowBackup=false to the hints resolved this particular

[codenameone-discussions] Can I create a LinearLayout (for example) with native android code and display it on a CN1 interface ?

2021-05-24 Thread ahmed.t...@gmail.com
I have a method that implements native android code to create this view. if the method returns an EditText or Button for example, all works fine. but if it returns a LinearLayout, nothing happens and I have no error message. signature of the method that calls on the native code: public

Re: [codenameone-discussions] Re: New Xcode "mac" option

2021-05-24 Thread Javier Anton
Shai, Once you get that M2 it would be great to see how the deployment process has changed in the new version of xcode :). I have ceased to see "Desktop" downloads since I deployed from the new xcode version. I believe it is now required to build a separate build (Destination -> Build any mac