[codenameone-discussions] Re: LikeButton

2016-05-25 Thread Gareth Murfin
mains. 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 wr

[codenameone-discussions] Re: LikeButton

2016-05-25 Thread Gareth Murfin
t; 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

[codenameone-discussions] Re: LikeButton

2016-05-25 Thread Gareth Murfin
, 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 thi

[codenameone-discussions] Re: LikeButton

2016-05-26 Thread Gareth Murfin
, 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 UT

[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

[codenameone-discussions] Re: LikeButton

2016-05-27 Thread Gareth Murfin
. 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 al

[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

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

[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

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

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

[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

[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

[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

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

[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

[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

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

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

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

[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

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

[codenameone-discussions] Re: LikeButton

2016-05-25 Thread Gareth Murfin
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

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

2016-07-25 Thread Gareth Murfin
c 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 <gareth.mur...@gmail.com> wrote: > >> I have removed

[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

[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

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 <steve.han...@codenameone.com> wrote: > Support could be added to the simulator, if it became a priority. > > On Tue, Jul 26, 2016 at 10:46 AM, Gareth Murfin <garet

[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

[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

[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

Re: [codenameone-discussions] flushGraphics bug?

2016-07-22 Thread Gareth Murfin
xactly what line > 368 of flushGraphics() contains. > > Steve > > On Thu, Jul 21, 2016 at 9:01 AM, Gareth Murfin <gareth.mur...@gmail.com> > wrote: > >> Just got this bug report, looks strange, any ideas? >> >> [EDT] 0:0:39,316 - java.lang.NullPo

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

2016-07-25 Thread Gareth Murfin
], 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

[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

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

[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 "an

Re: [codenameone-discussions] flushGraphics bug?

2016-07-23 Thread Gareth Murfin
d64a1d-e62f-44d0-8c89-b2d0889c5641%40googlegroups.com?utm_medium=email_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

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

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

2016-07-26 Thread Gareth Murfin
ou. E.g. what layout manager, styles, > fonts, etc... > > Steve > > On Tue, Jul 26, 2016 at 8:03 AM, Gareth Murfin <gareth...@gmail.com > > wrote: > >> On the simulators my fonts look like this: >> >> https://dl.dropboxusercontent.com/u/4194619/Snap%

[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

[codenameone-discussions] Including a Lib inside a Lib

2016-08-02 Thread Gareth Murfin
Is it possible to have a lib inside another lib? The option for freshing libs seems to be ghosted out. -- 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

[codenameone-discussions] Re: How to have a right side menu, with container in it

2016-08-03 Thread Gareth Murfin
2016 at 7:15:42 PM UTC+8, Gareth Murfin wrote: > > No matter how often I try, I find the whole side menu thing quite > confusing. Until now I have had to avoid right hand side menus because I > simply cannot get them to work. Left hand side I have been able to get > worki

[codenameone-discussions] How to have a right side menu, with container in it

2016-08-03 Thread Gareth Murfin
No matter how often I try, I find the whole side menu thing quite confusing. Until now I have had to avoid right hand side menus because I simply cannot get them to work. Left hand side I have been able to get working using Toolbar, roughly something like this: Toolbar toolbarForLeftMenu; if

[codenameone-discussions] Strange bug reports (Android)

2016-08-11 Thread Gareth Murfin
java.lang.ArrayIndexOutOfBoundsException: length=1000; index=1000 [EDT] 0:0:2,318 - java.lang.ArrayIndexOutOfBoundsException: length=1000; index=1000 at com.codename1.ui.Display.readArrayStackArgument(Display.java:1935) at com.codename1.ui.Display.handleEvent(Display.java:2069)

[codenameone-discussions] Re: Swipe to navigate

2016-08-04 Thread Gareth Murfin
tabs.setHidden() doesnt seem to do anything on the emulator or device? i tried with true, and true, true On Thursday, August 4, 2016 at 9:46:46 PM UTC+8, Gareth Murfin wrote: > > Never even heard of Tabs! Nice little component that, works really nice, > thanks!! > > On Thursday,

[codenameone-discussions] Re: How to have a right side menu, with container in it

2016-08-04 Thread Gareth Murfin
Im not 100% clear what you mean, do you mean basically this: smbForRightMenu.putClientProperty("SideComponent", SideMenuRIGHT); smbForRightMenu.add(SideMenuRIGHT); Still stays empty if I try that. On Thursday, August 4, 2016 at 12:53:14 PM UTC+8, Shai Almog wrote: > > You need to

[codenameone-discussions] Re: Swipe to navigate

2016-08-04 Thread Gareth Murfin
Never even heard of Tabs! Nice little component that, works really nice, thanks!! On Thursday, August 4, 2016 at 12:55:21 PM UTC+8, Shai Almog wrote: > > I would use tabs and create the same container with different data to add > in. > You can set the tabs to be hidden. > -- You received this

[codenameone-discussions] Re: Swipe to navigate

2016-08-04 Thread Gareth Murfin
? Thanks, Gaz On Thursday, August 4, 2016 at 10:13:57 PM UTC+8, Gareth Murfin wrote: > > tabs.setHidden() doesnt seem to do anything on the emulator or device? i > tried with true, and true, true > > On Thursday, August 4, 2016 at 9:46:46 PM UTC+8, Gareth Murfin wrote: >> >&g

[codenameone-discussions] Re: How to have a right side menu, with container in it

2016-08-04 Thread Gareth Murfin
On Thursday, August 4, 2016 at 9:27:57 PM UTC+8, Gareth Murfin wrote: > > Im not 100% clear what you mean, do you mean basically this: > > smbForRightMenu.putClientProperty("SideComponent", SideMenuRIGHT); > smbForRightMenu.add(SideMenuRIGHT); >

[codenameone-discussions] Re: Textfields are right aligned

2016-08-04 Thread Gareth Murfin
strangely no, it only seems to happen on Android too, not in emulator. And only happens when they lose focus. On Thursday, August 4, 2016 at 12:56:09 PM UTC+8, Shai Almog wrote: > > Did you turn on RTL by mistake? > -- You received this message because you are subscribed to the Google Groups

[codenameone-discussions] Swipe to navigate

2016-08-03 Thread Gareth Murfin
I have a single screen which shows some content from an array, I wish to be able to swipe left and right to go to the same screen but populate it with the next item in the array. What is the easiest way to do this ? I guess I could use a layeredLayout and have a container on top and detect the

[codenameone-discussions] Textfields are right aligned

2016-08-03 Thread Gareth Murfin
Somehow once I have enteredt text into a textfield and move to the next one the text goes to being right aligned. I have checked and double checked the uiid, and it is not set to do this, so what else could it be ? -- You received this message because you are subscribed to the Google Groups

[codenameone-discussions] fatal error: 'com_codename1_io_websocket_WebSocket.h' file not found

2016-08-15 Thread Gareth Murfin
trying to build for ios I get this error, the websocket lib is there and i refreshed etc, cant work out whats going on really, any ideas? CompileC build/MyApplication.build/Release-iphoneos/MyApplication.build/Objects-normal/armv7/com_codename1_io_websocket_WebSocketNativeImplImpl.o

[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

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

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

[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

Re: [codenameone-discussions] Re: How to have a right side menu, with container in it

2016-08-05 Thread Gareth Murfin
e.com/d/ > msgid/codenameone-discussions/69d0ec12-8134-44b5-a85a- > 523be6b88b1b%40googlegroups.com > <https://groups.google.com/d/msgid/codenameone-discussions/69d0ec12-8134-44b5-a85a-523be6b88b1b%40googlegroups.com?utm_medium=email_source=footer> > . > > For more optio

Re: [codenameone-discussions] Re: How to have a right side menu, with container in it

2016-08-05 Thread Gareth Murfin
PM UTC+8, Gareth Murfin wrote: > > SideMenuRIGHT is a container which contains what I want my menu to show. > > On 5 August 2016 at 14:19, Shai Almog <shai.al...@gmail.com> wrote: > >> That looks like a side menu shadow. >> >> What's SideMenuRIGHT?

[codenameone-discussions] Storage keeps going up on each run

2016-08-06 Thread Gareth Murfin
If I run my app and exit and run it again (Android) and check the app settings->storage - it goes up about 100k each time. I have made sure my code deletes anything it downloads (like a photo) so why is the storage going up? Some users are complaining if they use my app a lot it takes up more

[codenameone-discussions] Re: Storage keeps going up on each run

2016-08-06 Thread Gareth Murfin
Actually when I turn off all system outs, it doesnt happen!.. maybe the log is cached? On Sunday, August 7, 2016 at 10:48:10 AM UTC+8, Gareth Murfin wrote: > > > If I run my app and exit and run it again (Android) and check the app > settings->storage - it goes up about 100k ea

[codenameone-discussions] Re: Storage keeps going up on each run

2016-08-06 Thread Gareth Murfin
OK, thanks, all good, the messages are off for release. thanks for clearing that up. On Sunday, August 7, 2016 at 1:22:44 PM UTC+8, Shai Almog wrote: > > Yes, logs are appended. > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To

[codenameone-discussions] Re: The archive *.jar doesn't exist - building J2SE

2016-08-02 Thread Gareth Murfin
Oops of course it can, I use them alot, so whats going on ? On Wednesday, August 3, 2016 at 3:59:20 AM UTC+8, Gareth Murfin wrote: > > I have implemented a small text to speech library for cn1, it all builds > apart from J2SE where it says: > > buildNativeIOS: > createIos

Re: [codenameone-discussions] flushGraphics bug?

2016-07-23 Thread Gareth Murfin
6ce-948e-26d8c4f6b06d%40googlegroups.com?utm_medium=email_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 G

[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

[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

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

2016-06-29 Thread Gareth Murfin
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, J

[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

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

[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

[codenameone-discussions] Re: AndroidNativeUtil.getActivity().getApplication().getTracker()

2016-08-21 Thread Gareth Murfin
amsFromUrl(campaignData)*/.build()); } On Monday, August 22, 2016 at 7:46:31 AM UTC+8, Gareth Murfin wrote: > > I am trying to implement this: > https://developers.google.com/analytics/devguides/collection/android/v4/campaigns#google-play-campaigns > > but getTracker(

[codenameone-discussions] AndroidNativeUtil.getActivity().getApplication().getTracker()

2016-08-21 Thread Gareth Murfin
I am trying to implement this: https://developers.google.com/analytics/devguides/collection/android/v4/campaigns#google-play-campaigns but getTracker() does not exist when I do this, Tracker t = AndroidNativeUtil.getActivity().getApplication().getTracker(TrackerName.APP_TRACKER); How do I

[codenameone-discussions] Re: fatal error: 'com_codename1_io_websocket_WebSocket.h' file not found

2016-08-16 Thread Gareth Murfin
It is in the code but I never actually instance the class using it, I want to leave it ther euntil I need it, I will try and tick the compiler into thinking its used then :) On Tuesday, August 16, 2016 at 12:21:05 PM UTC+8, Shai Almog wrote: > > Do you use the WebSocket class from code? > These

[codenameone-discussions] Re: How to have a right side menu, with container in it

2016-08-04 Thread Gareth Murfin
PS. it appears fine all the way as the menu is moving, its only right at the end when it stops moving that the wrong bit of screen is drawn to the left of it, and remains that way. On Thursday, August 4, 2016 at 11:29:18 PM UTC+8, Gareth Murfin wrote: > > Another strange

[codenameone-discussions] App crashes (only when installed from google play)

2016-08-25 Thread Gareth Murfin
My app dies every time anyone installs from google play, I cannot test iot since im not in the uk, but Im seeing this: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0 [EDT] 0:0:14,591 - java.lang.ArrayIndexOutOfBoundsException: length=0; index=0 at

[codenameone-discussions] Re: App crashes (only when installed from google play)

2016-08-25 Thread Gareth Murfin
Apologies client got a proper logcat and it was my fault, some missing classes when doing the install_referrer. On Thursday, August 25, 2016 at 6:00:46 PM UTC+8, Gareth Murfin wrote: > > My app dies every time anyone installs from google play, I cannot test iot > since im not in the u

[codenameone-discussions] Windows Phone - error CS0170: Use of possibly unassigned field 'i'

2016-09-01 Thread Gareth Murfin
Anyone know what this could be ? src\userclasses\Tools.cs(427,33): warning CS0168: The variable '_r1' is declared but never used [C:\Users\Shai\AppData\Local\Temp\build1678431910196266458xxx\MyApplication\MyApplication\MyApplication.csproj] src\userclasses\Tools.cs(429,33): warning

[codenameone-discussions] Re: Type.KeyPress not called

2016-09-01 Thread Gareth Murfin
yes its just for testing my game on simulator (and I thinnk in JS builds?) i have used booleans to get around this. On Thursday, September 1, 2016 at 1:15:46 PM UTC+8, Shai Almog wrote: > > Key listener only binds release events never press events. I don't think > that event type has any "real"

[codenameone-discussions] Type.KeyPress not called

2016-08-31 Thread Gareth Murfin
When I do this code Type.KeyRelease is detected but never Type.KeyPress, why is that ? f.addKeyListener(RIGHT, new ActionListener() { public void actionPerformed(ActionEvent evt) { _("///RIGHT PRESSED.");

Re: [codenameone-discussions] Re: ios build failires (weird): no identity found

2016-08-30 Thread Gareth Murfin
.com/d/msgid/codenameone-discussions/64b027a9-369a-405c-a16b-eca4b3563c3d%40googlegroups.com?utm_medium=email_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

[codenameone-discussions] app needs permission to make calls

2016-10-05 Thread Gareth Murfin
My app is asking for permission t make calls, I dont need that not sure how it started, see this screenshot https://www.dropbox.com/s/qlga5ompqrumsxb/IMG_1986.JPG?dl=0 -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe

Re: [codenameone-discussions] Re: Why does Socket.getHostOrIP() return localhost ?

2016-09-21 Thread Gareth Murfin
discussions/2548ff0c-494c-4c57-a3cc-fe5c5811231c%40googlegroups.com?utm_medium=email_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 subscr

Re: [codenameone-discussions] Re: Why does Socket.getHostOrIP() return localhost ?

2016-09-22 Thread Gareth Murfin
://groups.google.com/d/ > msgid/codenameone-discussions/070e0558-8b7d-4bd8-b347- > 0928b35046c5%40googlegroups.com > <https://groups.google.com/d/msgid/codenameone-discussions/070e0558-8b7d-4bd8-b347-0928b35046c5%40googlegroups.com?utm_medium=email_source=footer> > . > > For

Re: [codenameone-discussions] Re: Constraint check for null returns true (erroneously)

2016-08-27 Thread Gareth Murfin
d1a-bdf6-e4876bb93070%40googlegroups.com?utm_medium=email_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 G

Re: [codenameone-discussions] Re: Facebook connection, display problem

2016-08-27 Thread Gareth Murfin
.com/d/msgid/codenameone-discussions/07904923-8c4f-45aa-b428-82170e0bb293%40googlegroups.com?utm_medium=email_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Gareth Murfin (Android Freelancer - www.garethmurfin.co.uk) -- You received this

[codenameone-discussions] Re: Facebook connection, display problem

2016-08-26 Thread Gareth Murfin
good luck, I seem to remember the FK SDK is a nightmare even natively, I had once wrapped it all up entirely into a very simple object that could do everything nicely (for native android) if I can get back to that on Android I will make a lib, but it wont work on iOS. On Friday, August 26,

[codenameone-discussions] Right Menu Examples - ANYONE!

2016-08-26 Thread Gareth Murfin
Is there anyone who can give me some simple example code that shows how to get even a single label top appear on a right side menu ? I have not managed this once in days of trying, Im beyond frustrated now, absolutely at punching walls stages. -- You received this message because you are

[codenameone-discussions] Re: Facebook connection, display problem

2016-08-26 Thread Gareth Murfin
If you ever get it to work Id love to know how, I had to give up on FB altogether, I tell clients its not an option because i couldnt get it to work on any level On Tuesday, August 23, 2016 at 11:31:34 PM UTC+8, usabg...@gmail.com wrote: > > yes i know that, my facebook queries worked before,

Re: [codenameone-discussions] Re: How to have a right side menu, with container in it

2016-08-26 Thread Gareth Murfin
It doesnt work, would be great if you could give an example, for now Im just actually going to tell clients you cant have a right menu, far too confusing and hard to do, wasted days trying to get something to appear On Saturday, August 6, 2016 at 1:25:01 PM UTC+8, Shai Almog wrote: > > If it's

Re: [codenameone-discussions] Re: How to have a right side menu, with container in it

2016-08-26 Thread Gareth Murfin
Works only if I have that title bar thing showing which I dont want I want my own button to pop open a menu on the right, on the left its a piece of cake, im not going to try with layerlayouts and animating them in On Friday, August 26, 2016 at 5:08:54 PM UTC+8, Gareth Murfin wrote

[codenameone-discussions] Constraint check for null returns true (erroneously)

2016-08-24 Thread Gareth Murfin
Constraint c = (Constraint)((TableLayout)CENTRE.getLayout()).getComponentConstraint(TOPBIT); if (c==null); { _("constraint is null cant adjust it!"); } c.setHeightPercentage(100); Somehow in this snippet I see the message telling me c is null,

[codenameone-discussions] ios build failires (weird): no identity found

2016-08-29 Thread Gareth Murfin
Ive been making iOS builds fine today, then I added (since I dont have https set up yet I thought this would help - is that a work around right now ?) ios.plistInject = NSAppTransportSecurity NSAllowsArbitraryLoads and somehow now its failing to build with

[codenameone-discussions] Re: Include XML layout for Android?

2016-11-08 Thread Gareth Murfin
Aha, this works.. not got anything to actually *show* yet :) public android.view.View getView() { return nativeAdMedia; } On Tuesday, November 8, 2016 at 11:45:17 PM UTC+8, Gareth Murfin wrote: > > So Im now trying to return the PeerComponent, my "view"

[codenameone-discussions] Re: Include XML layout for Android?

2016-11-08 Thread Gareth Murfin
I stuck recyclerview-v7-21.0.3.aar in native/android and definied the build hint for supportV4, seems to get past the MediaView now :-D On Tuesday, November 8, 2016 at 9:59:16 PM UTC+8, Gareth Murfin wrote: > > Thanks Shai. Im almost at the point of using PeerComponents, but I have >

[codenameone-discussions] Re: Include XML layout for Android?

2016-11-08 Thread Gareth Murfin
to compile (View cannot be converted to PeerComponent). What must I do to my linear layout to get it returned as a view? On Tuesday, November 8, 2016 at 10:55:37 PM UTC+8, Gareth Murfin wrote: > > I stuck recyclerview-v7-21.0.3.aar in native/android and definied the > build hint for supp

[codenameone-discussions] Re: Include XML layout for Android?

2016-11-07 Thread Gareth Murfin
nd contain an advert (they dont take over full screen) so I want to embed a LinearLayout inside a CN1 container basically, if this is possible? On Tuesday, November 8, 2016 at 1:07:07 AM UTC+8, Gareth Murfin wrote: > > Ie, in my native android side can I do tings like this ? > >

[codenameone-discussions] Re: Include XML layout for Android?

2016-11-09 Thread Gareth Murfin
Thanks mate im gonna recreate it on the Android side, when that works ill bring it back into cn1, probably just some dumb error of mine. I dont see much in ddms and tapping them does nothing. On Wednesday, November 9, 2016 at 1:54:20 PM UTC+8, Shai Almog wrote: > > It should work fine not sure

[codenameone-discussions] Include XML layout for Android?

2016-11-07 Thread Gareth Murfin
If I want to include a XML layout for my Android build, can I and where do I put 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] Re: Include XML layout for Android?

2016-11-07 Thread Gareth Murfin
I have put it in native\android which I assume is the logical thing to do. But the sample I am working from references R.id.native_ad_body in the xml and I get package R does not exist. On Tuesday, November 8, 2016 at 12:41:42 AM UTC+8, Gareth Murfin wrote: > > If I want to include

[codenameone-discussions] Re: Include XML layout for Android?

2016-11-07 Thread Gareth Murfin
Ie, in my native android side can I do tings like this ? TextView nativeAdTitle = (TextView) adView.findViewById(R.id.native_ad_title); in order to get at this in the xml ? On Tuesday, November 8, 2016 at 1:04:18 AM UTC+8, Gareth Murfin wrote: > > I have put it in native\android w

  1   2   3   4   5   >