[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

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

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

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

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

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

2016-11-08 Thread Gareth Murfin
Thanks Shai. Im almost at the point of using PeerComponents, but I have one weird error that appears to happen when I run MediaView nativeAdMedia = new MediaView(context); It says the class is not found, it seems to find the others such as com.facebook.ads.NativeAd; but not

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

2016-11-10 Thread Gareth Murfin
f.getContentPane().addPullToRefresh(new Runnable() { public void run() { _("PULLED."); String count = " " + f.getContentPane().getComponentCount(); f.addComponent(0, new Button("Button " + count)); f.invalidate(); } }); this

[codenameone-discussions] Re: An exception occurred during transition paint this might be valid in case of a resize in the middle of a transition

2016-10-25 Thread Gareth Murfin
Looks like it happens when you pass something like this pathStatic.arc(xPos, yPos, circleW, circleH , 180, 180); // *ie the same start and complete angle* Turned out to be a bug in my logic as I should not have been passing the same value like that, but I think that still maybe qualifies as a

Re: [codenameone-discussions] SCREEN/APP FREEZING

2016-10-24 Thread Gareth Murfin
Im experiencing something similar on the simulator, not even on a real device, An exception occurred during transition paint this might be valid in case of a resize in the middle of a transition java.lang.StackOverflowError at

[codenameone-discussions] Re: An exception occurred during transition paint this might be valid in case of a resize in the middle of a transition

2016-10-24 Thread Gareth Murfin
bit float progressAngle = (float)((progress*1.3f)); angleComplete = Math.toRadians(progressAngle); g.setColor(colour); pathDynamic.arc(xPos, yPos, circleW, circleH , startAngle, angleComplete); //draw actual progress arc g.drawShape(pathDynamic, stroke); }

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

2016-11-26 Thread Gareth Murfin
All good man hope to see it in 2017 :) On Saturday, November 26, 2016 at 1:57:12 PM UTC+8, Shai Almog wrote: > > No. aar is a bit new so our 3rd party library integration video/guide > predated that. > -- You received this message because you are subscribed to the Google Groups "CodenameOne

[codenameone-discussions] Dates handled different on different devices?

2016-11-28 Thread Gareth Murfin
I keep getting bug reports about dates being worked out wrong, they are mostly from galaxy android devices. Is there some known work around for working with dates across different android devices? trying to work out what it does but my phone is not booting, I think on them devices its swapping

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

2016-11-17 Thread Gareth Murfin
Looks like I finally got it to work by not leaving the other areas of the borderlayout empty, ie put a blank label in north, east, south, west, I suppose that was kind of obvious in hindsight!. On Thursday, November 17, 2016 at 11:25:57 AM UTC+8, Shai Almog wrote: > > Transparent might not be

[codenameone-discussions] Re: Unstylable gaps on left side menu

2016-11-13 Thread Gareth Murfin
no its on image_scaled_fill, my forms use same uiid and theyre fine,. On Friday, November 11, 2016 at 1:38:40 PM UTC+8, Shai Almog wrote: > > I'm assuming you used the background as a scaled to fit instead of scale > to fill. > -- You received this message because you are subscribed to the

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

2016-11-15 Thread Gareth Murfin
Got it thanks, that is COOL AS HELL.. I recall spending a serious amount of time trying to get this going on android in the past. On Friday, November 11, 2016 at 1:40:28 PM UTC+8, Shai Almog wrote: > > Pull to refresh will only work on a scrollable container. Do you have a > standard layout in

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

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

[codenameone-discussions] Re: Unstylable gaps on left side menu

2016-11-13 Thread Gareth Murfin
aha I did not know about that, SideNavigationPanel seems to work, although there are still some very faint lines in the same place as the boxes were. Hopefully client wont notice for now :) On Monday, November 14, 2016 at 1:22:46 PM UTC+8, Shai Almog wrote: > > Did you set it to

