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
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
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
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
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
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
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
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
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
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
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/
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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://
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
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
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
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
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
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
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
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"
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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,
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
101 - 200 of 3232 matches
Mail list logo