[codenameone-discussions] ios 10 and the Camera

2016-09-21 Thread mcellinpaul
Hi All, 

I have discovered that with ios 10, if I have used Camera.capture() at any 
point and then the screen locks (timeout or user actually locks the screen 
with the top button) the application is killed. This happens even if a 
photo isn't actually taken, but cancel is pressed to come back out of the 
camera.

I imagine it may be something to do with the new ios feature that allows 
the camera to be activated from the lock screen, but there's nothing I can 
do about it as the fix will need to be within the codename one code.

Any thoughts or anyone else discovered this?

Regards,

Paul

-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/245a4ab0-dd91-4cec-991a-a44c16f1112c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2016-09-21 Thread Gareth Murfin
on Android..  is it problematic? I saw some native code for android that
claims to work, not tried yet. My client wishes to identify which country
the user is in via their ip (some sort of traceroute I assume) - that is
why we need the ip. I guess I could visit whatsmyip.com and scrape it
somehow.

On 21 September 2016 at 05:47, Shai Almog  wrote:

> On which OS?
> Notice that getting the current host/IP is problematic.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "CodenameOne Discussions" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/codenameone-discussions/myQHUlgkm7c/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> codenameone-discussions+unsubscr...@googlegroups.com.
> Visit this group at https://groups.google.com/
> group/codenameone-discussions.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/codenameone-discussions/2548ff0c-494c-4c57-a3cc-
> fe5c5811231c%40googlegroups.com
> 
> .
> 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 Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/CANOaY6nbbuyYrBxkCV6yJfdUKo2jsHRiPR99w2k5uOX8kLZm4w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: programatically go back

2016-09-21 Thread Shai Almog
Again the error callback is off the EDT. If something happens sometimes 
"oddly" it's a race.

-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/06a0651c-f3d4-4c22-8da3-a7498a3a3591%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Form title is written twice

2016-09-21 Thread Shai Almog
Try it without the dialog.
Try showing the dialog as modless.

-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/12cf8788-a243-4474-b413-68a18dfb9c39%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2016-09-21 Thread Shai Almog
This is usually done on the server side where it is more reliable as the IP 
might be 192.168.* which will give you nothing.

-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/070e0558-8b7d-4bd8-b347-0928b35046c5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: ios 10 and the Camera

2016-09-21 Thread Shai Almog
Hi,
can you please file an issue on that. We'll try to address 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+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/3151332c-232e-4f59-9749-6ee36cbbd7a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.