资源简介
AIDL案例,模拟第三方应用调用支付宝服务进行支付
代码片段和文件信息
/*
* This file is auto-generated. DO NOT MODIFY.
* Original file: /Users/thisfeng/Android/MyDemos/AlipayAidlDemo/AlipayClientDemo/app/src/main/aidl/com/alibaba/alipay/ThirdPartPayAction.aidl
*/
package com.alibaba.alipay;
public interface ThirdPartPayAction extends android.os.IInterface
{
/** Local-side IPC implementation stub class. */
public static abstract class Stub extends android.os.Binder implements com.alibaba.alipay.ThirdPartPayAction
{
private static final java.lang.String DEscriptOR = “com.alibaba.alipay.ThirdPartPayAction“;
/** Construct the stub at attach it to the interface. */
public Stub()
{
this.attachInterface(this DEscriptOR);
}
/**
* Cast an IBinder object into an com.alibaba.alipay.ThirdPartPayAction interface
* generating a proxy if needed.
*/
public static com.alibaba.alipay.ThirdPartPayAction asInterface(android.os.IBinder obj)
{
if ((obj==null)) {
return null;
}
android.os.IInterface iin = obj.queryLocalInterface(DEscriptOR);
if (((iin!=null)&&(iin instanceof com.alibaba.alipay.ThirdPartPayAction))) {
return ((com.alibaba.alipay.ThirdPartPayAction)iin);
}
return new com.alibaba.alipay.ThirdPartPayAction.Stub.Proxy(obj);
}
@Override 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
{
java.lang.String descriptor = DEscriptOR;
switch (code)
{
case INTERFACE_TRANSACTION:
{
reply.writeString(descriptor);
return true;
}
case TRANSACTION_requestPay:
{
data.enforceInterface(descriptor);
java.lang.String _arg0;
_arg0 = data.readString();
float _arg1;
_arg1 = data.readFloat();
com.alibaba.alipay.ThirdPartPayResult _arg2;
_arg2 = com.alibaba.alipay.ThirdPartPayResult.Stub.asInterface(data.readStrongBinder());
this.requestPay(_arg0 _arg1 _arg2);
reply.writeNoException();
return true;
}
default:
{
return super.onTransact(code data reply flags);
}
}
}
private static class Proxy implements com.alibaba.alipay.ThirdPartPayAction
{
private android.os.IBinder mRemote;
Proxy(android.os.IBinder remote)
{
mRemote = remote;
}
@Override public android.os.IBinder asBinder()
{
return mRemote;
}
public java.lang.String getInterfaceDescriptor()
{
return DEscriptOR;
}
/*
发起支付请求 接口
*/
@Override public void requestPay(java.lang.String orderInfo float payMoney com.alibaba.alipay.ThirdPartPayResult callBack) throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
android.os.Parcel _reply = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DEscriptOR);
_data.writeString(orderInfo);
_data.writeFloat(payMoney);
_data.writeStrongBinder((((callBack!=null))?(callBack.asBinder()):(null)));
mRemote.transact(Stub.TRANSACTION_requestPay _data _reply 0);
_reply.readException();
}
finally {
_reply.recycle();
_data.recycle();
}
}
}
static final int TRANSACTION_requestPay = (android.os.IBinder.FIRST_CALL_TRANSACTION + 0);
}
/*
发起支付请求 接口
*/
public vo
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2019-04-19 14:46 AlipayAidlDemo\
目录 0 2019-04-19 14:48 AlipayAidlDemo\AlipayServiceDemo\
目录 0 2019-04-19 14:48 AlipayAidlDemo\AlipayServiceDemo\app\
文件 14743 2019-04-19 14:48 AlipayAidlDemo\AlipayServiceDemo\app\app.iml
文件 751 2019-04-18 22:24 AlipayAidlDemo\AlipayServiceDemo\app\proguard-rules.pro
目录 0 2019-04-18 22:24 AlipayAidlDemo\AlipayServiceDemo\app\libs\
文件 7 2019-04-18 22:24 AlipayAidlDemo\AlipayServiceDemo\app\.gitignore
文件 934 2019-04-18 22:25 AlipayAidlDemo\AlipayServiceDemo\app\build.gradle
目录 0 2019-04-18 22:39 AlipayAidlDemo\AlipayServiceDemo\app\build\
目录 0 2019-04-18 22:39 AlipayAidlDemo\AlipayServiceDemo\app\build\generated\
目录 0 2019-04-18 22:39 AlipayAidlDemo\AlipayServiceDemo\app\build\generated\res\
目录 0 2019-04-18 22:39 AlipayAidlDemo\AlipayServiceDemo\app\build\generated\res\pngs\
目录 0 2019-04-18 22:39 AlipayAidlDemo\AlipayServiceDemo\app\build\generated\res\pngs\debug\
目录 0 2019-04-18 22:39 AlipayAidlDemo\AlipayServiceDemo\app\build\generated\res\pngs\debug\drawable-xhdpi\
文件 1255 2019-04-18 22:39 AlipayAidlDemo\AlipayServiceDemo\app\build\generated\res\pngs\debug\drawable-xhdpi\ic_launcher_background.png
目录 0 2019-04-18 22:39 AlipayAidlDemo\AlipayServiceDemo\app\build\generated\res\pngs\debug\drawable-xxhdpi\
文件 2881 2019-04-18 22:39 AlipayAidlDemo\AlipayServiceDemo\app\build\generated\res\pngs\debug\drawable-xxhdpi\ic_launcher_background.png
目录 0 2019-04-18 22:39 AlipayAidlDemo\AlipayServiceDemo\app\build\generated\res\pngs\debug\drawable-hdpi\
文件 837 2019-04-18 22:39 AlipayAidlDemo\AlipayServiceDemo\app\build\generated\res\pngs\debug\drawable-hdpi\ic_launcher_background.png
目录 0 2019-04-18 22:39 AlipayAidlDemo\AlipayServiceDemo\app\build\generated\res\pngs\debug\drawable-ldpi\
文件 339 2019-04-18 22:39 AlipayAidlDemo\AlipayServiceDemo\app\build\generated\res\pngs\debug\drawable-ldpi\ic_launcher_background.png
目录 0 2019-04-18 22:39 AlipayAidlDemo\AlipayServiceDemo\app\build\generated\res\pngs\debug\drawable-anydpi-v21\
文件 5606 2019-04-18 22:39 AlipayAidlDemo\AlipayServiceDemo\app\build\generated\res\pngs\debug\drawable-anydpi-v21\ic_launcher_background.xm
目录 0 2019-04-18 22:39 AlipayAidlDemo\AlipayServiceDemo\app\build\generated\res\pngs\debug\drawable-mdpi\
文件 411 2019-04-18 22:39 AlipayAidlDemo\AlipayServiceDemo\app\build\generated\res\pngs\debug\drawable-mdpi\ic_launcher_background.png
目录 0 2019-04-18 22:39 AlipayAidlDemo\AlipayServiceDemo\app\build\generated\res\pngs\debug\drawable-xxxhdpi\
文件 4759 2019-04-18 22:39 AlipayAidlDemo\AlipayServiceDemo\app\build\generated\res\pngs\debug\drawable-xxxhdpi\ic_launcher_background.png
目录 0 2019-04-19 14:48 AlipayAidlDemo\AlipayServiceDemo\app\build\generated\res\rs\
目录 0 2019-04-19 14:48 AlipayAidlDemo\AlipayServiceDemo\app\build\generated\res\rs\debug\
目录 0 2019-04-18 22:39 AlipayAidlDemo\AlipayServiceDemo\app\build\generated\res\resValues\
目录 0 2019-04-18 22:39 AlipayAidlDemo\AlipayServiceDemo\app\build\generated\res\resValues\debug\
............此处省略3118个文件信息
- 上一篇:java word转pdf、html
- 下一篇:JSP小区物业管理系统261626
相关资源
- 安卓小游戏-猜猜鸡蛋在哪里
- Android与Unity交互
-
Android选择拍照剪裁ba
se64.16进制.by - Android Room with a View
- Android项目源码高仿知乎android studio版
- Android开发ArcGIS查找最短的路径
- Android Vitamio的使用解析Part3
- Android实现带边框的表格布局.zip
- 小说阅读器项目Android应用源码极简可
- Android 原生TTS
- Android原生Camera2完成预览和拍照
- JAVAWEB和Android开发的图书馆管理系统
- Android Studio简易购物车
- 最新版谷歌拼音中文输入法V4.1.3.102
- IBeacon Android 源码
- 推箱子Android
- Android 实现短信接收监听--短信动态权
- Android bikeroute自行车导航源码
- android studio 调用相机拍照,选择相册
- android修改头像
- TUTK_Android_SDK
- Android人体检测
- android加密
- Android手机银行
- android_m2repository_r07
- Android SO文件保护加固——混淆篇一源
- Android仿大众点评源码
- android 休眠和唤醒
- android 仿日历翻页特效,数字翻转变换
- Android 高德地图入门demo,最新高德地
评论
共有 条评论