[codenameone-discussions] New iOS build servers are now live and the default! Please test your apps and let us know of any regressions ASAP

2016-06-18 Thread Shai Almog
As we announced here: https://www.codenameone.com/blog/ios-migration-continued.html and initially here: https://www.codenameone.com/blog/ios-server-migration-plan.html We have just flipped the switch and all new iOS builds are now directed to the new xcode 7.x build servers. This should be seam

[codenameone-discussions] Website down due to ISP maintenence

2016-06-19 Thread Shai Almog
We are experiencing a short amount of downtime that should be resolved soon. -- 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

[codenameone-discussions] Re: Website down due to ISP maintenence

2016-06-19 Thread Shai Almog
It's back up. -- 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 group at https://groups

[codenameone-discussions] Re: New iOS build servers are now live and the default! Please test your apps and let us know of any regressions ASAP

2016-06-19 Thread Shai Almog
Due to some issues in the servers we are reverting back to iphone/iphone_new and will re-try in a week or two. -- 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

[codenameone-discussions] Re: Unexpected error of magic number

2016-06-19 Thread Shai Almog
Hi, that means the resource file is broken. Is it 0 length? -- 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...@google

[codenameone-discussions] Re: an IOS platform issue with images

2016-06-19 Thread Shai Almog
That's possible. Especially with image manipulation which is pretty tricky to get right on iOS as it's graphics pipeline is totally different. I'm not sure if it's fixable though, if I recall that code we added the color to workaround a different problem in that logic where transparency didn't

[codenameone-discussions] Re: Cannot remove back button

2016-06-19 Thread Shai Almog
Thanks. The back navigation is undergoing a major change as we are moving to the Toolbar API which is a newer approach. The GUI builder is also being replaced with the new GUI builder that doesn't include navigation concepts within it (more like a Swing GUI builder). So we shuffle things quite

[codenameone-discussions] Re: Cannot install any skin

2016-06-19 Thread Shai Almog
Thanks for the headsup. This is an echo from yesterdays website downtime, caching commands in the CDN got mangled and cloudflare was a bit annoying. This should be fixed now. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubs

[codenameone-discussions] Re: Cannot install new build on older Android device

2016-06-19 Thread Shai Almog
Google effectively dropped support for these phones with Google play and gradle. There are workarounds I highlighted here: http://stackoverflow.com/a/34281264/756809 -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe fro

[codenameone-discussions] Re: an IOS platform issue with images

2016-06-20 Thread Shai Almog
If you have something specific in mind you can submit a pull request with the javadoc changes you think are appropriate for this. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving email

[codenameone-discussions] Re: Cannot install new build on older Android device

2016-06-20 Thread Shai Almog
We have a fix for that build error which will be a part of the next update. Notice that with the new Google play support you can include only location support without including the ads support which is exactly why we deprecated the global sweeping build switch. See https://www.codenameone.com/

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

2016-06-20 Thread Shai Almog
Can you provide a link to the stack overflow question so I have context? Make sure Java 8 is first in your system path. This is required for Eclipse. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and s

[codenameone-discussions] Re: Airwatch App wrapping

2016-06-20 Thread Shai Almog
Our new xcode build servers use 6.0 so they should work. You can follow our process of migrating to them in the blog. To use them use the iphone_new target as explained here: https://www.codenameone.com/blog/ios-server-migration-plan.html https://www.codenameone.com/blog/ios-migration-continued.h

[codenameone-discussions] Re: http on IOS

2016-06-20 Thread Shai Almog
We walked this back because of some regressions: https://www.codenameone.com/blog/ios-migration-setback.html This policy is enforced by Apple, however for compatibility with legacy Apple is only enforcing it for apps built with a newer version of xcode. Knowing Apple this version of xcode will

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

2016-06-21 Thread Shai Almog
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 because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this gro

[codenameone-discussions] Re: an IOS platform issue with images

2016-06-21 Thread Shai Almog
Pull requests are reasonably easy to do. The main motivation of using that over an issue or comment is: a. They get done. b. You get the credit. I would not use the word unrelated since the values are clearly related. -- You received this message because you are subscribed to the Google Groups

[codenameone-discussions] Re: Android flash when you hit enter on keyboard (and other things)

