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. Background Service

Hi All,

I am writing an Android background service. I want it to become active
when my another application is started.

Any idea how do I detect the activation of another application?

Should I package the application and service together?

Thanks In Advance,
Perumal

-- 

2. WTHelp - Ga mau Charging

Dear RR,

mau minta bantuan informais reparasi nih. MT4G ga mau di charge. Terakhir
charge sih Ok, pake battery Box, tapi sekarang ga mau di charge. Sudah coba
charge via PC ataupun ke Listrik langsung tetep tidak mau, padahal HH lain
ga masalah di charge dgn yg saya sebutkan sebelumnya.

Dah saya coba balikin ke Unroot, stock hasil sama

Atau mungkin rekan2 lain ada yg pernah ngalamin kah ? hiks, jadi sedih......

Lokasi Jakarta/Tangerang

-- 
Rgds,

Petra Immanuel

-- 
===============

3. Dynamically Resize Images for different Android devices

4. AVD with Google-API crash

5. GL_INVALID_OPERATION (1282) after glDrawElements using Vertex Buffer Objects (VBO)

6. drag and drop view in android?

7. Listener for Wifi Connection