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

2016-11-15 Thread Shai Almog
Check out this post about the different ways the era before the wizard 
could fail: 
https://www.codenameone.com/blog/ios-code-signing-fail-checklist.html
Also make sure your apple wwdr certificate is valid and up to date.

-- 
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/131ec81b-b351-4ea4-b7df-1d432ab618ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Certificate Wizard Error

2016-11-15 Thread Shai Almog
Try going thru the process of creating a distribution certificate in the 
Apple website, you can revoke it later with the wizard.
See if there are any restrictions or license dialogs you need to accept.

-- 
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/c73a0743-d287-4e19-b38a-67ae3db12164%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Support for putting gui contents back the way they were?

2016-11-15 Thread Gareth Murfin
Is there any support for leaving a screen and coming back to it with the 
same data the user entered, apart from the obvious of simply saving it and 
putting it back?
It might be a nice feature if this was automatically done somehow,

-- 
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/2552fb99-affa-4a52-9669-ae794cb73712%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: How to make pull to refresh work?

2016-11-15 Thread Gareth Murfin
Got it thanks, that is COOL AS HELL.. I recall spending a serious amount of 
time trying to get this going on android in the past.

On Friday, November 11, 2016 at 1:40:28 PM UTC+8, Shai Almog wrote:
>
> Pull to refresh will only work on a scrollable container. Do you have a 
> standard layout in the content pane?
>

-- 
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/ae7af635-a29f-49b4-9935-ea1530f7810e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Size according resolution

2016-11-15 Thread Dave Dyer
This is true if you're using the GUI designer to set your styles and 
determine all your font choices.

My application already had it's own basic font and size selection, and 
(more important) a lot of logic
to select fonts to fit text into ad-hoc boxes.

-- 
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/e71534b6-7bdc-48e9-af7f-00399ab702bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 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/a494ef67-d401-49d1-ad6a-6674350f56eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Re: Windows UWP builds failing

2016-11-15 Thread mcw
Thank you, that seems to have been it. I deleted the folder and unzipped 
the file again and followed the instructions without opening the project 
first in Netbeans and I now have a new cn1lib.



On Tuesday, November 15, 2016 at 10:46:05 AM UTC-8, Steve Hannah wrote:
>
> Sounds like you may have overwritten the build.xml file which had some 
> modifications.  Re-copy the build.xml file from github into your project's 
> build.xml, and go through the build steps again.
>
> Steve
>
> On Tue, Nov 15, 2016 at 10:42 AM, mcw  > wrote:
>
>> I went to that page and clicked the Clone or Download button and chose 
>> the Download Zip option.
>>
>> I then unzipped the file and was able to open it in Netbeans and build.
>>
>> From the Windows command line I did:
>>
>> $ cd cn1-codescan-master
>> $ ant -f configure.xml
>> $ ant jar
>>
>>
>> All steps completed successfully but dist only contained the jar file, no 
>> cn1lib
>>
>> On Monday, November 14, 2016 at 6:05:17 PM UTC-8, Steve Hannah wrote:
>>>
>>> Did you follow the instructions for building from source?
>>> https://github.com/codenameone/cn1-codescan#building-from-source
>>>
>>>
>>> -- 
>> 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/04cba1c5-904f-4e33-ac5c-d8660c052ec2%40googlegroups.com
>>  
>> 
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Steve Hannah
> Software Developer
> Codename One
> http://www.codenameone.com
>

-- 
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/e0135c7a-2a01-406a-a023-834cd78ecc2d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Re: Windows UWP builds failing

2016-11-15 Thread Steve Hannah
Note: It is fine to open the project in netbeans.  Just if it pops up that
dialog telling you that your build file is out of date, and asks if you
want to update it, make sure you say "No".

Steve

On Tue, Nov 15, 2016 at 11:07 AM, mcw  wrote:

> Thank you, that seems to have been it. I deleted the folder and unzipped
> the file again and followed the instructions without opening the project
> first in Netbeans and I now have a new cn1lib.
>
>
>
> On Tuesday, November 15, 2016 at 10:46:05 AM UTC-8, Steve Hannah wrote:
>>
>> Sounds like you may have overwritten the build.xml file which had some
>> modifications.  Re-copy the build.xml file from github into your project's
>> build.xml, and go through the build steps again.
>>
>> Steve
>>
>> On Tue, Nov 15, 2016 at 10:42 AM, mcw  wrote:
>>
>>> I went to that page and clicked the Clone or Download button and chose
>>> the Download Zip option.
>>>
>>> I then unzipped the file and was able to open it in Netbeans and build.
>>>
>>> From the Windows command line I did:
>>>
>>> $ cd cn1-codescan-master
>>> $ ant -f configure.xml
>>> $ ant jar
>>>
>>>
>>> All steps completed successfully but dist only contained the jar file,
>>> no cn1lib
>>>
>>> On Monday, November 14, 2016 at 6:05:17 PM UTC-8, Steve Hannah wrote:

 Did you follow the instructions for building from source?
 https://github.com/codenameone/cn1-codescan#building-from-source


 --
