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

2018-10-29 Thread Gareth Murfin
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 done, note how the app is in a stretched/landscape state: https://www.dropbox.com/home/Public/vdvdvg?preview=IMG_6713.PNG

[codenameone-discussions] How to change date format?

2018-10-25 Thread Gareth Murfin
I have a method to create a date string like this public String getTime() { return (new Date(time * 1000L)).toString(); } this produces something like 2018-10-25 etc etc which appears to be for USA. but how do I make this UK time ? IE.. 2018-25-10? -- You received this

[codenameone-discussions] Re: Push still costs?

2018-10-14 Thread Gareth Murfin
Hi Shai, wow I thought parse had shut down, I will look into that I saw a cn1 library for it but I presumed it was defunct. Also dont google offer free push using firebase? Would be a very simple affair for me to make a lib for that, I cant see what the complication would be, I may try it when

[codenameone-discussions] Push still costs?

2018-10-13 Thread Gareth Murfin
I have asked this in the past, but I need to ask again. Is there any way at all to get push notifications for free? Any libs etc? I could write one but cant afford to do it right now (given that it would be unpaid). I use the 20usd tier myself but as soon as a client wants push then I need to

[codenameone-discussions] Re: Android studio wont import source

2018-10-08 Thread Gareth Murfin
ok if you do project->project structure->project->gradle version: set to 4.1 and sync it seems to work :-) On Monday, October 8, 2018 at 8:28:15 PM UTC+1, Gareth Murfin wrote: > > been trying all day, very strange how I cannot get this going! any tips > ? > > On Mond

[codenameone-discussions] Re: Android studio wont import source

2018-10-08 Thread Gareth Murfin
been trying all day, very strange how I cannot get this going! any tips ? On Monday, October 8, 2018 at 1:08:59 PM UTC+1, Gareth Murfin wrote: > > Trying to import src into android studio but I get the error: > > Could not determine the class-pa

[codenameone-discussions] Android studio wont import source

2018-10-08 Thread Gareth Murfin
Trying to import src into android studio but I get the error: Could not determine the class-path for class org.jetbrains.plugins.gradle.model.ProjectImportAction. shouldnt it "just work" out of the box? cleaning causes: Could not find method google() for arguments [] on repository container.

[codenameone-discussions] Network error freezes app (ios/android)

2018-10-05 Thread Gareth Murfin
My entire app freezes sometimes when I get a network error (both ios and android), not sure why, and the stacktrace doesnt seem to point to my own code??? Any tips? 47) ( (0xb6665000): 0:71) ( (0xb6667000): 0:97) (NavigationBar (0xb660c000): 0:266)

[codenameone-discussions] Re: Immediate call to addNetworkErrorListener on Nokia

2018-09-28 Thread Gareth Murfin
apologies the url was wrong, human error! works fine. On Friday, September 28, 2018 at 7:34:31 PM UTC+1, Gareth Murfin wrote: > > also tapping "OK" does not dismiss the dialog, not sure why > > On Friday, September 28, 2018 at 7:27:21 PM UTC+1, Gareth Murfin wrote: >&g

[codenameone-discussions] Re: Immediate call to addNetworkErrorListener on Nokia

2018-09-28 Thread Gareth Murfin
also tapping "OK" does not dismiss the dialog, not sure why On Friday, September 28, 2018 at 7:27:21 PM UTC+1, Gareth Murfin wrote: > > On only one of my test phones (Android Nokia 3 running 7.1.1) as soon as I > run my app there is a call to > addNetworkErrorListene

[codenameone-discussions] Immediate call to addNetworkErrorListener on Nokia

2018-09-28 Thread Gareth Murfin
On only one of my test phones (Android Nokia 3 running 7.1.1) as soon as I run my app there is a call to addNetworkErrorListener(), and the app shows the connection error dialog, but this happens even when there is a perfect connection. It is as if the app is unable to get internet

[codenameone-discussions] Re: QR scanner flashing

2018-09-26 Thread Gareth Murfin
Actually tried it on other phones and it works ok must just be my motox, also noted that its not your app so is out of your control, so no worries. On Wednesday, September 26, 2018 at 3:32:57 PM UTC+1, Gareth Murfin wrote: > > When I use the qr scanner app that cn1 installs the preview

[codenameone-discussions] QR scanner flashing

2018-09-26 Thread Gareth Murfin
When I use the qr scanner app that cn1 installs the preview image constantly flashes and will not scan a qr code, is there any way around this ? -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and