2016-06-21 Thread Shai Almog
Hi, this seems to be an Android bug: http://stackoverflow.com/questions/7321569/android-ime-actiongo-doesnt-work-on-certain-devices We might want to switch to action DONE in our implementation. I'll deffer this to Chen who is a better Android authority on this... -- You received this message be

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

2016-06-21 Thread Shai Almog
That method does nothing. You need to call stopEditing() on the text field to actually close it. -- 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 cod

[codenameone-discussions] Re: Airwatch App wrapping

2016-06-21 Thread Shai Almog
Distribution builds != Development builds and you seem to send both. If you made your own certificates/provisioning then there are MANY reasons these can fail: http://www.codenameone.com/blog/ios-code-signing-fail-checklist.html You seem to be sending builds to iphone and not to iphone_new whic

[codenameone-discussions] Re: ...-override file is missing and don't know how to proceed

2016-06-22 Thread Shai Almog
How did you create the project? Did you try running it? There is a directory that should exist under the project dir called override. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving e

[codenameone-discussions] Re: OutOfMemory Error in OneDrive uploading file over a little large file

2016-06-22 Thread Shai Almog
Hi, I don't understand what design needs a buffered output stream. On which OS did it used to work and stopped? -- 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 a

[codenameone-discussions] Re: Airwatch App wrapping

2016-06-22 Thread Shai Almog
Looking at the code I see that the 6.0 value is only set if ios.bitcode=true and it defaults to false. That last error is exactly why we reverted the iphone_new change and returned to the older build servers. We are working on a major overhaul to the build process to circumvent that error. Hope

[codenameone-discussions] Re: Hi Shai Almog, How to make condition in GenericListCellRenderer ? Want to apply style in label according to data. Cant get data there then how it possible to do conditio

2016-06-23 Thread Shai Almog
Please notice our strong recommendation in the developer guide and the list javadocs not to use the List classes or related classes. There is some builtin support in List for customizing the UIID based on the model data see our developer guide: https://www.codenameone.com/manual/components.html

Re: [codenameone-discussions] does CN1 framework (API) guarantee identical behavior between Android, iOS and hopefully the Simulator?

2016-06-23 Thread Shai Almog
We don't guarantee that and no one can. Behavior will always differ and you always need to test on devices, however it should differ within reasonable sensible well documented parameters as long as you stick to our API's/guidelines. Keep in mind that the device implements things the simulator c

Re: [codenameone-discussions] CN1 disappeared from Netbeans

2016-06-23 Thread Shai Almog
Hi, the issue with the plugin disappearing is an odd regression in the plugin settings that we will fix with the update today. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails f

[codenameone-discussions] Re: Tabs + BoxLayout Y not working now

2016-06-23 Thread Shai Almog
Hi, we try to stick to updating only on Fridays and this week we were successful. No updates were made for the servers until later today. If the problem happens in 3.4 it's because of a change you made to the code as that is static. Looking at the code you should not use that center behavior fo

[codenameone-discussions] Re: Tabs + BoxLayout Y not working now

2016-06-24 Thread Shai Almog
I don't understand how I can reproduce this. If I scroll down and then swipe the scrolling is effectively stopped. -- 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

[codenameone-discussions] Re: OutOfMemory Error in OneDrive uploading file over a little large file

2016-06-24 Thread Shai Almog
Hi, if you send a versioned build to 3.4 does it work there and fail in a regular build? http://www.codenameone.com/how-do-i---get-repeatable-builds-build-against-a-consistent-version-of-codename-one-use-the-versioning-feature.html -- You received this message because you are subscribed to the

Re: [codenameone-discussions] m: Moving from screen to another screen in Codename oneii

2016-06-24 Thread Shai Almog
Is this a question? -- 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 group at https://

[codenameone-discussions] Re: Tabs + BoxLayout Y not working now

2016-06-25 Thread Shai Almog
Odd, thanks. Can you file an issue one that, we'll have to give it a deeper look. -- 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-discuss

[codenameone-discussions] Re: Documentation for AndroidNativeUtil

2016-06-26 Thread Shai Almog
There isn't much discussion of that since it's very "under the hood" but you can see some of that discussion here: https://www.codenameone.com/manual/advanced-topics.html -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscrib

[codenameone-discussions] Re: OutOfMemory Error in OneDrive uploading file over a little large file

2016-06-26 Thread Shai Almog
So if this isn't a regression then it's back to my original assertion that you are allocating a huge amount of RAM in a single block. I suggest looking at MultipartRequest and it's source code to see how we handle large file uploads. -- You received this message because you are subscribed to t

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