>>> 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/grou
>>> p/codenameone-discussions.
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/codenameone-discussions/04cba1c5-904f-4e33-ac5c-d8660c05
>>> 2ec2%40googlegroups.com
>>> 
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Steve Hannah
>> Software Developer
>> Codename One
>> http://www.codenameone.com
>>
> --
> 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/e0135c7a-2a01-406a-a023-
> 834cd78ecc2d%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Steve Hannah
Software Developer
Codename One
http://www.codenameone.com

-- 
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/CAGOYrKWvvnUxXYwF61F%3DvW4CbR09-16J4yYd320sQUZx-he2AA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Re: Windows UWP builds failing

2016-11-15 Thread Steve Hannah
Sounds like you may have overwritten the build.xml file which had some
modifications.  Re-copy the build.xml file from github into your project's
build.xml, and go through the build steps again.

Steve

On Tue, Nov 15, 2016 at 10:42 AM, mcw  wrote:

> I went to that page and clicked the Clone or Download button and chose the
> Download Zip option.
>
> I then unzipped the file and was able to open it in Netbeans and build.
>
> From the Windows command line I did:
>
> $ cd cn1-codescan-master
> $ ant -f configure.xml
> $ ant jar
>
>
> All steps completed successfully but dist only contained the jar file, no
> cn1lib
>
> On Monday, November 14, 2016 at 6:05:17 PM UTC-8, Steve Hannah wrote:
>>
>> Did you follow the instructions for building from source?
>> https://github.com/codenameone/cn1-codescan#building-from-source
>>
>>
>> --
> 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/04cba1c5-904f-4e33-ac5c-
> d8660c052ec2%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Steve Hannah
Software Developer
Codename One
http://www.codenameone.com

-- 
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_eJXrb1xacYV-vRz5JXmejsfF0ig4TWp2b3GGbFc1mA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Re: Windows UWP builds failing

2016-11-15 Thread mcw
I went to that page and clicked the Clone or Download button and chose the 
Download Zip option.

I then unzipped the file and was able to open it in Netbeans and build.

>From the Windows command line I did:

$ cd cn1-codescan-master
$ ant -f configure.xml
$ ant jar


All steps completed successfully but dist only contained the jar file, no 
cn1lib

On Monday, November 14, 2016 at 6:05:17 PM UTC-8, Steve Hannah wrote:
>
> Did you follow the instructions for building from source?
> https://github.com/codenameone/cn1-codescan#building-from-source
>
>
>

-- 
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/04cba1c5-904f-4e33-ac5c-d8660c052ec2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Need help about invokeAndBlock / scheduleBackgroundTask

2016-11-15 Thread Steve Hannah
One thing you should be aware of when using invokeAndBlock a lot is:

Tasks in the "invokeAndBlock" queue are processed in a First-in-Last-Out
fashion (i.e. like a stack, rather than a queue).  So if you call
invokeAndBlock(task1), and then you call invokeAndBlock(task2) in a
separate dispatch before the first invokeAndBlock call has returned, then
the second call will return before the first one.

This isn't a big deal if all of your calls to invokeAndBlock are relatively
"fast".  However if you throw a "long-running" task into invokeAndBlock it
can cause some undesirable effects.  Modal dialogs in particular use
invokeAndBlock to prevent the show() method from returning until the dialog
is closed.  This will be a very long-running "task".  So if you have some
existing invokeAndBlock calls that haven't yet completed when the
Dialog.show() method it called, those calls will also "hang" until the
dialog has been closed.

This is likely why your runnable is executed later.

Steve

On Tue, Nov 15, 2016 at 6:04 AM, Jérémy MARQUER  wrote:

> Hi there,
>
> I'm currently implementing a complex application wich required
> multithreading. I do many access to database to save and read data.
>
> My problem is to have an application with the better UI experience even if
> I have some hard task to complete, depending on user interaction.
>
> At the beginning, I misundertood why my application was running very jerky
> on iPad 3 and smoothly on iPad Air 2 : of course the performance of the
> last one leads us to think there is no problem in code. So I read some
> informations about EDT and invokeAndBlock method. My idea, as suggested in
> your post, was to call invokeAndBlock method when I need to do hard task
> without blocking the UI.
>
> The issue is I've many "invokeAndBlock" calls which could interfere (with
> internal calls, for example : showing a dialog), and some code is invoked
> with an offset (which sometime lead to exception).
>
> What I can't explain is : why sometimes the code inside runnable is
> executed later ?
>
> I'm trying to use scheduleBackgroundTask instead but it's an async
> methodology
>
> (PS : sorry if it's not clear !!)
>
> Thanks !
>
> Jérémy.
>
> --
> 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/1ae2ec28-7e8c-4a63-bff1-
> 7c91961bae45%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Steve Hannah
Software Developer
Codename One
http://www.codenameone.com

-- 
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/CAGOYrKVMgCMe3PGGN2tqCjoyTVnkBfUtJ%3D6eGS2A9khNVwQMqQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.