This network system properties will be disappearing in the future - system properties were not intended for rapidly changing values and as we get more numerous and dynamic networks this is becoming a problem.
> Question1: IP not being displayed on user screen. How to do it? An > explanation of the scenario would be appreciated. > > Are you asking how to display UI? Your current build seems to be storing the IP in a system property. You could write an app that reads that and displays it to the user. Could you refine this question? > Question2: I've observed few more entries in log - > [net.dns1]: [] > [net.dns2]: [] > > [net.usb0.dns1]: [] > [net.usb0.dns2]: [] > > --- what's the significance of these entries? > net.dns* is the value used by the resolver to address the dns servers. net.usb0.dns* is used by some network management code to pass the values of the usb0's dns servers to the connectivity service. It (CS) will select from the various net.*.dns* values when switching between networks. --- How will it affect my network if these fields are blank/filled? > if net.dns* is blank you will not have working dns. if net.usb0.dns* is blank it may just mean that the usb0 interface is not up/active --- If it's not being filled up automatically (say, in this > scenario) ; which file/function is (or might be) responsible for that? > None of these values would appear if they weren't actively being set to empty (you can't delete a system property, you can only set it to an empty string). The net.dns* values should only be modified by the system. The net.usb0.dns* values are being filled in by whatever networking code is responsible for your usb0 interface. R > > -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
