[codenameone-discussions] Keep websocket open when iphone screen goes off

2016-05-24 Thread Gareth Murfin
Is there a way to keep a web socket connection open when an iphone screen 
goes off? When I come back to my app the socket is disconnected. Cheers!

-- 
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/505e683d-dfe1-43d8-8039-a055b005736d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Internal storage on JS

2016-05-24 Thread Gareth Murfin
Hi Steve, 

You know how you can pass in pixelRatio=1.5, can I also pass in strings of 
my own? for example I could include the channel to connect to my irc client 
by specifying it in the url? Would be very cool. 

On Friday, May 6, 2016 at 10:05:54 PM UTC+8, Gareth Murfin wrote:
>
> Ooops super dumb sorry it "just works" ver cool!!! Didnt realise the 
> war had an index :)
>
> On Friday, May 6, 2016 at 10:02:57 PM UTC+8, Gareth Murfin wrote:
>>
>>
>> Hi Steve I cant figure out how this works 
>>
>> iPhone 3GS
>> 
>> http://solutions.weblite.ca/codename1/demos/CSSDemo/index.html?pixelRatio=1>
>> ">
>> CSSDemo 
>> <http://solutions.weblite.ca/codename1/demos/CSSDemo/index.html?pixelRatio=1>/
>>  
>> is your webapp ? 
>>
>>  where did index.html come from, and whats pixelratio? Is there anything 
>> I can explore about this.
>>
>> Thanks
>> Gaz
>>
>> On Friday, May 6, 2016 at 7:23:00 AM UTC+8, Steve Hannah wrote:
>>>
>>> You can embed it in an iframe.  See this page for an example:
>>> http://solutions.weblite.ca/codename1/demos/CSSDemo.html
>>>
>>> I have 3 iframes on this page all including the app at different 
>>> densities.
>>>
>>> Steve
>>>
>>> On Thu, May 5, 2016 at 3:32 PM, Gareth Murfin  
>>> wrote:
>>>
>>>> Awesome thanks for joining the chat steve, after running ccleaner all 
>>>> the errors actually went away, works great on opera and canary. My final 
>>>> questions for now are about improving the loading screen, I think I read 
>>>> somewhere how to customise that, so I can google that. Other than that I 
>>>> was wondering if you can embed the app inside another html document ? Not 
>>>> a 
>>>> huge deal but it would be good for various reasons, almost like the applet 
>>>> days lol :)
>>>>
>>>>
>>>> On Friday, May 6, 2016 at 5:51:17 AM UTC+8, Gareth Murfin wrote:
>>>>>
>>>>> one funny thing is it seems to have that error even when im not 
>>>>> reading or writing, unless its the log file its writing to
>>>>>
>>>>> On Friday, May 6, 2016 at 5:50:30 AM UTC+8, Gareth Murfin wrote:
>>>>>>
>>>>>> Im using the .war on a tomcat installation on amazon. I tried 
>>>>>> clearing local storage but it still seems to happen. Im actually using 
>>>>>> chrome canary not sure if that matters, my ordinary chrome is infected 
>>>>>> and 
>>>>>> crashes when i visit url too. I will email you a link to the app maybe 
>>>>>> you 
>>>>>> can see something from inspector.
>>>>>>
>>>>>> On Friday, May 6, 2016 at 5:12:55 AM UTC+8, Steve Hannah wrote:
>>>>>>>
>>>>>>> Hmm.  Are you running it in the HTML preview or from your own 
>>>>>>> distribution (.war or .zip)?  In the HTML preview, your browser may 
>>>>>>> share 
>>>>>>> the quota with all other CN1 JS apps because they are all hosted from 
>>>>>>> the 
>>>>>>> same appengine domain.
>>>>>>>
>>>>>>> Try clearing your local storage for this domain.
>>>>>>> http://superuser.com/a/655198
>>>>>>>
>>>>>>> (Because we use LocalForage for the local storage, it uses a 
>>>>>>> different mechanism on different browsers.  On some browsers it uses 
>>>>>>> IndexDB, on others it falls back to local storage (and may even use 
>>>>>>> WebSQL 
>>>>>>> under the covers in some cases --- therefore I'm not sure where you'll 
>>>>>>> find 
>>>>>>> this storage, but that link should list them all).
>>>>>>>
>>>>>>> Steve
>>>>>>>
>>>>>>> On Thu, May 5, 2016 at 2:07 PM, Gareth Murfin  
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Chrome, literally just trying to store a few bits of text, it 
>>>>>>>> doesnt remember them. 
>>>>>>>>
>>>>>>>> I must say though I am blown away by how good the JS port is!!  I 
>>>>>>>> got my "proxy" working (websocket to socket for IRC) and managed to 
>>>>>>

Re: [codenameone-discussions] Internal storage on JS

2016-05-24 Thread Gareth Murfin
Awesome!!! Thanks so much, this JS port is fun as hell.

On Wednesday, May 25, 2016 at 7:00:05 AM UTC+8, Steve Hannah wrote:
>
> You can access the browser query string using 
> Display.getProperty("browser.window.location.search", "")
>
> (Same as window.location.search in javascript)
> http://www.w3schools.com/jsref/prop_loc_search.asp
>
> Steve
>
> On Tue, May 24, 2016 at 3:45 PM, Gareth Murfin  > wrote:
>
>> Hi Steve, 
>>
>> You know how you can pass in pixelRatio=1.5, can I also pass in strings 
>> of my own? for example I could include the channel to connect to my irc 
>> client by specifying it in the url? Would be very cool. 
>>
>>
>> On Friday, May 6, 2016 at 10:05:54 PM UTC+8, Gareth Murfin wrote:
>>>
>>> Ooops super dumb sorry it "just works" ver cool!!! Didnt realise the 
>>> war had an index :)
>>>
>>> On Friday, May 6, 2016 at 10:02:57 PM UTC+8, Gareth Murfin wrote:
>>>>
>>>>
>>>> Hi Steve I cant figure out how this works 
>>>>
>>>> iPhone 3GS
>>>> 
>>>> http://solutions.weblite.ca/codename1/demos/CSSDemo/index.html?pixelRatio=1>
>>>> ">
>>>> CSSDemo 
>>>> <http://solutions.weblite.ca/codename1/demos/CSSDemo/index.html?pixelRatio=1>/
>>>>  
>>>> is your webapp ? 
>>>>
>>>>  where did index.html come from, and whats pixelratio? Is there 
>>>> anything I can explore about this.
>>>>
>>>> Thanks
>>>> Gaz
>>>>
>>>> On Friday, May 6, 2016 at 7:23:00 AM UTC+8, Steve Hannah wrote:
>>>>>
>>>>> You can embed it in an iframe.  See this page for an example:
>>>>> http://solutions.weblite.ca/codename1/demos/CSSDemo.html
>>>>>
>>>>> I have 3 iframes on this page all including the app at different 
>>>>> densities.
>>>>>
>>>>> Steve
>>>>>
>>>>> On Thu, May 5, 2016 at 3:32 PM, Gareth Murfin  
>>>>> wrote:
>>>>>
>>>>>> Awesome thanks for joining the chat steve, after running ccleaner all 
>>>>>> the errors actually went away, works great on opera and canary. My final 
>>>>>> questions for now are about improving the loading screen, I think I read 
>>>>>> somewhere how to customise that, so I can google that. Other than that I 
>>>>>> was wondering if you can embed the app inside another html document ? 
>>>>>> Not a 
>>>>>> huge deal but it would be good for various reasons, almost like the 
>>>>>> applet 
>>>>>> days lol :)
>>>>>>
>>>>>>
>>>>>> On Friday, May 6, 2016 at 5:51:17 AM UTC+8, Gareth Murfin wrote:
>>>>>>>
>>>>>>> one funny thing is it seems to have that error even when im not 
>>>>>>> reading or writing, unless its the log file its writing to
>>>>>>>
>>>>>>> On Friday, May 6, 2016 at 5:50:30 AM UTC+8, Gareth Murfin wrote:
>>>>>>>>
>>>>>>>> Im using the .war on a tomcat installation on amazon. I tried 
>>>>>>>> clearing local storage but it still seems to happen. Im actually using 
>>>>>>>> chrome canary not sure if that matters, my ordinary chrome is infected 
>>>>>>>> and 
>>>>>>>> crashes when i visit url too. I will email you a link to the app maybe 
>>>>>>>> you 
>>>>>>>> can see something from inspector.
>>>>>>>>
>>>>>>>> On Friday, May 6, 2016 at 5:12:55 AM UTC+8, Steve Hannah wrote:
>>>>>>>>>
>>>>>>>>> Hmm.  Are you running it in the HTML preview or from your own 
>>>>>>>>> distribution (.war or .zip)?  In the HTML preview, your browser may 
>>>>>>>>> share 
>>>>>>>>> the quota with all other CN1 JS apps because they are all hosted from 
>>>>>>>>> the 
>>>>>>>>> same appengine domain.
>>>>>>>>>
>>>>>>>>> Try clearing your local storage for this domain.
>>>>>>>>> http://superuser.com/a/655198
>>>>>>>>>
>>>>>>>>> (Because we use Loca

Re: [codenameone-discussions] Keep websocket open when iphone screen goes off

2016-05-24 Thread Gareth Murfin
Good point, although it would mean people connecting and disconnecting from 
the chat pretty constantly (I guess I can reconnect them silently and pass 
them any info they missed). I guess I could warn them about it and maybe 
prompt them to change the screen timeout. I like your idea I wonder if that 
is how skype/fb messenger works etc. 

On Wednesday, May 25, 2016 at 7:04:27 AM UTC+8, Steve Hannah wrote:
>
> I think iOS would have to grant your app permission to run in the 
> background.   I'm not aware of any approved background modes that iOS has 
> for chat apps.  The ideal solution is to fall back to push notifications 
> when your app stops, and the reopen a web socket when the app starts again.
>
> Steve
>
> On Tue, May 24, 2016 at 12:34 PM, Gareth Murfin  > wrote:
>
>> Is there a way to keep a web socket connection open when an iphone screen 
>> goes off? When I come back to my app the socket is disconnected. Cheers!
>>
>> -- 
>> 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/505e683d-dfe1-43d8-8039-a055b005736d%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/codenameone-discussions/505e683d-dfe1-43d8-8039-a055b005736d%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> 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/fccf3393-1bab-493e-96da-487752e1a37e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Display another dialog when closing one

2016-05-25 Thread Gareth Murfin
I have a dialog with an OK button, when I hit that I dispose of the dialog, 
and show the next dialog. Strangely the same dialog comes up, I have tried 
uitimers etc and everything I can think of but I cannot get around this. 
How do I make the correct dialog come 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.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/df3512a1-51b1-40ea-ae72-54ad03c3ea5f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Display another dialog when closing one

2016-05-25 Thread Gareth Murfin
Going crazy here, for some reason any time I try to show a new dialog the 
old one opens, even when I put it on a different screen and thread etc, 
whats happening to cause this, its weird cause its never happened before.

On Wednesday, May 25, 2016 at 7:52:28 PM UTC+8, Gareth Murfin wrote:
>
> I have a dialog with an OK button, when I hit that I dispose of the 
> dialog, and show the next dialog. Strangely the same dialog comes up, I 
> have tried uitimers etc and everything I can think of but I cannot get 
> around this. How do I make the correct dialog come 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.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/b118da86-9688-4019-a590-29aefed75377%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] LikeButton

2016-05-25 Thread Gareth Murfin
On Android when I hit a like button I see a circular thing spinning but it 
never does anything after that. On the simulator it seemed to work. Any 
ideas why it may not work on 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/9cc74ab4-4d44-498b-9df0-c232822f6fbf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: LikeButton

2016-05-25 Thread Gareth Murfin
I installed the fb app and it reacted (should work without though surely?) 
 but then it said "cant load url : the domain of this url isnt included in 
the apps domains. to be able to load this url add al l domands and 
subdomains of your app to the app domains field in your app settings" My 
App id appears to be correct, so just wondering how to get aorudn this.

On Wednesday, May 25, 2016 at 10:02:04 PM UTC+8, Gareth Murfin wrote:
>
> On Android when I hit a like button I see a circular thing spinning but it 
> never does anything after that. On the simulator it seemed to work. Any 
> ideas why it may not work on 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/947ea957-1487-46d1-90d4-855214bde4f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: LikeButton

2016-05-25 Thread Gareth Murfin
Went through added website platform and a url and then app domains accepted 
the domain but what domain do I use?  I was just entering the website 
address for the app but that doesnt seem to do it. The error in simulator 
is now " The domain of this URL isn't included in the app's domains. To be 
able to load this URL, add all domains and subdomains of your app to the 
App Domains field in your app settings." I realise this is mostly FB and 
not cn1 but I figured there is a chance its something cn1 related too.

On Wednesday, May 25, 2016 at 10:21:02 PM UTC+8, Gareth Murfin wrote:
>
> I installed the fb app and it reacted (should work without though surely?) 
>  but then it said "cant load url : the domain of this url isnt included in 
> the apps domains. to be able to load this url add al l domands and 
> subdomains of your app to the app domains field in your app settings" My 
> App id appears to be correct, so just wondering how to get aorudn this.
>
> On Wednesday, May 25, 2016 at 10:02:04 PM UTC+8, Gareth Murfin wrote:
>>
>> On Android when I hit a like button I see a circular thing spinning but 
>> it never does anything after that. On the simulator it seemed to work. Any 
>> ideas why it may not work on 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/58956583-10ff-4fe9-bf6e-e7d1dabe4904%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: LikeButton

2016-05-25 Thread Gareth Murfin
So I think I added it all correctly unfortunately I just see the spinning 
icon thing, and it goes no where. Im thinking it might be best to embed a 
like button using a webview and 
this https://developers.facebook.com/docs/plugins/like-button

On Wednesday, May 25, 2016 at 10:34:05 PM UTC+8, Gareth Murfin wrote:
>
> Went through added website platform and a url and then app domains 
> accepted the domain but what domain do I use?  I was just entering the 
> website address for the app but that doesnt seem to do it. The error in 
> simulator is now " The domain of this URL isn't included in the app's 
> domains. To be able to load this URL, add all domains and subdomains of 
> your app to the App Domains field in your app settings." I realise this 
> is mostly FB and not cn1 but I figured there is a chance its something cn1 
> related too.
>
> On Wednesday, May 25, 2016 at 10:21:02 PM UTC+8, Gareth Murfin wrote:
>>
>> I installed the fb app and it reacted (should work without though 
>> surely?)  but then it said "cant load url : the domain of this url isnt 
>> included in the apps domains. to be able to load this url add al l domands 
>> and subdomains of your app to the app domains field in your app settings" 
>> My App id appears to be correct, so just wondering how to get aorudn this.
>>
>> On Wednesday, May 25, 2016 at 10:02:04 PM UTC+8, Gareth Murfin wrote:
>>>
>>> On Android when I hit a like button I see a circular thing spinning but 
>>> it never does anything after that. On the simulator it seemed to work. Any 
>>> ideas why it may not work on 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/53b94cf9-cbbe-4988-8437-8f006e68c547%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: LikeButton

