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. DDMS, Eclipse: Can't access 'Data' - Directory on external device



Correct.


Correct.


This is working as designed, AFAIK.

DDMS communicates with a process on the device to do its work. On a
production device, that process has no special privileges, for
security reasons. Hence, that process has no rights to go snooping
around other process' files.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 2.8 Available!

-- 

2. HTC Sense not refreshing activity class name after app update

I vaguely remember this from about 12-18 months ago and was surprised
to see it still hasn't been fixed.

The problem - app update changes the fully qualified class name of the
main/launcher activity. Shortcuts (e.g. on home screen or in main app
drawer) still point to old class name and so when user clicks on it
they get some kind of message saying app could not be found.

User workaround - reboot phone

Dev workaround - include this in your manifest:

<activity android:name="com.mycompany.myapp.MyOldActivity">
        <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.DEFAULT" />
        </intent-filter>
</activity>

and then add that activity to your code, simply subclassing the new
activity (the one which replaced MyOldActivity).

Hope this helps (and sorry if its been posted by someone else before -
couldn't find it). I got a bunch of users contacting me about this
(mainly HTC Desire users) so its worth getting right.

-- 

3. OOT : Tradisi Piala Dunia

4. Gallery display issue

5. Garbage Collection Infinit Loop: clamp GC FOR MALLOC Grow heap loop

6. Is it normal that a real device fps is much different then emulator?

7. Moto Droid 2nd & New