资源简介
android 自动接听电话和挂断(支持所有版本)
代码片段和文件信息
/*
* This file is auto-generated. DO NOT MODIFY.
* Original file: J:\\TelActivity\\src\\com\\android\\internal\\telephony\\ITelephony.aidl
*/
package com.android.internal.telephony;
public interface ITelephony extends android.os.IInterface
{
/** Local-side IPC implementation stub class. */
public static abstract class Stub extends android.os.Binder implements com.android.internal.telephony.ITelephony
{
private static final java.lang.String DEscriptOR = “com.android.internal.telephony.ITelephony“;
/** Construct the stub at attach it to the interface. */
public Stub()
{
this.attachInterface(this DEscriptOR);
}
/**
* Cast an IBinder object into an com.android.internal.telephony.ITelephony interface
* generating a proxy if needed.
*/
public static com.android.internal.telephony.ITelephony asInterface(android.os.IBinder obj)
{
if ((obj==null)) {
return null;
}
android.os.IInterface iin = obj.queryLocalInterface(DEscriptOR);
if (((iin!=null)&&(iin instanceof com.android.internal.telephony.ITelephony))) {
return ((com.android.internal.telephony.ITelephony)iin);
}
return new com.android.internal.telephony.ITelephony.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
{
switch (code)
{
case INTERFACE_TRANSACTION:
{
reply.writeString(DEscriptOR);
return true;
}
case TRANSACTION_endCall:
{
data.enforceInterface(DEscriptOR);
boolean _result = this.endCall();
reply.writeNoException();
reply.writeInt(((_result)?(1):(0)));
return true;
}
case TRANSACTION_answerRingingCall:
{
data.enforceInterface(DEscriptOR);
this.answerRingingCall();
reply.writeNoException();
return true;
}
case TRANSACTION_enableDataConnectivity:
{
data.enforceInterface(DEscriptOR);
boolean _result = this.enableDataConnectivity();
reply.writeNoException();
reply.writeInt(((_result)?(1):(0)));
return true;
}
case TRANSACTION_disableDataConnectivity:
{
data.enforceInterface(DEscriptOR);
boolean _result = this.disableDataConnectivity();
reply.writeNoException();
reply.writeInt(((_result)?(1):(0)));
return true;
}
case TRANSACTION_isDataConnectivityPossible:
{
data.enforceInterface(DEscriptOR);
boolean _result = this.isDataConnectivityPossible();
reply.writeNoException();
reply.writeInt(((_result)?(1):(0)));
return true;
}
}
return super.onTransact(code data reply flags);
}
private static class Proxy implements com.android.internal.telephony.ITelephony
{
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 boolean endCall() throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
android.os.Parcel _reply = android.os.Parcel.obtain();
boolean _result;
try {
_data.writeInterfaceToken(DEscriptOR);
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2014-01-22 10:36 TelActivity\
文件 475 2014-01-20 23:55 TelActivity\.classpath
文件 847 2014-01-20 18:59 TelActivity\.project
目录 0 2014-01-22 10:36 TelActivity\.settings\
文件 177 2014-01-20 18:59 TelActivity\.settings\org.eclipse.jdt.core.prefs
文件 2194 2014-01-21 01:28 TelActivity\AndroidManifest.xm
目录 0 2014-01-22 10:36 TelActivity\assets\
目录 0 2014-01-22 10:36 TelActivity\bin\
目录 0 2014-01-22 10:36 TelActivity\bin\aidl\
目录 0 2014-01-22 10:36 TelActivity\bin\aidl\com\
目录 0 2014-01-22 10:36 TelActivity\bin\aidl\com\android\
目录 0 2014-01-22 10:36 TelActivity\bin\aidl\com\android\internal\
目录 0 2014-01-22 10:36 TelActivity\bin\aidl\com\android\internal\telephony\
文件 242 2014-01-22 10:07 TelActivity\bin\aidl\com\android\internal\telephony\ITelephony.aidl
文件 2194 2014-01-22 10:07 TelActivity\bin\AndroidManifest.xm
目录 0 2014-01-22 10:36 TelActivity\bin\classes\
文件 477724 2014-01-22 10:32 TelActivity\bin\classes.dex
目录 0 2014-01-22 10:36 TelActivity\bin\classes\com\
目录 0 2014-01-22 10:36 TelActivity\bin\classes\com\android\
目录 0 2014-01-22 10:36 TelActivity\bin\classes\com\android\internal\
目录 0 2014-01-22 10:36 TelActivity\bin\classes\com\android\internal\telephony\
文件 2675 2014-01-22 10:07 TelActivity\bin\classes\com\android\internal\telephony\ITelephony$Stub$Proxy.class
文件 2712 2014-01-22 10:07 TelActivity\bin\classes\com\android\internal\telephony\ITelephony$Stub.class
文件 242 2014-01-20 20:37 TelActivity\bin\classes\com\android\internal\telephony\ITelephony.aidl
文件 508 2014-01-22 10:07 TelActivity\bin\classes\com\android\internal\telephony\ITelephony.class
目录 0 2014-01-22 10:36 TelActivity\bin\classes\com\example\
目录 0 2014-01-22 10:36 TelActivity\bin\classes\com\example\telactivity\
文件 355 2014-01-22 10:07 TelActivity\bin\classes\com\example\telactivity\BuildConfig.class
文件 1589 2014-01-22 10:07 TelActivity\bin\classes\com\example\telactivity\Notic$itemshort.class
文件 1465 2014-01-22 10:07 TelActivity\bin\classes\com\example\telactivity\Notic$Task.class
文件 6771 2014-01-22 10:07 TelActivity\bin\classes\com\example\telactivity\Notic.class
............此处省略121个文件信息
相关资源
- android 图片的放大镜功能 源代码正方
- Android代码-记账本源码.zip
- android seekbar 源码
- Android Studio 汉化包 v0.4.2
- 源码集成ZxingDemo
- Android实现天气预报功能
- 类似iOS菊花效果的android progressbar
- Android Fragment与Activity之间的数据交换
- Android全局捕获崩溃异常记录日志保存
- android打电话,发短信,获取通讯录、
- Android相机调用和自定义相机Demo源码
- Android端使用get post 方法提交数据到服
- android电子阅读器精简版
- [air adb 1.0.2] android adb管理 tcp adb调
- Android Support Percent Library
- Android 自定义相机Camera2 apk
- android 实现手机通讯录代码
- Xamarin.Android简单的文件浏览器
- android 宿舍管理系统
- android游戏捏苍蝇源码
- Android项目源码功能齐全的12306火车票
- Android之通过距离传感器控制屏幕熄灭
- Android蓝牙串口通讯直接能用
- android动态设置配置项并随机排布并实
- 基于Android手机蓝牙的实时通信
- Android实现界面跳转
- Android蓝牙连接设备demo
- C#调用adb传输和与android手机通讯
- Android 实现app自动升级
- AndroidFingerprint指纹识别
评论
共有 条评论