[codenameone-discussions] Re: Windows phone time off by an hour

2018-11-01 Thread Shai Almog
This is probably related to daylight saving time. Can you file an issue with your locale settings, date/time configuration? -- 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: Control proximity sensor and screen intensity.

2018-11-01 Thread Shai Almog
Hi, we don't have this built in. You can use the sensors cn1lib https://github.com/chen-fishbein/sensors-codenameone/ as a starting point and probably implement a brightness control similarly using a native interface. -- You received this message because you are subscribed to the Google Groups

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

2018-11-01 Thread Shai Almog
Try creating a hello world app that only shows the PDF from a button and nothing else. This would show if there is an issue within the app or related to Codename One. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe fr

[codenameone-discussions] Re: Accordion borders

2018-11-01 Thread Shai Almog
Hi, I suggest using the component inspector to verify that the accordion is the source. It can also be a result of margin that shows the background behind the accordion. If you can attach a screenshot I might have further insights. -- You received this message because you are subscribed to the

[codenameone-discussions] Re: Windows phone time off by an hour

2018-11-01 Thread pollaris
I managed by testing for windows phone as in: DateUtil du = new DateUtil(); boolean daylightsavings = du.inDaylightTime(new Date()); int duoffset = du.getOffset(new Date().getTime()); Calendar now = Calendar.getInstance(); int hournow= now.get(Calendar

[codenameone-discussions] Windows phone time off by an hour

2018-11-01 Thread pollaris
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA Desktop OS Simulator Device I have: Date dNow = new Date(); SimpleDateFormat ft = new SimpleDateFormat("h:mm"); String s$ = ft.format(dNow);

[codenameone-discussions] Control proximity sensor and screen intensity.

2018-11-01 Thread rdvg1962
Hi, I need to make an app that detects when a child is placed very close to a device and lower the brightness of the screen according to the distance that is. Is there a way to control the proximity sensor and the brightness of the screen in Codename One? I would appreciate the information. r

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

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

[codenameone-discussions] Re: Button or Image to an Table

2018-11-01 Thread Muchey
You might also need to consider the layout you are using the Table cell also. What layout are you using? On Tuesday, October 30, 2018 at 4:31:37 PM UTC+1, tobias...@googlemail.com wrote: > > Hi, > > is it possible to add an image (instead of an text) to an Label on a Table > Cell, or better is

[codenameone-discussions] Accordion borders

2018-11-01 Thread nikola . balasev
Hi, I noticed that when i add accordion component to my app, there is always a black border around it. I tried applying UUID without borders to my elements, header, and the accordion itself, but the black border around accordion persists. Is there any way to remove that black border/line aroun