2016-05-25 Thread Gareth Murfin
Also how do I specify a page? only seems to let me specify a post? Any 
tutorials on this.. or is it just out of date now and slightly broken? Is 
it actually proven to still work. On simulator it just says i need to login 
buttheres no way to, on device it just keeps spinning. There isnt much I 
hate more than the fb sdk apart from RIM obviously. 

On Wednesday, May 25, 2016 at 11:16:32 PM UTC+8, Gareth Murfin wrote:
>
> So I think I added it all correctly unfortunately I just see the spinning 
> icon thing, and it goes no where. Im thinking it might be best to embed a 
> like button using a webview and this 
> https://developers.facebook.com/docs/plugins/like-button
>
> On Wednesday, May 25, 2016 at 10:34:05 PM UTC+8, Gareth Murfin wrote:
>>
>> Went through added website platform and a url and then app domains 
>> accepted the domain but what domain do I use?  I was just entering the 
>> website address for the app but that doesnt seem to do it. The error in 
>> simulator is now " The domain of this URL isn't included in the app's 
>> domains. To be able to load this URL, add all domains and subdomains of 
>> your app to the App Domains field in your app settings." I realise this 
>> is mostly FB and not cn1 but I figured there is a chance its something cn1 
>> related too.
>>
>> On Wednesday, May 25, 2016 at 10:21:02 PM UTC+8, Gareth Murfin wrote:
>>>
>>> I installed the fb app and it reacted (should work without though 
>>> surely?)  but then it said "cant load url : the domain of this url isnt 
>>> included in the apps domains. to be able to load this url add al l domands 
>>> and subdomains of your app to the app domains field in your app settings" 
>>> My App id appears to be correct, so just wondering how to get aorudn this.
>>>
>>> On Wednesday, May 25, 2016 at 10:02:04 PM UTC+8, Gareth Murfin wrote:
>>>>
>>>> On Android when I hit a like button I see a circular thing spinning but 
>>>> it never does anything after that. On the simulator it seemed to work. Any 
>>>> ideas why it may not work on 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/3958d32c-0ca2-4b6b-a2d3-b4a935acde54%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: LikeButton

2016-05-26 Thread Gareth Murfin
Ah ok will try, also can you like a page with this? or just a post?

On Thursday, May 26, 2016 at 12:30:02 PM UTC+8, Shai Almog wrote:
>
> A like button will only work if you are authenticated to Facebook. Did you 
> go thru the FacebookConnect authentication?
>

-- 
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/481c566b-99f1-4ddd-b04f-42a4d0b0e030%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: LikeButton

2016-05-26 Thread Gareth Murfin
All that facebook connect stuff is beyond a nightmare if i recall, after 
lots of trying I took it out. I have the code somewhere in here still but I 
have also commented it out saying it made my IPA huge. How much does the 
.ipa grows by including facebook connect etc? It is suprisingly hard to 
simple make a like happen on fb ;-/

On Thursday, May 26, 2016 at 7:55:28 PM UTC+8, Gareth Murfin wrote:
>
> Ah ok will try, also can you like a page with this? or just a post?
>
> On Thursday, May 26, 2016 at 12:30:02 PM UTC+8, Shai Almog wrote:
>>
>> A like button will only work if you are authenticated to Facebook. Did 
>> you go thru the FacebookConnect authentication?
>>
>

-- 
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/f2e31f79-9064-4f1e-a5e1-f14657323fd9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: LikeButton

2016-05-26 Thread Gareth Murfin
ok its not as bad as i thought, not checked ipa size that might be what im 
remembering that held me back. But yeh, is there a way to like a fb PAGE 
and not just a post?

On Thursday, May 26, 2016 at 8:15:01 PM UTC+8, Gareth Murfin wrote:
>
> All that facebook connect stuff is beyond a nightmare if i recall, after 
> lots of trying I took it out. I have the code somewhere in here still but I 
> have also commented it out saying it made my IPA huge. How much does the 
> .ipa grows by including facebook connect etc? It is suprisingly hard to 
> simple make a like happen on fb ;-/
>
> On Thursday, May 26, 2016 at 7:55:28 PM UTC+8, Gareth Murfin wrote:
>>
>> Ah ok will try, also can you like a page with this? or just a post?
>>
>> On Thursday, May 26, 2016 at 12:30:02 PM UTC+8, Shai Almog wrote:
>>>
>>> A like button will only work if you are authenticated to Facebook. Did 
>>> you go thru the FacebookConnect authentication?
>>>
>>

-- 
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/84bcd5e9-1e09-4a5e-882c-5e224a4b72cc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: LikeButton

2016-05-26 Thread Gareth Murfin
Got it all done with no errors and I log into fb fine, but then when I hit 
the like button I just see a spinner going. Also tried the webview approach 
which works but users had to log in every time. So I am thinking this is 
not possible at this time (I am assuming the cn1 fb wrappers are out of 
date, hence there is no way to like a page only a post- I believe things 
have maybe changed in the real fb sdk recently), I will tell client I will 
have to write native lib to do this. A good tutorial on adding a fb like 
button in cn1 that allows you to like a page would be great.

On Thursday, May 26, 2016 at 10:03:13 PM UTC+8, Gareth Murfin wrote:
>
> ok its not as bad as i thought, not checked ipa size that might be what im 
> remembering that held me back. But yeh, is there a way to like a fb PAGE 
> and not just a post?
>
> On Thursday, May 26, 2016 at 8:15:01 PM UTC+8, Gareth Murfin wrote:
>>
>> All that facebook connect stuff is beyond a nightmare if i recall, after 
>> lots of trying I took it out. I have the code somewhere in here still but I 
>> have also commented it out saying it made my IPA huge. How much does the 
>> .ipa grows by including facebook connect etc? It is suprisingly hard to 
>> simple make a like happen on fb ;-/
>>
>> On Thursday, May 26, 2016 at 7:55:28 PM UTC+8, Gareth Murfin wrote:
>>>
>>> Ah ok will try, also can you like a page with this? or just a post?
>>>
>>> On Thursday, May 26, 2016 at 12:30:02 PM UTC+8, Shai Almog wrote:
>>>>
>>>> A like button will only work if you are authenticated to Facebook. Did 
>>>> you go thru the FacebookConnect authentication?
>>>>
>>>

-- 
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/408291cf-d246-42cd-b345-9c7c75833f90%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: LikeButton

2016-05-26 Thread Gareth Murfin
Also please let me know if im wrong, ie, if it does actually work, and it 
can like a page. On android its spinning out on iOS it says "the 
redirect_url must be absolute" this is a fb error but i cannot get rid of 
it. None of that matters anyway if you can only like posts. 

Native question : if I do this natively will it work? it looks like the iOS 
code has to actually add the fb like "view" itself to another view, see 
here:- will this code actually add the button to my view? and if so where? 
and how do I change where it goes?

@implementation ViewController- (void)viewDidLoad {
[super viewDidLoad];
FBSDKLikeControl *likeButton = [[FBSDKLikeControl alloc] init];
likeButton.objectID = @"https://www.facebook.com/FacebookDevelopers";;
  likeButton.center = self.view.center;
[self.view addSubview:likeButton];}@end


On Thursday, May 26, 2016 at 11:11:14 PM UTC+8, Gareth Murfin wrote:
>
> Got it all done with no errors and I log into fb fine, but then when I hit 
> the like button I just see a spinner going. Also tried the webview approach 
> which works but users had to log in every time. So I am thinking this is 
> not possible at this time (I am assuming the cn1 fb wrappers are out of 
> date, hence there is no way to like a page only a post- I believe things 
> have maybe changed in the real fb sdk recently), I will tell client I will 
> have to write native lib to do this. A good tutorial on adding a fb like 
> button in cn1 that allows you to like a page would be great.
>
> On Thursday, May 26, 2016 at 10:03:13 PM UTC+8, Gareth Murfin wrote:
>>
>> ok its not as bad as i thought, not checked ipa size that might be what 
>> im remembering that held me back. But yeh, is there a way to like a fb PAGE 
>> and not just a post?
>>
>> On Thursday, May 26, 2016 at 8:15:01 PM UTC+8, Gareth Murfin wrote:
>>>
>>> All that facebook connect stuff is beyond a nightmare if i recall, after 
>>> lots of trying I took it out. I have the code somewhere in here still but I 
>>> have also commented it out saying it made my IPA huge. How much does the 
>>> .ipa grows by including facebook connect etc? It is suprisingly hard to 
>>> simple make a like happen on fb ;-/
>>>
>>> On Thursday, May 26, 2016 at 7:55:28 PM UTC+8, Gareth Murfin wrote:
>>>>
>>>> Ah ok will try, also can you like a page with this? or just a post?
>>>>
>>>> On Thursday, May 26, 2016 at 12:30:02 PM UTC+8, Shai Almog wrote:
>>>>>
>>>>> A like button will only work if you are authenticated to Facebook. Did 
>>>>> you go thru the FacebookConnect authentication?
>>>>>
>>>>

-- 
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/2d959b1a-7e2e-4ebf-b24e-2973ada14a34%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: LikeButton

2016-05-26 Thread Gareth Murfin
Are you sure? looks like you can do it this 
way? https://developers.facebook.com/docs/sharing/ios/like-button

On Friday, May 27, 2016 at 12:22:27 AM UTC+8, Chen Fishbein wrote:
>
> You cannot Like a page using the graph API, they blocked this 
> functionality the user must click their button which means you need to 
> display a webview which requires login.
>

-- 
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/00522097-300d-47ac-9808-bcf0200cfd4f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: LikeButton

2016-05-27 Thread Gareth Murfin
I love cn1, but I hate wasting a week or 2 before u guys admit the 
functionality is broken and out of date, it has cost me literally thousands 
of pounds. This is a constant occurrence 
 and my clients all literally say how much they hate cn1 almost every day. 
If you can be honest about what works and what doesnt, its gonna help. My 
clients pretty much hate cn1, I have to spend 2 days a week convincing them 
why we are not wasting our time, and sometimes even I cannot 
explain.


On Friday, May 27, 2016 at 3:37:44 PM UTC+8, Chen Fishbein wrote:
>
> It seems like you can do this with a native button, you can try to use the 
> PeerComponent to display this button in a Form.
>

-- 
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/151bb14b-fea6-4139-8c12-fa1a5bd2fb1a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: LikeButton

2016-05-27 Thread Gareth Murfin
And I say this cause I just spent 5 DAYS working on your LikeButton, which 
doesnt work!. I asked right at the bstart is it broken/ and I only see that 
it is becausei m on the gubhub list. Dudes, if you wanna make us love you 
more than say Xamarin, please be moremopen and honest, everyone who has 
left cn1 is because of the bugs and poor functionality (Ive chatted to many 
of them).. You got some good guys here please keep us up to date just tell 
me right away the like button is broken. As I say literally a thousand or 
more pound has been wasted on this because you maintained it was OK.

On Saturday, May 28, 2016 at 12:36:09 PM UTC+8, Gareth Murfin wrote:
>
> I love cn1, but I hate wasting a week or 2 before u guys admit the 
> functionality is broken and out of date, it has cost me literally thousands 
> of pounds. This is a constant occurrence 
>  and my clients all literally say how much they hate cn1 almost every day. 
> If you can be honest about what works and what doesnt, its gonna help. My 
> clients pretty much hate cn1, I have to spend 2 days a week convincing them 
> why we are not wasting our time, and sometimes even I cannot 
> explain.
>
>
> On Friday, May 27, 2016 at 3:37:44 PM UTC+8, Chen Fishbein wrote:
>>
>> It seems like you can do this with a native button, you can try to use 
>> the PeerComponent to display this button in a Form.
>>
>

-- 
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/353201ea-f7c8-4a9d-8519-3994426362e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: LikeButton

2016-05-27 Thread Gareth Murfin
PS very angry clients, every single day they telll me im out and its being 
done natively.

On Saturday, May 28, 2016 at 12:39:48 PM UTC+8, Gareth Murfin wrote:
>
> And I say this cause I just spent 5 DAYS working on your LikeButton, which 
> doesnt work!. I asked right at the bstart is it broken/ and I only see that 
> it is becausei m on the gubhub list. Dudes, if you wanna make us love you 
> more than say Xamarin, please be moremopen and honest, everyone who has 
> left cn1 is because of the bugs and poor functionality (Ive chatted to many 
> of them).. You got some good guys here please keep us up to date just tell 
> me right away the like button is broken. As I say literally a thousand or 
> more pound has been wasted on this because you maintained it was OK.
>
> On Saturday, May 28, 2016 at 12:36:09 PM UTC+8, Gareth Murfin wrote:
>>
>> I love cn1, but I hate wasting a week or 2 before u guys admit the 
>> functionality is broken and out of date, it has cost me literally thousands 
>> of pounds. This is a constant occurrence 
>>  and my clients all literally say how much they hate cn1 almost every 
>> day. If you can be honest about what works and what doesnt, its gonna help. 
>> My clients pretty much hate cn1, I have to spend 2 days a week convincing 
>> them why we are not wasting our time, and sometimes even I cannot 
>> explain.
>>
>>
>> On Friday, May 27, 2016 at 3:37:44 PM UTC+8, Chen Fishbein wrote:
>>>
>>> It seems like you can do this with a native button, you can try to use 
>>> the PeerComponent to display this button in a Form.
>>>
>>

-- 
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/1ef57f1e-08e4-4455-aefd-d3da63934393%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: LikeButton

2016-05-27 Thread Gareth Murfin
I could do Android side but not iOS, then we got 2 coders and Im not in 
control. Of course that is how I calm my clients, I say hey do yoy really 
think you could maintain 2 code bases perfectly? And release on time? NO 
WAY..

