Re: [android-developers] Deny auto close for captive portal dialog on android devices

2016-07-07 Thread 'Robert Greenwalt' via Android Developers
+ Paul

On Wed, Jul 6, 2016 at 2:59 AM, Developer 
wrote:

> Hello,
>
> I'm the senior developer of an wifi project offering free internet access
> to citizen in some regions.
>
> Now on newer Android devices we are facing the problem that the captive
> portal dialogue gets closed as soon as the hotspot has unlocked full
> internet access for a wifi client.
> For legal reasons a client must accept some terms before he gets full
> internet access for a period of time (24h for example).
> But we also offer a free app so the user can get much longer access
> including roaming between different cities.
>
> Therefore we would like to forward the user automatically to the Play
> store if he optionally selects "install app" in our captive portal
> dialogue.
>
> But if we unlock the clients session first and trigger a forward
> afterwards, Android detects free wifi access and closes the captive portal
> dialogue immediately.
> The other way round, if we would just white list the Play store we could
> forward the client to our app entry but its now not possible to complete
> the login process because we cannot route him back.
>
> Does anybody knows a possible solution so that we will be able to login
> the client but also to trigger a forward on click to the Play store without
> getting auto closed as soon as android detects full internet access?
>
> Thank you
>
> --
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-developers+unsubscr...@googlegroups.com.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-developers/b4911104-5e55-4678-a5d3-5a5144cd49a4%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CABrF01DQbNPjV9rDsG-Gk7aTASWe%3DvCnxB9DxTdaq-AX_Oe0xQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Deny auto close for captive portal dialog on android devices

2016-07-06 Thread Developer
Hello,

I'm the senior developer of an wifi project offering free internet access 
to citizen in some regions.

Now on newer Android devices we are facing the problem that the captive 
portal dialogue gets closed as soon as the hotspot has unlocked full 
internet access for a wifi client.
For legal reasons a client must accept some terms before he gets full 
internet access for a period of time (24h for example).
But we also offer a free app so the user can get much longer access 
including roaming between different cities.

Therefore we would like to forward the user automatically to the Play store 
if he optionally selects "install app" in our captive portal dialogue. 

But if we unlock the clients session first and trigger a forward 
afterwards, Android detects free wifi access and closes the captive portal 
dialogue immediately.
The other way round, if we would just white list the Play store we could 
forward the client to our app entry but its now not possible to complete 
the login process because we cannot route him back.

Does anybody knows a possible solution so that we will be able to login the 
client but also to trigger a forward on click to the Play store without 
getting auto closed as soon as android detects full internet access?

Thank you 

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/b4911104-5e55-4678-a5d3-5a5144cd49a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.