[codenameone-discussions] Re: InfiniteProgress not showing in simulator or on android

2016-06-29 Thread Peter Carlson
No, I am using the business green and tan theme On Jun 29, 2016 9:07 PM, "Shai Almog" wrote: > Are you using a blank theme? > If so you need to define the infinite progress image. > > This varies and is somewhat tricky since you also need to dispose this on > error > --

[codenameone-discussions] Re: InfiniteProgress not showing in simulator or on android

2016-06-29 Thread Shai Almog
Are you using a blank theme? If so you need to define the infinite progress image. This varies and is somewhat tricky since you also need to dispose this on error -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from

[codenameone-discussions] Re: List vs list of Components

2016-06-29 Thread Shai Almog
Yep, it doesn't even need to have content to work as the lead. -- 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] Re: Android keyboard cuts screen in half when you proceed before closing

2016-06-29 Thread Shai Almog
A delay is never the right thing to do, we'll need a test case for that. -- 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] Re: Util.downloadImageToStorage vs URLImage.createToStorage vs ImageDownloadService.createImageToStorage

2016-06-29 Thread Shai Almog
Yep, also check out the new unleading functionality landing tomorrow: https://www.codenameone.com/blog/unleading-mutating-accordion.html -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop

[codenameone-discussions] Re: JSONParser returns longs as doubles

2016-06-29 Thread howudodat1
while we're at it, booleans shouldn't be added to the Map as Strings On Wednesday, June 29, 2016 at 3:16:57 PM UTC-7, howud...@gmail.com wrote: > > the json parser needs line 549 fixed. even when useLongsDefault is set to > true, the code parses as a double. The reason is on line 549 of

[codenameone-discussions] GUI Builder sidemenu bugs

2016-06-29 Thread howudodat1
new gui builder side menu bugs: - setToolBar is deprecated, use setToolbar (lowercase b) - com.codename1.ui.Command cmd_ ... line needs indented one tab - after closing brace on the same line after anonymous actionPerformed() needs a ; - cnlToolbar.addCommandToSideMenu is adding

[codenameone-discussions] InfiniteProgress not showing in simulator or on android

2016-06-29 Thread howudodat1
the below code (using slow network connection) makes the simulator and android tablet dim, but the spinner never shows public void onbtnLoginCommand(com.codename1.ui.events.ActionEvent ev , Command cmd) { // show a wait dialog InfiniteProgress prog = new InfiniteProgress(); Dialog dlg =

[codenameone-discussions] JSONParser returns longs as doubles

2016-06-29 Thread howudodat1
the json parser needs line 549 fixed. even when useLongsDefault is set to true, the code parses as a double. The reason is on line 549 of JSONParser: public void longToken(long tok) { if (isStackHash()) { getStackHash().put(currentKey, new Double(tok)); <<< not new

Re: [codenameone-discussions] Re: how to run/debug in eclipse

2016-06-29 Thread Peter Carlson
in my build.xml: classname="com.codename1.build.client.GenerateGuiSources" classpath="CodeNameOneBuildClient.jar"/> guiDir="res/guibuilder" /> running it manually still didn't create the code. On 06/29/2016 11:48 AM, Chen Fishbein wrote: It should be on your

Re: [codenameone-discussions] Re: how to run/debug in eclipse

2016-06-29 Thread Peter Carlson
in my build.xml: classname="com.codename1.build.client.GenerateGuiSources" classpath="CodeNameOneBuildClient.jar"/> guiDir="res/guibuilder" /> running it manually still didn't create the code. On 06/29/2016 11:48 AM, Chen Fishbein wrote: It should be on your

[codenameone-discussions] Re: how to run/debug in eclipse

2016-06-29 Thread Chen Fishbein
It should be on your build.xml file -- 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. Visit this

[codenameone-discussions] Re: how to run/debug in eclipse

2016-06-29 Thread Peter Carlson
where do I find that task? On 06/29/2016 11:28 AM, Chen Fishbein wrote: Seems like an issue we have in the eclipse plugin, you can invoke the "genGuiSrc" ant task and it will generate the gui src -- You received this message because you are subscribed to the Google Groups "CodenameOne

[codenameone-discussions] Re: how to run/debug in eclipse

2016-06-29 Thread Chen Fishbein
Seems like an issue we have in the eclipse plugin, you can invoke the "genGuiSrc" ant task and it will generate the gui src -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails

[codenameone-discussions] Re: how to run/debug in eclipse

2016-06-29 Thread howudodat1
new one. On Wednesday, June 29, 2016 at 8:07:49 AM UTC-7, Kaya TC wrote: > > Are you using the old GUI BUILDER or the old one? as the new one may > differ. I didnt even know that they even released the new GUI Builder until > i saw a post on Stackoverflow two hours ago. > > >> -- You received

[codenameone-discussions] Re: Android keyboard cuts screen in half when you proceed before closing

2016-06-29 Thread Gareth Murfin
Apparently this is still not working for the client, the screen of the app gets cut in half when he moves on without shutting the keyboard, even with a delay and a call serially. I have seen a video so it seems true, im wondering if there is an event when the keyboard pops up where i can call

[codenameone-discussions] Password field leaves screen unpainted at bottom

2016-06-29 Thread Gareth Murfin
On some devices when the keyboard pops up for a password field, numbers flash briefly at the top of the keyboard then vanish, when they vanish they leave the screen unpainted with parts of the screen before it was resized showing. It seems you need to click on a normal text field then click

[codenameone-discussions] Re: how to run/debug in eclipse

2016-06-29 Thread Kaya TC
Am Mittwoch, 29. Juni 2016 15:59:37 UTC+2 schrieb Kaya TC: > > > Select your project in the ProjectExplorer, then on the upper bar where >> the Green Button for run is, you should have a PROJECTNAME_simulator >> configuration, otherwise just look for the "Simulator_PROJECTNAME.launch" >> in

[codenameone-discussions] Re: how to run/debug in eclipse

2016-06-29 Thread Kaya TC
Select your project in the Projectexplorer, then on the upper bar where the Green Button for run is, you should have a {PROJECTNAME}_simulator configuration, otherwise just look for the Simulator_{PROJECTNAME}.launch, right click it, Run As -> Simulator_{PROJECTNAME} Am Dienstag, 28. Juni 2016

[codenameone-discussions] List vs list of Components

2016-06-29 Thread Bryan Buchanan
I had a custom ListCellRendered which had setUIID("Underline"); focus = new Label(""); focus.setUIID("UnderlineSelected"); and @Override public Component getListFocusComponent(List list) { return focus; } so when the List item is selected the visual appearance of that item

[codenameone-discussions] Re: Util.downloadImageToStorage vs URLImage.createToStorage vs ImageDownloadService.createImageToStorage

2016-06-29 Thread Bryan Buchanan
Replying to myself - it looks like Lead Component is what is needed. On Wednesday, June 29, 2016 at 3:39:37 PM UTC+10, Bryan Buchanan wrote: > > Further to this, if I add a bunch of components (each one a container with > things layed out as per my current cell renderer), what is the equivalent