On Saturday, May 28, 2016 at 12:41:32 PM UTC+8, Gareth Murfin wrote:
>
> PS very angry clients, every single day they telll me im out and its being 
> done natively.
>
> On Saturday, May 28, 2016 at 12:39:48 PM UTC+8, Gareth Murfin wrote:
>>
>> And I say this cause I just spent 5 DAYS working on your LikeButton, 
>> which doesnt work!. I asked right at the bstart is it broken/ and I only 
>> see that it is becausei m on the gubhub list. Dudes, if you wanna make us 
>> love you more than say Xamarin, please be moremopen and honest, everyone 
>> who has left cn1 is because of the bugs and poor functionality (Ive chatted 
>> to many of them).. You got some good guys here please keep us up to date 
>> just tell me right away the like button is broken. As I say literally a 
>> thousand or more pound has been wasted on this because you maintained it 
>> was OK.
>>
>> On Saturday, May 28, 2016 at 12:36:09 PM UTC+8, Gareth Murfin wrote:
>>>
>>> I love cn1, but I hate wasting a week or 2 before u guys admit the 
>>> functionality is broken and out of date, it has cost me literally thousands 
>>> of pounds. This is a constant occurrence 
>>>  and my clients all literally say how much they hate cn1 almost every 
>>> day. If you can be honest about what works and what doesnt, its gonna help. 
>>> My clients pretty much hate cn1, I have to spend 2 days a week convincing 
>>> them why we are not wasting our time, and sometimes even I cannot 
>>> explain.
>>>
>>>
>>> On Friday, May 27, 2016 at 3:37:44 PM UTC+8, Chen Fishbein wrote:
>>>>
>>>> It seems like you can do this with a native button, you can try to use 
>>>> the PeerComponent to display this button in a Form.
>>>>
>>>

-- 
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/7b897af8-67d6-4dcc-bdf8-72d48273c64f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: LikeButton

2016-05-28 Thread Gareth Murfin
Apologies for this. I was very drunk, I know its no excuse but somehow that 
likebutton was still on my mind after 2 bottles of wine, and I couldnt 
shake the days I lost. Anyway Im sorry for being stupid there, I know you 
guys are doing your best, and I love cn1. So feeling rather ashamed of my 
drunken posts now :)

On Saturday, May 28, 2016 at 4:28:23 PM UTC+8, Chen Fishbein wrote:
>
> Hi,
> Honesty and openness has nothing to do with this, we had no idea this 
> functionality was broken until you raised this issue.
> We are a small team and we need the community help, big part of the help 
> is identifying the issues and open the bugs in the repository.
> Please be patient we are doing our best.
>

-- 
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/a518c35e-2196-44a8-8bbe-f3659890cf3d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] If you add a UDID do you regen certs?

2016-06-13 Thread Gareth Murfin
If I add a new UDID in the apple site, do I have to regenerate the 
certificates pr mobileprovision files before the device will run the app? 
Or is there some sort of check online? I am still not clear on this point, 
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/34331a32-2dad-49a0-86da-4515ff5570e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: If you add a UDID do you regen certs?

2016-06-13 Thread Gareth Murfin
Also in the wizard when it says "would you like to generate new push 
certificates?" should I say yes if I have added a new udid? 

On Tuesday, June 14, 2016 at 1:42:54 PM UTC+8, Gareth Murfin wrote:
>
> If I add a new UDID in the apple site, do I have to regenerate the 
> certificates pr mobileprovision files before the device will run the app? 
> Or is there some sort of check online? I am still not clear on this point, 
> 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/496c0206-b665-4bf7-b4c4-9b41221252aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Re: If you add a UDID do you regen certs?

2016-06-15 Thread Gareth Murfin
Thanks Shai, all this time I have been regenerating lol... then I recalled
you said you didnt need to and I was questioning myself, now I get it, I
thought a new udid meant new files to generate.

On 15 June 2016 at 12:52, Shai Almog  wrote:

> No to both. Don't regenerate certificates unless they expire.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "CodenameOne Discussions" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/codenameone-discussions/b1se2p5QE1U/unsubscribe
> .
> To unsubscribe from this group and all its topics, 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/7febb5c7-45bf-4640-8e3f-5bdcc4c44ad6%40googlegroups.com
> <https://groups.google.com/d/msgid/codenameone-discussions/7febb5c7-45bf-4640-8e3f-5bdcc4c44ad6%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Gareth Murfin
(Android Freelancer - www.garethmurfin.co.uk)

-- 
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/CANOaY6n-nmobHwFYPHe%3D%3DMDCX-Q7oD9fYDwCM5HFO_UYhzcYcQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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

2016-06-16 Thread Gareth Murfin

Client has found a few small graphical issues on Android build:

1- If I have a screen with a textfield, and tap that and the keyboard comes 
up, once I am done typing if I hit the arrow on the keyboard (to close it) 
I see a flash of the bottom of the screen (below keyboard) flashing briefly 
in the area above the keyboard, before the keyboard vanishes. This is 
pretty off putting. It appears to me as you hit tick the whole screen 
resizes to fit into available space for about 2ms, then goes back to 
normal. I dont think I had really noticed this in the last year, so not 
sure if its new?

2- probably no way to help with but on their test phone when the keyboard 
comes up, there is not enter key on bottom right (but instead a button to 
bring up smileys!) This ONLY happens on one screen.. strangely, that screen 
has 2 textfields for first and second name - it appears as though the usual 
"next" button is the emoticon button in this case

3 - password dots are HUGE on their phone (which is a "wileyfox" btw) but 
they seem ok on my phones


-- 
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/420afe8e-a7ba-475f-9771-3ddcc96d5707%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2016-06-17 Thread Gareth Murfin
1 - sent you test case, will file the issue

2 - thanks will check it

3 - they look like 
this https://dl.dropboxusercontent.com/u/4194619/rafflerbigdots.png

On Friday, June 17, 2016 at 11:53:37 AM UTC+8, Shai Almog wrote:
>
> 1. If you can reproduce this as a test case please file an issue.
>
> 2. There is a way to customize the submit buttons: 
> https://www.codenameone.com/blog/keyboard-keys-android-pipeline.html
> Try using the go button option.
>
> 3. By huge do you mean exceed the boundaries of the text field?
> Do you have a screenshot?
>

-- 
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/254cd5d1-c64e-4ce1-bd36-f2967ecf6b7d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Keyboard doing strange things to screen (Android)

2016-06-20 Thread Gareth Murfin
Client is getting some odd stuff where the screen doubles up or is black, 
where keyboard would normally be:


https://www.dropbox.com/s/x1tkqee21iwpbw7/f78b271a-04b2-433a-9d95-6719149fba6a.png?dl=0

and 

https://www.dropbox.com/s/y6jd5rrx725e3ve/c5d592ec-ee23-41b4-806c-f35f73ed90fb.png?dl=0

As well as my forms now flicker the first time the keyboard is dismissed. 
Has the keyboard resizing/painting been adjusted some how ? 

I cant recreate these on my device but I did see them once.

-- 
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/e07e654b-8c36-43f0-bc66-ab060aeb808a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Keyboard doing strange things to screen (Android)

2016-06-20 Thread Gareth Murfin
False alarm, it was a stray textarea, turned off the focusing and not 
happening now.


On Monday, June 20, 2016 at 10:53:07 PM UTC+8, Gareth Murfin wrote:
>
> Client is getting some odd stuff where the screen doubles up or is black, 
> where keyboard would normally be:
>
>
>
> https://www.dropbox.com/s/x1tkqee21iwpbw7/f78b271a-04b2-433a-9d95-6719149fba6a.png?dl=0
>
> and 
>
>
> https://www.dropbox.com/s/y6jd5rrx725e3ve/c5d592ec-ee23-41b4-806c-f35f73ed90fb.png?dl=0
>
> As well as my forms now flicker the first time the keyboard is dismissed. 
> Has the keyboard resizing/painting been adjusted some how ? 
>
> I cant recreate these on my device but I did see them once.
>

-- 
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/08b2436e-6141-44cb-81aa-a583f4bb3888%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Keyboard doing strange things to screen (Android)

2016-06-20 Thread Gareth Murfin
Ok not false alarm still happening, ARGH... but i cant see it on any device 
of my own.

On Monday, June 20, 2016 at 11:37:18 PM UTC+8, Gareth Murfin wrote:
>
> False alarm, it was a stray textarea, turned off the focusing and not 
> happening now.
>
>
> On Monday, June 20, 2016 at 10:53:07 PM UTC+8, Gareth Murfin wrote:
>>
>> Client is getting some odd stuff where the screen doubles up or is black, 
>> where keyboard would normally be:
>>
>>
>>
>> https://www.dropbox.com/s/x1tkqee21iwpbw7/f78b271a-04b2-433a-9d95-6719149fba6a.png?dl=0
>>
>> and 
>>
>>
>> https://www.dropbox.com/s/y6jd5rrx725e3ve/c5d592ec-ee23-41b4-806c-f35f73ed90fb.png?dl=0
>>
>> As well as my forms now flicker the first time the keyboard is dismissed. 
>> Has the keyboard resizing/painting been adjusted some how ? 
>>
>> I cant recreate these on my device but I did see them once.
>>
>

-- 
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/411bd697-04c9-4a7a-ab70-a305e2d6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Keyboard doing strange things to screen (Android)

2016-06-20 Thread Gareth Murfin
OK forget that, im going mad now i think it was a false alarm. Not to 
be confused with the screen flash when keyboard goes away. 

On Monday, June 20, 2016 at 11:38:02 PM UTC+8, Gareth Murfin wrote:
>
> Ok not false alarm still happening, ARGH... but i cant see it on any 
> device of my own.
>
> On Monday, June 20, 2016 at 11:37:18 PM UTC+8, Gareth Murfin wrote:
>>
>> False alarm, it was a stray textarea, turned off the focusing and not 
>> happening now.
>>
>>
>> On Monday, June 20, 2016 at 10:53:07 PM UTC+8, Gareth Murfin wrote:
>>>
>>> Client is getting some odd stuff where the screen doubles up or is 
>>> black, where keyboard would normally be:
>>>
>>>
>>>
>>> https://www.dropbox.com/s/x1tkqee21iwpbw7/f78b271a-04b2-433a-9d95-6719149fba6a.png?dl=0
>>>
>>> and 
>>>
>>>
>>> https://www.dropbox.com/s/y6jd5rrx725e3ve/c5d592ec-ee23-41b4-806c-f35f73ed90fb.png?dl=0
>>>
>>> As well as my forms now flicker the first time the keyboard is 
>>> dismissed. Has the keyboard resizing/painting been adjusted some how ? 
>>>
>>> I cant recreate these on my device but I did see them once.
>>>
>>

-- 
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/4c52b742-29eb-476b-a9d6-8346ca99a287%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2016-06-21 Thread Gareth Murfin
On many devices if you proceed without closing the keyboard on android then 
that area of the screen is black and redundant on the next form. It is as 
if something big has change din android keyboard stuff, I expected this to 
be the solution but it still happens:

 Display.getInstance().callSerially(new Runnable() {
public void run() {
_("closekb");

 Display.getInstance().setShowVirtualKeyboard(false);//1.2.4 close 
keyboard, it stays open on some devices and ends up taking over half the 
screen!!!
}
});

-- 
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/d3ecc489-dfcc-47a0-9a23-d16aad0d8fd4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2016-06-21 Thread Gareth Murfin
Hi I tried the go button:

tfSurname.putClientProperty("goButton", Boolean.TRUE); //force it 
to be an enter key on some phones where it was emoji on the wileyFox

it changed the icon into a tick but tapping the tick seemed to have no 
response.

On Saturday, June 18, 2016 at 2:27:39 PM UTC+8, Shai Almog wrote:
>
> 3. Is that while typing or after the typing is done and focus moved to a 
> different field?
> Do those differ?
>

-- 
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/fa462e7b-2a19-44c5-8f12-877bdb5f5141%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2016-06-21 Thread Gareth Murfin
ie, 
https://dl.dropboxusercontent.com/u/4194619/c5d592ec-ee23-41b4-806c-f35f73ed90fb.png

this is happening quite often, and i think i had only seen it happen once 
before in my life until recently. 

On Tuesday, June 21, 2016 at 10:50:43 PM UTC+8, Gareth Murfin wrote:
>
> On many devices if you proceed without closing the keyboard on android 
> then that area of the screen is black and redundant on the next form. It is 
> as if something big has change din android keyboard stuff, I expected this 
> to be the solution but it still happens:
>
>  Display.getInstance().callSerially(new Runnable() {
> public void run() {
> _("closekb");
> 
>  Display.getInstance().setShowVirtualKeyboard(false);//1.2.4 close 
> keyboard, it stays open on some devices and ends up taking over half the 
> screen!!!
> }
> });
>

-- 
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/fa6fa1c9-e6be-4730-a0c1-f2c966bb10a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2016-06-22 Thread Gareth Murfin
That works great, thanks Shai!

On Wednesday, June 22, 2016 at 12:34:21 PM UTC+8, Shai Almog wrote:
>
> 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 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/57a59b04-12b9-4531-883c-be0575db3a67%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] New gui builder

2016-06-28 Thread Gareth Murfin
I started a very basic project and then did the upgrade to new gui builder, 
it went ok. Then I double clicked on my .res but it still loads the old gui 
editor, and IU get a dialog saying " fatal error loading the resource file 
java.lang.nullpointerexception". Is the new gui builder ready for playing 
with? And if so how do I get it working ?

-- 
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/d3a410d6-ff5f-4ead-b5c0-e5a67f47d7f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Password field leaves screen unpainted at bottom

2016-06-29 Thread Gareth Murfin
On some devices when the keyboard pops up for a password field, numbers 
flash briefly at the top of the keyboard then vanish, when they vanish they 
leave the screen unpainted with parts of the screen before it was resized 
showing. 

It seems you need to click on a normal text field then click on a password 
one on some phones numbers will appear and vanish showing the issue, 
sometimes you need to go back to the normal textfield to get the numbers to 
disappear to show it. 

Shall I file an issue Shai or is this known ?

-- 
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/afc47bce-89cf-4ded-b438-b14572545338%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2016-06-29 Thread Gareth Murfin
Apparently this is still not working for the client, the screen of the app 
gets cut in half when he moves on without shutting the keyboard, even with 
a delay and a call serially. I have seen a video so it seems true, im 
wondering if there is an event when the keyboard pops up where i can call 
validate or something, of course this is probably already happening but 
something strange happens with regard to repaint on the keyboard when it 
first appears.

On Wednesday, June 22, 2016 at 11:07:19 PM UTC+8, Gareth Murfin wrote:
>
> That works great, thanks Shai!
>
> On Wednesday, June 22, 2016 at 12:34:21 PM UTC+8, Shai Almog wrote:
>>
>> 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 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/d52f7456-5378-48e0-9bcb-49239e2891e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: New gui builder

2016-06-30 Thread Gareth Murfin
Thanks, I got it working. It seems much harder to use than the old one, 
mainly because you cannot see the hierarchy while you are working, and how 
do you get to the properties for things like when I select a grid layout? 
Ive moved back to the old gui editor for now. I think it would be better if 
you could see all of the info at once instead of hiding it like it 
currently is, I really need to see the hierarchy at all times. 

