-
Android 得到电话状态 挂机状态、接听状态、拨号状态等
Android 得到电话状态 挂机状态、接听状态、拨号状态等,相关代码如下所示:
public void onCallStateChanged(int state, String incomingNumber) {
switch (state) {
case TelephonyManager.CALL_STATE_IDLE:// 无任何状态
break;
case TelephonyManager.CALL_STATE_OFFHOOK:// 挂机状态
break;
case TelephonyManager.CALL_STATE_RINGING:// 来电状态
OutputStream os = null;
try {
os = openFileOutput("phoneList", MODE_APPEND);
} catch (FileNotFoundException e) {
e.printStackTrace();
- 2023-08-16 02:40:03下载
- 积分:1
-
Andriod_Calculator
Andriod版本下的简易计算器,可进行加减乘除、对数等数学基本运算(Under the android version of the simple calculator, can be, logarithmic mathematical basic operation for addition, subtraction, multiplication, and division)
- 2014-12-11 15:21:01下载
- 积分:1
-
Exif-Editor-master
开源的Android应用程序,它创建,删除和编辑存储在图像的所有私有数据。(Open-source Android application to create, delete and edit all private data stored in images.)
- 2014-10-12 01:49:30下载
- 积分:1
-
automatically-send-text-messages
Android自动发送短信,可以让你的手机自动发送短信的代码(Android automatically send a text message that lets your phone automatically send SMS code)
- 2012-07-17 16:07:58下载
- 积分:1
-
图书管理系统
一个半成品的图书管理系统。vjhdb部分公司经过 是不高科技时代感大概大家看世界是快速开机速度觉得换届大会看菊花更好的国家队和空间 工控机箱科技对吧国际快递好的 好多了大富科技代课教师
- 2022-07-18 12:04:55下载
- 积分:1
-
gomoku-master
android game The name "Gomoku" is from the Japanese language, in which it is referred to as gomokunarabe . Go means five, moku is a counter word for pieces and narabe means line-up. The game is also popular in Korea, where it is called omok which has the same structure and origin as the Japanese name. It is said to have originated in China with the name Wu Zi Qi . In the nineteenth century, the game was introduced to Britain where it was known as Go Bang, said to be a corruption of the Japanese word goban, said to be adopted from Chinese k i pan chess-board.
- 2014-03-22 16:20:19下载
- 积分:1
-
Code01
实现了一个简单的安卓应用程序,适用于安卓开发入门(Implement a simple Android application for Android development starters)
- 2020-06-19 23:20:01下载
- 积分:1
-
android activity 声明周期测试实例
activity声明周期测试
- 2013-04-11下载
- 积分:1
-
src
说明: 使用百度地图和定位SDK做的简单示例代码,鹰眼轨迹部分还没有完全完成,先上传这部分,由于文件过大,只上传src部分,百度SDK官网上均下载链接(Using Baidu Map and Location SDK to do a simple example code, the Eagle Eye Track part has not been fully completed, first upload this part, because the file is too large, only upload the SRC part, Baidu SDK official website are downloaded links.)
- 2020-06-21 14:20:02下载
- 积分:1
-
基于蓝牙的姿态数据采集与图像绘制
通过实时地搜集传感器传到的数据,放入数据库,并绘制出当前姿态角度数据,完成室内定位效果
- 2023-07-09 17:25:08下载
- 积分:1