[codenameone-discussions] Layout not scrolling

2018-02-04 Thread howudodat1
I have an entry dialog that doesn't scroll even though I have set scrollable Y to true. here is a test case that shows the problem. I have tried setting scrollableY on both the outer container and the inner container. NB: I know the form is really tiny, I have done that on purpose to

[codenameone-discussions] Spanbutton doesn't delegate properties through event handlers

2017-11-09 Thread howudodat1
The name attribute set on a span button doesn't get propogated through the even handler...see this code: SpanButton btnLogin = new SpanButton("Test"); btnLogin.setName("Test"); System.out.println(btnLogin.getName() + ":" + btnLogin.toString());

Re: [codenameone-discussions] UWP Build = Black Screen

2017-10-22 Thread howudodat1
I just resent the build and it still crashes. I'm still not getting crash reports. BTW are you able to reproduce the problem? On Saturday, October 21, 2017 at 10:55:01 PM UTC-7, Shai Almog wrote: > > I think the problem is that the material font didn't update properly. I > just pushed an

Re: [codenameone-discussions] UWP Build = Black Screen

2017-10-21 Thread howudodat1
Log.sendLog() works, or more precisely sends me a log file, String s = null; s.compareTo("test"); works However the below code (which is also in my original post) crashes, and does not send a logfile. BTW, I would rather focus on the crash and not on the fact there is no logfile. Form

Re: [codenameone-discussions] UWP Build = Black Screen

2017-10-20 Thread howudodat1
I upgraded to the pro plan, and 27 builds later I still dont have a crash report. Hello World works, so I removed code until it worked and then started to add it all back in one line at a time. Add a line, build, uninstall app, install app, watch it crash or not crash, goto Add a line. Here

[codenameone-discussions] UWP Build = Black Screen

2017-10-19 Thread howudodat1
I have an app that has been in production for a while on iOS and Android, now there is one user who wants to run it on their surface pro. So I did a windows uwp build following the instructions here: https://www.codenameone.com/manual/appendix-uwp.html I saw the bug report here:

[codenameone-discussions] setting label to "" causes height to go to 0

2017-10-17 Thread howudodat1
IDE: Eclipse Simulator When I add a label to BorderLayout.SOUTH and then set the label to "" the height of the label shrinks to 0 or maybe 1 pixel. It seems to happen when using the map container. When I just add it to a simple form, it doesn't shrink, however when I add it to a form that

[codenameone-discussions] Re: MaterialScreensUIKit doesn't show hamburger (sidemenu)

2017-10-15 Thread howudodat1
I am only using the theme from that demo, not all the code. The code I am using was in the first post. I dont know if that makes a difference or not. In any case it seems only natural to me to provide the response to the next question: how do I turn it on? and as a followup question, how

[codenameone-discussions] Re: MaterialScreensUIKit doesn't show hamburger (sidemenu)

2017-10-13 Thread howudodat1
I am quite aware of that. I must not have asked my question clearly enough. When I *start* with material the hamburger icon is *not* visible. When I switch from native to material the icon is visible, but there are other artifacts (as I mentioned in my first post). On Thursday, October 12,

[codenameone-discussions] MaterialScreensUIKit doesn't show hamburger (sidemenu)