On Wednesday, June 29, 2016 at 1:22:29 PM UTC+8, Shai Almog wrote:
>
> 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 the latest version. We had an 
> issue just like that quite a while back. If this still exists with the 
> latest version of the plugin I'd like to know the stack trace of that null 
> pointer.
>

-- 
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/c7c58f76-8f59-4331-a5d0-3ab42bc1cf2b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: New gui builder

2016-06-30 Thread Gareth Murfin
PS, only played for a short while, I will give it a longer try :-)

On Friday, July 1, 2016 at 1:15:32 PM UTC+8, Gareth Murfin wrote:
>
> Thanks, I got it working. It seems much harder to use than the old one, 
> mainly because you cannot see the hierarchy while you are working, and how 
> do you get to the properties for things like when I select a grid layout? 
> Ive moved back to the old gui editor for now. I think it would be better if 
> you could see all of the info at once instead of hiding it like it 
> currently is, I really need to see the hierarchy at all times. 
>
> On Wednesday, June 29, 2016 at 1:22:29 PM UTC+8, Shai Almog wrote:
>>
>> 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 the latest version. We had an 
>> issue just like that quite a while back. If this still exists with the 
>> latest version of the plugin I'd like to know the stack trace of that null 
>> pointer.
>>
>

-- 
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/7eeaf7d7-6ec9-4f2d-a6f1-ceeb313d5bc9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2016-07-02 Thread Gareth Murfin
Im glad you agree, it looks great so far, I always did love the old one, so
it's a tough job to beat it. Maybe you could use jinternal frames for the
windows so that the user can re-arrange them wherever they like. Im no UI
expert, exactly the opposite :-) Good work though, I look forward to using
it probably on my next cn1 project.

On 2 July 2016 at 12:40, Shai Almog  wrote:

> 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 reliability
> which isn't there yet but ideally this should be addressed too.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "CodenameOne Discussions" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/codenameone-discussions/u25VG0kpZFA/unsubscribe
> .
> To unsubscribe from this group and all its topics, 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/5eb1d532-5f0a-4d8b-b393-ea074dc41f18%40googlegroups.com
> <https://groups.google.com/d/msgid/codenameone-discussions/5eb1d532-5f0a-4d8b-b393-ea074dc41f18%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Gareth Murfin
(Android Freelancer - www.garethmurfin.co.uk)

-- 
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/CANOaY6%3Dn1s%2Bp4OnPRXHrmsS--Cm3Xq3woB%3DqSCggh3Qg-Wjsng%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Using image as form background, for splash screen

2016-07-03 Thread Gareth Murfin

try not ticking derive transparency, and make sure transparency is 0

On Monday, July 4, 2016 at 5:50:39 AM UTC+8, cha...@moondustapp.com wrote:
>
> I have a form which I would like to use as a splash screen, showing an 
> image.
>
>
> I added a JPEG as a multi-image, maintaining the default DPIs.
>
>
> I created a new style in the default theme, with the component name equal 
> to the UIID of the form I'm targeting.
>
>
> In the "background" tab of the style, I unchecked "Derive", and selected 
> the image in the drop-down.
>
>
> In the "border" tab of the style, I unchecked "Derive", and selected 
> "empty" border style.
>
>
> In the "color" tab of the style, I unchecked "Derive" for each of the 
> three options (foreground, background, transparency).
>
>
> But in the Resource Editor simulator, and the device simulator, the splash 
> screen was totally black.
>
>
> So I created a container in the form, and gave it the UIID. Now in the 
> Resource Editor, I saw the image in the form preview! But when running, it 
> was still black.
>
>
> The style preview, at the bottom of the style editing dialog, always 
> showed the top of the image I'm trying to display. But no matter what 
> happens, the simulator (and the app itself) never show this image.
>
>
> Is there a subtle step that I'm missing?
>
>
> Thanks!
>
>
> PS, on this page https://www.codenameone.com/manual/appendix-ios.html 
> your pixel sizes are reversed; they are in the form (y, x) instead of (x, 
> y).
>

-- 
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/e0e06e08-be4d-44cb-bca4-0b48ea8f763e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2016-07-03 Thread Gareth Murfin
Ah yes forgot about that, cool idea.

On Sunday, July 3, 2016 at 1:20:02 PM UTC+8, Shai Almog wrote:
>
> 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 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/2b711ab5-e72d-4ad4-95b1-b11f05e957e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2016-07-03 Thread Gareth Murfin
dont think i can recreate this now, perhaps it has been fixed your side, 
will see what my client says. By delay i meant a timer which waits a bit 
until keyboard is definitely shut before calling showform. Also the 
keyboard flash appears to be fixed also! Super happy right now, just hope 
its same on clients devices :)

On Thursday, June 30, 2016 at 12:02:18 PM UTC+8, Shai Almog wrote:
>
> 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+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/0c3049e4-0724-442a-8557-b6a99fd41983%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Re: How to have a toolbar on left and right?

2016-07-18 Thread Gareth Murfin
What units do these use? is it a percentage ?

On Monday, March 21, 2016 at 11:46:32 AM UTC+8, Shai Almog wrote:
>
> Yes see the theme constants from here: 
> https://www.codenameone.com/manual/advanced-theming.html 
>
> sideMenuSizeTabPortraitInt
>
> The size of the side menu when expanded in a tablet in portrait mode
>
> sideMenuSizePortraitInt
>
> The size of the side menu when expanded in a phone in portrait mode
>
> sideMenuSizeTabLandscapeInt
>
> The size of the side menu when expanded in a tablet in landscape mode
>
> sideMenuSizeLandscapeInt
>
> The size of the side menu when expanded in a phone in landscape mode
>
>

-- 
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/d58e5376-6344-4b0c-9074-b0dc5c9d5c3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Re: How to have a toolbar on left and right?

2016-07-18 Thread Gareth Murfin
Also how do I specify the width of the toolbar's side menu ? Like so it 
takes up only 50% when its pulled out?

On Monday, July 18, 2016 at 3:54:01 PM UTC+8, Gareth Murfin wrote:
>
> What units do these use? is it a percentage ?
>
> On Monday, March 21, 2016 at 11:46:32 AM UTC+8, Shai Almog wrote:
>>
>> Yes see the theme constants from here: 
>> https://www.codenameone.com/manual/advanced-theming.html 
>>
>> sideMenuSizeTabPortraitInt
>>
>> The size of the side menu when expanded in a tablet in portrait mode
>>
>> sideMenuSizePortraitInt
>>
>> The size of the side menu when expanded in a phone in portrait mode
>>
>> sideMenuSizeTabLandscapeInt
>>
>> The size of the side menu when expanded in a tablet in landscape mode
>>
>> sideMenuSizeLandscapeInt
>>
>> The size of the side menu when expanded in a phone in landscape mode
>>
>>

-- 
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/08af789b-cf3b-4176-be39-d6830263a5cb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Share with FB, Login with FB

2016-07-18 Thread Gareth Murfin
Has any of the Facebook stuff improved? My new client is asking for share 
with fb functionality like tinder has apparently (basically you get a list 
of friends from fb and click invite on the ones you wish to invite to use 
the app),  but I recall I have wasted literally weeks and weeks and never 
got this feature to work yet, so I am thinking maybe I can convince him to 
use a sharebutton instead, like my last client. If there is a working demo 
somewhere with working fb share in this manner, Id love a link to the code!

Oh they also want login with FB, which I think is totally pointless and 
doesnt work well again, I cannot recall exactly why but again this is one 
feature I wasted weeks on and never got working, I think all I could get 
was email address, so I am assuming this is still the case? 

If it is possible at all I think the FB support should be improved to 
include these features, but as I recall the FB SDK is garbage in the first 
place, so maybe it's not.
 
Gaz

-- 
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/9ab9d666-46ca-4a95-8d9c-616f654b6d0c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] flushGraphics bug?

2016-07-21 Thread Gareth Murfin
Just got this bug report, looks strange, any ideas?

[EDT] 0:0:39,316 - java.lang.NullPointerException
[EDT] 0:0:39,321 - java.lang.NullPointerException
at com.codename1.impl.android.AndroidAsyncView.flushGraphics(
AndroidAsyncView.java:368)
at com.codename1.impl.android.AndroidImplementation.flushGraphics(
AndroidImplementation.java:934)
at com.codename1.impl.CodenameOneImplementation.paintDirty(
CodenameOneImplementation.java:547)
at com.codename1.ui.Display.edtLoopImpl(Display.java:1074)
at com.codename1.ui.Display.mainEDTLoop(Display.java:996)
at com.codename1.ui.RunnableWrapper.run(RunnableWrapper.java:120)
at com.codename1.impl.CodenameOneThread$1.run(
CodenameOneThread.java:60)
at java.lang.Thread.run(Thread.java:864)

-- 
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/315c4ae7-8372-49ea-8b83-f498b60df8f8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] flushGraphics bug?

2016-07-22 Thread Gareth Murfin
This is from this week it should he relevant , maybe last week

On 21 Jul 2016 17:09, "Steve Hannah"  wrote:

> When did you do the build for this?  The line numbers don't correspond
> with the current state in git - I'd like to track down exactly what line
> 368 of flushGraphics() contains.
>
> Steve
>
> On Thu, Jul 21, 2016 at 9:01 AM, Gareth Murfin 
> wrote:
>
>> Just got this bug report, looks strange, any ideas?
>>
>> [EDT] 0:0:39,316 - java.lang.NullPointerException
>> [EDT] 0:0:39,321 - java.lang.NullPointerException
>> at com.codename1.impl.android.AndroidAsyncView.flushGraphics(
>> AndroidAsyncView.java:368)
>> at com.codename1.impl.android.AndroidImplementation.
>> flushGraphics(AndroidImplementation.java:934)
>> at com.codename1.impl.CodenameOneImplementation.paintDirty(
>> CodenameOneImplementation.java:547)
>> at com.codename1.ui.Display.edtLoopImpl(Display.java:1074)
>> at com.codename1.ui.Display.mainEDTLoop(Display.java:996)
>> at com.codename1.ui.RunnableWrapper.run(RunnableWrapper.java:120)
>> at com.codename1.impl.CodenameOneThread$1.run(
>> CodenameOneThread.java:60)
>> at java.lang.Thread.run(Thread.java:864)
>>
>> --
>> 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/315c4ae7-8372-49ea-8b83-f498b60df8f8%40googlegroups.com
>> <https://groups.google.com/d/msgid/codenameone-discussions/315c4ae7-8372-49ea-8b83-f498b60df8f8%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> 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 a topic in the
> Google Groups "CodenameOne Discussions" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/codenameone-discussions/EGrDdp6niPw/unsubscribe
> .
> To unsubscribe from this group and all its topics, 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/CAGOYrKWOrDk%3DakWe6QuDfZoGc1rBt8jGm7j08K%3DtCWvfFdr3TQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/codenameone-discussions/CAGOYrKWOrDk%3DakWe6QuDfZoGc1rBt8jGm7j08K%3DtCWvfFdr3TQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CANOaY6k4xJq8E5-1GjCdkM%2Bq8sySE1rHoukcVfbqV5q0gLnEGw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] flushGraphics bug?

2016-07-23 Thread Gareth Murfin
not sure what you mean?

On 23 July 2016 at 13:02, Shai Almog  wrote:

> Is this with the new peers on or off?
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "CodenameOne Discussions" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/codenameone-discussions/EGrDdp6niPw/unsubscribe
> .
> To unsubscribe from this group and all its topics, 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/be05ecef-aa5c-46ce-948e-26d8c4f6b06d%40googlegroups.com
> <https://groups.google.com/d/msgid/codenameone-discussions/be05ecef-aa5c-46ce-948e-26d8c4f6b06d%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Gareth Murfin
(Android Freelancer - www.garethmurfin.co.uk)

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


Re: [codenameone-discussions] flushGraphics bug?

2016-07-23 Thread Gareth Murfin
or maybe  I forgot :) is it a build hint?

On 24 July 2016 at 12:10, Shai Almog  wrote:

> Then I'm guessing you didn't.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "CodenameOne Discussions" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/codenameone-discussions/EGrDdp6niPw/unsubscribe
> .
> To unsubscribe from this group and all its topics, 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/8cd64a1d-e62f-44d0-8c89-b2d0889c5641%40googlegroups.com
> <https://groups.google.com/d/msgid/codenameone-discussions/8cd64a1d-e62f-44d0-8c89-b2d0889c5641%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Gareth Murfin
(Android Freelancer - www.garethmurfin.co.uk)

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


[codenameone-discussions] Can't see canvas unless I resize emulator

2016-07-25 Thread Gareth Murfin
I am trying to port an old arcade game to codename one. I am using the 
canvas and have something drawing, but I can only see it when Im literally 
resizing the emulator window, other than that it is white. Any ideas?? 

Here is how I add my game to a form and keep it repainting:

Form f = new Form("");
f.setLayout(new BorderLayout());  
DDragon game = new DDragon(null, new DDApp()); 
f.add(BorderLayout.CENTER,game);

new UITimer(new Runnable() {
  public void run()
  {  
  if (game!=null)
  {
   game.run();
   game.repaint();
  }
  else
  {
  System.out.println("game still null");
  }  
   }
   }).schedule(10, true, f); 
f.show();

-- 
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/06699d9d-6530-48ca-bb15-f8f3336538c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Can't see canvas unless I resize emulator

2016-07-25 Thread Gareth Murfin
ps DDragon extends Component and has an override for paintBackground

On Monday, July 25, 2016 at 8:13:48 PM UTC+8, Gareth Murfin wrote:
>
> I am trying to port an old arcade game to codename one. I am using the 
> canvas and have something drawing, but I can only see it when Im literally 
> resizing the emulator window, other than that it is white. Any ideas?? 
>
> Here is how I add my game to a form and keep it repainting:
>
> Form f = new Form("");
> f.setLayout(new BorderLayout());  
> DDragon game = new DDragon(null, new DDApp()); 
> f.add(BorderLayout.CENTER,game);
> 
> new UITimer(new Runnable() {
>   public void run()
>   {  
>   if (game!=null)
>   {
>game.run();
>game.repaint();
>   }
>   else
>   {
>   System.out.println("game still null");
>   }  
>}
>}).schedule(10, true, f); 
> f.show();
>

-- 
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/367d827f-9a8a-4170-8f29-1ac16252dfc9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Can't see canvas unless I resize emulator

2016-07-25 Thread Gareth Murfin
Fixed it, it was my own canvas logic. Also curious if there are any libs 
around with things like drawRegion in the graphics class? And Sprite stuff 
from old midp2 days and things for flipping sprites in code (TRANS_MIRROR)

