/*
* This file is auto-generated. DO NOT MODIFY.
* Original file: C:\\Documents and Settings\\Administrator\\workspace\\RemoteServiceServer\\src\\com\\freedie\\remoteservicedemo\\IStockQuoteService.aidl
*/
package com.freedie.remoteservicedemo;
public interface IStockQuoteService extends android.os.IInterface
{
/** Local-side IPC implementation stub class. */
public static abstract class Stub extends android.os.Binder implements com.freedie.remoteservicedemo.IStockQuoteService
{
private static final java.lang.String DESCRIPTOR = "com.freedie.remoteservicedemo.IStockQuoteService";
/** Construct the stub at attach it to the interface. */
public Stub()
{
this.attachInterface(this, DESCRIPTOR);
}
/**
* Cast an IBinder object into an com.freedie.remoteservicedemo.IStockQuoteService interface,
* generating a proxy if needed.
*/
public static com.freedie.remoteservicedemo.IStockQuoteService asInterface(android.os.IBinder obj)
{
if ((obj==null)) {
return null;
}
android.os.IInterface iin = (android.os.IInterface)obj.queryLocalInterface(DESCRIPTOR);
if (((iin!=null)&&(iin instanceof com.freedie.remoteservicedemo.IStockQuoteService))) {
return ((com.freedie.remoteservicedemo.IStockQuoteService)iin);
}
return new com.freedie.remoteservicedemo.IStockQuoteService.Stub.Proxy(obj);
}
public android.os.IBinder asBinder()
{
return this;
}
@Override public boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int flags) throws android.os.RemoteException
{
switch (code)
{
case INTERFACE_TRANSACTION:
{
reply.writeString(DESCRIPTOR);
return true;
}
case TRANSACTION_getQuote:
{
data.enforceInterface(DESCRIPTOR);
java.lang.String _arg0;
_arg0 = data.readString();
double _result = this.getQuote(_arg0);
reply.writeNoException();
reply.writeDouble(_result);
return true;
}
}
return super.onTransact(code, data, reply, flags);
}
private static class Proxy implements com.freedie.remoteservicedemo.IStockQuoteService
{
private android.os.IBinder mRemote;
Proxy(android.os.IBinder remote)
{
mRemote = remote;
}
public android.os.IBinder asBinder()
{
return mRemote;
}
public java.lang.String getInterfaceDescriptor()
{
return DESCRIPTOR;
}
public double getQuote(java.lang.String ticker) throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
android.os.Parcel _reply = android.os.Parcel.obtain();
double _result;
try {
_data.writeInterfaceToken(DESCRIPTOR);
_data.writeString(ticker);
mRemote.transact(Stub.TRANSACTION_getQuote, _data, _reply, 0);
_reply.readException();
_result = _reply.readDouble();
}
finally {
_reply.recycle();
_data.recycle();
}
return _result;
}
}
static final int TRANSACTION_getQuote = (android.os.IBinder.FIRST_CALL_TRANSACTION + 0);
}
public double getQuote(java.lang.String ticker) throws android.os.RemoteException;
}
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
RemoteService.rar (60个子文件)
RemoteServiceServer
.project 855B
default.properties 364B
bin
com
freedie
remoteservicedemo
R$string.class 460B
R$layout.class 427B
R$drawable.class 433B
StockQuoteService.class 1KB
R.class 555B
IStockQuoteService$Stub$Proxy.class 2KB
RemoteServiceActivity.class 566B
StockQuoteService$StockQuoteServiceImpl.class 1KB
R$attr.class 373B
IStockQuoteService$Stub.class 2KB
IStockQuoteService.aidl 111B
IStockQuoteService.class 371B
RemoteServiceServer.apk 15KB
resources.ap_ 10KB
classes.dex 6KB
AndroidManifest.xml 880B
src
com
freedie
remoteservicedemo
RemoteServiceActivity.java 308B
StockQuoteService.java 1KB
IStockQuoteService.aidl 111B
res
values
strings.xml 189B
layout
main.xml 382B
drawable-ldpi
icon.png 2KB
drawable-hdpi
icon.png 4KB
drawable-mdpi
icon.png 3KB
.classpath 280B
gen
com
freedie
remoteservicedemo
IStockQuoteService.java 3KB
R.java 651B
assets
RemoteServiceClient
.project 855B
default.properties 364B
bin
com
freedie
remoteservicedemo
IStockQuoteService$Stub$Proxy.class 2KB
IStockQuoteService$Stub.class 2KB
IStockQuoteService.aidl 111B
IStockQuoteService.class 371B
remoteserviceclient
R$string.class 466B
R$layout.class 433B
MainActivity.class 3KB
R$drawable.class 439B
R.class 622B
MainActivity$4.class 1KB
MainActivity$2.class 1KB
R$attr.class 379B
MainActivity$3.class 866B
MainActivity$1.class 2KB
R$id.class 496B
RemoteServiceClient.apk 16KB
resources.ap_ 10KB
classes.dex 7KB
AndroidManifest.xml 698B
src
com
freedie
remoteservicedemo
IStockQuoteService.aidl 111B
remoteserviceclient
MainActivity.java 2KB
res
values
strings.xml 182B
layout
main.xml 715B
drawable-ldpi
icon.png 2KB
drawable-hdpi
icon.png 4KB
drawable-mdpi
icon.png 3KB
.classpath 280B
gen
com
freedie
remoteservicedemo
IStockQuoteService.java 3KB
remoteserviceclient
R.java 865B
assets
共 60 条
- 1
资源评论
- 野草也是草哦2015-06-01对 我版主很大,不错
- wo61904004shi2013-10-30有用,对andorid service 的学习和了解上有帮助
- lain08242014-09-01对android service 的了解还是比较深入
- donkeyvida2013-01-20对android service 的了解还是比较深入
- Bigenius2012-11-12对android service 的了解还是比较深入
Freedie
- 粉丝: 0
- 资源: 8
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功