[codenameone-discussions] Re: How to desactivate Side Menu & toolBar?

2020-09-13 Thread Shai Almog
2020 at 6:02:53 AM UTC+2, Shai Almog wrote: >> >> Hi, >> status bar is the bar at the top containing the time/date etc. It has >> nothing to do with the sidebar/menu. >> >> If you don't want those to appear don't add any command to the menu and >> they won

[codenameone-discussions] Re: Master/detail with editing: two forms or one form?

2020-09-12 Thread Shai Almog
ngularly, or you mean that I open another > form on top of the main form? > I started creating an editing container that can be added to the main form > or to the editing form, so I remove all and then add again. Is this the > right way to do that? > > Il giorno sabato 12 sette

Re: [codenameone-discussions] Re: Sharing option for text file with extension (or other type of files) - issue #3225

2020-09-11 Thread Shai Almog
kup user data from my app (json >> array of elements). >> >> Il giorno venerdì 11 settembre 2020 alle 06:04:32 UTC+2 Shai Almog ha >> scritto: >> >>> I'm not sure I follow this completely. But the general rule is that >>> there are sometimes differ

[codenameone-discussions] Re: Master/detail with editing: two forms or one form?

2020-09-11 Thread Shai Almog
In some cases you need two forms and in some cases two containers. The trick for doing this is to work with two containers and when necessary wrap them in a Form to enable the two page master detail. On Friday, September 11, 2020 at 3:41:56 PM UTC+3 P5music wrote: > My Codename app has

Re: [codenameone-discussions] Re: Sharing option for text file with extension (or other type of files) - issue #3225

2020-09-10 Thread Shai Almog
on iOS, I fear, and then > they cannot be on CodenameOne too. > Maybe a simpler version of the app is to publish on iOS. > Probably I am going to avoid also the other native features. > Il giorno sabato 5 settembre 2020 alle 06:06:54 UTC+2 Shai Almog ha > scritto: > >> You need to provid

[codenameone-discussions] Re: How to desactivate Side Menu & toolBar?

2020-09-10 Thread Shai Almog
Hi, status bar is the bar at the top containing the time/date etc. It has nothing to do with the sidebar/menu. If you don't want those to appear don't add any command to the menu and they won't show. When you press on the menu what does it show? Find that command and remove it from your code.

[codenameone-discussions] Re: You have a build in progress within the queue?

2020-09-09 Thread Shai Almog
Hi, it seems you have a very old project or used a recent Eclipse plugin which had a regression. Make sure to update your plugin then in Codename One Settings go to Basic -> Update Project Libs. On Thursday, September 10, 2020 at 2:18:11 AM UTC+3 miss...@gmail.com wrote: > Hi Shai and Chen, >

Re: [codenameone-discussions] Re: Android Chrome BrowserComponent crazyness

2020-09-05 Thread Shai Almog
dation. Chrome has started to run slow again > > Other browsers tested run ok: mozilla, opera, brave > > Seems like an OS thing then. I will email Samsung again > > On Sat, 5 Sep 2020, 05:09 Shai Almog, wrote: > >> Do other native apps that use browsers on the device su

Re: [codenameone-discussions] new dashboard

2020-09-04 Thread Shai Almog
I just saw your message about the app email login. I think there should be an option to login with username/password if there isn't we'll add it in an update. On Saturday, September 5, 2020 at 7:11:28 AM UTC+3 Shai Almog wrote: > Why aren't you using the native app on Android? > > On

Re: [codenameone-discussions] new dashboard

2020-09-04 Thread Shai Almog
Why aren't you using the native app on Android? On Saturday, September 5, 2020 at 3:11:12 AM UTC+3 daved...@gmail.com wrote: > Chrome or Firefox or the default browser on a kindle fire, fire os 5.3.6.4 > > > On Friday, September 4, 2020 at 11:24:59 AM UTC-7 Steve Hannah wrote: > >> Does it do

[codenameone-discussions] Re: Android Chrome BrowserComponent crazyness

2020-09-04 Thread Shai Almog
Do other native apps that use browsers on the device suffer from similar degradation in performance? Generally the embedded browser performs worse because of OS restrictions but if other apps do a better job of this we might have things we can do to improve. On Saturday, September 5, 2020 at

Re: [codenameone-discussions] Re: Sharing option for text file with extension (or other type of files) - issue #3225

2020-09-04 Thread Shai Almog
gt; 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.

[codenameone-discussions] Re: File System, Storage for user folder/file selection

2020-09-04 Thread Shai Almog
enerateGuiSources.java:32) > at > com.codename1.build.client.GenerateGuiSources$1.run(GenerateGuiSources.java:272) > at java.base/java.lang.Thread.run(Thread.java:834) > Caused by: java.lang.ClassNotFoundException: > com.sun.xml.bind.v2.model.annotation.AnnotationReader > at >

[codenameone-discussions] Re: File System, Storage for user folder/file selection