On Monday, July 25, 2016 at 8:21:32 PM UTC+8, Gareth Murfin wrote:
>
> ps DDragon extends Component and has an override for paintBackground
>
> On Monday, July 25, 2016 at 8:13:48 PM UTC+8, Gareth Murfin wrote:
>>
>> I am trying to port an old arcade game to codename one. I am using the 
>> canvas and have something drawing, but I can only see it when Im literally 
>> resizing the emulator window, other than that it is white. Any ideas?? 
>>
>> Here is how I add my game to a form and keep it repainting:
>>
>> Form f = new Form("");
>> f.setLayout(new BorderLayout());  
>> DDragon game = new DDragon(null, new DDApp()); 
>> f.add(BorderLayout.CENTER,game);
>> 
>> new UITimer(new Runnable() {
>>   public void run()
>>   {  
>>   if (game!=null)
>>   {
>>game.run();
>>game.repaint();
>>   }
>>   else
>>   {
>>   System.out.println("game still null");
>>   }  
>>}
>>}).schedule(10, true, f); 
>> f.show();
>>
>

-- 
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/04f81e91-1fff-4a08-b38c-2ff1f518c292%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Can't see canvas unless I resize emulator

2016-07-25 Thread Gareth Murfin
Also interested in anyway to mimic "anchors" when doing a drawImage(), im 
basically porting old j2me canvas titles.

On Monday, July 25, 2016 at 9:02:21 PM UTC+8, Gareth Murfin wrote:
>
> Fixed it, it was my own canvas logic. Also curious if there are any libs 
> around with things like drawRegion in the graphics class? And Sprite stuff 
> from old midp2 days and things for flipping sprites in code (TRANS_MIRROR)
>
> On Monday, July 25, 2016 at 8:21:32 PM UTC+8, Gareth Murfin wrote:
>>
>> ps DDragon extends Component and has an override for paintBackground
>>
>> On Monday, July 25, 2016 at 8:13:48 PM UTC+8, Gareth Murfin wrote:
>>>
>>> I am trying to port an old arcade game to codename one. I am using the 
>>> canvas and have something drawing, but I can only see it when Im literally 
>>> resizing the emulator window, other than that it is white. Any ideas?? 
>>>
>>> Here is how I add my game to a form and keep it repainting:
>>>
>>> Form f = new Form("");
>>> f.setLayout(new BorderLayout());  
>>> DDragon game = new DDragon(null, new DDApp()); 
>>> f.add(BorderLayout.CENTER,game);
>>> 
>>> new UITimer(new Runnable() {
>>>   public void run()
>>>   {  
>>>   if (game!=null)
>>>   {
>>>game.run();
>>>game.repaint();
>>>   }
>>>   else
>>>   {
>>>   System.out.println("game still null");
>>>   }  
>>>}
>>>}).schedule(10, true, f); 
>>> f.show();
>>>
>>

-- 
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/c1be26de-d6d7-4899-947d-5439fed82ffa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Can't see canvas unless I resize emulator

2016-07-25 Thread Gareth Murfin
And I need graphics.copyArea() :-) looks like im gonna have to implement 
some of these... got the port of the game working actually, its only the 
flipped sprites missing!

On Monday, July 25, 2016 at 10:17:59 PM UTC+8, Gareth Murfin wrote:
>
> Also interested in anyway to mimic "anchors" when doing a drawImage(), im 
> basically porting old j2me canvas titles.
>
> On Monday, July 25, 2016 at 9:02:21 PM UTC+8, Gareth Murfin wrote:
>>
>> Fixed it, it was my own canvas logic. Also curious if there are any libs 
>> around with things like drawRegion in the graphics class? And Sprite stuff 
>> from old midp2 days and things for flipping sprites in code (TRANS_MIRROR)
>>
>> On Monday, July 25, 2016 at 8:21:32 PM UTC+8, Gareth Murfin wrote:
>>>
>>> ps DDragon extends Component and has an override for paintBackground
>>>
>>> On Monday, July 25, 2016 at 8:13:48 PM UTC+8, Gareth Murfin wrote:
>>>>
>>>> I am trying to port an old arcade game to codename one. I am using the 
>>>> canvas and have something drawing, but I can only see it when Im literally 
>>>> resizing the emulator window, other than that it is white. Any ideas?? 
>>>>
>>>> Here is how I add my game to a form and keep it repainting:
>>>>
>>>> Form f = new Form("");
>>>> f.setLayout(new BorderLayout());  
>>>> DDragon game = new DDragon(null, new DDApp()); 
>>>> f.add(BorderLayout.CENTER,game);
>>>> 
>>>> new UITimer(new Runnable() {
>>>>   public void run()
>>>>   {  
>>>>   if (game!=null)
>>>>   {
>>>>game.run();
>>>>game.repaint();
>>>>   }
>>>>   else
>>>>   {
>>>>   System.out.println("game still null");
>>>>   }  
>>>>}
>>>>}).schedule(10, true, f); 
>>>> f.show();
>>>>
>>>

-- 
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/4af3cd3f-cdbc-4019-82a0-3d6736c93b82%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Can't see canvas unless I resize emulator

2016-07-25 Thread Gareth Murfin
OK looks like img.mirror() and img.subImage() can copy these functions 
well! So all working now.

ie, J2ME:

 gs.drawRegion(img, 
   rgRect[0], rgRect[1], rgRect[2], rgRect[3],
   Sprite.TRANS_MIRROR,
   posx-rgRect[4], posy-rgRect[5],
   Graphics.LEFT | Graphics.TOP );

can be done in cn1 as:

 img=img.subImage(rgRect[0], rgRect[1], rgRect[2], rgRect[3],true);
img=img.mirror();
gs.drawImage(img, posx-rgRect[4], posy-rgRect[5]);

Awesome.


On Monday, July 25, 2016 at 10:29:24 PM UTC+8, Gareth Murfin wrote:
>
> And I need graphics.copyArea() :-) looks like im gonna have to implement 
> some of these... got the port of the game working actually, its only the 
> flipped sprites missing!
>
> On Monday, July 25, 2016 at 10:17:59 PM UTC+8, Gareth Murfin wrote:
>>
>> Also interested in anyway to mimic "anchors" when doing a drawImage(), im 
>> basically porting old j2me canvas titles.
>>
>> On Monday, July 25, 2016 at 9:02:21 PM UTC+8, Gareth Murfin wrote:
>>>
>>> Fixed it, it was my own canvas logic. Also curious if there are any libs 
>>> around with things like drawRegion in the graphics class? And Sprite stuff 
>>> from old midp2 days and things for flipping sprites in code (TRANS_MIRROR)
>>>
>>> On Monday, July 25, 2016 at 8:21:32 PM UTC+8, Gareth Murfin wrote:
>>>>
>>>> ps DDragon extends Component and has an override for paintBackground
>>>>
>>>> On Monday, July 25, 2016 at 8:13:48 PM UTC+8, Gareth Murfin wrote:
>>>>>
>>>>> I am trying to port an old arcade game to codename one. I am using the 
>>>>> canvas and have something drawing, but I can only see it when Im 
>>>>> literally 
>>>>> resizing the emulator window, other than that it is white. Any ideas?? 
>>>>>
>>>>> Here is how I add my game to a form and keep it repainting:
>>>>>
>>>>> Form f = new Form("");
>>>>> f.setLayout(new BorderLayout());  
>>>>> DDragon game = new DDragon(null, new DDApp()); 
>>>>> f.add(BorderLayout.CENTER,game);
>>>>> 
>>>>> new UITimer(new Runnable() {
>>>>>   public void run()
>>>>>   {  
>>>>>   if (game!=null)
>>>>>   {
>>>>>game.run();
>>>>>game.repaint();
>>>>>   }
>>>>>   else
>>>>>   {
>>>>>   System.out.println("game still null");
>>>>>   }  
>>>>>}
>>>>>}).schedule(10, true, f); 
>>>>> f.show();
>>>>>
>>>>

-- 
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/8ec06a76-5d14-48eb-b813-ec52efe6ab87%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] JS V is claimed to be synchronous, but it is has invocations of asynchronous methods

2016-07-25 Thread Gareth Murfin
I have removed all references to synchronized, but I am still getting this 
error with a Javascript build: 

