Thanks a lot for this hint.
But in my case I have an independent GUI in a seperate prozess.
I must check whether I can avoid this and use this local binding
pattern.
Thanks a lot !
Frank
On 19 Mai, 09:46, redders redders6...@googlemail.com wrote:
Looking into this further - I now
I see - just to be clear - you'll only be operating a GUI in a separate
process if you've either got 2 separate applications, or one application
where an activity within it explicitly specifies it wants to run in a
separate process.
I only say this because I didn't understand the term 'process'
At first many thanks to Mark Murphy for his very detailed answer.
To the last post : I must say I use currently a mixture between
1) and 2) ..
In my case the service uses Intents to inform othter apps.
And the services provides an interface via aidl.
But I also thinking about a pure 1) Intent
Looking into this further - I now understand the local binding pattern
that Mark mentioned. There's a good example in the api section of the
code examples that ship with the android SDK.
Essentially as we are not using more than one process there's no need
for IPC (*inter process* communication)
Hi,
I have a similar question. My application has a long running service
that acts as a TCP client. There is also an activity which needs to be
able to pass messages to the service which will then send them to the
TCP server. In turn, the service needs to 'forward' the reply it gets
from the TCP
Thanks a lot Mark! This is exactly what i was looking for.. It
works..
Regards,
Prafull.
On May 1, 6:25 pm, Mark Murphy mmur...@commonsware.com wrote:
madmaxwrote:
I have an AndroidServicethat runs indefinitely
That's not possible and is not a good idea in general:
Hello Mark,
I have short question to your example :
If I understood it right, the Broadcast from the WeatherPlusService
will not start
up the WeatherPlus Activity ?
So how must the example be changed, that the first broadcast will
startup the activity
and the next ones are normal broadcast to
FrankG wrote:
I have short question to your example :
If I understood it right, the Broadcast from the WeatherPlusService
will not start
up the WeatherPlus Activity ?
Correct. In this case, the WeatherPlus activity is already running.
So how must the example be changed, that the first
8 matches
Mail list logo