[codenameone-discussions] Re: Clone interface

2018-09-25 Thread Gareth Murfin
ah i see its not possible in cn1, i will write it manually. On Tuesday, September 25, 2018 at 6:09:07 PM UTC+1, Gareth Murfin wrote: > > Does codenameone support the clone interface? im having trouble compiling > , it says: > cannot find symbol return super.clone(); > >

[codenameone-discussions] Clone interface

2018-09-25 Thread Gareth Murfin
Does codenameone support the clone interface? im having trouble compiling , it says: cannot find symbol return super.clone(); I inherit it using public class Branch implements Cloneable{ and my method is : @Override public Object clone() throws CloneNotSupportedException {

[codenameone-discussions] Re: You have a build in progress within the queue. Only one build may be active at a time

2018-09-23 Thread Gareth Murfin
Thanks Shai! Got ti working now, did a few uninstalls etc, onto 5.0 now and all working well, thanks again for all the help. On Sunday, September 23, 2018 at 5:56:18 AM UTC+1, Shai Almog wrote: > > Hi, > I suggest deleting the plugin and reinstalling it. It should work now as > NetBeans

[codenameone-discussions] Re: You have a build in progress within the queue. Only one build may be active at a time

2018-09-22 Thread Gareth Murfin
HI Shai, I simply copied the entire project from my desktop (it was perfect there) to my laptop. But I already had an old netbeans and cn1 plugin on the laptop which may have caused confusion, version.proprties: # #Sat Sep 22 00:17:58 BST 2018 CodenameOne_SRCzip=38 CodenameOneJar=38

[codenameone-discussions] Re: You have a build in progress within the queue. Only one build may be active at a time

2018-09-21 Thread Gareth Murfin
any thoughts? i really need to get a build to a client, do you need to reset my account or something? im on latest cn1 plugin etc but still no luck. On Friday, September 21, 2018 at 6:55:26 PM UTC+1, Gareth Murfin wrote: > > oh i seem to be wrong, it is still happening!.. no idea what

[codenameone-discussions] Re: You have a build in progress within the queue. Only one build may be active at a time

2018-09-21 Thread Gareth Murfin
oh i seem to be wrong, it is still happening!.. no idea what to do next You have a build in progress within the queue. Only one build may be active at a time C:\Gaz\sept12_2018\MerlinV3\MerlinV3\Merlincn1_V3\build.xml:296: Login failed On Friday, September 21, 2018 at 2:55:43 PM UTC+1, Gareth

[codenameone-discussions] Re: You have a build in progress within the queue. Only one build may be active at a time

2018-09-21 Thread Gareth Murfin
thanks shai, i removed the plugin and reinstalled and codenameone settings appeared. And it magically worked but i did need to do clean & rebuild. Im sitting in a field in middle of countryside right now uploading from a hotspot lol.. thanks again On Friday, September 21, 2018 at 5:53:49 AM

[codenameone-discussions] Re: You have a build in progress within the queue. Only one build may be active at a time

2018-09-20 Thread Gareth Murfin
thanks shai, i did do properties->update libs, it says theyre upto date, but still got the same issue, do I need to manually delete something ? Im on my laptop so im not sure but i think im missing codenameone settings when i right click on my project. On Thursday, September 20, 2018 at

[codenameone-discussions] You have a build in progress within the queue. Only one build may be active at a time

2018-09-19 Thread Gareth Murfin
I sent a build a few hrs ago, it didnt seem to appear on the site, but now when i try to send another i alway get: You have a build in progress within the queue. Only one build may be active at a time im in a rural area and net is very bad, not sure if its related, not sure what to do now

Re: [codenameone-discussions] Re: auto select first option on an AutoCompleteTextField?

2018-08-14 Thread Gareth Murfin
I didnt, I will try that Thomas. Also Shai, it could just be like setSelectedIndexInList(0) I would have thought. On 13 August 2018 at 12:52, Thomas wrote: > Did you try to set "please select an option" with setHint()? > > On Monday, August 13, 2018 at 5:27:40 AM UTC+2,

[codenameone-discussions] auto select first option on an AutoCompleteTextField?

2018-08-12 Thread Gareth Murfin
How do you auto select first option on an AutoCompleteTextField? so it doesnt sit there white i want first option to be "please select an option", but if I use settext it clears my list. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions"

[codenameone-discussions] Re: Builds not appearing on site

2018-08-07 Thread Gareth Murfin
hey sorry I didnt see that, the chat widget appears but i didnt get that message. ok upgrading now!.. Cheers! On Wednesday, August 8, 2018 at 12:31:30 PM UTC+8, Shai Almog wrote: > > I posted this in the chat to all users on the build server page. If you > don't see the chat widget in the site

[codenameone-discussions] Builds not appearing on site

2018-08-07 Thread Gareth Murfin
Ive sent some builds today but they never turn up on my account on the website, is there something up with server? -- 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,

[codenameone-discussions] Re: Screen flashes when I select answer from combobox box

2018-08-01 Thread Gareth Murfin
you know how you dont recommend comboxboxes be in use? what is it that would replace them? theyre kind of essential. On Friday, July 20, 2018 at 12:42:14 PM UTC+8, Shai Almog wrote: > > Also try ComboBoxList. > Make sure you adjust padding/margin explicitly to be identical in both >

Re: [codenameone-discussions] Re: Android Wear, iWatch support

2018-08-01 Thread Gareth Murfin
or something in cn1 but i will make some as I go too, my tutorials may not be great always but better than nothing :) (sure u seen mine on youtube under radiant silver labs thats me lol) On Friday, April 20, 2018 at 7:05:06 PM UTC+8, Gareth Murfin wrote: > > thanks man, I suspect it may

[codenameone-discussions] Re: Mac to submit to app store?

2018-08-01 Thread Gareth Murfin
using mac in a bloody cloud. im assuming it cannot be done via an api, apple are such idiots. you know you could team with macinacloud and somehow integrate it all, both of you would make cash and hopefully it would be easier for cn1 people it could preinstall some wizard to do it, maybe i

[codenameone-discussions] Re: CN1? SSO using SAML

2018-08-01 Thread Gareth Murfin
ok great, so its just sending some xml to a server. You know I cannot even recall who asked me for this now, app dev life is a head spinner. Recently everytime I mentioned cn1 people talk about "ionic" - boy do I have fun telling them just how utterly awful "ionic" is compared to cn1. And they

[codenameone-discussions] Re: java.lang.IndexOutOfBoundsException: Index: 3, Size: 3

2018-08-01 Thread Gareth Murfin
be answer but it is not. On Thursday, July 19, 2018 at 7:44:28 PM UTC+8, Gareth Murfin wrote: > > Yes, I shuffled some code around and it seems to have gone away, i think > somehow it was related to me removing a button on the first screen that > comes up in postMain, worked better i

[codenameone-discussions] Re: Uploading signature image

2018-08-01 Thread Gareth Murfin
great, the amount of solutions i find in others' "broken" code is unreal :))) On Thursday, June 7, 2018 at 1:58:29 PM UTC+8, John Smith wrote: > > Thanks. Was also looking for this. > > On Wednesday, May 16, 2018 at 5:00:41 PM UTC+5, Gareth Murfin wrote: >> >>

[codenameone-discussions] Re: ComboBox selectionChanged called multiple times?

2018-08-01 Thread Gareth Murfin
perfect thank you Shai. On Thursday, June 28, 2018 at 12:18:26 PM UTC+8, Shai Almog wrote: > > I suggest using the ActionListener. The selection listener is inherited > from list and is meant for key navigation/animation. > -- You received this message because you are subscribed to the Google

[codenameone-discussions] Re: How to do deal with Exception: java.net.ConnectException - Connection timed out: connect

2018-08-01 Thread Gareth Murfin
yeah I have implemented that now, bloody weird in a way isnt it??? I mean what it is meant to do? but since then ive not had any issues! coincidence? ;). On Wednesday, July 11, 2018 at 12:05:51 PM UTC+8, Shai Almog wrote: > > You can handle these in the NetworkManagers error handler see >