[INFO] 
[INFO] --- teavm-maven-plugin:1.0.0-cn1-004:compile (web-client) @ 
MyApplication ---
[INFO] Preparing classpath for JavaScript generation
[INFO] Using the following classpath for JavaScript generation: 
/tmp/build7232626002789411357xxx/lib/CodenameOne.jar:/tmp/build7232626002789411357xxx/lib/Factory.jar:/tmp/build7232626002789411357xxx/lib/app.jar:/home/ec2-user/.m2/repository/org/teavm/teavm-classlib/1.0.0-cn1-004/teavm-classlib-1.0.0-cn1-004.jar:/home/ec2-user/.m2/repository/org/teavm/teavm-platform/1.0.0-cn1-004/teavm-platform-1.0.0-cn1-004.jar:/home/ec2-user/.m2/repository/org/teavm/teavm-core/1.0.0-cn1-004/teavm-core-1.0.0-cn1-004.jar:/home/ec2-user/.m2/repository/org/teavm/teavm-metaprogramming-api/1.0.0-cn1-004/teavm-metaprogramming-api-1.0.0-cn1-004.jar:/home/ec2-user/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar:/home/ec2-user/.m2/repository/com/carrotsearch/hppc/0.6.1/hppc-0.6.1.jar:/home/ec2-user/.m2/repository/org/teavm/teavm-jso-apis/1.0.0-cn1-004/teavm-jso-apis-1.0.0-cn1-004.jar:/home/ec2-user/.m2/repository/org/teavm/teavm-jso-impl/1.0.0-cn1-004/teavm-jso-impl-1.0.0-cn1-004.jar:/home/ec2-user/.m2/repository/org/mozilla/rhino/1.7.7/rhino-1.7.7.jar:/home/ec2-user/.m2/repository/org/ow2/asm/asm-debug-all/5.0.4/asm-debug-all-5.0.4.jar:/home/ec2-user/.m2/repository/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar:/home/ec2-user/.m2/repository/com/jcraft/jzlib/1.1.3/jzlib-1.1.3.jar:/home/ec2-user/.m2/repository/joda-time/joda-time/2.7/joda-time-2.7.jar:/home/ec2-user/.m2/repository/org/teavm/teavm-jso/1.0.0-cn1-004/teavm-jso-1.0.0-cn1-004.jar:/home/ec2-user/.m2/repository/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0.jar:/home/ec2-user/.m2/repository/org/mitre/dsmiley/httpproxy/smiley-http-proxy-servlet/1.6/smiley-http-proxy-servlet-1.6.jar:/home/ec2-user/.m2/repository/org/apache/httpcomponents/httpclient/4.3.4/httpclient-4.3.4.jar:/home/ec2-user/.m2/repository/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar:/home/ec2-user/.m2/repository/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar:/home/ec2-user/.m2/repository/commons-codec/commons-codec/1.6/commons-codec-1.6.jar:/tmp/build7232626002789411357xxx/target/classes
[INFO] Building JavaScript file
[INFO] JavaScript file built with errors
[ERROR] Method userclasses.DDragon.()V is claimed to be synchronous, 
but it is has invocations of asynchronous methods
at userclasses.DDragon.
at com.elite.dd.MyApplication.start(MyApplication.java:47)
at com.codename1.impl.html5.Stub.run(Stub.java:80)
at com.codename1.ui.Display.callSerially(Display.java:771)
at com.codename1.impl.html5.Stub.main(Stub.java:68)
[INFO] Debug information successfully written
[INFO] Source maps successfully written
[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 20.337 s
[INFO] Finished at: 2016-07-25T14:58:48-04:00
[INFO] Final Memory: 26M/875M
[INFO] 
[ERROR] Failed to execute goal 
org.teavm:teavm-maven-plugin:1.0.0-cn1-004:compile (web-client) on project 
MyApplication: Build error -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.teavm:teavm-maven-plugin:1.0.0-cn1-004:compile (web-client) on project 
MyApplication: Build error
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at 
org.code

Re: [codenameone-discussions] JS V is claimed to be synchronous, but it is has invocations of asynchronous methods

2016-07-25 Thread Gareth Murfin
Thanks, how do I identify synchronous code? Surely no use of synchronized
means it has all gone ?

On 26 July 2016 at 05:51, Steve Hannah  wrote:

> Check your static initializer for the Ddragon class. If you have something
> like
>
> private static void myvar = new SomeObject();
>
> And the SomeObject constructor includes synchronous code somewhere down
> the line, then this would also trigger it.
>
> Steve
>
> On Monday, 25 July 2016, Gareth Murfin  wrote:
>
>> I have removed all references to synchronized, but I am still getting
>> this error with a Javascript build:
>>
>> [INFO]
>> [INFO] --- teavm-maven-plugin:1.0.0-cn1-004:compile (web-client) @ 
>> MyApplication ---
>> [INFO] Preparing classpath for JavaScript generation
>> [INFO] Using the following classpath for JavaScript generation: 
>> /tmp/build7232626002789411357xxx/lib/CodenameOne.jar:/tmp/build7232626002789411357xxx/lib/Factory.jar:/tmp/build7232626002789411357xxx/lib/app.jar:/home/ec2-user/.m2/repository/org/teavm/teavm-classlib/1.0.0-cn1-004/teavm-classlib-1.0.0-cn1-004.jar:/home/ec2-user/.m2/repository/org/teavm/teavm-platform/1.0.0-cn1-004/teavm-platform-1.0.0-cn1-004.jar:/home/ec2-user/.m2/repository/org/teavm/teavm-core/1.0.0-cn1-004/teavm-core-1.0.0-cn1-004.jar:/home/ec2-user/.m2/repository/org/teavm/teavm-metaprogramming-api/1.0.0-cn1-004/teavm-metaprogramming-api-1.0.0-cn1-004.jar:/home/ec2-user/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar:/home/ec2-user/.m2/repository/com/carrotsearch/hppc/0.6.1/hppc-0.6.1.jar:/home/ec2-user/.m2/repository/org/teavm/teavm-jso-apis/1.0.0-cn1-004/teavm-jso-apis-1.0.0-cn1-004.jar:/home/ec2-user/.m2/repository/org/teavm/teavm-jso-impl/1.0.0-cn1-004/teavm-jso-impl-1.0.0-cn1-004.jar:/home/ec2-user/.m2/repository/org/mozilla/rhino/1.7.7/rhino-1.7.7.jar:/home/ec2-user/.m2/repository/org/ow2/asm/asm-debug-all/5.0.4/asm-debug-all-5.0.4.jar:/home/ec2-user/.m2/repository/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar:/home/ec2-user/.m2/repository/com/jcraft/jzlib/1.1.3/jzlib-1.1.3.jar:/home/ec2-user/.m2/repository/joda-time/joda-time/2.7/joda-time-2.7.jar:/home/ec2-user/.m2/repository/org/teavm/teavm-jso/1.0.0-cn1-004/teavm-jso-1.0.0-cn1-004.jar:/home/ec2-user/.m2/repository/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0.jar:/home/ec2-user/.m2/repository/org/mitre/dsmiley/httpproxy/smiley-http-proxy-servlet/1.6/smiley-http-proxy-servlet-1.6.jar:/home/ec2-user/.m2/repository/org/apache/httpcomponents/httpclient/4.3.4/httpclient-4.3.4.jar:/home/ec2-user/.m2/repository/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar:/home/ec2-user/.m2/repository/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar:/home/ec2-user/.m2/repository/commons-codec/commons-codec/1.6/commons-codec-1.6.jar:/tmp/build7232626002789411357xxx/target/classes
>> [INFO] Building JavaScript file
>> [INFO] JavaScript file built with errors
>> [ERROR] Method userclasses.DDragon.()V is claimed to be synchronous, 
>> but it is has invocations of asynchronous methods
>> at userclasses.DDragon.
>> at com.elite.dd.MyApplication.start(MyApplication.java:47)
>> at com.codename1.impl.html5.Stub.run(Stub.java:80)
>> at com.codename1.ui.Display.callSerially(Display.java:771)
>> at com.codename1.impl.html5.Stub.main(Stub.java:68)
>> [INFO] Debug information successfully written
>> [INFO] Source maps successfully written
>> [INFO] 
>> 
>> [INFO] BUILD FAILURE
>> [INFO] 
>> 
>> [INFO] Total time: 20.337 s
>> [INFO] Finished at: 2016-07-25T14:58:48-04:00
>> [INFO] Final Memory: 26M/875M
>> [INFO] 
>> 
>> [ERROR] Failed to execute goal 
>> org.teavm:teavm-maven-plugin:1.0.0-cn1-004:compile (web-client) on project 
>> MyApplication: Build error -> [Help 1]
>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
>> goal org.teavm:teavm-maven-plugin:1.0.0-cn1-004:compile (web-client) on 
>> project MyApplication: Build error
>>  at 
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
>>  at 
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>>  at 
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>>  at 
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
>>  at 
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
>&

Re: [codenameone-discussions] JS V is claimed to be synchronous, but it is has invocations of asynchronous methods

2016-07-26 Thread Gareth Murfin
Thanks, I cant see anything like that al;though I do have stuff like

static private byte[]   rgRS = new byte[NV_SIZE*4];
static GeneralTask[]   pActObj = new GeneralTask[TASK_MAX];


etc, will they trigger it?


On 26 July 2016 at 08:46, Steve Hannah  wrote:

> The best thing to do is just no use the static initializer to initialize
> objects that you aren't sure about.  Instead instantiate them lazily.
>
> E.g.
>
> don't do anything like
>
> static MyClass c = new MyClass();
>
> Steve
>
> On Mon, Jul 25, 2016 at 5:35 PM, Gareth Murfin 
> wrote:
>
>> Thanks, how do I identify synchronous code? Surely no use of
>> synchronized means it has all gone ?
>>
>> On 26 July 2016 at 05:51, Steve Hannah 
>> wrote:
>>
>>> Check your static initializer for the Ddragon class. If you have
>>> something like
>>>
>>> private static void myvar = new SomeObject();
>>>
>>> And the SomeObject constructor includes synchronous code somewhere down
>>> the line, then this would also trigger it.
>>>
>>> Steve
>>>
>>> On Monday, 25 July 2016, Gareth Murfin  wrote:
>>>
>>>> I have removed all references to synchronized, but I am still getting
>>>> this error with a Javascript build:
>>>>
>>>> [INFO]
>>>> [INFO] --- teavm-maven-plugin:1.0.0-cn1-004:compile (web-client) @ 
>>>> MyApplication ---
>>>> [INFO] Preparing classpath for JavaScript generation
>>>> [INFO] Using the following classpath for JavaScript generation: 
>>>> /tmp/build7232626002789411357xxx/lib/CodenameOne.jar:/tmp/build7232626002789411357xxx/lib/Factory.jar:/tmp/build7232626002789411357xxx/lib/app.jar:/home/ec2-user/.m2/repository/org/teavm/teavm-classlib/1.0.0-cn1-004/teavm-classlib-1.0.0-cn1-004.jar:/home/ec2-user/.m2/repository/org/teavm/teavm-platform/1.0.0-cn1-004/teavm-platform-1.0.0-cn1-004.jar:/home/ec2-user/.m2/repository/org/teavm/teavm-core/1.0.0-cn1-004/teavm-core-1.0.0-cn1-004.jar:/home/ec2-user/.m2/repository/org/teavm/teavm-metaprogramming-api/1.0.0-cn1-004/teavm-metaprogramming-api-1.0.0-cn1-004.jar:/home/ec2-user/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar:/home/ec2-user/.m2/repository/com/carrotsearch/hppc/0.6.1/hppc-0.6.1.jar:/home/ec2-user/.m2/repository/org/teavm/teavm-jso-apis/1.0.0-cn1-004/teavm-jso-apis-1.0.0-cn1-004.jar:/home/ec2-user/.m2/repository/org/teavm/teavm-jso-impl/1.0.0-cn1-004/teavm-jso-impl-1.0.0-cn1-004.jar:/home/ec2-user/.m2/repository/org/mozilla/rhino/1.7.7/rhino-1.7.7.jar:/home/ec2-user/.m2/repository/org/ow2/asm/asm-debug-all/5.0.4/asm-debug-all-5.0.4.jar:/home/ec2-user/.m2/repository/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar:/home/ec2-user/.m2/repository/com/jcraft/jzlib/1.1.3/jzlib-1.1.3.jar:/home/ec2-user/.m2/repository/joda-time/joda-time/2.7/joda-time-2.7.jar:/home/ec2-user/.m2/repository/org/teavm/teavm-jso/1.0.0-cn1-004/teavm-jso-1.0.0-cn1-004.jar:/home/ec2-user/.m2/repository/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0.jar:/home/ec2-user/.m2/repository/org/mitre/dsmiley/httpproxy/smiley-http-proxy-servlet/1.6/smiley-http-proxy-servlet-1.6.jar:/home/ec2-user/.m2/repository/org/apache/httpcomponents/httpclient/4.3.4/httpclient-4.3.4.jar:/home/ec2-user/.m2/repository/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar:/home/ec2-user/.m2/repository/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar:/home/ec2-user/.m2/repository/commons-codec/commons-codec/1.6/commons-codec-1.6.jar:/tmp/build7232626002789411357xxx/target/classes
>>>> [INFO] Building JavaScript file
>>>> [INFO] JavaScript file built with errors
>>>> [ERROR] Method userclasses.DDragon.()V is claimed to be 
>>>> synchronous, but it is has invocations of asynchronous methods
>>>> at userclasses.DDragon.
>>>> at com.elite.dd.MyApplication.start(MyApplication.java:47)
>>>> at com.codename1.impl.html5.Stub.run(Stub.java:80)
>>>> at com.codename1.ui.Display.callSerially(Display.java:771)
>>>> at com.codename1.impl.html5.Stub.main(Stub.java:68)
>>>> [INFO] Debug information successfully written
>>>> [INFO] Source maps successfully written
>>>> [INFO] 
>>>> 
>>>> [INFO] BUILD FAILURE
>>>> [INFO] 
>>>> 
>>>> [INFO] Total time: 20.337 s
>>>> [INFO] Finished at: 2016-07-25T14:58:48-04:00
>>>> [INFO] Final Memory: 26M/875M
>>>> [INFO] 
&

Re: [codenameone-discussions] JS V is claimed to be synchronous, but it is has invocations of asynchronous methods

2016-07-26 Thread Gareth Murfin
I used the build hints to skip errors, now it stops on this line
is = Display.getInstance().getResourceAsStream( 
Class.forName("java.lang.Object"),"/stmaps" );

I am presuming I need to do something else to load up files in the browser?

On Tuesday, July 26, 2016 at 7:26:39 PM UTC+8, Gareth Murfin wrote:
>
> Thanks, I cant see anything like that al;though I do have stuff like
>
> static private byte[]   rgRS = new byte[NV_SIZE*4];
> static GeneralTask[]   pActObj = new 
> GeneralTask[TASK_MAX];   
>
> etc, will they trigger it?
>
>
> On 26 July 2016 at 08:46, Steve Hannah  
> wrote:
>
>> The best thing to do is just no use the static initializer to initialize 
>> objects that you aren't sure about.  Instead instantiate them lazily.
>>
>> E.g. 
>>
>> don't do anything like
>>
>> static MyClass c = new MyClass();
>>
>> Steve
>>
>> On Mon, Jul 25, 2016 at 5:35 PM, Gareth Murfin  
>> wrote:
>>
>>> Thanks, how do I identify synchronous code? Surely no use of 
>>> synchronized means it has all gone ?
>>>
>>> On 26 July 2016 at 05:51, Steve Hannah  
>>> wrote:
>>>
>>>> Check your static initializer for the Ddragon class. If you have 
>>>> something like
>>>>
>>>> private static void myvar = new SomeObject();
>>>>
>>>> And the SomeObject constructor includes synchronous code somewhere down 
>>>> the line, then this would also trigger it.
>>>>
>>>> Steve
>>>>
>>>> On Monday, 25 July 2016, Gareth Murfin  wrote:
>>>>
>>>>> I have removed all references to synchronized, but I am still getting 
>>>>> this error with a Javascript build: 
>>>>>
>>>>> [INFO] 
>>>>> [INFO] --- teavm-maven-plugin:1.0.0-cn1-004:compile (web-client) @ 
>>>>> MyApplication ---
>>>>> [INFO] Preparing classpath for JavaScript generation
>>>>> [INFO] Using the following classpath for JavaScript generation: 
>>>>> /tmp/build7232626002789411357xxx/lib/CodenameOne.jar:/tmp/build7232626002789411357xxx/lib/Factory.jar:/tmp/build7232626002789411357xxx/lib/app.jar:/home/ec2-user/.m2/repository/org/teavm/teavm-classlib/1.0.0-cn1-004/teavm-classlib-1.0.0-cn1-004.jar:/home/ec2-user/.m2/repository/org/teavm/teavm-platform/1.0.0-cn1-004/teavm-platform-1.0.0-cn1-004.jar:/home/ec2-user/.m2/repository/org/teavm/teavm-core/1.0.0-cn1-004/teavm-core-1.0.0-cn1-004.jar:/home/ec2-user/.m2/repository/org/teavm/teavm-metaprogramming-api/1.0.0-cn1-004/teavm-metaprogramming-api-1.0.0-cn1-004.jar:/home/ec2-user/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar:/home/ec2-user/.m2/repository/com/carrotsearch/hppc/0.6.1/hppc-0.6.1.jar:/home/ec2-user/.m2/repository/org/teavm/teavm-jso-apis/1.0.0-cn1-004/teavm-jso-apis-1.0.0-cn1-004.jar:/home/ec2-user/.m2/repository/org/teavm/teavm-jso-impl/1.0.0-cn1-004/teavm-jso-impl-1.0.0-cn1-004.jar:/home/ec2-user/.m2/repository/org/mozilla/rhino/1.7.7/rhino-1.7.7.jar:/home/ec2-user/.m2/repository/org/ow2/asm/asm-debug-all/5.0.4/asm-debug-all-5.0.4.jar:/home/ec2-user/.m2/repository/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar:/home/ec2-user/.m2/repository/com/jcraft/jzlib/1.1.3/jzlib-1.1.3.jar:/home/ec2-user/.m2/repository/joda-time/joda-time/2.7/joda-time-2.7.jar:/home/ec2-user/.m2/repository/org/teavm/teavm-jso/1.0.0-cn1-004/teavm-jso-1.0.0-cn1-004.jar:/home/ec2-user/.m2/repository/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0.jar:/home/ec2-user/.m2/repository/org/mitre/dsmiley/httpproxy/smiley-http-proxy-servlet/1.6/smiley-http-proxy-servlet-1.6.jar:/home/ec2-user/.m2/repository/org/apache/httpcomponents/httpclient/4.3.4/httpclient-4.3.4.jar:/home/ec2-user/.m2/repository/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar:/home/ec2-user/.m2/repository/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar:/home/ec2-user/.m2/repository/commons-codec/commons-codec/1.6/commons-codec-1.6.jar:/tmp/build7232626002789411357xxx/target/classes
>>>>> [INFO] Building JavaScript file
>>>>> [INFO] JavaScript file built with errors
>>>>> [ERROR] Method userclasses.DDragon.()V is claimed to be 
>>>>> synchronous, but it is has invocations of asynchronous methods
>>>>> at userclasses.DDragon.
>>>>> at com.elite.dd.MyApplication.start(MyApplication.java:47)
>>>>> at com.codename1.impl.html5.Stub.run(Stub.java:80)
>>>>> at com.codename1.ui.Display.callSerially(Display.java:771)
>>>>> at com.codename1.impl.html5.Stub.main(Stub.java:68)
>>>>

[codenameone-discussions] Fonts different on real device

2016-07-26 Thread Gareth Murfin
On the simulators my fonts look like this:
https://dl.dropboxusercontent.com/u/4194619/Snap%202016-07-26%20at%2022.56.10.png

But on my real device they look like this:
https://dl.dropboxusercontent.com/u/4194619/Screenshot_2016-07-26-22-58-30.png

Why is 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+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/95c1420b-45d8-4f89-bd41-40b9d8e9efbc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Fonts different on real device

2016-07-26 Thread Gareth Murfin

It is a strange case possibly because what I am doing is rendering a game 
to a 320x240 image, then scaling it up to the fullscreen size and 
displaying that (quite a weird way to make an old game work I guess but the 
easiest I can think of). Having said that I doubt this would affect fonts 
since the scaling is done right at the end. 

Edit, I just realised I have a copy of the graphics object, and wasnt 
callign set font on that, so now actually it is ok! weird how it would be 
different on device.

Here is how I make my fonts:

On Tuesday, July 26, 2016 at 11:29:47 PM UTC+8, Steve Hannah wrote:
>
> Default fonts and their sizes vary by platform.  If you're laying out some 
> labels with absolute positioning and you're not deriving your fonts to be 
> specific pixel height, then you could get this.  I'd have to see some code 
> to know why this is happening to you.  E.g.  what layout manager, styles, 
> fonts, etc...
>
> Steve
>
> On Tue, Jul 26, 2016 at 8:03 AM, Gareth Murfin  > wrote:
>
>> On the simulators my fonts look like this:
>>
>> https://dl.dropboxusercontent.com/u/4194619/Snap%202016-07-26%20at%2022.56.10.png
>>
>> But on my real device they look like this:
>>
>> https://dl.dropboxusercontent.com/u/4194619/Screenshot_2016-07-26-22-58-30.png
>>
>> Why is 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+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/95c1420b-45d8-4f89-bd41-40b9d8e9efbc%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/codenameone-discussions/95c1420b-45d8-4f89-bd41-40b9d8e9efbc%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> 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/ae76b716-95c0-44fb-91da-ac4b4174fdc9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] 1 pixel border around canvas

