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

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, Gar

[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

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

[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

[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

[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

[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

[codenameone-discussions] Re: Change days of week text in Calendar view

2019-01-30 Thread Gareth Murfin
thank you Shai, recently im starting to think cn1 has reached a beautiful level, things work so much nicer than the old days, I congratulate you on your amazing efforts and sublime support. On Wednesday, January 30, 2019 at 11:34:55 AM UTC+8, Shai Almog wrote: > > Just localize

[codenameone-discussions] Change days of week text in Calendar view

2019-01-29 Thread Gareth Murfin
I need to change "Su", "M", "Tu" etc in the calendar view to simply "S", "M", "T" etc, is it possible? I was trying to get MonthView to change the text on the labels but its private. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group.

[codenameone-discussions] Re: Make Calendar fit screenwidth

2019-01-29 Thread Gareth Murfin
oj boxlayoutY just started to work on it somehow, I assume thats how :) On Tuesday, January 29, 2019 at 4:48:48 PM UTC+8, Gareth Murfin wrote: > > Im trying to get the calendar UI to fit the width of the screen, how do > you do that? or is the only way to use CalendarDay? Addin

[codenameone-discussions] Make Calendar fit screenwidth

2019-01-29 Thread Gareth Murfin
Im trying to get the calendar UI to fit the width of the screen, how do you do that? or is the only way to use CalendarDay? Adding padding to that works but obviously you never know how wide a screen is. -- You received this message because you are subscribed to the Google Groups "CodenameOne

[codenameone-discussions] Re: Menus on simulator not working

2019-01-29 Thread Gareth Murfin
yes that fixes it, thanks shai. On Tuesday, January 29, 2019 at 11:23:51 AM UTC+8, Shai Almog wrote: > > We pushed another fix last night. Please try another update and see if it > resolves the issue. > -- You received this message because you are subscribed to the Google Groups "CodenameOne

[codenameone-discussions] Re: ios Cert wizard stuck

2019-01-28 Thread Gareth Murfin
no, its a new account from client.. On Tuesday, January 29, 2019 at 11:24:35 AM UTC+8, Shai Almog wrote: > > Is it possible your iOS developer subscription at Apple expired? > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To

[codenameone-discussions] ios Cert wizard stuck

2019-01-28 Thread Gareth Murfin
Im trying the ios cert wizard but I am stuck on a screen that says "select a team" but there is nothing to select and I cannot move forward. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop

[codenameone-discussions] Re: Menus on simulator not working

2019-01-28 Thread Gareth Murfin
win 10 java version "1.8.0_101" Java(TM) SE Runtime Environment (build 1.8.0_101-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode) On Monday, January 28, 2019 at 11:12:25 AM UTC+8, Shai Almog wrote: > > We'll try to verify the fix again. Which OS/Java version are you using? >

[codenameone-discussions] Re: Menus on simulator not working

2019-01-26 Thread Gareth Murfin
still the same after an update for me. On Sunday, January 27, 2019 at 12:17:40 PM UTC+8, Shai Almog wrote: > > This was fixed in an update published yesterday. > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from

[codenameone-discussions] Re: Mediaplyer controls overlap sidebar - hide mediaplayer buttons via code?

2019-01-26 Thread Gareth Murfin
nice one, looking forward to 6.0 :) yeh i think it would be a good feature for people with similar issues. On Saturday, January 26, 2019 at 1:35:57 PM UTC+8, Shai Almog wrote: > > There is no event for side menu folding. We could possibly add that but it > won't be soon as we're gearing towards

[codenameone-discussions] Menus on simulator not working

2019-01-26 Thread Gareth Murfin
For some reason the simulator, skins, help menu on the simulator wont open, 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] Re: Mediaplyer controls overlap sidebar - hide mediaplayer buttons via code?

2019-01-24 Thread Gareth Murfin
, 2019 at 1:52:34 PM UTC+8, Gareth Murfin wrote: > > perfect, you guys have thought of everything, thanks! > > On Thursday, January 24, 2019 at 11:20:13 AM UTC+8, Shai Almog wrote: >> >> There is this: >> >> Media someMedia = ... >> ... >> someMedia.setV

[codenameone-discussions] Re: possible to implement a slider like this ?

2019-01-24 Thread Gareth Murfin
I have messed with Slider and SliderFull, but neither of them change the appearance of the slider at *all*. Also the gui editor wont even let me make SliderFull. I need to set slider progress colour, and thickness, where in these udids can I do that specifically... and how do I define

[codenameone-discussions] Re: Exception: javax.net.ssl.SSLHandshakeException - sun.security.validator.ValidatorException: PKIX path building failed:

2019-01-23 Thread Gareth Murfin
thanks client fixed it, he said : ok ssl issue is resolved. i had to put the full chain cert in the ssl.conf file just fyi, and in case it comes up again for any of your other customers, you create a fullchain,pem file and paste in the root certificate and the intermediate certificate

[codenameone-discussions] Re: Mediaplyer controls overlap sidebar - hide mediaplayer buttons via code?

2019-01-23 Thread Gareth Murfin
perfect, you guys have thought of everything, thanks! On Thursday, January 24, 2019 at 11:20:13 AM UTC+8, Shai Almog wrote: > > There is this: > > Media someMedia = ... > ... > someMedia.setVariable(Media.VARIABLE_NATIVE_CONTRLOLS_EMBEDDED, false); // > hides native controls > > or > >

[codenameone-discussions] Re: BrowserComponent will not display chinese on iOS

2019-01-23 Thread Gareth Murfin
Oh my god... I just release a missing speech mark in the meta tag, it *DOES *work.. Im so dumb.. thanks for everything, made my day Sorry for all the red herrings. On Wednesday, January 23, 2019 at 8:35:09 PM UTC+8, Gareth Murfin wrote: > > ps I assume you meant Writer w

[codenameone-discussions] Re: BrowserComponent will not display chinese on iOS

2019-01-23 Thread Gareth Murfin
ps I assume you meant Writer w = new OutputStreamWriter(out, "UTF-8"); On Wednesday, January 23, 2019 at 8:33:52 PM UTC+8, Gareth Murfin wrote: > > Yeah still no luck, its very weird, still displays fine on span labels, > but in browsercomponent its all messed up. Kind of st

[codenameone-discussions] Re: BrowserComponent will not display chinese on iOS

2019-01-23 Thread Gareth Murfin
, 2019 at 4:16:59 PM UTC+8, Gareth Murfin wrote: > > Wow, a new way I have not seen, thanks Shai! Fingers crossed, will give it > a go! > > On Tuesday, January 22, 2019 at 11:32:05 AM UTC+8, Shai Almog wrote: >> >> A better way is to use a writer: >> >> Writer

[codenameone-discussions] Mediaplyer controls overlap sidebar - hide mediaplayer buttons via code?

2019-01-23 Thread Gareth Murfin
On Android if the media player buttons are showing (like I tapped the mediaplayer) then I open my side menu, then the controls from the mediaplayer overlap the side menu, is there a way to avoid this ? Or perhaps a line of code that can hide the controls on the mediaplayer when I open my side

[codenameone-discussions] Re: possible to implement a slider like this ?

2019-01-23 Thread Gareth Murfin
thumb image only sets thumb image, I need to set slider progress colour, and thickness, is it possible ? And if so how ? On Tuesday, January 22, 2019 at 11:29:10 AM UTC+8, Shai Almog wrote: > > Set a thumb image to the slider. I don't see the problem. > -- You received this message because you

[codenameone-discussions] Re: BrowserComponent will not display chinese on iOS

2019-01-23 Thread Gareth Murfin
Wow, a new way I have not seen, thanks Shai! Fingers crossed, will give it a go! On Tuesday, January 22, 2019 at 11:32:05 AM UTC+8, Shai Almog wrote: > > A better way is to use a writer: > > Writer w = new InputStreamWriter(input, "UTF-8"); > w.write(string); > > Check the string in the debugger

[codenameone-discussions] Re: BrowserComponent will not display chinese on iOS

2019-01-21 Thread Gareth Murfin
st = new StringTokenizer(arse," "); while (st.hasMoreElements()) { String s =(String) st.nextElement(); f.add(new SpanLabel(s));does display chinese properly } On Monday, January 21, 2019 at 8:57:05 PM UTC

[codenameone-discussions] BrowserComponent will not display chinese on iOS

2019-01-21 Thread Gareth Murfin
I have found many conversations on stackoverflow but none of them worked. I am trying to display chinese in a BrowserComponent on iOS, I build the html as a string then save it to FileSystemStorage, then view it using setUrl, but the result is always garbage when I view it on a BrowserComponent

[codenameone-discussions] Re: possible to implement a slider like this ?

2019-01-20 Thread Gareth Murfin
I tried with the Slider component but i cant see to make it yellow, or thicker.. On Monday, January 21, 2019 at 1:36:58 PM UTC+8, Gareth Murfin wrote: > > Is there a relatively simple way to implement a slider like this ? > > > https://www.dropbox.com/s/jwnre1xqsier0sw/Snap%20

[codenameone-discussions] possible to implement a slider like this ?

2019-01-20 Thread Gareth Murfin
Is there a relatively simple way to implement a slider like this ? https://www.dropbox.com/s/jwnre1xqsier0sw/Snap%202019-01-21%20at%2013.33.42.png?dl=0 -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group

[codenameone-discussions] Dialog, white background covers form

2019-01-20 Thread Gareth Murfin
Hi guys, I was making a dialog and I think I accidentally styled "Dialog" - now when the dialog appears there is a white background that covers the entire form (so I cant see the form behind anymore). How do I get back to being able to see the form? Weird thing is in theme I do not see "Dialog"

[codenameone-discussions] Dots when labels are too long

2019-01-17 Thread Gareth Murfin
Does cn1 have the 3 dots thing that appears when a label string is too long? I feel like I remember using it but Im wondering if that was real android. If not it would be a great feature... save a ton of hassle too :) -- You received this message because you are subscribed to the Google Groups

Re: [codenameone-discussions] POST problems

2019-01-17 Thread Gareth Murfin
thanks, nothing shows up in there, no idea, this code has worked on many apps for years. Can you verify it still works for you steve? On Wednesday, January 16, 2019 at 8:52:15 PM UTC+8, Steve Hannah wrote: > > > Post body is empty in there. Should that show post parameters though ? >> > > Yes it

[codenameone-discussions] Re: iOS Failed to create directory (can ios handle chinese in paths??)

2019-01-16 Thread Gareth Murfin
t;+e.getMessage()); } StateMachine arse written StateMachine does it exist? false On Wednesday, January 16, 2019 at 3:58:41 PM UTC+8, Gareth Murfin wrote: > > thanks shai.. no luck unfortunately, i made sure there was no /// > > but i still see > Failed to create directory >