[codenameone-discussions] Re: java.lang.NoClassDefFoundError: com/codename1/build/client/CodeNameOneBuildTask$2

2018-08-01 Thread Gareth Murfin
great stuff i think it is working well for them now, they are giddy at the idea of such easy ios/android builds, the magic is real :) On Wednesday, July 11, 2018 at 12:07:54 PM UTC+8, Shai Almog wrote: > > This was triggered by an update. They should try sending again. > -- You received this

[codenameone-discussions] Re: extra dot in photopath?

2018-08-01 Thread Gareth Murfin
haha if it isnt broke dont fix it, my problem was unrelated my json was messed up as usual, i never cease to amaze myself how dumb I can be when coding. Keep up the great work, CN1 rocks. Gaz On Wednesday, August 1, 2018 at 12:30:59 PM UTC+8, shai@codenameone.com wrote: > > We should

[codenameone-discussions] Re: Cant untick radio button

2018-08-01 Thread Gareth Murfin
still doesnt quite explain why they are not round on android. they look identical both radiobuttons and checkboxesare square, even a coder cannot tell them apart. Definitely not in swing, radios are round. On Tuesday, July 24, 2018 at 12:00:04 PM UTC+8, Shai Almog wrote: > > There is no

[codenameone-discussions] Re: Request for short chat!!