2016-07-26 Thread Gareth Murfin
When I fill a canvas entirely with black, I notice there is a white border 
all the way around, looks like about 1 pixel, is there a way to get rid of 
this?

-- 
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/8db6d3e7-93aa-4af3-99a2-4b1955c43d22%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] 1 pixel border around canvas

2016-07-26 Thread Gareth Murfin
Works great thanks!

On Tuesday, July 26, 2016 at 11:59:22 PM UTC+8, Steve Hannah wrote:
>
> Use the component inspector in the simulator to track down which container 
> has margin/padding applied.   Then set margin/padding to 0.
>
> Steve
>
> On Tue, Jul 26, 2016 at 8:52 AM, Gareth Murfin  > wrote:
>
>> When I fill a canvas entirely with black, I notice there is a white 
>> border all the way around, looks like about 1 pixel, is there a way to get 
>> rid of this?
>>
>> -- 
>> 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/8db6d3e7-93aa-4af3-99a2-4b1955c43d22%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/codenameone-discussions/8db6d3e7-93aa-4af3-99a2-4b1955c43d22%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> 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/217dd929-4bb7-4d10-befc-7c51fb35adbf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] audio/midi not supported?

2016-07-26 Thread Gareth Murfin
Does the media manager load up audio/midi? im getting: MediaException: 
MEDIA_UNSUPPORTED : Unrecognized file signature!

-- 
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/0b42e286-d1bc-4d56-b90a-ac3bba1f4a48%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: audio/midi not supported?

2016-07-26 Thread Gareth Murfin
Oh javafx doesnt support midi, i guess theres no way to get it working on 
simulator then ?

On Wednesday, July 27, 2016 at 1:41:46 AM UTC+8, Gareth Murfin wrote:
>
> Does the media manager load up audio/midi? im getting: MediaException: 
> MEDIA_UNSUPPORTED : Unrecognized file signature!
>

-- 
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/d9ba1a72-5421-4df3-afd1-723c62dcb4bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Re: audio/midi not supported?

2016-07-26 Thread Gareth Murfin
Yeah I will actually update all my music with mp3 anyway, so no big deal.

On 27 July 2016 at 01:48, Steve Hannah  wrote:

> Support could be added to the simulator, if it became a priority.
>
> On Tue, Jul 26, 2016 at 10:46 AM, Gareth Murfin 
> wrote:
>
>> Oh javafx doesnt support midi, i guess theres no way to get it working on
>> simulator then ?
>>
>> On Wednesday, July 27, 2016 at 1:41:46 AM UTC+8, Gareth Murfin wrote:
>>>
>>> Does the media manager load up audio/midi? im getting: MediaException:
>>> MEDIA_UNSUPPORTED : Unrecognized file signature!
>>>
>> --
>> 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/d9ba1a72-5421-4df3-afd1-723c62dcb4bf%40googlegroups.com
>> <https://groups.google.com/d/msgid/codenameone-discussions/d9ba1a72-5421-4df3-afd1-723c62dcb4bf%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> 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 a topic in the
> Google Groups "CodenameOne Discussions" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/codenameone-discussions/wGnJaRNIr0o/unsubscribe
> .
> To unsubscribe from this group and all its topics, 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/CAGOYrKUHov61V6VxcRWaxx-dHUf6Rk-fKJ%2B66o8U6uVj5FgWWg%40mail.gmail.com
> <https://groups.google.com/d/msgid/codenameone-discussions/CAGOYrKUHov61V6VxcRWaxx-dHUf6Rk-fKJ%2B66o8U6uVj5FgWWg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Gareth Murfin
(Android Freelancer - www.garethmurfin.co.uk)

-- 
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/CANOaY6mhL3D%2Bfa9L92Dwe6syL-dfkWmCHxUL%2BOX1bKyfx9TWzA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Second Media does not play on Android

2016-07-26 Thread Gareth Murfin
I have multiple Medias loaded up, I stop one and start another. This works 
fine on the simulator and also in the JS build, but for some reason on 
Android my second Media doesnt play, and remains silent. What could I be 
doing wrong? Not tried on iOS, will try make a test bed case when I get a 
second to see if I can recreate it standalone. 

-- 
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/b7e18cf3-e868-46c5-ae24-5d7bf544f283%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Second Media does not play on Android

2016-07-26 Thread Gareth Murfin
ps, no errors in logcat

On Wednesday, July 27, 2016 at 3:46:46 AM UTC+8, Gareth Murfin wrote:
>
> I have multiple Medias loaded up, I stop one and start another. This works 
> fine on the simulator and also in the JS build, but for some reason on 
> Android my second Media doesnt play, and remains silent. What could I be 
> doing wrong? Not tried on iOS, will try make a test bed case when I get a 
> second to see if I can recreate it standalone. 
>

-- 
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/c08b9e7b-91d6-4ecf-b6e8-174c01270216%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Change status bar colour in real time?

2019-02-01 Thread Gareth Murfin
You know how you can set the colours for the native status bar 
using colors.xml ? is there any way to do this while the app is running? it 
would be great, because my app has different coloured screens and it would 
be nice to set it for each 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-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/6acf7f4b-2dfd-45fd-9f5a-02e2cb593a3e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Upload to appstore without pc

2019-02-01 Thread Gareth Murfin
I know this is something discussed many times, but until recently i was 
using this http://www.appuploader.net/ successfully to get ipas to app 
store on a pc. Now it seems they upload fine but sit in limbo, like theyre 
not "submitted" properly. Just wondering how others do it without a mac?

And a really nice touch would be if cn1 had its own uploader, same as the 
certificate design wizard. That would rock.. just an idea :)

-- 
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/5b1a7b5d-f04f-4a92-a788-6eb28ae85ca8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Upload to appstore without pc

2019-02-01 Thread Gareth Murfin
subject was meant to say "without mac"*

On Friday, February 1, 2019 at 9:41:07 PM UTC+8, Gareth Murfin wrote:
>
> I know this is something discussed many times, but until recently i was 
> using this http://www.appuploader.net/ successfully to get ipas to app 
> store on a pc. Now it seems they upload fine but sit in limbo, like theyre 
> not "submitted" properly. Just wondering how others do it without a mac?
>
> And a really nice touch would be if cn1 had its own uploader, same as the 
> certificate design wizard. That would rock.. just an idea :)
>

-- 
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/fa68121a-235c-42ed-97d0-634df53a4080%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Change status bar colour in real time?

2019-02-03 Thread Gareth Murfin
thanks, i dont want to hide it, i thought i may be able to change its 
colour at run time. 

On Saturday, February 2, 2019 at 1:57:31 PM UTC+8, Shai Almog wrote:
>
> Try the build hint: android.hideStatusBar
> See: https://www.codenameone.com/blog/new-skins-san-francisco-font.html
>

-- 
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/3c64d75e-f8f7-480c-ab08-752f7b7d5cb4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Change status bar colour in real time?

2019-02-04 Thread Gareth Murfin
i just tried it, works great, exactly what i wanted! Thanks!.

On Monday, February 4, 2019 at 3:52:51 PM UTC+8, Gareth Murfin wrote:
>
> thanks, i dont want to hide it, i thought i may be able to change its 
> colour at run time. 
>
> On Saturday, February 2, 2019 at 1:57:31 PM UTC+8, Shai Almog wrote:
>>
>> Try the build hint: android.hideStatusBar
>> See: https://www.codenameone.com/blog/new-skins-san-francisco-font.html
>>
>

-- 
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/526ace8f-84bd-4d30-acc2-06f20443ee41%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Hide scrollbar

2019-02-19 Thread Gareth Murfin
I have a scrollable container in the centre of a borderlayout, i unticked 
scrollVisible but the scroll bar still appears at the side, if I dont use 
it it fades to white but then theres a white gap making my design look 
weird. Any way to hide it fully? or is this a bug?

-- 
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/0820c6d5-4aca-41e9-9142-12db9927561a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Hide scrollbar

2019-02-20 Thread Gareth Murfin
no, no other scrollables. Just looks like scrollVisible doesnt do anything 
these days.

On Wednesday, February 20, 2019 at 11:06:37 AM UTC+8, Shai Almog wrote:
>
> I'm guessing you have nested scrollables which means once of your parent 
> or possibly child elements is scrollable too.That would be a problem.
>

-- 
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/7d7fa555-0b0a-48b3-9922-9b3eca5bed25%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Hide scrollbar

2019-02-20 Thread Gareth Murfin
Thanks Eric, will give a try!!

On Wednesday, February 20, 2019 at 9:43:53 PM UTC+8, Eric wrote:
>
> Hello, 
>
> Put scrollVisibleBool theme constant to false. You have to do it under 
> Constants tab of your  Codename Theme 
>
> Le mercredi 20 février 2019, Gareth Murfin  > a écrit :
>
>> no, no other scrollables. Just looks like scrollVisible doesnt do 
>> anything these days.
>>
>> On Wednesday, February 20, 2019 at 11:06:37 AM UTC+8, Shai Almog wrote:
>>>
>>> I'm guessing you have nested scrollables which means once of your parent 
>>> or possibly child elements is scrollable too.That would be a problem.
>>>
>> -- 
>> 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/7d7fa555-0b0a-48b3-9922-9b3eca5bed25%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/codenameone-discussions/7d7fa555-0b0a-48b3-9922-9b3eca5bed25%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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/d3d17074-dd9b-45c2-919e-747e4361ed0c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Turn off tickering

2019-02-21 Thread Gareth Murfin
How do I turn off tickering on a multibutton ? 

-- 
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/803388fb-16b6-4d7e-83fd-d9f606c8ecb0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] How to reliably add custom components?

2019-02-25 Thread Gareth Murfin
Ive made a pie chart that draws on canvas, when I add this it doesnt 
appear, I have only managed to find one way to get it working in a test 
form but as soon as I add other things to the form it seems to stop 
displaying. Is there anything special I need to do to get my custom 
component actually appearing correctly?

-- 
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/bcb4b1f7-ff77-4e6e-a9ab-3560d05c717d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: How to reliably add custom components?

2019-02-25 Thread Gareth Murfin
Seems to work if I do something along the lines of

  @Override
public Dimension calcPreferredSize()
{
return new Dimension(StateMachine.w,StateMachine.h/2);
}

cheers.

On Monday, February 25, 2019 at 11:01:26 PM UTC+8, Gareth Murfin wrote:
>
> Ive made a pie chart that draws on canvas, when I add this it doesnt 
> appear, I have only managed to find one way to get it working in a test 
> form but as soon as I add other things to the form it seems to stop 
> displaying. Is there anything special I need to do to get my custom 
> component actually appearing correctly?
>

-- 
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/b895684e-f007-4734-befe-35288351d031%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Status bar on ios flashes white during transition

2019-02-25 Thread Gareth Murfin
When I move screens on my phone build the status bar on my iphone6 turns 
white during the transition, is there a way to avoid this ?

-- 
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/701bc3a1-e0d9-4732-8ab2-824fe527dd03%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Status bar on ios flashes white during transition

2019-02-27 Thread Gareth Murfin
I used colors.xml


   #ff451DA7
   #ff451DA7
   #


(is it colorAccent? i tried this to get the icons/text white), actually it 
happens even in simulaor using iphone6 skin

On Tuesday, February 26, 2019 at 12:15:27 PM UTC+8, Shai Almog wrote:
>
> How did you style the status bar/title area?
>

-- 
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/0d41cd5c-5967-4887-8444-de4e0b8c390e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Testflight

2019-02-27 Thread Gareth Murfin
I cant find much about testflight on cn1, is it just the testflight build 
hint ? ios.testFlight=true , and then submit it as a beta build on appstore 
connect?
And is it available on the basic account? 

-- 
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/4944fdd9-6703-43fa-b3bf-3eb87491f6da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Cache a form?

2019-03-05 Thread Gareth Murfin
The set up time for some of my screens takes almost 1 second, so app seems 
unresponsive, I was wondering, is there any way to cache a form? So it 
doesnt have to "build" every time, and do all my logic? Can we store a 
finished form and use that to speed up the app? 

I guess in a way this is kind of like onResume in Android, only onCreate 
does the hard work, and only gets called first time its made. 

-- 
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/464a78b7-8a5f-4a09-9b6d-6451746b38aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Delete unused images (old editor)

2019-03-05 Thread Gareth Murfin
I see when you go to delete used images the editor must scan StateMachine 
these days too, which is great, but ive just refactored a ton of logic into 
their on class for each screen, now delete unused images doesnt scan them 
files. Its a long shot but wondering if theres a way to make it scan them 
all ?

-- 
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/3312fb8b-822f-4b0e-bd93-5e4059fa0f6a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Status bar on ios flashes white during transition

2019-03-08 Thread Gareth Murfin
I tried styling StatusBar with zero padding/margin to see if it would help 
but it still flashes, any ideas?

On Thursday, February 28, 2019 at 11:11:32 AM UTC+8, Shai Almog wrote:
>
> The StatusBar UIID in the designer/css...
> That only applies to native Android devices.
>

-- 
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/3ffdbf21-9ecf-40f4-ac41-3faaae8da365%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] MediaPlayer on ios

2019-03-08 Thread Gareth Murfin
on ios my mediaplayer is just black, no controls or frames.. works fine on 
android/simulator - any ideas?

-- 
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/a249f5f1-8b53-4767-93d2-391fecd1a4f4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] MediaPlayer on ios

2019-03-11 Thread Gareth Murfin
thanks steve, will give it a go... reminds me of j2me days :)

On Friday, March 8, 2019 at 10:02:44 PM UTC+8, Steve Hannah wrote:
>
> Actually, upon closer inspection, I see why this is.  On iOS, it doesn't 
> "prepare" the media automatically because the act of preparing media might 
> disrupt other active media in the App.  You need to call the prepare() 
> method on the media if you want the frame and embedded controls to appear.
>
>
>
> On Fri, Mar 8, 2019 at 5:40 AM Steve Hannah  > wrote:
>
>> There appears to be an issue there.  If you enable autoplay, this should 
>> work around it for now.  There will be a fix soon.
>>
>> On Fri, Mar 8, 2019 at 12:08 AM Gareth Murfin > > wrote:
>>
>>> on ios my mediaplayer is just black, no controls or frames.. works fine 
>>> on android/simulator - any ideas?
>>>
>>> -- 
>>> 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/a249f5f1-8b53-4767-93d2-391fecd1a4f4%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/codenameone-discussions/a249f5f1-8b53-4767-93d2-391fecd1a4f4%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>> -- 
>> Steve Hannah
>> Software Developer
>> Codename One
>> http://www.codenameone.com
>>
>
>
> -- 
> 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/fef210f3-d7cf-49a1-8530-079a59c718c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Does compilation remove "empty" methods?