2016-06-27 Thread Shai Almog
One of the reasons we deprecated image download service was the fact that it stores a serialized object rather than the actual image. So if you name the file using the same name as the ImageDownloadService used URLImage or other API's won't work since they would assume the file has a proper imag

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

2016-06-27 Thread Shai Almog
Notice the stack of the first exception: at com.codename1.io.Storage.readObject(Storage.java:256) at com.webbtide.tpd.faultcodes.PartsListCellRenderer.getListCellRendererComponent(PartsListCellRenderer.java:88) I'm guessing your renderer relies on that behavior somewhere... -- You rece

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

2016-06-28 Thread Shai Almog
Generally reading from storage in a renderer or even checking it is probably a bad idea... I'd remove list usage altogether from most common applications as it no longer has a performance advantage. Here you are reading the file as a serialized object which worked for the old image download bu

[codenameone-discussions] Re: New gui builder

2016-06-28 Thread Shai Almog
We don't remove the old GUI files after the conversion but the source files should be in place and the old GUI files should be ignored. We considered removing them but decided we'd better not change the resource file as that's a dangerous direction. Make sure your resource editor/plugin is at t

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

2016-06-28 Thread Shai Almog
As far as I know it should also build the code but Chen can probably answer that better than I can. In IntelliJ we automatically update the code the moment you save from the new GUI builder. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions"