2017-10-12 Thread howudodat1
using MaterialScreensUIKit and the following code: public void init(Object context) { try { theme = UIManager.initNamedTheme("/theme", "material"); } catch (Exception e) { } // Enable Toolbar on all Forms by default Toolbar.setGlobalToolbar(true);

[codenameone-discussions] iOS 11

2017-09-13 Thread howudodat1
Just curious how to go about making sure our apps will run on iOS 11? Is there a test build environment setup for this? Has any testing been done? -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group

[codenameone-discussions] contacts group

2017-06-06 Thread howudodat1
Is there a way to retrieve contacts by group? I want to present a chooser of contacts but I want to present first a chooser of groups (ie: work, family, etc) ContactsManager#getContacts will get me all the contacts, is there a similar getGroups? Peter -- You received this message because

[codenameone-discussions] Re: how to set null date

2017-05-24 Thread howudodat1
I'm curious if this has been fixed? If I setDate(null) on the simulator it's ok, on iOS it gives a null pointer exception. On Tuesday, September 20, 2016 at 9:46:38 PM UTC-7, Shai Almog wrote: > > Thanks, we'll fix that for the next update. > -- You received this message because you are

[codenameone-discussions] Re: Login Buttons and Action Listeners, can you help me please?

2017-03-24 Thread howudodat1
look at TextField#getText / setText ie: user1 = username.getText() On Friday, March 24, 2017 at 4:56:50 AM UTC-7, TheHyng wrote: > > If you are experiencing an issue please mention the full platform your > issue applies to: > IDE: NetBeans/Eclipse/IDEA > Desktop OS > Simulator > Device > >

[codenameone-discussions] Re: strange build server glitch

2017-03-17 Thread howudodat1
No changes to Log. However, for whatever reason, it started building consistently this morning On Thursday, March 16, 2017 at 10:49:48 PM UTC-7, Shai Almog wrote: > > This is totally unrelated. Dave's issue happens sometimes and is probably > related to an errant build server process that

[codenameone-discussions] Re: Google maps now in simulator: thanks!

2017-03-15 Thread howudodat1
Never mind...sorry to resurrect this thread GoogleMapsProvider provider = new GoogleMapsProvider(api); MapComponent map = new MapComponent(provider); On Wednesday, March 15, 2017 at 5:46:41 PM UTC-7, howud...@gmail.com wrote: > > Can you make it an option and we use our API key? > > On

[codenameone-discussions] Re: Are the build servers down?

2017-03-15 Thread howudodat1
I should have saved my wireshark trace for you. It showed DNS resolution, then connection with full SSL negotiation. Then, of course, no further examination of the data is possible as it's encrypted, however about another 20 packets or so were exchanged after which the connection was reset

[codenameone-discussions] Re: strange build server glitch

2017-03-15 Thread howudodat1
Not that I know of On Tuesday, March 14, 2017 at 11:28:49 PM UTC-7, Shai Almog wrote: > > Do you have something within your

[codenameone-discussions] Are the build servers down?

2017-03-14 Thread howudodat1
[codeNameOne] java.net.ConnectException: Connection timed out (Connection timed out) [codeNameOne] at java.net.PlainSocketImpl.socketConnect(Native Method) [codeNameOne] at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) [codeNameOne] at

[codenameone-discussions] Contact Editor

2017-03-08 Thread howudodat1
if I have a ContactID, is there a way to launch the native contact editor / viewer? Something similar to: Intent intent = new Intent(Intent.ACTION_VIEW); Uri uri = Uri.withAppendedPath(ContactsContract.Contacts.CONTENT_URI, String.valueOf(contactID)); intent.setData(uri);

[codenameone-discussions] phoenix theme differences

2017-03-04 Thread howudodat1
I have noticed some theme differences between the simulator (iOS base I assume) and what appears on my android device. The differences so far are with MultiLine2 and Tabs. I believe all I need to do is copy the elements from the iOS theme. So I copied MultiLine1-4 and that worked. I copied

[codenameone-discussions] Re: error with uwp build and google maps

2017-03-03 Thread howudodat1
Just curious when cn1libs are updated, are they downloaded automatically to the project as is CLDC11? or do I have to go look for it all the time? On Thursday, March 2, 2017 at 11:11:37 PM UTC-8, Shai Almog wrote: > > Thanks, can you please file an issue on that? > We are releasing an update to

[codenameone-discussions] error with uwp build and google maps

2017-03-02 Thread howudodat1
I am getting the following error trying to build a uwp app. The app builds and runs fine so far on Android. Another app I have that uses google maps builds and runs fine on iOS. [exec] Done Building Project

[codenameone-discussions] Theme Gallery

2017-03-02 Thread howudodat1
It would be nice if there were some form of a theme gallery where the cone community can share themes -- 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

[codenameone-discussions] default email account

2017-03-02 Thread howudodat1
Is it possible to get the default email account associated with the device? if so how? -- 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] calling finalize() on db objects

2017-02-15 Thread howudodat1
I am getting the following errors on Database object that "supposedly" hasn't been closed yet. I have a helper class that I use to retrieve the Database (all db calls go through this class) and in it's finalize I call close() on the db. you can see from my log that it is being called.

[codenameone-discussions] read/write sqlite db using sd card

2017-02-15 Thread howudodat1
My program allows users to store their db in any writeable portiion of the sd card (or external sd card). or if they are on iOS or dont have any saved DBs, it uses getAppHomePath() However Database.openOrCreate(sDB) appears to be dependant on /database for example when I provide a full path to

[codenameone-discussions] Re: logfile

2016-12-04 Thread howudodat1
The problem though, unless I'm missing something, is in a thread, with an unhandled crash the code checks isCrashBound, (CodenameOneThread#handleException) which would be false and so would never call the newly installed logger (Log.e()) public static void handleException(Throwable err) {

