Hi all,

my appliation must use gprs/edge/other sim connection, not wifi.
Based on http://code.google.com/p/android/issues/detail?id=6518 and
http://blogs.msdn.com/zhengpei/ I wrote:
ret = connMan.requestRouteToHost(ConnectivityManager.TYPE_MOBILE,
hostAddress);
To lookup host I used function from
http://stackoverflow.com/questions/2295998/requestroutetohost-ip-argument
unfortunetly requestRouteToHost returns false when wifi is enabled.
Logcat shows:
DEBUG/ConnectivityService(1161): requestRouteToHost on down network (0
- dropped
Any idea what might be wrong?
I've two ideas:
1) I've access only to gprs, not 3g connection, issue 6518 regards to
3G/CDMA
2) hostAddress is less than zero, is that ok?

Thanks for any hint/help

Cheers

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to