[android-developers] Re: How to change default HIPRI connection expiry?

2012-06-12 Thread Fievt Zerg
Hello, If you insist on modifying the expiry timeout, try to setPropertyhttp://developer.android.com/reference/java/lang/System.html#setProperty(java.lang.String, java.lang.String)(android.telephony.apn-restore, *timeout* *ms*). It will override the default recovery time. Meanwhile,

[android-developers] Re: How to change default HIPRI connection expiry?

2012-06-04 Thread Sascha
Hello, I think there is no way to change the expiry timeout itself. However, you can reset the expiry event by calling connMan.startUsingNetworkFeature(ConnectivityManager.TYPE_MOBILE, enableHIPRI); repeatedly every 30 seconds or so. This should stabilize your connection as long as you need

[android-developers] Re: How to change default HIPRI connection expiry?

2012-06-04 Thread Sascha
There is no way to change the expiry delay. However, you can reset the timeout by calling connMan.startUsingNetworkFeature(ConnectivityManager.TYPE_MOBILE, enableHIPRI); every 30 seconds or so. The connection should then be stable as long as you need it. Hope this helps Sascha Am

Re: [android-developers] Re: How to change default HIPRI connection expiry?

2012-05-02 Thread Jason Teagle
I've come into this thread late, but from reading the code you present and the docs, combined with my suspicious mind, it's leading me to think this: You ask for the system to use HIPRI over TYPE_MOBILE, which it says it grants. But I can't see anything in the docs that suggests that this

Re: [android-developers] Re: How to change default HIPRI connection expiry?

2012-05-02 Thread Robert Greenwalt
No - you should not setNetworkPreference. That just ranks the different default-routable networks so we prefer one over the other (like the current default of using wifi over 3g if wifi is available). You are correct that bringing up HIPRI doesn't make it take priority over mobile data (or

Re: [android-developers] Re: How to change default HIPRI connection expiry?

2012-04-30 Thread Robert Greenwalt
To route through hipri you will need to call requestRouteToHost, specifying the hipri network type and the ip addr of the host you're trying to reach. On Sun, Apr 29, 2012 at 6:42 AM, Med Chakib ouabimedcha...@gmail.comwrote: Hello, I have tried your method to use 3G and WIFI simultaneously,

[android-developers] Re: How to change default HIPRI connection expiry?

2012-04-29 Thread Med Chakib
Hello, I have tried your method to use 3G and WIFI simultaneously, however data is still routed through WIFI even though HIPRI connection is successfully initiated and traffic to ipAddress is routed through it. connMan = (ConnectivityManager)

Re: [android-developers] Re: How to change default HIPRI connection expiry?

2012-04-27 Thread Mohamed Chakib O.
Thank you! I will give it a try Le 26 avril 2012 19:33, Robert Greenwalt rgreenw...@google.com a écrit : If you are making your own system image you can set the expiration timeout (or turn it off) through config.xml settings. If you are not making a new system image you cannot adjust the

[android-developers] Re: How to change default HIPRI connection expiry?

2012-04-26 Thread Med Chakib
Hello all, I'm currently working on a project that need a data connexion to be active while I'm connected on WIFI. Your solution seems to be exactly what I need. Did you find a way to extend the duration of your HIPRI connection ? Med On Mar 23, 10:01 pm, San sanees...@gmail.com wrote: Hey

Re: [android-developers] Re: How to change default HIPRI connection expiry?

2012-04-26 Thread Robert Greenwalt
If you are making your own system image you can set the expiration timeout (or turn it off) through config.xml settings. If you are not making a new system image you cannot adjust the expiration timeout. R On Wed, Apr 25, 2012 at 2:28 AM, Med Chakib ouabimedcha...@gmail.comwrote: Hello all,

[android-developers] Re: How to change default HIPRI connection expiry?

2012-03-23 Thread San
Hey flumby, Did you get any solution? I am also facing the same issue... San On Mar 2, 11:08 pm, flumby jay.mojni...@gmail.com wrote: Has anyone played with TYPE_MOBILE_HIPRI? Is there a way to set the RestoreDefaultNetworkDelay or any other way to increase the duration of HIPRI connection?

[android-developers] Re: How to change default HIPRI connection expiry?

2012-03-02 Thread flumby
Has anyone played with TYPE_MOBILE_HIPRI? Is there a way to set the RestoreDefaultNetworkDelay or any other way to increase the duration of HIPRI connection? On Feb 29, 5:55 pm, flumby jay.mojni...@gmail.com wrote: In my project, I need to access an IP Address through mobile connection