Calling NetworkInterface.getNetworkInterfaces() got Exception on Android SDK 0.9 and 1.0

by [EMAIL PROTECTED] » Fri, 26 Sep 2008 17:11:55 GMT


Sponsored Links
 Who knows what caused this issue when running on Android 0.9 and
1.0 ?

When I call this Java SE API

Enumeration nis = NetworkInterface.getNetworkInterfaces();

I always got below exception caused by the native method
getNetworkInterfacesImpl. Is that an android SDK's bug?

 java.net.SocketException: unkown error
  at java.net.NetworkInterface.getNetworkInterfacesImpl(Native Method)
  at
java.net.NetworkInterface.getNetworkInterfaces(NetworkInterface.java:
297)


--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Do I need to buy Google Maps license?

I am embedding a MapView in my application which is used as a canvas
to pin point a location.

My question is do I need to buy a license if I publish my application
as paid app in market? What is my app is free?

Thanks.

-- 

2. View switching with in one tab

Hi ,

I have created 3 tab in my application and every tab has it's own
view. in tab 1 i have a button on top which load another view on same
tab but when that view load tab has been hidden this is my problem, i
want view switching with in single tab by click on button.

I am not able to change the activity with tab by clicking on button.
Please help me for this.

-- 

3. How do you send a carriage return to a handset using adb

4. Senior Android Developer Opportunity

5. I got "Problem loading widget" after updated the app from Market.

6. Android 2.0 contact groups manipulation

7. Signal Strength data for WCDMA