2020-09-02 Thread Shai Almog
gMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > ... > at com.intellij.rt.ant.execution.AntMain2.main(AntMain2.java:31) > Il giorno mercoledì 2 settembre 2020 alle 10:08:16 UTC+2 P5music ha > scritto: > >> The cn1filechooser library is installed. If I refresh cn1 libraries I get >> th

[codenameone-discussions] Re: Sharing option for text file with extension (or other type of files) - issue #3225

2020-09-02 Thread Shai Almog
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

[codenameone-discussions] FYI This weeks update release will go out on Sunday instead of Friday

2020-09-01 Thread Shai Almog
Only this week. -- 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 codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the

[codenameone-discussions] Re: Debugging native part of the app in XCode/Failled builds and month quota

2020-09-01 Thread Shai Almog
1. Yes 2, We recommend it but you need a basic account for that. Don't write the native code. Leave stubs. Send a build with include source and then fill in the native code in xcode. See

[codenameone-discussions] Re: File System, Storage for user folder/file selection

2020-09-01 Thread Shai Almog
ke iOS and internal_tmp are empty, although they are in fact > under the project classpath. > > > Il giorno martedì 1 settembre 2020 alle 03:32:37 UTC+2 Shai Almog ha > scritto: > >> Is that class inside your internal_tmp/native hierarchy? >> Is that directory in your project clas

[codenameone-discussions] Re: "Generate Native Access" does not work (NoClassDefFoundError:)

2020-08-31 Thread Shai Almog
to do it often. On Monday, August 31, 2020 at 8:48:15 PM UTC+3 P5music wrote: > So do I have to do something or I have to wait, I did not understand. > > Il giorno lunedì 31 agosto 2020 alle 06:28:21 UTC+2 Shai Almog ha scritto: > >> Did you send a build with the existing project?

[codenameone-discussions] Re: File System, Storage for user folder/file selection