2019-03-20 Thread Gareth Murfin
So I always make a method like this:

//for printing
private static void _(String s)
{
if (Prefs.DEBUG)
{
com.codename1.io.Log.p(Prefs.ANSI_GREEN+"StateMachine "+s);
}
}

then when it comes to release I set Prefs.DEBUG (which is final) to false, 
would this mean the method was stripped out during compilation? On both 
iOS/Android? Or not ? It's just that during dev I really need A LOT of 
print outs to follow my code, but then for release obviously I dont want 
any. In the old J2ME days I used to do a find and replace on all calls to 
_("hello"); etc before release, but im wondering if that's necessary 
anymore? 

I assume if its not stripped out during compilation then each call even if 
it really does nothing may add up (i do a lot in loops etc) to eventually 
slow certain things down (even by X many ms). But from what I understand 
modern java compilers would remove it since it really doesnt do anything if 
debug is false.

-- 
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/da3337af-e83e-4c7d-bdbf-487375537853%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Does compilation remove "empty" methods?

2019-03-20 Thread Gareth Murfin
Thanks for the answer. Oh shame, I thought proguard already did this a 
decade ago? I mean if the compiler is even slightly smart and a variable is 
declared *final*, then its not really runtime state I would have thought 
and therefore should be removed.  Would it be the same if you did something 
like:

if (1==1)
{
 _("hello");//this surely would be redundant code and removed?
 doSomeWork();//this surely would be redundant code and removed?
}

On Wednesday, March 20, 2019 at 7:50:41 PM UTC+8, Steve Hannah wrote:
>
> Build-time pruning does not make use of any runtime state for determining 
> code paths.  Therefore changing the value of Prefs.DEBUG would have no 
> effect.  
>
> On Wed, Mar 20, 2019 at 1:31 AM Gareth Murfin  > wrote:
>
>> So I always make a method like this:
>>
>> //for printing
>> private static void _(String s)
>> {
>> if (Prefs.DEBUG)
>> {
>> com.codename1.io.Log.p(Prefs.ANSI_GREEN+"StateMachine 
>> "+s);
>> }
>> }
>>
>> then when it comes to release I set Prefs.DEBUG (which is final) to 
>> false, would this mean the method was stripped out during compilation? On 
>> both iOS/Android? Or not ? It's just that during dev I really need A LOT of 
>> print outs to follow my code, but then for release obviously I dont want 
>> any. In the old J2ME days I used to do a find and replace on all calls to 
>> _("hello"); etc before release, but im wondering if that's necessary 
>> anymore? 
>>
>> I assume if its not stripped out during compilation then each call even 
>> if it really does nothing may add up (i do a lot in loops etc) to 
>> eventually slow certain things down (even by X many ms). But from what I 
>> understand modern java compilers would remove it since it really doesnt do 
>> anything if debug is false.
>>
>> -- 
>> 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/da3337af-e83e-4c7d-bdbf-487375537853%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/codenameone-discussions/da3337af-e83e-4c7d-bdbf-487375537853%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> 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/c8fa5bc3-1a08-4377-b105-e7d0cf23ffb7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Does compilation remove "empty" methods?

2019-03-20 Thread Gareth Murfin
whoops i meant

if (1==2)
{
 _("hello");//this surely would be redundant code and removed?
 doSomeWork();//this surely would be redundant code and removed?
}

On Wednesday, March 20, 2019 at 10:24:01 PM UTC+8, Gareth Murfin wrote:
>
> Thanks for the answer. Oh shame, I thought proguard already did this a 
> decade ago? I mean if the compiler is even slightly smart and a variable is 
> declared *final*, then its not really runtime state I would have thought 
> and therefore should be removed.  Would it be the same if you did something 
> like:
>
> if (1==1)
> {
>  _("hello");//this surely would be redundant code and removed?
>  doSomeWork();//this surely would be redundant code and removed?
> }
>
> On Wednesday, March 20, 2019 at 7:50:41 PM UTC+8, Steve Hannah wrote:
>>
>> Build-time pruning does not make use of any runtime state for determining 
>> code paths.  Therefore changing the value of Prefs.DEBUG would have no 
>> effect.  
>>
>> On Wed, Mar 20, 2019 at 1:31 AM Gareth Murfin  
>> wrote:
>>
>>> So I always make a method like this:
>>>
>>> //for printing
>>> private static void _(String s)
>>> {
>>> if (Prefs.DEBUG)
>>> {
>>> com.codename1.io.Log.p(Prefs.ANSI_GREEN+"StateMachine 
>>> "+s);
>>> }
>>> }
>>>
>>> then when it comes to release I set Prefs.DEBUG (which is final) to 
>>> false, would this mean the method was stripped out during compilation? On 
>>> both iOS/Android? Or not ? It's just that during dev I really need A LOT of 
>>> print outs to follow my code, but then for release obviously I dont want 
>>> any. In the old J2ME days I used to do a find and replace on all calls to 
>>> _("hello"); etc before release, but im wondering if that's necessary 
>>> anymore? 
>>>
>>> I assume if its not stripped out during compilation then each call even 
>>> if it really does nothing may add up (i do a lot in loops etc) to 
>>> eventually slow certain things down (even by X many ms). But from what I 
>>> understand modern java compilers would remove it since it really doesnt do 
>>> anything if debug is false.
>>>
>>> -- 
>>> 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/da3337af-e83e-4c7d-bdbf-487375537853%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/codenameone-discussions/da3337af-e83e-4c7d-bdbf-487375537853%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> 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/a529f339-8380-453a-9dce-c1e2a2ffdc61%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Finding centre point of an arc?

2019-03-26 Thread Gareth Murfin
I realise this is not strictly a codenameone question but I have been stuck 
for so long I thought I would ask. I am drawing a pie chart using 
drawArc(), and I want to draw the percentage text in the middle of the arc. 
But, how do I find that x,y point? Is there any way I can use other methods 
in cn1 to help me find this? So far all my attempts to do the maths have 
failed and not a single answer on the web has worked. My maths is not 
exactly AAA, so I am unable to solve this for now!.. Any thoughts would be 
good. Thanks guys, I think its actually quite a tough one though ;-(

-- 
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/5eda5fa0-f379-40d4-aea3-d025977f534d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Delete unused images (old editor)

2019-03-26 Thread Gareth Murfin
why impractical? anyway i whipped up a java app to put all code into 
StateMachine.java temporarily then I can remove unused images then restore 
StateMachine.java :) thanks. 

On Wednesday, March 6, 2019 at 12:00:16 PM UTC+8, Shai Almog wrote:
>
> No. We try not to scan anymore. It's impractical to scan the sources for 
> image names. 
>

-- 
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/c8fb8874-ae06-4c87-bdc9-a88a5f7a19ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Cache a form?

2019-03-28 Thread Gareth Murfin
Thanks, I tried to cache some forms but it didnt seem to keep the complete 
form. 

For example once I have set up the UI and then populated it, I call this in 
postShow():

cachedForm=getCurrentForm(); 

then if I come back to the form I do 

if (cachedForm!=null)
{  
cachedForm.show();
return;
}

this works but it does not show the changes I made to the form, for example 
most of my forms are full of empty containers, at run time I use 
createContainer to swap in various things I have designed in the gui 
editor, but none of them appear on the cached form.

Did I do it wrong somehow ? 

On Wednesday, March 6, 2019 at 11:58:07 AM UTC+8, Shai Almog wrote:
>
> start() literally caches the last Form. You don't need to throw away the 
> Form objects.
>

-- 
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/6642b67d-f6b4-4049-9f51-3945907ade54%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Downloading image to label automatically

2019-03-28 Thread Gareth Murfin

I want to be able to download an image and then have it appear in the label 
automatically when its ready, so Im using this:
 
setIconOnMe.setIcon(URLImage.createToStorage(placeHolder, url, url, 
URLImage.RESIZE_SCALE));  

but it doesnt seem to set the image when it comes in? It works fine if I 
revisit the form, but I expected it to download then set automatically, 
should 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/06d1bcf7-dd7c-4b0f-8a67-354f5301c80e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Status bar on ios flashes white during transition

2019-03-28 Thread Gareth Murfin
Yes, you can see during the transition the top turns white, before and 
after its fine. 
https://www.dropbox.com/s/kb3t35q4o5le65c/Snap%202019-03-29%20at%2000.30.50.png?dl=0

On Saturday, March 9, 2019 at 1:09:24 PM UTC+8, Shai Almog wrote:
>
> Can you get a screenshot of the problem?
>

-- 
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/d54ffd53-6ab7-42e9-ad39-b28d58b0538c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] MediaPlayer on ios

2019-03-28 Thread Gareth Murfin
Ive noticed when I leave a screen with the media player on it briefly 
flashes black, is there some way to stop this? like do I need to release it 
before I swap forms or something? 

On Monday, March 11, 2019 at 7:17:59 PM UTC+8, Gareth Murfin wrote:
>
> thanks steve, will give it a go... reminds me of j2me days :)
>
> On Friday, March 8, 2019 at 10:02:44 PM UTC+8, Steve Hannah wrote:
>>
>> Actually, upon closer inspection, I see why this is.  On iOS, it doesn't 
>> "prepare" the media automatically because the act of preparing media might 
>> disrupt other active media in the App.  You need to call the prepare() 
>> method on the media if you want the frame and embedded controls to appear.
>>
>>
>>
>> On Fri, Mar 8, 2019 at 5:40 AM Steve Hannah  
>> wrote:
>>
>>> There appears to be an issue there.  If you enable autoplay, this should 
>>> work around it for now.  There will be a fix soon.
>>>
>>> On Fri, Mar 8, 2019 at 12:08 AM Gareth Murfin  
>>> wrote:
>>>
>>>> on ios my mediaplayer is just black, no controls or frames.. works fine 
>>>> on android/simulator - any ideas?
>>>>
>>>> -- 
>>>> 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/a249f5f1-8b53-4767-93d2-391fecd1a4f4%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/codenameone-discussions/a249f5f1-8b53-4767-93d2-391fecd1a4f4%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>> -- 
>>> Steve Hannah
>>> Software Developer
>>> Codename One
>>> http://www.codenameone.com
>>>
>>
>>
>> -- 
>> 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/29453d77-37f1-4add-8526-50600cf1c48a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] MediaPlayer on ios

2019-03-29 Thread Gareth Murfin
Thanks, so you're saying I should remove it or set it invisible before 
transitioning to new screen?

Also the "prepare" call doesnt stop the video player being black, the 
controls dont appear either, so instead of a video I just see a black box, 
this works fine on emulators and android. 

On Friday, March 29, 2019 at 12:45:22 AM UTC+8, Steve Hannah wrote:
>
> This is likely because during a form transition, it needs to perform a 
> lightweight rendering of the outgoing form.  For native peers, this can 
> cause some jitter like you're describing.  
>
> On Thu, Mar 28, 2019 at 9:40 AM Gareth Murfin  > wrote:
>
>> Ive noticed when I leave a screen with the media player on it briefly 
>> flashes black, is there some way to stop this? like do I need to release it 
>> before I swap forms or something? 
>>
>> On Monday, March 11, 2019 at 7:17:59 PM UTC+8, Gareth Murfin wrote:
>>>
>>> thanks steve, will give it a go... reminds me of j2me days :)
>>>
>>> On Friday, March 8, 2019 at 10:02:44 PM UTC+8, Steve Hannah wrote:
>>>>
>>>> Actually, upon closer inspection, I see why this is.  On iOS, it 
>>>> doesn't "prepare" the media automatically because the act of preparing 
>>>> media might disrupt other active media in the App.  You need to call the 
>>>> prepare() method on the media if you want the frame and embedded controls 
>>>> to appear.
>>>>
>>>>
>>>>
>>>> On Fri, Mar 8, 2019 at 5:40 AM Steve Hannah  
>>>> wrote:
>>>>
>>>>> There appears to be an issue there.  If you enable autoplay, this 
>>>>> should work around it for now.  There will be a fix soon.
>>>>>
>>>>> On Fri, Mar 8, 2019 at 12:08 AM Gareth Murfin  
>>>>> wrote:
>>>>>
>>>>>> on ios my mediaplayer is just black, no controls or frames.. works 
>>>>>> fine on android/simulator - any ideas?
>>>>>>
>>>>>> -- 
>>>>>> 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/a249f5f1-8b53-4767-93d2-391fecd1a4f4%40googlegroups.com
>>>>>>  
>>>>>> <https://groups.google.com/d/msgid/codenameone-discussions/a249f5f1-8b53-4767-93d2-391fecd1a4f4%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>> .
>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>
>>>>>
>>>>>
>>>>> -- 
>>>>> Steve Hannah
>>>>> Software Developer
>>>>> Codename One
>>>>> http://www.codenameone.com
>>>>>
>>>>
>>>>
>>>> -- 
>>>> 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/29453d77-37f1-4add-8526-50600cf1c48a%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/codenameone-discussions/29453d77-37f1-4add-8526-50600cf1c48a%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> 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/8909f838-b2e8-4c43-b100-d1162a296b10%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Status bar on ios flashes white during transition

2019-03-29 Thread Gareth Murfin
Well, thats a difficult question to answer because im not sure what you 
mean, well im not sure what the white bar is in the first place. 

My form is a borderlayout, inside "contentpane" I have NORTH, CENTRE, 
SOUTH, but im presuming that is not relevant. So looking at component 
inspector I have what you would expect Toolbar contains StatusBar, and a 
container with 2 buttons with TitleCommand uuid. 

Now I want the text to be white and the background to be whatever the rest 
of NORTH is. So I tried styling StatusBar and TitleCommand, but none of my 
changes have any affect, I delierately used bright colours so it would be 
easy to notice.

I wonder if its related to having the side menu ?? Ive made an animated gif 
to show the issue properly, please excuse the cracked iphone screen :))) 

Any 
ideas?? https://www.dropbox.com/s/oodfxzropqufjhc/20190329_174059.gif?dl=0




On Friday, March 29, 2019 at 11:22:58 AM UTC+8, Shai Almog wrote:
>
> How did you customize the colors of the title area/form?
> I'm guessing you are seeing one of those there during the transition.
>

-- 
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/f02026be-eb12-4466-a733-a461b73aa884%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


  1   2   3   4   5   6   7   >