Re: [codenameone-discussions] POST problems

2019-01-16 Thread Gareth Murfin
at 8:35 AM David Wafula > wrote: > >> I think it works with this order? >> >> r.setUrl(url); //this comes first ?? >> r.setPost(true); >> r.addArgument("id", "theid); >> r.addArgument("pw", "thepws); >> >> >>

[codenameone-discussions] Re: iOS Failed to create directory (can ios handle chinese in paths??)

2019-01-15 Thread Gareth Murfin
thanks shai.. no luck unfortunately, i made sure there was no /// but i still see Failed to create directory /var/mobile/Containers/Data/Application/4B8FF26A-77E4-473E-A4A8-4D2D6F119B26/Documents/com.outlier.lang/gaztest/testzipfolder/ I even wrote a simple test to simply make a dir, but it

Re: [codenameone-discussions] POST problems

2019-01-15 Thread Gareth Murfin
Post body is empty in there. Should that show post parameters though ? On Wednesday, January 16, 2019 at 11:40:19 AM UTC+8, Steve Hannah wrote: > > What does the network monitor say? You can look at the post body there. > > On Tue, Jan 15, 2019 at 7:10 PM Gareth Murfin > wro

[codenameone-discussions] POST problems

2019-01-15 Thread Gareth Murfin
Really not my week is it Im doing an ordinary post to my clients api, but it wont work. I send over the post params like this: r.addArgument("id", "theirid"); r.addArgument("pw", "theirpass"); r.setPost(true); NetworkManager.getInstance().addToQueue(r); I have done this a million

