首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > 工程实例来演示如何实现的活动和服务,使用AIDL IPC沟通

工程实例来演示如何实现的活动和服务,使用AIDL IPC沟通

资 源 简 介

This example demonstrates the use of Remote Procedure Calls (RPC) / Inter Process Communication (IPC) in Android. It consists of four apps: AIDLMessageService and AIDLDisplayRemoteMessage: These projects contain a Service and an Activity. The Activity will connect to the Service using the Android RPC mechanism and will query a String from that Service. AIDLRemoteClientUsingParcelableObject and AIDLRemoteMessageServiceUsingParcelableObject: These projects are slightly modified versions of the first example. They also contain a Service and an Activity. The Activity will connect to the Service using the Android RPC mechanism and will query a self-defined Parcelable object. See http://app-solut.com/blog/2011/04/using-the-android-interface-definition-language-aidl-to-make-a-remote-procedure-call-rpc-in-android for a detailed AIDL tutorial. And http://app-solut.com/blog/2011/05/using-self-defined-parcelable-objects-during-an-an

文 件 列 表

AIDLRemoteMessageServiceUsingParcelableObject
.classpath
.project
AndroidManifest.xml
assets
bin
default.properties
gen
proguard.cfg
res
src
AIDLRemoteClientUsingParcelableObject
.classpath
.project
AndroidManifest.xml
assets
bin
default.properties
gen
proguard.cfg
res
src

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
0.156104s