[codenameone-discussions] Re: Convert existing projects in Eclipse to Codename One project

2016-11-04 Thread Shai Almog
Codename One already supports Eclipse.

-- 
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.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/f65e7e57-9948-4284-adc6-2b31ecc18212%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: New IOS install message "may slow down your iPad"

2016-11-04 Thread Shai Almog
You are one of the main reasons we noticed this. There is no reason that 
debug builds take up as much server time as it impacts everyone.

Performance impact would be minimal, as I said Apple exaggerates the value 
of their 64 bit chips.

-- 
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.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/0f443b46-5046-4b01-b3e6-02a9ea35484f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] iOS Build Error - plist Insertion

2016-11-04 Thread mcw
I am trying to insert code into my plist for the Apple ATS changes.

If I use the example you gave to disable it:

ios.plistInject=NSAppTransportSecurityNSAllowsArbitraryLoads

Everything works fine and I can make the connection. But obviously I don't 
want to do this. I am trying to make a local connection from an iOS device 
to my PC over my home network. Apple recognize this condition, I think, 
NSAllowsLocalNetworking. From the Apple article you reference:

An optional Boolean value that, when set to YES, removes App Transport 
> Security protections for connections to unqualified domains and to .local 
> domains, without disabling ATS for the rest of your app. 
>
> If you set this key’s value to YES, then App Transport Security ignores 
> the value of the NSAllowsArbitraryLoads key in iOS 10 and later and in 
> macOS 10.12 and later. This behavior supports adoption of App Transport 
> Security protections while allowing embedded browsers to continue working 
> in iOS 9 and earlier and in OS X v10.11 and earlier. (To obtain this 
> behavior, set the value of this key to YES and set the value of the 
> NSAllowsArbitraryLoads key to YES as well.)
>
> Default value is NO.
>
>> Available starting in iOS 10.0 and macOS 10.12.
>>>
>>
If I read this correctly I have to set both 
NSAllowsArbitraryLoads and NSAllowsLocalNetworking to true. And therein 
lies my problem, whatever I do results in a build failure on the plist 
step. I have no idea how to format the plist entry.

I have tried things like:

NSAppTransportSecurityNSAllowsLocalNetworkingNSAllowsArbitraryLoads

NSAppTransportSecurityNSAllowsArbitraryLoads
NSAllowsLocalNetworking

but the build always fails. I obviously have no idea what I am doing here. 
How do I format the plist entry?


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 this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/51d5d84a-2611-4601-912a-4746f3862ac0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: strange build server glitch

2016-11-04 Thread Dave Dyer
There might be a clue if the successful build log were available (next 
time).

-- 
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.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/1762a4a3-b24e-48cc-96f8-0e15bb794096%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] SCREEN/APP FREEZING

2016-11-04 Thread Jérémy MARQUER
Hi, 

I think my problem was to create all my form in advance, not in the EDT 
plus to do expensive task on this...

On Wednesday, October 26, 2016 at 3:44:14 AM UTC+2, Shai Almog wrote:
>
> Do you have more than one call to invokeAndBlock in a row?
> The method has an overhead and a nesting limit which means you shouldn't 
> overuse 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 codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/5a32e0e8-0da0-4922-98c1-8feabefef0c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Re: Still problems with "iphone" targettype and having to use "iphone_old"

2016-11-04 Thread mcellinpaul


Yeah I've created a new one for app store distribution. Just wanted to check on 
the build hints in advance of using it. I think the build hints have been the 
main cause of my issues. 


Thanks


Thanks




On Fri, Nov 4, 2016 at 4:17 PM +, "Steve Hannah" 
 wrote:










Glad to hear you got it working.


One last question though – when I come to do a release build for the app store 
submission, are there any build hints that you recommend I should use? Most 
refer to ad-hoc or enterprise.

 

I'm not 100% on this, but I think you need to generate a new 
certificate/provisioning profile for submission to the app store (i.e. I don't 
think you can submit builds signed with an enterprise/ad-hoc certificate to the 
app store).  Someone please correct me if I'm wrong.  In which case, you should 
be able to generate a regular distribution certificate and provisioning 
profile.   The ios.distributionMethod build hint would need to be either 
omitted, or set to "app-store".
Steve 






-- 
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.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/AEA7DE3F115D9A03.a2c72b76-01a1-4d00-ae4e-86279cef4c37%40mail.outlook.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Re: Still problems with "iphone" targettype and having to use "iphone_old"

2016-11-04 Thread Steve Hannah
Glad to hear you got it working.

One last question though – when I come to do a release build for the app
> store submission, are there any build hints that you recommend I should
> use? Most refer to ad-hoc or enterprise.
>
>
>

I'm not 100% on this, but I think you need to generate a new
certificate/provisioning profile for submission to the app store (i.e. I
don't think you can submit builds signed with an enterprise/ad-hoc
certificate to the app store).  Someone please correct me if I'm wrong.  In
which case, you should be able to generate a regular distribution
certificate and provisioning profile.   The ios.distributionMethod build
hint would need to be either omitted, or set to "app-store".

Steve

-- 
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.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/CAGOYrKX%2Bg04%2BhB87ipjsWjdQrzMAaCb%2B%3DyDepkw8i_sfqpcyVQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] StringUtil.tokenize incorrect results

2016-11-04 Thread Carlos Verdier
If I don't recall incorrectly, Util.split returns the kind of results you 
want...

-- 
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.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/0e612c4a-315b-4192-8db5-1cbd6183becf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: URISytaxException

2016-11-04 Thread Carlos Verdier
Ok, thank you. 

That's not my computer so I'll try to reproduce this issue creating a 
localized username. I'll let you know as soon as I get 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 from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/4677951e-e144-4d5f-83fc-0740bb5d1090%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Convert existing projects in Eclipse to Codename One project

2016-11-04 Thread Anders Björklund
A challenge to all of you who are skilled in coding: 'Develop a function 
where you can convert existing projects in Eclipse to Codename One project'

-- 
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.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/e1b40872-c7f5-4984-9c0b-cb5ffc0d8268%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.