2018-08-01 Thread Gareth Murfin
i can't talk for the CN1 crew, but I am a seasoned cn1 freelancer, probably the longest running one on the planet (and using the previous version LWUIT for many years before). If you need a chat with a guy who uses it or need apps drop me a line im gazy1980 on skype. I have now made apps for

[codenameone-discussions] CN1? SSO using SAML

2018-05-18 Thread Gareth Murfin
Ive been asked to get single sign on working in our app using "SAML". I dont know anything about this, just windering if CN1 is capable of this or would I have to make a native lib? Or can a webview be used somehow to get this functionality for free? Or any other thoughts, cheers! -- You

[codenameone-discussions] Re: Uploading signature image

2018-05-17 Thread Gareth Murfin
Sorry it does work was a bug in my logic ;-/ On Thursday, May 17, 2018 at 8:24:45 PM UTC+8, Gareth Murfin wrote: > > Thanks Shai, I tried all of the things in that thread but the image is > still not appearing on the server side. It's weird because server says it > sent f

[codenameone-discussions] Re: Uploading signature image

2018-05-17 Thread Gareth Murfin
Thanks Shai, I tried all of the things in that thread but the image is still not appearing on the server side. It's weird because server says it sent fine with JPG but with PNG it fails with error 500, but in all cases it never appears on the server side. Other images work fine, so im kind of

[codenameone-discussions] Uploading signature image

2018-05-16 Thread Gareth Murfin
I have an upload method that works with all the images I ever throw at it, apart from the signature component image. So I am assuming there is somethign wrong with the image from the sig component maybe? I simply do this signature = sig.getSignatureImage(); Image myImage =

[codenameone-discussions] Re: Null pointer on ipad sims

2018-04-25 Thread Gareth Murfin
I do but it looks like pretty obfuscated cn1/objc madness, I will copy paste it for you next time, but it looks hard to read. On Wednesday, April 25, 2018 at 1:27:41 PM UTC+8, Shai Almog wrote: > > If you run it in xcode you should see a stack trace in the printouts below > -- You received

[codenameone-discussions] Null pointer on ipad sims

2018-04-24 Thread Gareth Murfin
So I am able to run my project in xcode and it works on an iphone, but with ipad it null pointers, obviously I cannot tell much from the code, any ideas why this might happen? it runs sfine in the cn1 sims etc even with huge ipad skin. -- You received this message because you are subscribed

Re: [codenameone-discussions] Xcode - Apple Mach-O linker Error

2018-04-24 Thread Gareth Murfin
ccodeproj file. > > On Tue, Apr 24, 2018 at 4:38 AM, Gareth Murfin <gareth...@gmail.com > > wrote: > >> thanks, well i havent included any pods, it must be the default ones. not >> even sure what a pod is lol. >> >> On Monday, April 23, 2018 at 10:1

Re: [codenameone-discussions] Xcode - Apple Mach-O linker Error

2018-04-24 Thread Gareth Murfin
heir size is greater than 100 megs. You can easily > regenerate them locally with "pod install" > > On Mon, Apr 23, 2018 at 7:13 AM, Gareth Murfin <gareth...@gmail.com > > wrote: > >> The download with src is only 8.8meg. Shame these extra steps are now &

Re: [codenameone-discussions] Xcode - Apple Mach-O linker Error

