Hi,
for research reasons I want to study the possibility for asynchronous
communication between services in Android. Currently I'm using the
FLAG_ONEWAY option in the AIDL interface of the services. What I see
is that the asynchronous commmunication works fine when the services
are implemented in
Thank you for your answer.
On 25 Nov., 19:14, "Dianne Hackborn" <[EMAIL PROTECTED]> wrote:
> A oneway interface currently only applies when an IPC is needed to go
> through the interface -- that is when the callee and caller are running in
> different processes -- and is handled by Binder, the lo
> Why are you wanting to run the service in another process? Why not just run
> all of this stuff in the same process? Then you don't need aidl at all, you
> can just do direct Java calls between all of your classes through whatever
> Java API you want, and you can introduce asynchronicity at an
I have the same problem with another class from the android.os
package.
Can anybody suggest a solution to this problem?
How is this done with custom classes implementing the Parcelable
interface?
Can such aidl definitions importing external classes be compiled
without errors while using the Eclips
Hello,
It try to exchange objects of type android.os.Message between services
in different processes. I add a bundle to each message. This bundle
contains MyMessage object, which implements the Parcelable interface.
I do it like this:
Message message = new Message();
Bundle bundle = new Bundle(
Hello,
It try to exchange objects of type android.os.Message between services
in different processes. I add a bundle to each message. This bundle
contains MyMessage object, which implements the Parcelable interface.
I do it like this:
Message message = new Message();
Bundle bundle = new Bundle(
Hello,
I want to implement with the emulator an application that receives
information when the network connection is connected or disconnected.
How can I register a receiver that gets the changes in the network
connection?
I have tried this:
public class ConnectionChangeReceiver extends
Thank you David!
In the meantime I found the right action for the IntentFilter. It is
"android.net.conn.CONNECTIVITY_CHANGE".
On 8 Dez., 18:58, "David Turner" <[EMAIL PROTECTED]> wrote:
> pressing F8 will toggle the emulator network on/off.
>
> On Mon, Dec 8
8 matches
Mail list logo