localsocket programming - server-less communication

by alexdonnini » Thu, 03 Dec 2009 08:05:30 GMT


Sponsored Links
 Hello,

I would appreciate any information on whether and how LocalSocket can
be used to set-up server-less communication (i.e. without using
LocalServerSocket).

I believe this should be possible as I think this communication method
is used by RIL.java

I have written a test program to attempt to do that but have run into
a number of roadblocks.

I do know that there are a number of other ways to use LocalSocket and
LocalServerSocket and other classes to implement socket-based
communication, and I have implemented them. However, for the purpose
of my application I would need to implement (the equivalent of)
LocalSocket-to-LocalSocket communication.

Any help/feedback to help me implement this would be greatly
appreciated.

Thanks.

Alex Donnini

--



Other Threads

1. Why is it that moderators never accept my questions?

I'm assuming you'll see this, but I'm just extremely curious.

It's a pain since I really can't find the answer for my questions
anywhere else, and this seems to be the best place to ask as there are
actual Google developers here.

Thanks

-- 

2. Widget inside a pre-existing application

I've created a complex application that uses SQLite and would like to
give the user an option to install a very simple widget on the
homescreen (just a number taken from the database).

Do I have to create a new .apk just for the widget? I've tried to cut-
and-paste the WordWidget example but it takes over the application
(does nothing when started) and after installing the widget any click
on it gives an exception "View not attached to window manager". If I
have to create a new .apk just for the widget, will it be able to
access directly the databases from my "main" application?

Thanks in advance!

-- 

3. Drawing 2D stuff on the screen in OpenGL over a 3D scene

4. Is there any way or tool to test NAND performance on my android phone

5. "can not be resolved to a type" errors while generating List View in Eclipse

6. IQ Quiz to win an ipod touch

7. App failing to load on Nexus One