[codenameone-discussions] Re: Add container to side menu (and have it fit properly)

2019-01-15 Thread Gareth Murfin
OK my last post on this, I got it all working and then Toolbar.setOnTopSideMenu(false); did start working... so no idea what was going wrong to be honest, but thankfully my sidemenu is now perfect.. PHEW On Wednesday, January 16, 2019 at 6:34:11 AM UTC+8, Gareth Murfin wrote: > >

[codenameone-discussions] Re: Add container to side menu (and have it fit properly)

2019-01-15 Thread Gareth Murfin
rechecked the specification document and they do not want the form behind to scroll anyway... I really think the sidemenu is very confusing, but its working for now... thanks for all the help.. now back to my project!!! On Wednesday, January 16, 2019 at 5:48:28 AM UTC+8, Gareth Murfin wrote

[codenameone-discussions] Re: Add container to side menu (and have it fit properly)

2019-01-15 Thread Gareth Murfin
tb.invalidate(); i saw you added a search textfield on our website, but how On Wednesday, January 16, 2019 at 5:21:56 AM UTC+8, Gareth Murfin wrote: > > please see video here at 25 secs, first open works, second open takes over > screen, this is when i use tb.setHidden(tru

[codenameone-discussions] Re: Add container to side menu (and have it fit properly)

2019-01-15 Thread Gareth Murfin
please see video here at 25 secs, first open works, second open takes over screen, this is when i use tb.setHidden(true); why? On Wednesday, January 16, 2019 at 5:14:09 AM UTC+8, Gareth Murfin wrote: > > And failing that i just want to hide the topbar thing, which works until >

[codenameone-discussions] Re: Add container to side menu (and have it fit properly)

2019-01-15 Thread Gareth Murfin
, ive had to tell people they cant use one at times. so this works BUT if you open menu again (second time) it takes over whole screen and youre stuck, this is killing me tb.setVisible(false); tb.setHidden(true); On Wednesday, January 16, 2019 at 4:56:26 AM UTC+8, Gareth Murfin wrote

[codenameone-discussions] Re: Add container to side menu (and have it fit properly)

2019-01-15 Thread Gareth Murfin
thanks Shai, was unable to get it working unfortunately, but ive managed to salvage a project where it does work and start my project again using that, theres some mystery in there I dont understand. One thing I go know is that if you call tb.setHidden(true); then when the side menu comes out

[codenameone-discussions] Re: Add container to side menu (and have it fit properly)

2019-01-14 Thread Gareth Murfin
-5%20copy.jpg?dl=0 On Tuesday, January 15, 2019 at 2:06:16 AM UTC+8, Gareth Murfin wrote: > > So I started a fresh project to test this out, completely fresh, the only > code I use is > > Toolbar tb = f.getToolbar(); > Container IncludeSideBar = (Conta

[codenameone-discussions] Re: Add container to side menu (and have it fit properly)

2019-01-14 Thread Gareth Murfin
TEST")); gaz.add(new Button("TEST")); tb.addComponentToSideMenu(gaz); Thanks... I hope it can do this or client will have to change their designs. On Tuesday, January 15, 2019 at 12:00:20 AM UTC+8, Gareth Murfin wrote: > > I want to

[codenameone-discussions] Add container to side menu (and have it fit properly)

2019-01-14 Thread Gareth Murfin
I want to use the cool slide out side menu with a container Ive built (basically something like your gorgeous sidemenu tutorial but with a container ive built). But I have a couple of issues: So I have made the menu using Toolbar tb = f.getToolbar(); tb.setHidden(true); // i want to use my own

[codenameone-discussions] Spanlabel font size

2019-01-14 Thread Gareth Murfin
When I set spanlabel fontsize to "mm" in the old gui buider it always jumps back to medium. Ive set uuid and textuuid and also derrived all but it never seems to let me use mm.. is this a bug? should I use a textarea that is uneditable instead? -- You received this message because you are

[codenameone-discussions] weird line

2019-01-14 Thread Gareth Murfin
Ive started a new prjet and there is a weird green line at the top of my form (old gui builder). How do I get rid of it?? https://www.dropbox.com/s/1nqq5s0vt6qr5tr/weirdgreenline.jpg?dl=0 -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions"

[codenameone-discussions] Re: iOS Failed to create directory (can ios handle chinese in paths??)

2019-01-13 Thread Gareth Murfin
ile/Containers/Data/Application/D78A74D3-67AD-4BB0-893B-8EDA6454C6E6/Documents/com.outlier.lang//extractedtest/testzipfolder/c/ Jan 13 17:58:12 USERs-iPhone MyApplication[1977] : Failed to create directory /var/mobile/Containers/Data/Application/D78A74D3-67AD-4BB0-893B-8EDA6454C6E6/Docume

[codenameone-discussions] Re: iOS Failed to create directory (can ios handle chinese in paths??)

2019-01-13 Thread Gareth Murfin
13, 2019 at 4:53:54 PM UTC+8, Gareth Murfin wrote: > > basically nothing will save to the iphone, you can see if fails to make > any directory, im using a normal test zip no weird characters but still it > wont write, works perfectly on android and sim. im so confused right now, >

[codenameone-discussions] Re: iOS Failed to create directory (can ios handle chinese in paths??)

2019-01-13 Thread Gareth Murfin
nday, January 13, 2019 at 4:24:34 PM UTC+8, Gareth Murfin wrote: > > hmm when i print the contents of storage only cn1preferences and cnlog > exist, its as if ios is wiping or not letting me write any files at all.. > > i really hate iphone. > > On Sunday, January 13, 2019 at

[codenameone-discussions] Re: iOS Failed to create directory (can ios handle chinese in paths??)

2019-01-13 Thread Gareth Murfin
hmm when i print the contents of storage only cn1preferences and cnlog exist, its as if ios is wiping or not letting me write any files at all.. i really hate iphone. On Sunday, January 13, 2019 at 3:48:07 PM UTC+8, Gareth Murfin wrote: > > Thanks Shai, so it seems to not have erro

[codenameone-discussions] Re: iOS Failed to create directory (can ios handle chinese in paths??)

2019-01-12 Thread Gareth Murfin
Thanks Shai, so it seems to not have errors now, but im still having problems, My html is generated fine as you can see my log it seems to work: Jan 13 15:42:07 USERs-iPhone MyApplication[1711] : [EDT] 0:4:15,632 - \134^[[32mStateMachine 0// HTML GENERATED OK. Jan 13 15:42:07

[codenameone-discussions] iOS Failed to create directory (can ios handle chinese in paths??)

2019-01-12 Thread Gareth Murfin
My app works on simulator and android, it extracts a zip to FileSystemStorage, however it fails on ios and I see this error: : Failed to create directory

[codenameone-discussions] Re: progress.showInfiniteBlocking() not showing on ios

2019-01-12 Thread Gareth Murfin
Actually its ok now, i moved it out of the thread that was doing lots of work, shows fine. On Sunday, January 13, 2019 at 12:03:25 PM UTC+8, Gareth Murfin wrote: > > Im using progress.showInfiniteBlocking(); but it doesnt show up on the > iphone, works in simulator, any ideas? &

[codenameone-discussions] progress.showInfiniteBlocking() not showing on ios

2019-01-12 Thread Gareth Murfin
Im using progress.showInfiniteBlocking(); but it doesnt show up on the iphone, works in 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

[codenameone-discussions] Re: browser.setpage and html

2019-01-12 Thread Gareth Murfin
great idea shai, why didnt I think of that? LOL.. works!!! Thanks very much!! On Saturday, January 12, 2019 at 1:40:12 PM UTC+8, Shai Almog wrote: > > I would suggest generating the html to a file then using setURL instead of > set page. It's more reliable. > -- You received this message

[codenameone-discussions] Re: browser.setpage and html

2019-01-10 Thread Gareth Murfin
Thanks Shai, but actually thats not my problem, my problem is with setPage() not setURL(). SetUrl would be fine but I need to be able to dynamically generate the html in code and then use setPage and pass HTML. Can you try running the code I pasted above, you will see setPage must have some

[codenameone-discussions] Exception: javax.net.ssl.SSLHandshakeException - sun.security.validator.ValidatorException: PKIX path building failed:

2019-01-10 Thread Gareth Murfin
I have an app that logs into various servers, new server from the client is throwing this error: Exception: javax.net.ssl.SSLHandshakeException - sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find

[codenameone-discussions] Re: browser.setpage and html

2019-01-10 Thread Gareth Murfin
hello.html in windows will load browser and image will show. I've been going in circles for days with this and it looks perfectly correct to me. Thanks! On Friday, January 11, 2019 at 7:31:38 AM UTC+8, Gareth Murfin wrote: > > can you send me the example code? still cannot get it working n

[codenameone-discussions] Re: browser.setpage and html

2019-01-10 Thread Gareth Murfin
can you send me the example code? still cannot get it working no matter what I try :( On Thursday, January 10, 2019 at 11:41:48 AM UTC+8, Shai Almog wrote: > > Yes I tried HTML navigation with ascii characters. > -- You received this message because you are subscribed to the Google Groups

[codenameone-discussions] Re: browser.setpage and html

2019-01-09 Thread Gareth Murfin
changed them to ascii (no chinese) but same issue. Did you test this recently? im on simulator btw. is there any sample code that demonstrates this working? On Wednesday, January 9, 2019 at 11:43:16 AM UTC+8, Shai Almog wrote: > > Non-ascii characters in the file URL might not work. We didn't

[codenameone-discussions] Re: browser.setpage and html

2019-01-08 Thread Gareth Murfin
UTC+8, Gareth Murfin wrote: > > ps this one is not related to chinese characters, it wont work with any > images no matter what theyre called. > > On Tuesday, January 8, 2019 at 8:17:44 PM UTC+8, Gareth Murfin wrote: >> >> Using the BrowserComponent is it possible t

[codenameone-discussions] Re: browser.setpage and html

2019-01-08 Thread Gareth Murfin
ps this one is not related to chinese characters, it wont work with any images no matter what theyre called. On Tuesday, January 8, 2019 at 8:17:44 PM UTC+8, Gareth Murfin wrote: > > Using the BrowserComponent is it possible to generate html in a string and > use that *with* working i

[codenameone-discussions] Re: Local links in html

2019-01-08 Thread Gareth Murfin
the chinese into roman alphabet characters when I do the intial extract to storage. On Tuesday, January 8, 2019 at 9:41:49 PM UTC+8, Gareth Murfin wrote: > > Links work fine now but I have noticed that even with setUrl images > referenced in the page will not display, this same html page w

[codenameone-discussions] Re: Local links in html

2019-01-08 Thread Gareth Murfin
Links work fine now but I have noticed that even with setUrl images referenced in the page will not display, this same html page works fine in a normal browser on pc and images are displayed. On Monday, January 7, 2019 at 12:28:51 PM UTC+8, Gareth Murfin wrote: > > Yes that now works ver

[codenameone-discussions] browser.setpage and html

2019-01-08 Thread Gareth Murfin
Using the BrowserComponent is it possible to generate html in a string and use that *with* working images? Im trying to create html which contains stuff, and then make that path for img src myself. But I cannot seem to get it to work, im just wondering if its possible? Or is there a bug in

[codenameone-discussions] Re: chinese/japanese in simulator?

2019-01-08 Thread Gareth Murfin
What a shame, however weirdly, today chinese chars seem to work!! I started a new visual project and added buttons with them on and they show ok.. On Tuesday, January 8, 2019 at 11:37:53 AM UTC+8, Shai Almog wrote: > > The embedded roboto font in the simulator doesn't handle unicode >

[codenameone-discussions] chinese/japanese in simulator?

2019-01-07 Thread Gareth Murfin
Any way to get chinese/japanese characters to work in the simulator? they work fine on 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] Re: Local links in html

2019-01-06 Thread Gareth Murfin
Yes that now works very well thanks Shai!.. On Saturday, January 5, 2019 at 1:11:26 PM UTC+8, Shai Almog wrote: > > Yes, there is no base URL. This should work with the update from > yesterday, make sure to update project libs. > -- You received this message because you are subscribed to the

[codenameone-discussions] Re: Local links in html

2019-01-04 Thread Gareth Murfin
Actually thats a good point, I couldnt get it to load properly, so I had to pass html as a string, that could be the issue? InputStream in; try { in =

[codenameone-discussions] Re: Local links in html

2019-01-03 Thread Gareth Murfin
Hi Shai, thanks for the reply, this is on the simulator. And yes I used filesystem storage, I can load html fine from java code but tapping links in BrowserComponent seemingly does nothing, could you try it on a simulator? I can send my project if it helps. On Thursday, January 3, 2019 at

[codenameone-discussions] Re: Turn off auto layout mode in new gui builder?

2019-01-01 Thread Gareth Murfin
thanks shai, I was having issues though I couldnt drag a layout from north to south for example as I couldnt select the specific layout. On Sunday, December 23, 2018 at 11:56:19 AM UTC+8, Shai Almog wrote: > > You can edit the .gui file and change auto-layout to false. I would > suggest working

[codenameone-discussions] Local links in html

2019-01-01 Thread Gareth Murfin
So I have decompressed a zip to storage and I am able to view the html pages that I have extracted. However when I click on a link inside these html pages then it doesnt work. The link is a relative one like this: "./../../key-concepts-kanji/empty-component.html", implying you need to go back

[codenameone-discussions] Re: Unzip doesnt extract all files

2018-12-30 Thread Gareth Murfin
by the way that was a pleasant suprise! On Monday, December 31, 2018 at 12:08:26 AM UTC+8, Gareth Murfin wrote: > > Ooops the example code had an unneccessary line: > entry = zipStream.getNextEntry(); > causing it.. I copied it form stackoverflow :) > > the weird thing is earlier i

[codenameone-discussions] Re: Unzip doesnt extract all files

2018-12-30 Thread Gareth Murfin
right now how this could happen without any changes from me. On Sunday, December 30, 2018 at 11:47:09 PM UTC+8, Gareth Murfin wrote: > > For some reason when I unzip on pc I get 6387 files, but when I use > codenameone zip support I only get 5125 files. There are no errors, any > tho

[codenameone-discussions] Unzip doesnt extract all files

2018-12-30 Thread Gareth Murfin
For some reason when I unzip on pc I get 6387 files, but when I use codenameone zip support I only get 5125 files. There are no errors, any thoughts on how to diagnose whats wrong here? Many of the files have chinese characters in them I would assume it was that but it seems to deal with all

[codenameone-discussions] Re: ZipSupport cant unzip

2018-12-27 Thread Gareth Murfin
at 11:23:29 PM UTC+8, Gareth Murfin wrote: > > I found this cool library here https://github.com/codenameone/ZipSupport/ > > but it actually wont unzip, I place my zip data.zip in src folder of > project, I call > > InputStream zipFile = > Display.getInstance().getRes

[codenameone-discussions] ZipSupport cant unzip

2018-12-27 Thread Gareth Murfin
I found this cool library here https://github.com/codenameone/ZipSupport/ but it actually wont unzip, I place my zip data.zip in src folder of project, I call InputStream zipFile = Display.getInstance().getResourceAsStream(Form.class, "/data.zip"); Unzip(zipFile, "/"+ "extracted"); Error

[codenameone-discussions] Re: Turn off auto layout mode in new gui builder?

2018-12-22 Thread Gareth Murfin
Actually im starting to realise the whole idea is to drag and drop properly within the canvas, and that seems to work quite well so there may be hope for me yet :) On Saturday, December 22, 2018 at 9:03:17 PM UTC+8, Gareth Murfin wrote: > > also if I try to change something in the border

[codenameone-discussions] Re: Turn off auto layout mode in new gui builder?

2018-12-22 Thread Gareth Murfin
. Im goin to keep playing with it but its tough. On Saturday, December 22, 2018 at 8:54:18 PM UTC+8, Gareth Murfin wrote: > > In the new ui builder how do you turn off auto layout mode? All the new > constraint stuff confuses me a bit I want to work more like on the old gui > build

[codenameone-discussions] Turn off auto layout mode in new gui builder?

2018-12-22 Thread Gareth Murfin
In the new ui builder how do you turn off auto layout mode? All the new constraint stuff confuses me a bit I want to work more like on the old gui builder. Im still struggling with new editor in many ways, like you cannot drag things around in the hierachy, I think I may even still be using the

[codenameone-discussions] Adjust strings on camera permission dialog on ios

2018-12-06 Thread Gareth Murfin
Apple rejected my app because "The permission request alert should specify how your app will use this feature to help users understand why your app is requesting access to their personal data.". It seems to imply that I can edit the text on the permission dialog ("To resolve this issue, please

[codenameone-discussions] Re: There was an error importing this build. (Appstore)

2018-12-04 Thread Gareth Murfin
Thanks Shai, weirdly I came back to check it today and the errors were gone!.. On Tuesday, December 4, 2018 at 1:53:45 PM UTC+8, Shai Almog wrote: > > Unless it's a problem with the tool I'm guessing it's a missing NS > permission entry. You can click the error to see details and Apple usually

[codenameone-discussions] There was an error importing this build. (Appstore)

2018-12-03 Thread Gareth Murfin
I just uploaded a release ipa to appstore using "appuploader" ( http://www.appuploader.net/index.php ) on Windows, it seemed to go OK and appears in the app store but then theres a red exclamation mark saying "There was an error importing this build." Any ideas whats going wrong? -- You

[codenameone-discussions] Re: Date format question (AM and PM mixed up)

2018-11-23 Thread Gareth Murfin
Doh!, I needed to use HH not hh, works now, cheers! On Friday, November 23, 2018 at 4:06:39 PM UTC+8, Gareth Murfin wrote: > > I am trying to make a string from a date object, I want the result to be > something like this: > > "2016-11-21T15:47:21+00:00" > > so

[codenameone-discussions] Date format question (AM and PM mixed up)

2018-11-23 Thread Gareth Murfin
I am trying to make a string from a date object, I want the result to be something like this: "2016-11-21T15:47:21+00:00" so I am doing String pattern = "-MM-dd'T'hh:mm:ss+00:00"; SimpleDateFormat df = new SimpleDateFormat(); df.applyPattern(pattern); String dateString = df.format( d);

Re: [codenameone-discussions] Re: Link wont work on iphone

2018-11-09 Thread Gareth Murfin
sorry i meant on an iphone emulator/simulator (it is an emulator surely not a simulator? but i dont know what the difference is in this case, must be a VM i would have thought, which means it is emulation?) On Friday, November 9, 2018 at 6:38:02 PM UTC, Gareth Murfin wrote: > > Very o

Re: [codenameone-discussions] Re: Link wont work on iphone

2018-11-09 Thread Gareth Murfin
Very odd, so what youre saying is you cannot install an ipa on an iphone using codenameone without using the xcode project? I cannot understand why that would be and I thought id done it before. On Friday, November 9, 2018 at 5:27:49 AM UTC, Shai Almog wrote: > > iOS doesn't have an emulator.

[codenameone-discussions] Link wont work on iphone

2018-11-07 Thread Gareth Murfin
Im trying to emulate iphone to test a build but when I select the link in real ios emulator im getting "cannot open page because address is invalid" - never seen this on a real device, how do you get around it ? -- You received this message because you are subscribed to the Google Groups

[codenameone-discussions] Re: xcode wont build sources

2018-11-07 Thread Gareth Murfin
of situation means we dont have to mess with the hellish xcode. On Wednesday, November 7, 2018 at 5:04:11 PM UTC, Gareth Murfin wrote: > > ok i just remembered Ive been through this before and almost forgot, i > think last time i adjusted deployment target, but that doesnt seem to work &g

[codenameone-discussions] Re: xcode wont build sources

2018-11-07 Thread Gareth Murfin
ok i just remembered Ive been through this before and almost forgot, i think last time i adjusted deployment target, but that doesnt seem to work this time. On Wednesday, November 7, 2018 at 5:00:25 PM UTC, Gareth Murfin wrote: > > Still trying to fix my pdf loop issue and I am

[codenameone-discussions] xcode wont build sources

2018-11-07 Thread Gareth Murfin
Still trying to fix my pdf loop issue and I am using macincloud.com but the sources wont build, errors: https://www.dropbox.com/s/qwpd2hgak3qasfe/Snap%202018-11-07%20at%2016.53.10.png?dl=0 Im awful with xcode so I dont know what to do im assuming it is something to do with that deployment

[codenameone-discussions] Viewing PDF gets stuck in a loop on iphone 6s

2018-11-01 Thread Gareth Murfin
Very strange error my client is having. I have buttons that when you tap them they view a PDF from a url, ie: Display.getInstance().execute( pdfFileName ); This launches the pdf and we are able to view it fine. BUT, on my clients iphone, apparently when they hit done/back to return to the

Re: [codenameone-discussions] Re: Screen distorted after viewing pdf

2018-10-30 Thread Gareth Murfin
isit > https://groups.google.com/d/msgid/codenameone-discussions/3aedc7cf-1584-40ec-a58b-d9fcf7f1d754%40googlegroups.com > <https://groups.google.com/d/msgid/codenameone-discussions/3aedc7cf-1584-40ec-a58b-d9fcf7f1d754%40googlegroups.com?utm_medium=email_source=footer> > . > For more op

[codenameone-discussions] Re: Screen distorted after viewing pdf

2018-10-29 Thread Gareth Murfin
in j2me terms here :) On Monday, October 29, 2018 at 2:00:40 PM UTC, Gareth Murfin wrote: > > Yes Shai, > > here is normal screen: > > https://www.dropbox.com/home/Public/vdvdvg?preview=IMG_6708.PNG > > I go to pdf and put phone into landscape and go back to app by hitting

<    1   2   3   4   5   >