[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 receivin

[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+unsub

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

2016-06-29 Thread Shai Almog
Not a big expert on Eclipse but try defining the task as dependent on init. -- 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+un

[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+unsubscr...@goo

[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 t

[codenameone-discussions] Re: GUI Builder sidemenu bugs

2016-06-29 Thread Shai Almog
Can you file an issue on those? Thanks. -- 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 t

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

2016-06-29 Thread Shai Almog
FYI if you are already looking at the code it's pretty easy to just submit a pull request as explained here: https://www.codenameone.com/blog/how-to-use-the-codename-one-sources.html If not please file an issue. -- You received this message because you are subscribed to the Google Groups "Cod

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

2016-06-30 Thread Shai Almog
The really cool part is the infinite scroll support that we use in PropertyCross etc.: https://www.codenameone.com/blog/property-cross-revisited.html -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and

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

2016-06-30 Thread Shai Almog
You didn't disable the includeNativeBool flag in that theme right? Did you set the infiniteImage theme constant to something? -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails fro

[codenameone-discussions] Re: toolBar.setTitleComponent is not spanning to the whole width

2016-06-30 Thread Shai Almog
Hi, that's my bad. I accidentally pushed in a fix too early to workaround an issue we had in the JavaScript port. It will act the same way in the simulator with today's release but you would be able to revert to the old behavior using Toolbar.setCenteredDefault(false) -- You received this mess

[codenameone-discussions] Re: How do I build a theme from scratch?

2016-06-30 Thread Shai Almog
All of our themes are built from scratch on top of native and we built them in the same way you would. So you can look at them as references. When you create a new theme native is one of the option and when you open up the theme you will notice almost no definitions. Any UIID you override in the

[codenameone-discussions] Re: New gui builder

2016-07-01 Thread Shai Almog
I agree that we need to fix the tree layout to be always visible. It might also make sense to switch to Accordion instead of nested tabs for some of the UI elements. I think there are a lot of UX issues that need work in the new GUI builder, currently we're more concerned about stability and rel

[codenameone-discussions] Re: toolBar.setTitleComponent is not spanning to the whole width

2016-07-01 Thread Shai Almog
The new release doesn't revert the behavior but provides an API to do so. Just do an Update Client Libs and call Toolbar.setCenteredDefault(false) in your init(Object) method. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsub

[codenameone-discussions] Re: Windows build only runs as background app

2016-07-01 Thread Shai Almog
As far as I know nothing changed in the build process but Steve said he ran into a similar issue a while back and will look into it after the weekend. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and

[codenameone-discussions] Re: IOS initialization crash

2016-07-01 Thread Shai Almog
Calling or triggering values() from the constructor of the enum might be legal in Java but I'm not sure if it's something we should support. I would wonder what JavaSE returns as the values during the construction in such a case... I'm guessing this doesn't work in SE either but fails quietly (e

[codenameone-discussions] Re: Standard iOS font looks small

2016-07-01 Thread Shai Almog
Which font did you use? Medium native:MainThin font should look pretty close to the native iOS typeface in terms of size. You can also size things in millimeters which is what we do more in recent years as it makes the most sense. You can check out font customization in the developer guide: htt

[codenameone-discussions] Re: MapComponent and the current location

2016-07-01 Thread Shai Almog
Hi, you mean MapContainer or native maps not MapComponent which is a different thing... We don't expose that API in the MapContainer mostly because we want to keep the API small and usable. You can probably add such an API but I'm not sure if there is a need as the native location API will prob

[codenameone-discussions] Re: How to use the sources from github with Intellij

2016-07-02 Thread Shai Almog
Thanks! we use NetBeans for the development so we haven't really worked on that. I noticed you submitted a pull request so I'm guessing you were able to get this working. If so any details on this for future IDEA users would probably be helpful. -- You received this message because you are sub

Re: [codenameone-discussions] Re: New gui builder

2016-07-02 Thread Shai Almog
The new GUI builder is written in Codename One so internal frames aren't really available. We'll try to make it more flexible though -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving em

[codenameone-discussions] Re: Windows build only runs as background app

2016-07-02 Thread Shai Almog
Since the build happens on the server your IDE or plugin version have nothing to do with it. The only thing that might trigger something is build hints. Notice that you can target an EXE by using the build hints instead of an msi. -- You received this message because you are subscribed to the G

[codenameone-discussions] Re: How to call post show Form method ?

2016-07-02 Thread Shai Almog
Hi, I don't quite understand the question but I'm guessing that you want one menu for all the forms in a GUI builder application? Just create an "initMenu(Form)" method and call it from the before event of all forms. It will build your unified menu. -- You received this message because you ar

[codenameone-discussions] Re: Standard iOS font looks small

2016-07-02 Thread Shai Almog
It very much depends on the look of your app. 2-2.5 is relatively small, 7mm is pretty big although you can go bigger. Just play with the sizes until it looks reasonable with your design and font weight. -- You received this message because you are subscribed to the Google Groups "CodenameOne

[codenameone-discussions] Re: onPrepareOptionsMenu crashes

2016-07-02 Thread Shai Almog
There are some inherent bugs in Android actionbar we no longer recommend using the native menus and have switched to Toolbar by default. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receivin

Re: [codenameone-discussions] Re: How to call post show Form method ?

2016-07-03 Thread Shai Almog
The mistake is doing the network connection on construction instead of when the form is shown. Forms have a show event that you can override or listen to. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this grou

[codenameone-discussions] Re: How to use the sources from github with Intellij

2016-07-03 Thread Shai Almog
I would generally avoid the module approach as it might conflict with the project settings. With this approach I would just copy the updated jar files into place in the IDEA project. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. T

[codenameone-discussions] Re: Fonts on Windows Phone

2016-07-03 Thread Shai Almog
The port is based on an older port that predated the native: font scheme. This is probably something we need to add. -- 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, se

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

2016-07-04 Thread Shai Almog
Your sample opens the progress dialog and closes it immediately without letting it show. The progress dialog is not modal and doesn't block the execution thread. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from th

Re: [codenameone-discussions] Re: Windows build only runs as background app

2016-07-04 Thread Shai Almog
Try running the project from command line using java -jar with your jar file name. It should be somewhere in the installation hierarchy. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receivin

[codenameone-discussions] Re: Windows Phone 10 - fonts not working

2016-07-04 Thread Shai Almog
Can you file an issue on that? It's OK to include just one TTF file that's free e.g. Roboto with the test case. -- 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 a

[codenameone-discussions] Re: Using iOS native interface to create video thumbnail always returning empty byte array

2016-07-04 Thread Shai Almog
I've commented on your question here: http://stackoverflow.com/questions/38177114/ios-code-to-generate-video-thumbnail-returning-0-byte -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving

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

2016-07-05 Thread Shai Almog
Sorry didn't see the comment out section. It's because of the setTitle() call. It messes up the height calculations for the dialog. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving em

[codenameone-discussions] Re: AdMob to deprecate SDK

2016-07-05 Thread Shai Almog
Hi, probably not but it should be pretty easy to fix. The author just needs to integrate cocoapods to support that: https://www.codenameone.com/blog/cocoapods.html This would also make it future proof for other library deprecations. -- You received this message because you are subscribed to the

[codenameone-discussions] Re: Splash screen with wrong status bar area?

2016-07-05 Thread Shai Almog
Why do you have a black splash screen? You can style the StatusBar background color to exclude it from your background. -- 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,

[codenameone-discussions] Re: Change font on overflow commad

2016-07-05 Thread Shai Almog
Use: Command cmd = f.getToolbar().addMaterialCommandToOverflowMenu( Button cmp = f.getToolbar().findCommandComponent(cmd); -- 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: Native interface not work after AlarmManager/onReceive in Android 6.0

2016-07-05 Thread Shai Almog
You shouldn't use your own activity or implement/extend additional classes in the native interface itself. We already have a portable way for background notifications so it's unclear to me what you are trying to achieve with native interfaces here? -- You received this message because you are

[codenameone-discussions] Re: broken build server

2016-07-05 Thread Shai Almog
This looks specific to your project, how big is the project now? -- 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...@g

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

2016-07-05 Thread Shai Almog
You can't have the Tabs component itself scrollable. It won't look good. You want to have the containers added to the tabs as the scrollable/refreshable elements. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from th

Re: [codenameone-discussions] Re: Windows build only runs as background app

2016-07-05 Thread Shai Almog
Dialog is a blocking method so if you show it during initialization you are blocking the rest of the initialization. Wrap the call in a callSerially(...) which will postpone it to the next event dispatch thread loop. -- You received this message because you are subscribed to the Google Groups

[codenameone-discussions] Re: Displaying form on codition

2016-07-05 Thread Shai Almog
http://stackoverflow.com/questions/38216529/displaying-form-on-codition-codename-one -- 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-discu

[codenameone-discussions] Re: Splash screen with wrong status bar area?

2016-07-06 Thread Shai Almog
How do you want this to appear? What are you interested in changing exactly? FYI you can unzip the IPA file and see the screenshot files we generate within. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this

[codenameone-discussions] Re: Change font on overflow commad

2016-07-06 Thread Shai Almog
I didn't get that this is an overflow... The findCommandComponent works for everything except for overflow which is implemented as a List so it has no pre-existing component. I'm not a fan of that approach but it has some deep roots in our code. You should be able to call setMenuCellRenderer o

Re: [codenameone-discussions] Re: Windows build only runs as background app

2016-07-06 Thread Shai Almog
FYI you can check the "include source" flag and download a netbeans project that you can use to debug. This will allow you to press pause on the debugger and see exactly where all the threads are stuck. Dialogs won't work unless a form is shown first. I'm not really sure I understand the flow y

[codenameone-discussions] Re: Before Show Event not being triggered

2016-07-06 Thread Shai Almog
Hi, how is that form shown? Do you call showForm(String, null) or in some other way? -- 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-disc

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

2016-07-06 Thread Shai Almog
Remove this: t.setScrollableY(true); The Tabs themselves should NOT be scrollable In PnlCurrentActivity use setScrollableY(true) because this component should be scrollable. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" gro

[codenameone-discussions] Re: IOS build error: commands failed

2016-07-06 Thread Shai Almog
That's not the full error log so I can't tell but you obviously have a bug in your native interface. -- 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: Native interface not work after AlarmManager/onReceive in Android 6.0

2016-07-06 Thread Shai Almog
Did you set the API level to a newer API level to work with this? Maybe Chen has an idea here. -- 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 codenam

Re: [codenameone-discussions] Re: if I have a free account I can only upload app of 1 MB?

2016-07-07 Thread Shai Almog
Nonsense. Your apps are ridiculously large even when compared to the pro/enterprise subscribers. You chose to take a desktop app and cram it into a phone and you project that this is a limitation. We see the statistics and quite a large number of developers use the free tier to build decent apps w

Re: [codenameone-discussions] Re: if I have a free account I can only upload app of 1 MB?

2016-07-07 Thread Shai Almog
Unlike your personal opinions I can actually see the factual statistics and numbers that back this. You can send 100 builds every month which is a HUGE number of builds. You are talking about iOS builds which have a harder quota but 90% of our users start with Android and this number is higher for

[codenameone-discussions] Re: Splash screen with wrong status bar area?

2016-07-07 Thread Shai Almog
The StatusBar style has padding so your app content doesn't display on the status bar area. It is positioned in the TitleArea so what you are seeing is the TitleArea background. You can either style the TitleArea to transparency or do something like this (assuming you use toolbar): form.getT

[codenameone-discussions] Re: MultiList model

2016-07-07 Thread Shai Almog
Hi, I would recommend avoiding multi-list and just using MultiButtons in a BoxLayout Y. You can also use InfiniteScrollAdapter to support pagination etc. You can see a sample of this in the property cross demo: http://www.codenameone.com/blog/property-cross-revisited.html If you still choose to

[codenameone-discussions] Re: Cannot install app on iOS

2016-07-07 Thread Shai Almog
There are quite a few reasons this can happen, e.g. parental lock, OS problems etc. -- 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-discu

[codenameone-discussions] Re: Hi i am getting this exception in build-server.html page error log while building an codename app * Exception is: java.lang.RuntimeException: Cannot read packageName from

2016-07-08 Thread Shai Almog
Did you change something in your codenameone_settings.properties? Did you refactor your main class package to somewhere else? -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails fr

Re: [codenameone-discussions] Re: Windows build only runs as background app

2016-07-08 Thread Shai Almog
Since you use the desktop builds I'm assuming you have a pro account. You can use the support email alias you got in the welcome message and I can probably answer faster thru there. A form has an addShowListener which is triggered after the form is actually shown (and the transition is finished

[codenameone-discussions] Re: Cannot install app on iOS

2016-07-08 Thread Shai Almog
To be fair I had my fair share of issues like that on Android and worse stuff on Windows. That frustrating annoying closed garden issues are a part of what makes programming hard. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To

[codenameone-discussions] Re: WP10 NoSuchMethodError

2016-07-08 Thread Shai Almog
Odd. -- 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 group at https://groups.google.c

[codenameone-discussions] Re: Images not rendered when scaling down on specific situations

2016-07-09 Thread Shai Almog
That is weird. I notice that if I leave the app and go back to it the image appears briefly and disappears after a moment. I think the problem is in the scale behavior fit and your hierarchy. The image tries to fit into a component whose size is unclear because it is nested in a scrollable cont

[codenameone-discussions] Re: reporting getClass problem in android

2016-07-10 Thread Shai Almog
Hi, from the developer guide https://www.codenameone.com/manual/files-storage-networking.html " *It’s a common mistake to use getClass().getName() to implement getObjectId() and it would seem to work in the simulator. This isn’t the case though! Since devices obfuscate the class names this beco

[codenameone-discussions] Re: Images not rendered when scaling down on specific situations

2016-07-10 Thread Shai Almog
On iOS we use textures to show images and they do have a size limit, the thing that threw me off here is the fact that this happens on Android. I'm guessing google has similar texture upper limits for image size. -- You received this message because you are subscribed to the Google Groups "Code

[codenameone-discussions] Re: How to send/get data to/from Servlet?

2016-07-10 Thread Shai Almog
Hi, you are adding the result to a header in the servlet which doesn't make sense. You need to write it to the response ideally with the right mime type see: http://www.oracle.com/technetwork/java/servlet-142430.html I would also suggest starting with doGet as you can debug that in the browser

[codenameone-discussions] Re: Images not rendered when scaling down on specific situations

2016-07-11 Thread Shai Almog
scaled() physically resize the image on the CPU using either our code in Java or native code. The other approach calls drawImage(img, x, y, w, h) which goes directly to the GPU on some platforms. I'm sure this is because of the GPU as you have pretty much proved it. 4096 is a magic power of 2 n

[codenameone-discussions] Re: MapContainer not displaying maps

2016-07-11 Thread Shai Almog
Hi, connect the device with a cable and DDMS. If there is an error it is logged there with the app package, sha1 key etc. Verify that those match the settings in the native maps section there. Keep in mind it take 20-30 minutes for the settings to update... -- You received this message because

[codenameone-discussions] Re: Native interface not work after AlarmManager/onReceive in Android 6.0

2016-07-11 Thread Shai Almog
I assigned this to Chen but he's under a bit of a heavy load with a few enterprise customers and hasn't been as responsive lately. I pinged him again. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group an

[codenameone-discussions] Re: Android build error

2016-07-12 Thread Shai Almog
I'm not sure why this is happening, maybe Chen or Steve have an idea here. If you removed those be sure to also remove all the android.* build hints that you didn't add and it should restore you back to the original compiling state. -- You received this message because you are subscribed to th

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