[codenameone-discussions] Re: logfile

2016-12-02 Thread howudodat1
ok, so I have a situation that requires some flexibility. The tablets are air gapped so using the "cloud based crash reporting" wont work. We can use email based reporting (they can save the logfile as a draft and then send when they are connected) However the sendlog function is static (not

Re: [codenameone-discussions] Re: error with in house profile

2016-11-17 Thread howudodat1
actually ios.distributionMethod=enterprise did the trick. ad-hoc didn't work either On Wednesday, November 16, 2016 at 10:54:46 PM UTC-8, Steve Hannah wrote: > > You need to use ios.distributionMethod=ad-hoc in your build hints. > > https://www.codenameone.com/manual/advanced-topics.html > >

[codenameone-discussions] Re: error with in house profile

2016-11-16 Thread howudodat1
I have checked that the WWDR certificate is up to date, this is verified in the screenshot I posted that shows that the distribution certificate is valid. tried build again...failed. On Wednesday, November 16, 2016 at 7:32:47 PM UTC-8, Shai Almog wrote: > > We don't have a one time support

[codenameone-discussions] Re: error with in house profile

2016-11-16 Thread howudodat1
I have performed all these steps more times than I can count. wash rinse repeat...wait 10 minutes for the build to fail. Could it be the fact that it is an In-House certificate. BTW, can I pay for a *one time* support incident? I cant afford to keep waiting 24 hours in between questions?

[codenameone-discussions] Re: Certificate Wizard Error

2016-11-16 Thread howudodat1
There are none. I can generate all the certs, and apps and profiles as needed. The release one just wont work (see other thread). On Tuesday, November 15, 2016 at 9:23:08 PM UTC-8, Shai Almog wrote: > > Try going thru the process of creating a distribution certificate in the > Apple website,

[codenameone-discussions] certificate wizard

2016-11-15 Thread howudodat1
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA Desktop OS Simulator Device -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop

[codenameone-discussions] sendmessage friendly display name

2016-11-11 Thread howudodat1
I am curious how to call sendMessage with a friendly display name? ie: Peter Carlson when I send that I get Illegal character in opaque part at index 7: mailto:"Peter Ca... -- You received this message because you are subscribed to the Google Groups "CodenameOne

[codenameone-discussions] tab order

2016-11-10 Thread howudodat1
Is there a way to set the tab order? Is it possible to jump a control uwing the "next" on the ios keyboard? I have a list of textfields (LastName, FirstName, Age) then a Picker (Gender), then more textfields (email, phone, ...) When the user taps in LastName they can hit next and it moves to

[codenameone-discussions] Re: Is there a way to add a textfield to the command bar?

2016-11-10 Thread howudodat1
This is a nice feature and I will use it. I have three questions: 1. How can I know if the enter key or search key was pressed? I dont want to process every single change...remember this is going to be sending requests off to google to plot on the map 2. After the user presses enter/search

[codenameone-discussions] Is there a way to add a textfield to the command bar?

2016-11-09 Thread howudodat1
I have a form with a map component. I want to add a simple search field to the map and dont want to use the entire NORTH section, just a small part between the title and the right command this.getToolbar().addCommandToRightBar(cmdList); How can I add a textfield to the toolbar? I tried:

[codenameone-discussions] Re: hide notification

2016-10-15 Thread howudodat1
I will look into UITimer. What I have done for now is in showListener I create a timer. In the timer event i check if (Display.getInstance().getCurrent() != this) and kill the timer. That seems to work so far. On Saturday, October 15, 2016 at 7:47:24 PM UTC-7, Shai Almog wrote: > > If you

[codenameone-discussions] hide notification

2016-10-15 Thread howudodat1
I can override onShow or cal addShowListener() in order to know when a form is being displayed. I use this to start a timer. I'd like to cancel the timer when the form is not visible (ie user went home, or turned the display off, or selected another form). How can I do this? -- You

[codenameone-discussions] Re: Multibutton selected

2016-10-07 Thread howudodat1
> > > You can create your own lead component whose lead is a ToggleButton and > work with that. > Beautiful that worked like a charm -- 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: mapobject nullpointer exception

2016-10-06 Thread howudodat1
I was able to get the behavior I wanted by clearing the maplayer and re-adding all the markers. Is there a better way? On Wednesday, October 5, 2016 at 8:30:43 PM UTC-7, Peter Carlson wrote: > > So how can I change the icon? Remove the market and add another? > > On Oct 5, 2016 8:14 PM, > >>

[codenameone-discussions] mapobject nullpointer exception

2016-10-05 Thread howudodat1
Simulator:no error Android: crash with null point exception iOS: crash with null pointer exception re-using a mapobject causes a null pointer exception. in the code below onRefresh() and onList() are dummy functions that simply change the icon of a map marker based upon user selection.

[codenameone-discussions] Re: ToastBar questions

2016-09-27 Thread howudodat1
ok, nice I mimicked the ToastBar showConnectionProgress in my class and it worked fine. I'll look into interactiondialog to see about spinning my own that blocks user input finally I noticed that the progress bar never becomes visible using the native theme in the simulator with ios 7 On

[codenameone-discussions] Re: Form title is written twice

2016-09-25 Thread howudodat1
Did you take the time to read my message? Apparently not as you *completely* *ignored* the question. On Saturday, September 24, 2016 at 9:22:46 PM UTC-7, Shai Almog wrote: > > The developer guide is a wiki, it helps being proactive and actually > fixing stuff: > >

[codenameone-discussions] Re: How to force width / height of a dialog

2016-09-25 Thread howudodat1
did you even look at my code? It is the *content* that I set the preferred size on On Saturday, September 24, 2016 at 9:21:26 PM UTC-7, Shai Almog wrote: > > The preferred size of the dialog doesn't matter as it always takes up the > entire screen. > What matters is the preferred size of its

[codenameone-discussions] Re: Form title is written twice

2016-09-24 Thread howudodat1
I have read the developer guide, more times than I'd like to admit, although I must admit I haven't made it past miscellaneous functions. In fact I can tell you that you have so far 26 navigation errors in your document and numerous typos as well as outdated code and samples that no longer

[codenameone-discussions] Re: How to force width / height of a dialog

2016-09-24 Thread howudodat1
This is so frustrating... Which component does the preferred size need to be set on? Here is a VERY SIMPLE test case. Look at it, use it, test it, then please explain what's wrong. It respects the preferred height but not width.

[codenameone-discussions] Re: How to force width / height of a dialog

2016-09-23 Thread howudodat1
yes, I know I can do that and it is a *workaround, and not a very good on at that*. - Why isn't the layout manager respecting the preferred sizes? - When I walk through your code, I see that the width / height of the components are being calculated (or at least it seems), but preferred

[codenameone-discussions] Re: Form title is written twice

2016-09-23 Thread howudodat1
*obviously I have more going on?* I would say obviously your framework has a bug. I would say my use scenario is not that unusual...*obviously* Displaying a dialog, and then when that dialog is disposed displaying a progress indication (toastbar) and then updating an element on the form is

[codenameone-discussions] How to force width / height of a dialog

2016-09-22 Thread howudodat1
I override calcPreferredSize to force a dialog to be larger (for a large textarea). However it still shows up as a small dialog packed to the minimum package com.howudodat.sdcpmobile.ui; import com.codename1.ui.Button; import com.codename1.ui.Dialog; import com.codename1.ui.FontImage;

[codenameone-discussions] togglebutton one pixel too wide, missing right border

2016-09-22 Thread howudodat1
IDE: Eclipse Simulator native theme Toggle button appears to be one pixel too wide. In the screenshots you can see that the right border is not being drawn. The screenshot includes the main app as well as a small test app. protected void initManualComponents() { setLayout(new

[codenameone-discussions] Re: Form title is written twice

2016-09-22 Thread howudodat1
The title is displayed correctly when I dont show the dialog, *obviously* this is not a solution The title is also correct when I show the dialog modeless. This is a *possible* solution but requires now that I implement some form of a callback to inform the calling form that the dialog is

[codenameone-discussions] Form title is written twice

2016-09-20 Thread howudodat1
When using a side menu and right bar and toastbar, setting the title of the window results in overwritten text: The below code demos the problem. Click on the filter button (far right, then click on apply in the dialog). The result is below

[codenameone-discussions] how to set null date

2016-09-20 Thread howudodat1
for the date picker, I dont want it to be today's date. I want it to be "...", or empty if (client.getDC_Date() != null) cmbDate1.setDate(client.getDC_Date()); cmbDate2.setDate(client.getDC_Date2()); if I dont call setDate, the picker defaults to today's date, and there is no way to leave

[codenameone-discussions] Re: programatically go back

2016-09-20 Thread howudodat1
ok, this solution works for an error situation. However I am seeing similar weird behaviour when I do: Form1 visible, click on button to show Form 2 Form2 during constructor calls toastbar and retrieves information from the server Form2 click on "back" calls parent.showBack() Form1 is reloaded

[codenameone-discussions] Re: scrollComponentToVisible

2016-09-20 Thread howudodat1
Yes I ran it on a device both iOS and Android. Both pickers are a joke for large lists, so my original question still stands. On Thursday, September 1, 2016 at 10:19:33 PM UTC-7, Shai Almog wrote: > > Did you run it on the device? > We don't have a screenshot of an iOS device in the javadoc >

[codenameone-discussions] native maps defaulting to openstreet on android, crashing on ios

2016-09-15 Thread howudodat1
I am using the googlemaps.MapContainer and testing on android and ios. when I run in android it loads OSM instead of googlemaps, which means it's falling back. On ios it just crashes. What am I missing? here are my build hints: codename1.ios.appid=7WG765AP54.com.howudodat.testapp

[codenameone-discussions] Re: date span / addition

2016-08-31 Thread howudodat1
well look at that...I thought Calendar was a UI object. I see java.util.Calendar now :) On Monday, August 29, 2016 at 9:36:24 PM UTC-7, Shai Almog wrote: > > What's not working with this? > Notice that DATE is really DAY_OF_MONTH. > -- You received this message because you are subscribed to

[codenameone-discussions] scrollComponentToVisible

2016-08-31 Thread howudodat1
I am building a picker replacement that uses a dialog to display a list of buttons. (the iOS picker of only 3 lines is a joke) The picker is a Dialog component with an associated button. When the button is pressed, the dialog is shown. I would like to scroll to the last selected item (even

[codenameone-discussions] date span / addition

2016-08-29 Thread howudodat1
how can I add N days or N years to a date? Normally I would do: Calendar c = Calendar.getInstance(); c.setTime(new Date()); // Now use today date. c.add(Calendar.DATE, 5); // Adding 5 days Peter -- You received this message because you are subscribed to the Google Groups "CodenameOne

[codenameone-discussions] Re: programatically go back

2016-08-29 Thread howudodat1
As far as I understand it the "StateMachine" no longer exists, or at least not in the form to which you refer. At the minimum it does not exist in my project. I have noticed this weird behaviour: if I store a handle to the parent form and then call parent.showBack() - Just call

[codenameone-discussions] programatically go back

2016-08-28 Thread howudodat1
Is there a way to programatically go back? Before in the old state machine there was back(). Now with the newest framework, I cant find back(). I'm not using the new GUI builder, I am coding all by hand ConnectionRequest r = new ConnectionRequest() { protected void readResponse(InputStream

[codenameone-discussions] Re: bizarre result with tablelayout

2016-07-25 Thread howudodat1
here is the smallest possible I could get to reproduce the problem. There is only a one line difference between the two dialogs. It is that one line that causes MyDlg2 to break. test1 (MyDlg) the X is chopped off on the right test2 (MyDlg2) the 4th column is completely gone.

[codenameone-discussions] Re: string picker width is 0

2016-07-25 Thread howudodat1
thanks, will look forward to the update, for now I do: protected void setStrings (Picker picker, String[] strs) { picker.setStrings(strs); String sLongest = ""; for (String s : strs) if (s.length() > sLongest.length()) sLongest = s;

[codenameone-discussions] special character and non native theme

2016-07-25 Thread howudodat1
When using special characters, they display just fine on native theme, but on non native they display with a box/x charater columnNames[1] = "Name \u25BC";

[codenameone-discussions] Re: bizarre result with tablelayout

2016-07-25 Thread howudodat1
And the problems keep getting weirder. Now the 4th column is disappearing. Here is a complete test app you can copy / paste. Click on test1 and you see all 4 columns, click on test2 and the 4th column disappears. The difference is a textfield is in test2 public class FrmMain extends Form {

[codenameone-discussions] Re: bizarre result with tablelayout

2016-07-25 Thread howudodat1
You can see the problem in your sample, why is there a textfield laying on top of your vertically spanned container? On Sunday, July 24, 2016 at 9:00:06 PM UTC-7, Shai Almog wrote: > > This is what I got when I ran something similar: > > >

[codenameone-discussions] Re: dialog transparency in the emulator

2016-07-25 Thread howudodat1
I still dont think it is working. As a test I changed to using setBgColor() I tried all three: this.getDialogStyle().setBgColor(0xFF); this.getStyle().setBgColor(0xFF); this.getContentPane().getStyle().setBgColor(0xFF); And the result I get is:

[codenameone-discussions] Re: bizarre result with tablelayout

2016-07-24 Thread howudodat1
comment out the adding of the last text field. The the container should span 4 rows, and the text field should NOT be overlayed on top of the container that spans 4 rows. The sample really isn't that complex. On Sunday, July 24, 2016 at 9:00:06 PM UTC-7, Shai Almog wrote: > > This is what I

[codenameone-discussions] string picker width is 0

2016-07-24 Thread howudodat1
the string picker is showing with no width, so the items can't be chosen? Picker picker = new Picker(); picker.setStrings("", "String 1", "String 2"); TableLayout layout = new TableLayout(5,3); Container cnt1 = new Container(layout);

[codenameone-discussions] position dialog at upper right

2016-07-24 Thread howudodat1
I have a dialog (filter options) that shows when a command button on the right of the title bar get pressed. Currently it pops to the center of the screen, how can I get it to pop to the upper right? Command cmdFilter = new Command("", FontImage.createMaterial(FontImage.MATERIAL_FILTER_LIST,

[codenameone-discussions] dialog transparency in the emulator

2016-07-24 Thread howudodat1
the emulator shows the dialog as semi transparent which looks bizzare. I even tried setting bgTransparency with: this.getDialogStyle().setBgTransparency(255); this.getContentPane().getStyle().setBgTransparency(255); Here is a screenshot:

[codenameone-discussions] Re: bizarre result with tablelayout

2016-07-24 Thread howudodat1
oops forgot to add the screenshot -- You received this message because you are subscribed to the Google Groups "CodenameOne

[codenameone-discussions] Re: tablelayout not spanning

2016-07-20 Thread howudodat1
Of course I dont quite understand the idea...that's why I am asking for help, maybe what you dont quite understand is that I am asking for help??? All I am looking for is a very simple table layout (I preferr to walk before I run) [ cell 1][ cell 2][ cell 3][ cell4 ] [Version][String that

[codenameone-discussions] Re: tablelayout not spanning

2016-07-19 Thread howudodat1
I think that the problem is somewhere else as using new constraints did not help any TableLayout layout = new TableLayout(4,4); private Label lblVersion = new Label(); private Label lblEmployee = new Label(); Picker cmbTheme = new Picker(); private Container cnt1 = new

[codenameone-discussions] tablelayout not spanning

2016-07-18 Thread howudodat1
The following code doesn't render as I would have expected. Not sure how many columns it's actually showing: TableLayout layout =

[codenameone-discussions] pull to refresh not working on tab component

2016-07-05 Thread howudodat1
tested in the simulator with the below code, pullToRefresh runnable is not getting called Form hi = new Form("Hi World"); hi.setLayout(new BorderLayout()); Tabs t = new Tabs(); t.addTab("Test1", new com.codename1.ui.Label("Test1")); t.addTab("Test2", new

[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

[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: new GUI Builder error creating new form

2016-06-22 Thread howudodat1
ok, the latest plugin fixes this problem. On Tuesday, June 21, 2016 at 9:27:31 PM UTC-7, Shai Almog wrote: > > I was talking about OS system path but it seems you use Mac OS which makes > a difference here. > Please check if this was resolved in the latest plugin update. > -- You received this

[codenameone-discussions] Re: new GUI Builder error creating new form

2016-06-21 Thread howudodat1
And I just checked, there is no update available On Tuesday, June 21, 2016 at 9:27:31 PM UTC-7, Shai Almog wrote: > > I was talking about OS system path but it seems you use Mac OS which makes > a difference here. > Please check if this was resolved in the latest plugin update. > -- You

[codenameone-discussions] Re: new GUI Builder error creating new form

2016-06-21 Thread howudodat1
actually I use ubuntu 16.04 On Tuesday, June 21, 2016 at 9:27:31 PM UTC-7, Shai Almog wrote: > > I was talking about OS system path but it seems you use Mac OS which makes > a difference here. > Please check if this was resolved in the latest plugin update. > -- You received this message

[codenameone-discussions] new GUI Builder error creating new form

2016-06-20 Thread howudodat1
This was posted on StackOverflow with no working answer so I thought I'd try here: Create a new project: Hello World (Bare Bones) add new: Gui Builder, form, hit finish error: Unresolved compilation problem: '<>' operator is not allowed for source level below 1.7 java version is oracle's