2020-08-31 Thread Shai Almog
gt; java.lang.NoClassDefFoundError: > com/sun/xml/bind/v2/model/annotation/AnnotationReader > > is issued, although the compilation succeed and the app runs in the > simulator (it's for generated interface if I am not wrong). > Could it be related? > Il giorno lunedì 31 agosto 2020

[codenameone-discussions] Re: "Generate Native Access" does not work (NoClassDefFoundError:)

2020-08-30 Thread Shai Almog
project somehow? > Il giorno sabato 29 agosto 2020 alle 07:43:55 UTC+2 Shai Almog ha scritto: > >> That is odd. Can you think of a reason why your project is different from >> the test project? >> >> On Friday, August 28, 2020 at 11:18:50 AM UTC+3 P5music wrote:

[codenameone-discussions] Re: File System, Storage for user folder/file selection

2020-08-30 Thread Shai Almog
, August 30, 2020 at 6:03:42 PM UTC+3 P5music wrote: > So what do I have to do? I am not an advanced IntellJ Idea user. > > Il giorno domenica 30 agosto 2020 alle 03:40:38 UTC+2 Shai Almog ha > scritto: > >> The JAR target sets paths and refreshes some things in cn1libs. >>

[codenameone-discussions] Re: File System, Storage for user folder/file selection

2020-08-29 Thread Shai Almog
> Maybe some initialization is necessary before using that class? > Il giorno sabato 29 agosto 2020 alle 07:47:37 UTC+2 Shai Almog ha scritto: > >> That's just an IntelliJ warning that should be fine. Try running the ant >> jar target and see if it works around that excepti

[codenameone-discussions] Re: Calling Java method from native code (Native Interface)

2020-08-28 Thread Shai Almog
Calling an arbitrary method in Java is hard. See the callback section in the developer guide for samples of invoking a static callback which is slightly simpler. On Friday, August 28, 2020 at 3:10:15 PM UTC+3 P5music wrote: > (Codename One) I would like to know if it is possible to call a

[codenameone-discussions] Re: File System, Storage for user folder/file selection

2020-08-28 Thread Shai Almog
leChooser.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ì 2

[codenameone-discussions] Re: "Generate Native Access" does not work (NoClassDefFoundError:)

2020-08-28 Thread Shai Almog
That is odd. Can you think of a reason why your project is different from the test project? On Friday, August 28, 2020 at 11:18:50 AM UTC+3 P5music wrote: > No, I did not use that function at all in my project. > > Il giorno venerdì 28 agosto 2020 alle 06:59:43 UTC+2 Shai Almog h

[codenameone-discussions] Re: Implicit "cancel" command for AlertDialog (tap outside, back button)

2020-08-27 Thread Shai Almog
Back command is handled with setBackCommand(). You can use setDefaultDisposeWhenPointerOutOfBounds() or setDisposeWhenPointerOutOfBounds() for the clicking outside. Command backCommand = new Command("Back"); alertDialog.setBackCommand(backCommand); Notice the command doesn't need to invoke

[codenameone-discussions] Re: "Generate Native Access" does not work (NoClassDefFoundError:)

2020-08-27 Thread Shai Almog
message says "project needs to be >> compiled first" >> Thanks >> >> Il giorno giovedì 27 agosto 2020 alle 04:28:34 UTC+2 Shai Almog ha >> scritto: >> >>> Try creating a clean project and create a GUI builder form in that >>> project. The

[codenameone-discussions] Re: File System, Storage for user folder/file selection

2020-08-27 Thread Shai Almog
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

[codenameone-discussions] Re: Tiny BrowserComponents in layout with BorderLayout.NORTH, WEST, EAST (CENTER inside)

2020-08-27 Thread Shai Almog
se give me the constraints so to have > a Label at the top and then the TL with BCs below (50/50 horizontally, > spread vertically). > Thanks in advance > Il giorno giovedì 27 agosto 2020 alle 04:23:57 UTC+2 Shai Almog ha scritto: > >> It works fine with containers.

[codenameone-discussions] Re: Question about date-time format string (from StackOverflow)

2020-08-27 Thread Shai Almog
ble. The only > concern is about the current dateFormat value from iOS, as I said I think > it is as standard as what is in SimpleDateFormat. > > Il giorno giovedì 27 agosto 2020 alle 04:26:08 UTC+2 Shai Almog ha scritto: > >> That's swift code. We work with objective-c.

[codenameone-discussions] Re: "Generate Native Access" does not work (NoClassDefFoundError:)

2020-08-26 Thread Shai Almog
f the actual classpath. It >> will work if you stick >> your native interface definitions into a virgin project. >> >> On Monday, August 24, 2020 at 8:45:06 PM UTC-7 Shai Almog wrote: >> >>> Thanks. Please file an issue on that. This is due to

[codenameone-discussions] Re: Tiny BrowserComponents in layout with BorderLayout.NORTH, WEST, EAST (CENTER inside)

2020-08-26 Thread Shai Almog
e and provide a workaround. > Thanks > > > Il giorno mercoledì 26 agosto 2020 alle 08:54:39 UTC+2 Shai Almog ha > scritto: > >> Is this a subclass of form? >> Actually my code was wrong. You should do: >> >> >> add(tl.cc().hp(100).wp(50), textAreaLeft);

[codenameone-discussions] Re: Tiny BrowserComponents in layout with BorderLayout.NORTH, WEST, EAST (CENTER inside)

2020-08-26 Thread Shai Almog
what you can see in the other image, where two BCs share > 50/50 the screen horizontally but they are not spread vertically. > So the problem is that the BC do not spread vertically when in a TL with 1 > row and 2 columns and wp=50 > Thanks > Il giorno martedì 25 agosto 2020 alle 05:46:53 UTC

[codenameone-discussions] Re: visibility Toolbar

2020-08-24 Thread Shai Almog
Hi, sorry I don't understand what is showing and isn't showing. Can you attach a couple of screenshots to illustrate the problem? Thanks. On Monday, August 24, 2020 at 11:58:18 PM UTC+3 pbellpi...@gmail.com wrote: > Hi > > I have a form with tabs and a sidemenu. After a splash form this form

[codenameone-discussions] Re: Tiny BrowserComponents in layout with BorderLayout.NORTH, WEST, EAST (CENTER inside)

2020-08-24 Thread Shai Almog
al space. > Thanks in advance > > > Il giorno lunedì 24 agosto 2020 alle 03:53:38 UTC+2 Shai Almog ha scritto: > >> You need to use Component inspector to look at hierarchies, it shows the >> layout and would have made this easier to spot. >> You shouldn't

[codenameone-discussions] Re: "Generate Native Access" does not work (NoClassDefFoundError:)

2020-08-24 Thread Shai Almog
on-Bundled Plugins: com.codename1.plugin.intellij > Current Desktop: ubuntu:GNOME > > Il giorno lunedì 24 agosto 2020 alle 03:50:17 UTC+2 Shai Almog ha scritto: > >> Which JDK/IDE combination are you using? >> >> On Sunday, August 23, 2020 at 1:18:24 PM UTC+3 P5music wrote: &

[codenameone-discussions] Re: Question about date-time format string (from StackOverflow)

2020-08-24 Thread Shai Almog
remember having read something like that. > But iOS does so, and this could impact my app. It is important for me to > know. > > > Il giorno lunedì 24 agosto 2020 alle 03:56:32 UTC+2 Shai Almog ha scritto: > >> It's defined somewhere but not using this string and I'm unaware of

[codenameone-discussions] Re: Question about date-time format string (from StackOverflow)

2020-08-23 Thread Shai Almog
m my app. > Thanks > > Il giorno domenica 23 agosto 2020 alle 04:51:07 UTC+2 Shai Almog ha > scritto: > >> You use SimpleDateFormat with that string and it would write the name of >> the month instead of MMM in the short form. >> You construct a SimpleDateForma

[codenameone-discussions] Re: Tiny BrowserComponents in layout with BorderLayout.NORTH, WEST, EAST (CENTER inside)

2020-08-23 Thread Shai Almog
e BCs have > taken all available space and share it with some ratio like 70/30. > Is there any constraint to correct this? > > Il giorno domenica 23 agosto 2020 alle 04:54:01 UTC+2 Shai Almog ha > scritto: > >> You can't rely on that. The layout code is very cross platform sin

[codenameone-discussions] Re: "Generate Native Access" does not work (NoClassDefFoundError:)

2020-08-23 Thread Shai Almog
Which JDK/IDE combination are you using? On Sunday, August 23, 2020 at 1:18:24 PM UTC+3 P5music wrote: > I am adding some native iOS functionality to my CodenameOne app. > I am just at the beginning. > I created this Interface > > import com.codename1.system.NativeInterface; > > public interface

[codenameone-discussions] Re: Tiny BrowserComponents in layout with BorderLayout.NORTH, WEST, EAST (CENTER inside)

2020-08-22 Thread Shai Almog
e > mirroring for debugging does not work, I see a blank screen. > > Il giorno sabato 22 agosto 2020 alle 07:16:42 UTC+2 Shai Almog ha scritto: > >> You don't need the border layout. This is only a tip for the simple usage >> in a form. >> Using the same strings make

[codenameone-discussions] Re: Question about date-time format string (from StackOverflow)

2020-08-22 Thread Shai Almog
You use SimpleDateFormat with that string and it would write the name of the month instead of MMM in the short form. You construct a SimpleDateFormat with that string and then use the format(Date) method from that class. On Saturday, August 22, 2020 at 11:04:21 AM UTC+3 P5music wrote: > I

[codenameone-discussions] Re: Double animation swipes away the new form

2020-08-21 Thread Shai Almog
hide/show toolbar were designed for running when the form is already showing. You don't need to invoke it when it isn't, On Friday, August 21, 2020 at 6:08:59 PM UTC+3 P5music wrote: > In my app a mainForm calls another form. > I succeeded in creating a working back button on the new form. >

[codenameone-discussions] Re: Tiny BrowserComponents in layout with BorderLayout.NORTH, WEST, EAST (CENTER inside)

2020-08-21 Thread Shai Almog
gt; > Il giorno venerdì 21 agosto 2020 alle 06:44:38 UTC+2 Shai Almog ha scritto: > >> You can nest a border layout in a table cell although I'm not sure what >> the benefit would be but this is OK. >> >> You lost me a bit with all the level of nesting all over the

[codenameone-discussions] Re: Codename One - "app" lifecycle

2020-08-21 Thread Shai Almog
nce because I have to handle the back command. So > I have to use another method or use WeakReference<>, as I understand. > Is this correct? > > Il giorno venerdì 21 agosto 2020 alle 06:47:36 UTC+2 Shai Almog ha scritto: > >> If you don't keep a reference to the form then it

[codenameone-discussions] Re: Codename One - "app" lifecycle

2020-08-20 Thread Shai Almog
s(Form mainForm, AppData > appData,...) > > then showBack() is used when the back command is called in the new form. > Does this impact on the references? > I mean, a for is created every time. Is this bad practice? > Thanks > > Il giorno giovedì 20 agosto 2020 alle 03:46:

[codenameone-discussions] Re: CEF Browser issues impact on native builds

2020-08-20 Thread Shai Almog
Correct. This has no impact on device builds. Even desktop builds haven't migrated to CEF yet (for better and worse). When we do migrate the desktop builds we'll provide easy migration flags. On Thursday, August 20, 2020 at 2:20:48 PM UTC+3 diamon...@gmail.com wrote: > CEF was specifically

[codenameone-discussions] Re: Tiny BrowserComponents in layout with BorderLayout.NORTH, WEST, EAST (CENTER inside)

2020-08-20 Thread Shai Almog
ine > TextMultiline TextMultiline Text",""); > > centerContainerRight.add(BorderLayout.CENTER,textAreaRight); > > > tableContainer.add(tl.createConstraint().widthPercentage(50),centerContainerLeft). > > add(tl.createConstraint().widthPercentage(5

[codenameone-discussions] Re: Control like Android Chip created as Container not working

2020-08-19 Thread Shai Almog
ne sometimes the last button > goes to the next line. > I would like that the button has a reserved space for the icon also when > it has not the icon, I mean the button width does not change. > How can this be achieved? > > Il giorno mercoledì 19 agosto 2020 alle 08:14:53

[codenameone-discussions] Re: Codename One - "app" lifecycle

2020-08-19 Thread Shai Almog
e to use WeakReference so > to avoid circular reference or I can just use normal references. > I hope this makes sense. > Thanks in advance > > Il giorno lunedì 17 agosto 2020 alle 03:41:59 UTC+2 Shai Almog ha scritto: > >> Only in the case the app dies. >> 1. It's reus

[codenameone-discussions] Re: Tiny BrowserComponents in layout with BorderLayout.NORTH, WEST, EAST (CENTER inside)

2020-08-19 Thread Shai Almog
layed entirely, while the two BC are just one > line tall. > Thanks in advance > > > Il giorno mercoledì 19 agosto 2020 alle 08:12:35 UTC+2 Shai Almog ha > scritto: > >> That won't work since browser component layout is non-deterministic. Only >> the cente

[codenameone-discussions] Re: Control like Android Chip created as Container not working

2020-08-19 Thread Shai Almog
When you change the UI in a way that impacts size you need to call animateLayout() or revalidate(). When you don't impact size calling repaint() is enough. I would suggest using setMaterialIcon() instead of coding the check into the text. On Tuesday, August 18, 2020 at 3:09:08 PM UTC+3

[codenameone-discussions] Re: Tiny BrowserComponents in layout with BorderLayout.NORTH, WEST, EAST (CENTER inside)

2020-08-19 Thread Shai Almog
That won't work since browser component layout is non-deterministic. Only the center will work correctly. You need to know the approximate size of the layout in advance with browser component. It's an "all or nothing" approach. You can use table layout with height/width constraints for the

[codenameone-discussions] Re: Escape char \n not recognized in Label/TextField/TextArea

2020-08-17 Thread Shai Almog
to force line breaks. >> Maybe I have to create a for loop to append strings? >> Thanks in advance. >> >> Il giorno lunedì 17 agosto 2020 03:46:34 UTC+2, Shai Almog ha scritto: >>> >>> In the designer tool under the localization edit section you have a

[codenameone-discussions] Re: Back button doubles toolbar dimension

2020-08-17 Thread Shai Almog
owBack(); > } > }; > > getToolbar().setBackCommand(backCommand); > > > Il giorno lunedì 17 agosto 2020 03:43:26 UTC+2, Shai Almog ha scritto: >> >> Use toolbar.setBackCommand(). Or toolbar.addMaterialCommand* methods etc. >> >> On Sunday, August 16, 2020

