Non blocking io with LocalSocket

by Mike Cardwell » Mon, 27 Apr 2009 16:33:57 GMT


Sponsored Links
 Hi,

Is it possible to do non blocking IO with LocalSocket?

-- 
Mike Cardwell
(https://secure.grepular.com/) ( http://perlcv.com/ )

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



Other Threads

1. Problem with light sensor

Hi there, I'm having some troubles with the light sensor on the Nexus
One.

AFAIK, the proper way to read the measures of a sensor is registering
a SensorListener through the SensorManager and then wait for the
readings on the onSensorChanged method.

My main problem is that the light sensor don't seem very accurate (the
readings jump a lot) and I don't get the first reading until the
lighting conditions change. I have to change the phone orientation, go
outdoors or hide the sensor with my fingers or otherwise I don't
receive any value. Is there any way to increase the accuracy or, even
more important,  to force an initial reading?

BTW, I have tried with SensorManager.SENSOR_DELAY_FASTEST but I
haven't noticed any change.

Thanks,

Jose Luis.

-- 

2. Synchronous activity?

In the following: 
http://developer.android.com/guide/topics/manifest/intent-filter-element.html

android:priority
...
        *It controls the order in which broadcast receivers are
executed to receive broadcast messages. Those with higher priority
values are called before those with lower values. (The order applies
only to synchronous messages; it's ignored for asynchronous messages.)

I thought intents are asynchronous and hence we cannot start activity
synchronously? Can we start(and how?) activity synchronously? What are
examples of synchronous messages?

Thanks

-- 

3. Socket freezes via GSM connection

4. android on board limited cutting sticker

5. ListView Selection Help

6. Sending scores to the internet

7. toko yang jual spica di ambas