[codenameone-discussions] Re: app needs permission to make calls

2016-10-12 Thread Gareth Murfin
This is on Android btw, Im assuming many people are suffering from this. On Wednesday, October 12, 2016 at 10:21:14 PM UTC+8, Gareth Murfin wrote: > > Still is happening to me, I am not using any dial or get udid, any other > thought? > > On Thursday, October 6, 2016 at 11:04:42

[codenameone-discussions] Re: app needs permission to make calls

2016-10-12 Thread Gareth Murfin
I am asking for the ip address, does that make the permission happen?? On Wednesday, October 12, 2016 at 10:22:14 PM UTC+8, Gareth Murfin wrote: > > This is on Android btw, Im assuming many people are suffering from this. > > On Wednesday, October 12, 2016 at 10:21:14 PM UTC+8, G

[codenameone-discussions] Picker.setDate - how to use?

2016-11-29 Thread Gareth Murfin
Picker.setDate doesnt work when you pass in a date if its showing according to the docs, but then how do you set it? Even in beforeShow it happens, I thought something like this would work but it doesnt; Picker p = new Picker(); p.setDate(theirBirthday);

[codenameone-discussions] Re: Picker.setDate - how to use?

2016-11-29 Thread Gareth Murfin
Apologies, spoke too soon was my own logic bug :-} On Tuesday, November 29, 2016 at 6:35:36 PM UTC+8, Gareth Murfin wrote: > > Picker.setDate doesnt work when you pass in a date if its showing > according to the docs, but then how do you set it? Even in beforeShow it > happen

[codenameone-discussions] Re: Permission to use phone

2016-12-08 Thread Gareth Murfin
r internal storage??) On Thursday, December 8, 2016 at 8:09:09 PM UTC+8, Gareth Murfin wrote: > > Im now on api 21, why does my app ask to use phone permission here? is > that always there? > > > https://www.dropbox.com/s/ke23cw2xqsnear1/Screenshot_20161208-120120.png?dl=0 >

[codenameone-discussions] Re: Permission to use phone

2016-12-08 Thread Gareth Murfin
isdn(). This permission is required for media in order to suspend audio playback when you get a phone call. On Thursday, December 8, 2016 at 8:28:59 PM UTC+8, Gareth Murfin wrote: > > I see in the manifest it is using READ PHONE STATE, is that what is > causing it? But how do I turn it off? Ma

[codenameone-discussions] Re: Permission to use phone

2016-12-08 Thread Gareth Murfin
I see in the manifest it is using READ PHONE STATE, is that what is causing it? But how do I turn it off? Man permissions are KILLING me. I dont even know why I need it. On Thursday, December 8, 2016 at 8:15:00 PM UTC+8, Gareth Murfin wrote: > > Also is there a build hint that can &qu

[codenameone-discussions] Re: Permission to use phone

2016-12-08 Thread Gareth Murfin
doh, its due to the share button I think... On Thursday, December 8, 2016 at 8:42:54 PM UTC+8, Gareth Murfin wrote: > > OK final one, im not using contacts at all, so why is this one needed? it > says "contacts" in permissions, from the docs: > > android.permission

[codenameone-discussions] Re: Permission to use phone

2016-12-08 Thread Gareth Murfin
ng it? I guess a lib somewhere could be, we really need a smart tool for analysing apks, sigh On Thursday, December 8, 2016 at 8:31:18 PM UTC+8, Gareth Murfin wrote: > > > ahh I think its this! Thats why it needs telephone? > > android.permission.READ_PHONE_STATE - is triggered by

Re: [codenameone-discussions] Re: Access photos permission

2016-12-08 Thread Gareth Murfin
roups.com > <https://groups.google.com/d/msgid/codenameone-discussions/26a7d735-49f2-4571-9adc-c63b7dfe10df%40googlegroups.com?utm_medium=email_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Gareth Murfin (Android Freelancer - ww

  1   2   3   4   5   >