[codenameone-discussions] Re: iOS build failing

2020-08-16 Thread Shai Almog
Check that you aren't using very old libraries (an old version of Codename One build). If this keeps happening I suggest contacting the web support who can look at your account details and see if something broke. You can also give them a link to your build error which will help track it down.

[codenameone-discussions] Re: Change color of scroll element form

2020-08-16 Thread Shai Almog
PM UTC+3 pbellpi...@gmail.com wrote: > how do i do that ? > > Op zondag 16 augustus 2020 om 03:48:59 UTC+2 schreef Shai Almog: > >> It's called a "ScrollThumb" just style its background color to anything >> you want. >> >> On Saturday, August 15,

[codenameone-discussions] Re: Escape char \n not recognized in Label/TextField/TextArea

2020-08-16 Thread Shai Almog
In the designer tool under the localization edit section you have a button at the bottom that allows you to edit multiline text. Just add the line breaks and the string will have them. SpanLabel and TextArea respect line breaks. TextArea doesn't implicitly fetch from the bundle though. For it

[codenameone-discussions] Re: Back button doubles toolbar dimension

2020-08-16 Thread Shai Almog
Use toolbar.setBackCommand(). Or toolbar.addMaterialCommand* methods etc. On Sunday, August 16, 2020 at 8:47:47 PM UTC+3 P5music wrote: > I added the back functionality to forms that call one another > A->B->C > > I put a button on the toolbar, otherwise the back command is not visible. > >