2018-04-23 Thread Gareth Murfin
o install cocoapods (if you haven't already), and then run > "pod install" in the directory containing the "PodFile" because you can > build it in Xcode. > > Steve > > On Mon, Apr 23, 2018 at 4:37 AM, Gareth Murfin <gareth...@gmail.com > > wrote: &g

[codenameone-discussions] Mac to submit to app store?

2018-04-23 Thread Gareth Murfin
Do we still need a mac to submit an app? If so I will use macincloud, just wondering. -- 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

Re: [codenameone-discussions] Re: Android Wear, iWatch support

2018-04-20 Thread Gareth Murfin
on the web visit https://groups.google.com/d/ > msgid/codenameone-discussions/27a84fb1-7308-4f44-a9b9- > cb5ee36cce8a%40googlegroups.com > <https://groups.google.com/d/msgid/codenameone-discussions/27a84fb1-7308-4f44-a9b9-cb5ee36cce8a%40googlegroups.com?utm_medium=email_source=footer>

[codenameone-discussions] Android Wear, iWatch support

2018-04-19 Thread Gareth Murfin
Hey guys, I am going to be writing some 2d games for watches, I realised I could do this nicely in cn1, but can cn1 actually build out apps that will run on the android and apple watch? I dont plan on using much more than canvas and some logic to develop the game so dont need many specifics of

[codenameone-discussions] specify colors.xml in code?

2018-04-12 Thread Gareth Murfin
Is there a way to specify the same as colors.xml does at run time using code? -- 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] Iso date string

2018-04-11 Thread Gareth Murfin
The api im using requires a string like this: 2018-01-01T15:19:21+00:00 I can build that easy enough in codenameone, all apart from the last bit, for example +00:00, in UK right now its BST so it should be +01:00, so how would I actually produce this stirng in an automated fashion? And for

Re: [codenameone-discussions] Speed up getting string from inputstream?

2018-04-06 Thread Gareth Murfin
t; or use InputStream.read(byte[]) instead of InputStream.read() so that you > read a whole buffer at a time rather than one byte at a time. > > Steve > > On Fri, Apr 6, 2018 at 4:31 AM, Gareth Murfin <gareth...@gmail.com > > wrote: > >> I have a lot of info coming

[codenameone-discussions] java.lang.IndexOutOfBoundsException: Index: 3, Size: 3

2018-04-06 Thread Gareth Murfin
I get this occasionally and I cannot track it down, stacktrace doesnt point to my code. any thoughts? [EDT] 0:0:19,504 - Codename One revisions: d4219a1b829854d15136d1fa3166990e01f1b197 [EDT] 0:0:19,512 - Exception: java.lang.IndexOutOfBoundsException - Index: 3, Size: 3

[codenameone-discussions] Speed up getting string from inputstream?

