Understanding issue with RemoteService example in Android ApiDemos

by Android » Wed, 11 Feb 2009 21:30:09 GMT


Sponsored Links
 Hi ,

I have few understanding issues regarding the Remote service, could
you plz help me out.

I have gone through the RemoteService example in Android ApiDemos, but
i am not getting which file to run for Client site and which one at
Server site.

These are the list of files used for RemoteService

RemoteService.java
RemoteServiceBinding.java
RemoteServiceController.java
IRemoteService.aidl
IRemoteServiceCallback.aidl
ISecondary.aidl

As per my knowledge the Server .APK should use the RemoteService.java,
IRemoteService.aidl ,IRemoteServiceCallback.aidl, ISecondary.aidl.

Client .APK shoud use RemoteServiceBinding.java,
RemoteServiceController.java,
IRemoteService.aidl ,IRemoteServiceCallback.aidl, ISecondary.aidl. Not
sure whether my understanding is correct, plz suggest.


I am not getting exactly the flow to start the Remote Service, i mean
how to start the Client APK and Server APK. Is it first i have to run
the Server APK and then will start the Client APK. The AIDL would be
used to communicate between the Client and Server, but i didn't able
to get where exactly the Client triggers to start the service in
Server site.

Could you please provide a detail explanation to proceed, that would
be really helpful for me.

-Kumar
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Sensor Driver implementation

Hello,

I am quite new to android development using sensor interface. I am
currently working on a sensor driver, which can detect proximity and
grip.
In Android sensors.h file only proximity sensor is available so far.
So my question is now how to deal with grip events. Can these events
be communicated through androids sensor interface? Or do I have to use
another way (e.g. using SYSFS files combined with a CLib).
For proximity events I want to use the android sensor interface with
the shared library. But how do I communicate with the kernel driver
from the shared library? Also using SYSFS?

In addition the sensor driver should be able to be re-calibrated using
an android application. So I would also need to communicate from an
android application down to the driver itself. Is this also possible
via SYSFS and CLib or is there another solution preferred?

Hope that someone can help me.

Best regards,
Florian

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. weird compiler warning

Hey guys,

i recognized that when i'm building my android project in eclipse i
get a lot of warnings saying:

"warning: Ignoring InnerClasses attribute for an anonymous inner class
that doesn't come with an associated EnclosingMethod attribute. (This
class was probably produced by a broken compiler.)"

I don't have any idea how to solve this. How can i get rid of this
warning?

greets

-- 

3. putExtra and getExtra

4. Over Riding Back Button Action

5. HTML5 <audio> support on Android

6. Mobile Application Development Survey - free gift

7. EditText clipping in TableRow