[codenameone-discussions] Re: Codename One - "app" lifecycle

2020-08-16 Thread Shai Almog
ton is recreated just in what cases? > I think device orientation at least, and then? > 2-Where can I put some global data structure, in the main form I guess? > > Thanks in advance > > Il giorno sabato 15 agosto 2020 07:27:55 UTC+2, Shai Almog ha scritto: >> >&

[codenameone-discussions] Re: Change color of scroll element form

2020-08-15 Thread Shai Almog
It's called a "ScrollThumb" just style its background color to anything you want. On Saturday, August 15, 2020 at 6:48:47 PM UTC+3 pbellpi...@gmail.com wrote: > Hi i like to change the color of de scroll element of the form. How do i > do that? > > Ciao > Peter Bell > -- You received this

[codenameone-discussions] Re: Codename One - "app" lifecycle

2020-08-14 Thread Shai Almog
Yes. Our activity works a bit as a singleton and simplified the horrendous Android app life cycle. As a side note a few years ago in Google IO Romain Guy asked audience members for a show of hands if they know the Activity lifecycle. Hands were raised and he responded (I'm paraphrasing)

[codenameone-discussions] Re: String pickers appear in reduced form

2020-08-14 Thread Shai Almog
1. We don't currently expose the underlying API for the underlying picker UI. The main reason behind that is that pickers are sometimes implemented natively and this will cause some issues. We might expose the underlying lightweight picker implementation in a future update which will allow for

[codenameone-discussions] Re: I cannot change dialog background

2020-08-14 Thread Shai Almog
gt; On Friday, August 14, 2020 at 6:13:19 AM UTC+2, Shai Almog wrote: >> >> The UIID would be Dialog. >> >> The version of Android shouldn't matter for this and neither should >> resolution if style if used correctly. How did you style the dialog? >> >> On Thu

[codenameone-discussions] Re: I cannot change dialog background

2020-08-13 Thread Shai Almog
ate styles for different > resolutions? > > > On Wednesday, August 12, 2020 at 4:01:51 AM UTC+2, Shai Almog wrote: >> >> Hi, >> the dialog uses a border to style it. You need to override the border to >> set it to a different color. >> >> On Tue

[codenameone-discussions] Re: Setting the size of the new CEF BrowserComponent programmatically

2020-08-13 Thread Shai Almog
can adapt the layout. > I hope the layout is the same on the real devices or iOS simulator when it > will get to test the finished app. > Regards > > > Il giorno giovedì 13 agosto 2020 04:22:38 UTC+2, Shai Almog ha scritto: >> >> I don't understand why you need more tha

[codenameone-discussions] Re: Setting the size of the new CEF BrowserComponent programmatically

2020-08-12 Thread Shai Almog
> Il giorno mercoledì 12 agosto 2020 03:59:52 UTC+2, Shai Almog ha scritto: >> >> The size of the browser component must be deterministic. That means If >> you place the hierarchy or the browser component in NORTH it will size it >> based on preferred size which is 0 and

[codenameone-discussions] Re: Study On Rejected Refactorings

2020-08-11 Thread Shai Almog
Hi, as far as I recall there weren't many (or even any) refactoring PRs. I think I recall one and it was a pain because so much of our API is stable and public. As such backward compatibility is key and refactoring makes this pretty hard to keep. Also due to the breadth and depth of the

[codenameone-discussions] Re: I cannot change dialog background

2020-08-11 Thread Shai Almog
Hi, the dialog uses a border to style it. You need to override the border to set it to a different color. On Tuesday, August 11, 2020 at 12:34:36 PM UTC+3 juraj...@axasoft.eu wrote: > Hi, there, > > I use Dialog.show to pops up the message, but I'm not able to change the > dialog backgroud.

[codenameone-discussions] Re: CTRL key deletes words in CEF BrowserComponent with text editing

2020-08-11 Thread Shai Almog
orno martedì 11 agosto 2020 03:57:43 UTC+2, Shai Almog ha scritto: >> >> Does this happen for a generic website? E.g. if you open Google.com? >> Do you see something while debugging on chrome? >> >> On Monday, August 10, 2020 at 9:14:01 PM UTC+3 P5music wrote: >> >&

[codenameone-discussions] Re: Setting the size of the new CEF BrowserComponent programmatically

2020-08-11 Thread Shai Almog
ex way, combinating them one > inside the other. > Now I need that the BC has a certain height, it was my original goal. I > cannot set the TL cell height because the BC is not the entire cell, maybe > I did not understand what you mean. > Thanks in advance > > > Il giorno

[codenameone-discussions] Re: CEF BrowserComponent (simulator) does not always update immediately after inserting images in text with Javascript.

2020-08-11 Thread Shai Almog
next time it disappears. > Notice that when the image is correctly inserted in the DOM it is > highlighted in blue first, then it becomes normal. > > > Il giorno martedì 11 agosto 2020 03:59:26 UTC+2, Shai Almog ha scritto: >> >> Odd. It might be a refresh problem. I'm ass

[codenameone-discussions] Re: CEF BrowserComponent (simulator) does not always update immediately after inserting images in text with Javascript.

2020-08-10 Thread Shai Almog
Odd. It might be a refresh problem. I'm assuming there's nothing obvious in the JavaScript console. Right? On Monday, August 10, 2020 at 9:28:07 PM UTC+3 P5music wrote: > I think this could be an issue for the CEF BrowserComponent so I report it. > My app has this BrowserComponent for text

[codenameone-discussions] Re: CTRL key deletes words in CEF BrowserComponent with text editing

2020-08-10 Thread Shai Almog
Does this happen for a generic website? E.g. if you open Google.com? Do you see something while debugging on chrome? On Monday, August 10, 2020 at 9:14:01 PM UTC+3 P5music wrote: > My app has a BrowserComponent as a mean for the user to edit some text. I > am testing the new CEF

[codenameone-discussions] Re: Setting the size of the new CEF BrowserComponent programmatically

2020-08-10 Thread Shai Almog
If it's in the center it takes up the whole set of available space. You can see this using the component inspector tool. I explained to you in your previous post how you can use TableLayout with BrowserComponent. You just need to disable form scrolling and make sure to define a height/width

[codenameone-discussions] Re: the latest update (06/08/2020) broke the layout

2020-08-09 Thread Shai Almog
FYI this was fixed in a hotfix on Sunday On Friday, August 7, 2020 at 8:09:51 PM UTC+3 ahmed.t...@gmail.com wrote: > the latest update (06/08/2020) broke the layout on android. Note that > the layout works well on the simulator. > please give us a return as soon as possible, we are launching

Re: [codenameone-discussions] CEF BrowserComponent - Exception in thread "AWT-EventQueue-0"

2020-08-09 Thread Shai Almog
HT, I > could see the BC at same vertical size of the other layout stuff on left, > but horizontally speaking in fact the BC covered the other things on the > left of some amount, > > > Il giorno sabato 8 agosto 2020 06:12:17 UTC+2, Shai Almog ha scritto: >> >> Is

Re: [codenameone-discussions] Re: The layout of android applications was destroyed by the last update

2020-08-08 Thread Shai Almog
at, Aug 8, 2020 at 7:23 AM Shai Almog wrote: > >> Can you give a sample of the code that broke and ideally screenshots. >> The only change made to the layouts was a fix for a misbehavior of >> FlowLayout where FlowLayout.encloseBottom(), FlowLayout.encloseMiddle() >> etc

Re: [codenameone-discussions] Re: the latest update (06/08/2020) broke the layout

2020-08-08 Thread Shai Almog
; BorderLayout.center(LayeredLayout.encloseIn(MotherBox, > FlowLayout.encloseRightBottom(relationship))); > > On Sat, Aug 8, 2020 at 7:22 AM Shai Almog wrote: > >> Can you give a sample of the code that broke and ideally screenshots. >> The only change ma

[codenameone-discussions] Re: The layout of android applications was destroyed by the last update

2020-08-07 Thread Shai Almog
Can you give a sample of the code that broke and ideally screenshots. The only change made to the layouts was a fix for a misbehavior of FlowLayout where FlowLayout.encloseBottom(), FlowLayout.encloseMiddle() etc. didn't work properly. On Friday, August 7, 2020 at 8:24:15 PM UTC+3

[codenameone-discussions] Re: the latest update (06/08/2020) broke the layout

2020-08-07 Thread Shai Almog
Can you give a sample of the code that broke and ideally screenshots. The only change made to the layouts was a fix for a misbehavior of FlowLayout where FlowLayout.encloseBottom(), FlowLayout.encloseMiddle() etc. didn't work properly. On Friday, August 7, 2020 at 8:09:51 PM UTC+3

[codenameone-discussions] Re: How to install an .apk or .ipa file stored on my device?

2020-08-07 Thread Shai Almog
ename1 Build app opens. > > I don't want to beet a dead horse, however would be interested in your > thoughts. > > Regards. > > On Thursday, August 6, 2020 at 10:55:21 PM UTC-4, Shai Almog wrote: >> >> That's Android Intents. You can use the back button to return to

Re: [codenameone-discussions] CEF BrowserComponent - Exception in thread "AWT-EventQueue-0"

2020-08-07 Thread Shai Almog
ì 7 agosto 2020 04:52:03 UTC+2, Shai Almog ha scritto: >> >> Did you try setNativeScrollingEnabled(false) on the browser component? >> >> On Thursday, August 6, 2020 at 11:46:05 AM UTC+3 insig...@libero.it >> wrote: >> >>> In Chrome I see that co

[codenameone-discussions] Re: How to install an .apk or .ipa file stored on my device?

2020-08-06 Thread Shai Almog
he expected behavior? > > I was expecting to have spawned the codename1 build app, where my app > would be minimized. > > If not, is there a way to spawn this so my app is in background and > reachable or is this illegal in the Android world? > > Thoughts? > > Rgards &

[codenameone-discussions] Re: Proportional change of text etc.

2020-08-06 Thread Shai Almog
https://www.codenameone.com/blog/animated-gif-support.html and I added > through the designer > and also copy to package where the java file is placed and I still getting > NullPointerException. > > On Thursday, August 6, 2020 at 3:56:22 AM UTC+2, Shai Almog wrote: >>

Re: [codenameone-discussions] CEF BrowserComponent - Exception in thread "AWT-EventQueue-0"

2020-08-06 Thread Shai Almog
Did you try setNativeScrollingEnabled(false) on the browser component? On Thursday, August 6, 2020 at 11:46:05 AM UTC+3 insig...@libero.it wrote: > In Chrome I see that control in a very big size but it is tiny in fact, > with just the scrollbars, but the editor is inside, I see some little

[codenameone-discussions] Re: how to connect api rest from android 9 without https protocol

2020-08-05 Thread Shai Almog
jCNEXWS-hgK4gqCRhILwm4B8dfru2FA> > > Is possibile when i do a request to server, use the CA of server? > > Regards > > > > > On Thursday, July 30, 2020 at 11:53:09 PM UTC-3, Shai Almog wrote: >> >> See this: >> https://stackoverflow.com/questions/57121953/us

[codenameone-discussions] Re: Proportional change of text etc.

2020-08-05 Thread Shai Almog
s black instead of > transparent. > > > > > On Wednesday, August 5, 2020 at 4:05:37 AM UTC+2, Shai Almog wrote: >> >> We support SVG through this tool: >> https://www.codenameone.com/blog/flamingo-svg-transcoder.html >> >> You can also convert it to PNG or m

[codenameone-discussions] Re: How to install an .apk or .ipa file stored on my device?

2020-08-05 Thread Shai Almog
" > > Please see screen shot of execute argument in attached pic > "AndroidGalaxy5S2ExecuteIntentErrors_2.jpg" > > Thoughts? > > Regards > > On Monday, August 3, 2020 at 10:50:31 PM UTC-4, Shai Almog wrote: >> >> You also need to change "customapp&q

[codenameone-discussions] Re: How to retrieve codename1 app Title defined in preferences

2020-08-04 Thread Shai Almog
Use CN.getProperty("AppName") On Tuesday, August 4, 2020 at 10:58:39 PM UTC+3 shop.servic...@gmail.com wrote: > If you are experiencing an issue please mention the full platform your > issue applies to: > IDE: NetBeans/Eclipse/IDEA Netbeans 12 > Desktop OS Windows 10 Pro > Simulator Latest >

[codenameone-discussions] Re: Proportional change of text etc.

2020-08-04 Thread Shai Almog
een > ... In designer from the menu information message > pops up that this is not supported and from the right side menu panels > after adding svg designer hangs. > > > On Tuesday, August 4, 2020 at 4:52:42 AM UTC+2, Shai Almog wrote: >> >> Hi, >> be caref

[codenameone-discussions] Re: Proportional change of text etc.

2020-08-03 Thread Shai Almog
Hi, be careful with derive. You can create a cyclic dependency easily and trigger a failure. We suggest using it sparingly. If you use millimeter sizes things should be fine. Notice that the sizes in pixels will be different and will look different in the simulator but on the devices they

[codenameone-discussions] Re: How to install an .apk or .ipa file stored on my device?

2020-08-03 Thread Shai Almog
>> wrote: >> >>> I don't know. >>> >>> can you provide the codenameone build app string >>> ?Display.getInstance().execute("intent:#Intent;scheme=customapp;package=[*path >>> >>> to codenameone build app*];end"); (Andro

[codenameone-discussions] Re: How to install an .apk or .ipa file stored on my device?

2020-08-02 Thread Shai Almog
nt:#Intent;scheme=customapp;package=[*path > > to codenameone build app*];end"); (Android Only) > > On Saturday, August 1, 2020 at 11:05:28 PM UTC-4, Shai Almog wrote: >> >> It looks that it works but the file manager in question doesn't seem to >> support

[codenameone-discussions] Re: How to install an .apk or .ipa file stored on my device?

2020-08-01 Thread Shai Almog
attached "AndroidGalaxy5S2com.diamond.apps.filemanager_1ErrorLog.txt" > > Additionally, can you provide the codenameone build app string ? > Display.getInstance().execute("intent:#Intent;scheme=customapp;package=[*path > to codenameone build app*];end"); (Android Only) > > On Friday, July 31, 2020 at 10:

[codenameone-discussions] Re: Publishing a cn1lib

2020-07-31 Thread Shai Almog
Sorry that was totally my fault. I didn't notice this with all the flood of emails I get. I probably would have eventually as once a month I clear my inbox so it's possible it would have been through in a couple of days... Anyway I reopened and merged it now. Normally, you don't need to do

[codenameone-discussions] Re: How to install an .apk or .ipa file stored on my device?

2020-07-31 Thread Shai Almog
I don't see anything in the logs here can you place them as text somewhere? On Friday, July 31, 2020 at 10:43:09 PM UTC+3 shop.servic...@gmail.com wrote: > Thanks Guys. > > I think to put this issue to bed, I would like to get this working: > > > >

[codenameone-discussions] Re: https://cloud.codenameone.com/buildapp/index.html hangs when tap on login

2020-07-31 Thread Shai Almog
t; the app. > I would say this occurs 10 - 15% of the time. > > Certainly not a show stopper. > > Regards. > > On Thursday, July 30, 2020 at 10:46:48 PM UTC-4, Shai Almog wrote: >> >> Do you see anything in the browser console in that case? >> Can you also fil

[codenameone-discussions] Re: how to connect api rest from android 9 without https protocol

2020-07-30 Thread Shai Almog
See this: https://stackoverflow.com/questions/57121953/usescleartexttraffic-not-permitted/57130188 Notice that this is problematic on iOS too... On Thursday, July 30, 2020 at 11:23:41 PM UTC+3 MobilitySol Uruguay wrote: > i need to connect with api rest by https protocol, but in the Android 9,

<    1   2   3   4   5   6   7   8   9   10   >