2018-04-06 Thread Gareth Murfin
I have a lot of info coming down from a server, im using the following method to convert from inputstream to string, but it can take many minutes, we have 52,000 records coming down (about 20 meg of text!).. Is there any way to optimise this method ? private String readResponseX(InputStream

[codenameone-discussions] scaling is cutting bits off images

2018-03-21 Thread Gareth Murfin
When I use this on a tiny image from a url (19x19) EncodedImage enc = EncodedImage.createFromImage(Image.createImage(width_, height_, 0x), true); Image img = URLImage.createToStorage(enc, wf.title, wf.icon, URLImage.RESIZE_SCALE_TO_FILL); the top pixels are cut off,

[codenameone-discussions] UIID of cancel on combobox

2018-03-21 Thread Gareth Murfin
whats the UIID of cancel button on combobox ? -- 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.

[codenameone-discussions] Re: Adjust uiids from code?

2018-03-14 Thread Gareth Murfin
Wow! That is awesome, gonna try it out. On Wednesday, March 14, 2018 at 1:09:33 PM UTC+8, Shai Almog wrote: > > You can use addThemeProps() to add a theme layer on top e.g. this guy used > it to increase font size: > > >

[codenameone-discussions] Re: Cannot get date from MS

2018-03-13 Thread Gareth Murfin
Doh!!! what an idiot I am, man... Thanks Shai!! On Tuesday, March 13, 2018 at 1:03:04 PM UTC+8, Shai Almog wrote: > > You are getting seconds not milliseconds. > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from

[codenameone-discussions] Adjust uiids from code?

2018-03-13 Thread Gareth Murfin
Ive done a whole app using the old gui builder, and specified the themes manually etc with various shades of orange. Now the client wants to download these shades from an api and apply them. Is there any way to do this? Ie, can I somehow adjust the uiid properties from code? to say change

[codenameone-discussions] Show hint in textfield

2018-03-12 Thread Gareth Murfin
Can you configure hint colour? it doesnt appear to be showing up in my white textfields for some reason when they arent selected. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving

[codenameone-discussions] Make and manage calls

2018-03-12 Thread Gareth Murfin
Android suddenly asking for this permission, Im not requiring to make or manage calls. Only thing I can think is this line maybe ? Display.getInstance().getUdid(); Does that trigger it? and if so is there another unique id that wont require this permission? -- You received this message

[codenameone-discussions] Re: Cannot get date from MS

2018-03-12 Thread Gareth Murfin
. On Monday, March 12, 2018 at 2:18:07 PM UTC+8, Gareth Murfin wrote: > > I have all sorts of methods ive made over the years for making date > strings, but they dont seem to work now. Everytime I pass in ms they come > up with 1970. > > Example: 1520764749 on this

[codenameone-discussions] Cannot get date from MS

2018-03-12 Thread Gareth Murfin
I have all sorts of methods ive made over the years for making date strings, but they dont seem to work now. Everytime I pass in ms they come up with 1970. Example: 1520764749 on this website (https://www.freeformatter.com/epoch-timestamp-to-date-converter.html) shows 3/11/2018, 6:39:37 PM

[codenameone-discussions] Re: ComboBox vanishes

2018-03-10 Thread Gareth Murfin
Whoops looks like I was calling setVisible on it elsewhere!!.. red herring. sorry. On Saturday, March 10, 2018 at 7:15:12 PM UTC+8, Gareth Murfin wrote: > > I have a really strange problem, my app reads json and displays UIs I make > based on that, it works fine. If I go forward

[codenameone-discussions] ComboBox vanishes

2018-03-10 Thread Gareth Murfin
I have a really strange problem, my app reads json and displays UIs I make based on that, it works fine. If I go forward then back, everything works fine again BUT all the ComboBoxes vanish, I am not sure if theyre black on black or just gone, but when tap them they work fine. Why would this

[codenameone-discussions] java.io.UTFDataFormatException - encoded string too long: 477616 bytes

2018-03-03 Thread Gareth Murfin
Preferences.set(key, value);seems to have a limit on size, anyway to get around that or do I just use a different way to store? -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving

[codenameone-discussions] Testflight?

2018-03-01 Thread Gareth Murfin
Can CN1 be set up to use test flight? As I understand it then my clients wont need me to add their udid to the certs? This would be nice! -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop

Re: [codenameone-discussions] View pdf ios

2018-03-01 Thread Gareth Murfin
e63189bf042a59276c39cd748 > > This will be included in the next server update tomorrow. > > Steve > > On Wed, Feb 28, 2018 at 11:57 PM, Gareth Murfin <gareth...@gmail.com > > wrote: > >> On sim and android this works for viewing local pdf: >> Display.getInstanc

[codenameone-discussions] Re: TextField focus Listener issue

2018-03-01 Thread Gareth Murfin
, 2018 at 6:49:22 PM UTC+8, Gareth Murfin wrote: > > I need to use a focusListener on some textfields, but the problem is when > focusGained or focusLost is called most of the time the value in the > textfield is wrong. > > For example: > > le

[codenameone-discussions] TextField focus Listener issue

2018-03-01 Thread Gareth Murfin
I need to use a focusListener on some textfields, but the problem is when focusGained or focusLost is called most of the time the value in the textfield is wrong. For example: lets say i type hello then leave the textfield etAnswer.addFocusListener(new FocusListener(){

[codenameone-discussions] View pdf ios

2018-02-28 Thread Gareth Murfin
On sim and android this works for viewing local pdf: Display.getInstance().execute( pdfFileName ); but on iOS it doesnt do anything? how do you view a pdf on ios? -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from

[codenameone-discussions] Re: Download PDF from https site?

2018-02-26 Thread Gareth Murfin
OK I misunderstood the api call, I needed: Util.downloadUrlToStorageInBackground(url*+fileName * On Tuesday, February 27, 2018 at 3:22:25 PM UTC+8, Gareth Murfin wrote: > > I must be doing something wrong because even public pdfs dont work like > the one you use, but here my action

[codenameone-discussions] Re: Download PDF from https site?

2018-02-26 Thread Gareth Murfin
actionPerformed(ActionEvent evt) { _("download complete"); } }); } else { _("we already have this pdf so bail."); } //Display.getInstance().execute(fileName); } On Tuesday,

[codenameone-discussions] Download PDF from https site?

2018-02-26 Thread Gareth Murfin
I am trying to get a file like this FileSystemStorage fs = FileSystemStorage.getInstance(); String fileName = fs.getAppHomePath() + filename; if(!fs.exists(fileName)) { Util.downloadUrlToFile(url, fileName, true); } But I just see the spinner going forever and

[codenameone-discussions] Re: Using Google AdMob in CodeName One apps

2018-02-18 Thread Gareth Murfin
I am not sure if I should butt in here but I developed an "AerServ" lib which supports quite a few ad companies too (way beyond admob), it was made possible by the cn1 guys themselves who helped me with (*very*) difficult times, and it is quite messy and beta but it did work in a major app

[codenameone-discussions] Re: Hack/remember size of the desktop skin

2018-02-18 Thread Gareth Murfin
I filed a RFE. I hope it gets done, I guess I could easily fix it and commit it, but im worried about how difficult it is to get a commit actually working? I mean could I literally add something and it goes in? Would be cool, I would like to improve some parts of the emulator, but not if

[codenameone-discussions] Re: SSL has occurred (ios)

2018-02-16 Thread Gareth Murfin
fixed using https://stackoverflow.com/questions/42695320/https-ssl-connections-issue-in-codename-one On Friday, February 16, 2018 at 5:18:37 PM UTC+8, Gareth Murfin wrote: > > Its just an http call to login, I pass over some json etc. I cant work out > why its not working. > &

[codenameone-discussions] Re: SSL has occurred (ios)

2018-02-16 Thread Gareth Murfin
Its just an http call to login, I pass over some json etc. I cant work out why its not working. On Thursday, February 15, 2018 at 1:22:18 PM UTC+8, Shai Almog wrote: > > What's the line that triggers this message? > -- You received this message because you are subscribed to the Google Groups

[codenameone-discussions] Time picker, how to set current time ?

2018-02-15 Thread Gareth Murfin
What is the easiest way to set a timer picker to use current time? this Date now = new Date(); timePicker.setDate(now); causes: java.lang.ClassCastException - java.util.Date cannot be cast to java.lang.Integer -- You received this message because you are subscribed to the

[codenameone-discussions] Autocomplete and datepicker on same screen

2018-02-15 Thread Gareth Murfin
I have an autocomplete and a date picker on the same form, for some reason the first time I tap the datepicker nothing happens, but the autocomplete textfield gets a call to "ontextchanged". Second tap does what is expected which is launch the date picker, is there a way to make this happen on

[codenameone-discussions] Re: Hide status bar

2018-02-15 Thread Gareth Murfin
Cheers, I like the colors.xml, and all the new skins are cool :) Well done for adding so many new ones!! Still wish they were scaled to fit screen size by default. On Thursday, February 15, 2018 at 1:18:54 PM UTC+8, Shai Almog wrote: > > I mentioned this in a blog just the other day: >

[codenameone-discussions] Re: Warning building without a valid certificate

2018-02-15 Thread Gareth Murfin
Whoops the path to my keystore changed, fixed. sorry :) On Friday, February 16, 2018 at 9:09:05 AM UTC+8, Gareth Murfin wrote: > > I set up the android keystore yesterday and this message went away, but > today im getting it again despite having all my keystore stuff set up for >

