Hi,
I'm running into an IllegalSelectorException in my application which
can be reproduced with the following code (I put this test code right
after the super() in onCreate() of an Activity):
try {
SocketChannel channel = SocketChannel.open();
channel.configureBlocking(false);
Selector selector = Selector.open();
channel.register(selector, 0);
catch (IOException e) {
Log.e(TAG, "error", e);
}
Does anyone have a suggestion how to avoice this exception?
Thanks
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---