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. Creating a PDF on Adroid?

Could somebody recommend a PDF creator library for Android, or at
least in Java that could be ported to Android?  It doesn't have to be
anything too sophisticated, my requirements are for simple styled
text.

Thanks.

-- 

2. Selling app from own website

Dear All,

I have an app in preparation that will be most useful on tablet
devices.  Although I'll sell it on Google's Android Market, many of
the tablet devices that are best suited for running the app don't have
that.  I will probably also sell the app via some of the other
manufacturer stores, but I'm also considering selling it direct from
my own website.

I have some experience with paypal payment processing and enabling
time-limited downloads, so I can probably put that together reasonably
easily.  But there are two issues that I'm unsure about: one is
piracy, which I suspect I can't do much about, and the other is how to
supply updates to users who have bought previous versions.

If anyone has experience with selling apps from their own site, I
would love to hear about how you have done it.


Thanks,  Phil.

-- 

3. Android, how to get the list of the apps that open a URL without using createChooser

4. How to show the SampleSyncAdapter on HTC Sense?

5. Dumping the results of DefaultHttpClient.execute()

6. Leaked references. How to debug?

7. ALSA API usage on Android NDK