[codenameone-discussions] Warning building without a valid certificate

2018-02-15 Thread Gareth Murfin
I set up the android keystore yesterday and this message went away, but today im getting it again despite having all my keystore stuff set up for "release". I restarted netbeans but its still doing it, why is this ? -- You received this message because you are subscribed to the Google Groups

[codenameone-discussions] SpanLabel actionlistener?

2018-02-15 Thread Gareth Murfin
Can a SpanLabel have an actionlistener or a pointer pressed listener? it doesnt seem to call. -- 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] SSL has occurred (ios)

2018-02-14 Thread Gareth Murfin
Did my first install of new app on iOS but it says an SSL error has occured, I am accessing https, but that shouldnt be a problem should it ? This only happens on iphone. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To

[codenameone-discussions] Hack/remember size of the desktop skin

2018-02-14 Thread Gareth Murfin
Really enjoying the desktop skin, easily my favourite way to simulate :) But I want to hack the initial size, I see you mentioned about getting the jframe to do this shai, would it possible to get an example of this? Or maybe make it remember each window size change, its perfect way to test

[codenameone-discussions] Hide status bar

2018-02-14 Thread Gareth Murfin
How do you hide the status bar on android and ios? The thing with the time in etc, I think it has changed since I last did it. Cheers, Gaz -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop

[codenameone-discussions] Official Double Dragon port

2018-02-08 Thread Gareth Murfin
After many years I managed to get my hands on an all time classic and port it to codename one, legally :-) Coming soon. https://www.dropbox.com/s/7jrok2phfw5y62y/portfolioCollage%20copy.jpg?dl=0 -- You received this message because you are subscribed to the Google Groups "CodenameOne

Re: [codenameone-discussions] Re: Get rid of menu bar thing at top

2018-02-05 Thread Gareth Murfin
That works thanks Shai! On Wednesday, January 17, 2018 at 1:21:21 PM UTC+8, Shai Almog wrote: > > Which theme did you pick? > Go into the theme and delete the command behavior as the warning says. > -- You received this message because you are subscribed to the Google Groups "CodenameOne

[codenameone-discussions] Cant set borderlayout

2018-01-15 Thread Gareth Murfin
I have some forms in my old gui builder, and for some reason when I try to set borderlayout on some of the containers it refuses and goes back to flow layout every time. What could cause this? -- You received this message because you are subscribed to the Google Groups "CodenameOne

Re: [codenameone-discussions] Re: Get rid of menu bar thing at top

2018-01-15 Thread Gareth Murfin
with Toolbar.setOnTopSideMenu(true) may result in runtime errors. On Tuesday, January 16, 2018 at 1:29:22 PM UTC+8, Gareth Murfin wrote: > > I havent done anything special this is a brand new project, it appears on > every form after my first call to showForm(). Not sure what it is but I do &

Re: [codenameone-discussions] Re: Get rid of menu bar thing at top

2018-01-15 Thread Gareth Murfin
I havent done anything special this is a brand new project, it appears on every form after my first call to showForm(). Not sure what it is but I do not need it. On Thursday, January 11, 2018 at 3:00:40 PM UTC+8, Shai Almog wrote: > > Does it appear on its own in a hello world app? > I'm

[codenameone-discussions] Re: Emulator zoom/scroll still does not persist on windows

2018-01-15 Thread Gareth Murfin
If you try any skin on a windows machine with 1920x1080 resolution you will see what I mean, I think your high res retina screen shields you from the issue :) On Thursday, January 11, 2018 at 3:01:48 PM UTC+8, Shai Almog wrote: > > Smaller skins work great especially on retina grade laptops. >

[codenameone-discussions] Code tops after dialog.show()

2018-01-15 Thread Gareth Murfin
How do we get code to continue after dialog.show? Or is there a better way? -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [codenameone-discussions] Re: Get rid of menu bar thing at top

2018-01-09 Thread Gareth Murfin
Hi Shai, in this app I dont want a side menu, it has appeared on its own somehow. On Wednesday, January 10, 2018 at 1:30:46 PM UTC+8, Shai Almog wrote: > > I would suggest leaving global toolbar on as it seems you are using a side > menu > -- You received this message because you are

[codenameone-discussions] Re: Get rid of menu bar thing at top

2018-01-09 Thread Gareth Murfin
ps, I have triedToolbar.setGlobalToolbar(false); and the constant in gui editor with no luck. On Tuesday, January 9, 2018 at 8:10:47 PM UTC+8, Gareth Murfin wrote: > > Ive started my project again to use old gui editor, when I use showForm() > I am getting a white bar at the

[codenameone-discussions] Re: Change initial form not working?

2018-01-09 Thread Gareth Murfin
Sorry forgot about "preview and misc" in the gui builder, working now. On Tuesday, January 9, 2018 at 10:41:24 PM UTC+8, Gareth Murfin wrote: > > I changed my initial form, the setting persists but my app does not call > that form it still calls Main, what could be wrong?

[codenameone-discussions] f.getLayeredPane() changed?

2018-01-09 Thread Gareth Murfin
I have a sort of toast message that I can use to pop up quick messages, this seems to have stopped working, it relies on f.getLayeredPane() so I can add my toast container. Has this changed somehow ? Since I cannot get it to appear anymore. If so what is the recommended way now ? -- You

[codenameone-discussions] Get rid of menu bar thing at top

2018-01-09 Thread Gareth Murfin
Ive started my project again to use old gui editor, when I use showForm() I am getting a white bar at the top, how to get rid of it? See https://www.dropbox.com/s/6by21agluw6xm57/Snap%202018-01-09%20at%2020.08.49.png?dl=0 -- You received this message because you are subscribed to the

<    1   2   3   4   5   >