当前位置: 首页 > news >正文

如何向Android模拟器打电话发短信

1. 启动Android Emulator, 查看标题栏找出端口。一般是android emulator(5554),其中5554就是端口。

2. 打开命令行,输入telnet localhost 5554。程序将会连接到android emulator,控制台会返回

  Android Console: type 'help' for a list of commands

  OK

(win7的话,需要telnet命令的支持)

3. 模拟电话打入。输入gsm call <模拟打进的电话号码>。如:gsm call 123456789

4. 模拟短信发送。输sms send <模拟发送短信的电话号码> <短信内容>。如:sms send 123456789 Hello

  Android控制台命令:(输入help所显示的帮助列表)

{

  Android console command help:

help|h|? print a list of commands

event simulate hardware events

geo Geo-location commands

gsm GSM related commands

cdma CDMA related commands

kill kill the emulator instance

network manage network settings

power power related commands

quit|exit quit control session

redir manage port redirections

sms SMS related commands

avd control virtual device execution

window manage emulator window

qemu QEMU-specific commands

sensor manage emulator sensors

}

转载于:https://www.cnblogs.com/liyanwei2013/p/3283791.html

相关文章:

  • 【奥斯卡理财星体系 序篇】为什么你需要学习这个理财体系?
  • 基于阿里云快速搭建数字营销引擎【计算广告】
  • wcf深入学习笔记
  • Eclipse常用快捷键之代码编辑篇
  • QQ客服代码
  • 完美解决gradle下载慢的问题
  • 人物四(奥瑞夫特)
  • java.lang.OutOfMemoryError: PermGen space
  • 1.揭开消息中间件RabbitMQ的神秘面纱
  • 文本框不够长,显示“XXX...”
  • 统计生成日期为昨天的数据
  • 关于生成器的问题
  • Oracle 调用存储过程执行CRUD的小DEMO
  • webpack 项目实战
  • 做创业狼之前请看看这篇文章
  • [Vue CLI 3] 配置解析之 css.extract
  • Brief introduction of how to 'Call, Apply and Bind'
  • CSS魔法堂:Absolute Positioning就这个样
  •  D - 粉碎叛乱F - 其他起义
  • Docker 笔记(1):介绍、镜像、容器及其基本操作
  • IDEA常用插件整理
  • JavaScript设计模式之工厂模式
  • Perseus-BERT——业内性能极致优化的BERT训练方案
  • python3 使用 asyncio 代替线程
  • Sass Day-01
  • vue中实现单选
  • 第三十一到第三十三天:我是精明的小卖家(一)
  • 互联网大裁员:Java程序员失工作,焉知不能进ali?
  • 技术攻略】php设计模式(一):简介及创建型模式
  • 开源SQL-on-Hadoop系统一览
  • 使用 Docker 部署 Spring Boot项目
  • MiKTeX could not find the script engine ‘perl.exe‘ which is required to execute ‘latexmk‘.
  • 3月7日云栖精选夜读 | RSA 2019安全大会:企业资产管理成行业新风向标,云上安全占绝对优势 ...
  • ​二进制运算符:(与运算)、|(或运算)、~(取反运算)、^(异或运算)、位移运算符​
  • (10)STL算法之搜索(二) 二分查找
  • (二)WCF的Binding模型
  • (附源码)spring boot基于Java的电影院售票与管理系统毕业设计 011449
  • (每日持续更新)jdk api之StringBufferInputStream基础、应用、实战
  • (学习日记)2024.01.19
  • (一)Neo4j下载安装以及初次使用
  • (一)基于IDEA的JAVA基础12
  • (原創) X61用戶,小心你的上蓋!! (NB) (ThinkPad) (X61)
  • (中等) HDU 4370 0 or 1,建模+Dijkstra。
  • ***linux下安装xampp,XAMPP目录结构(阿里云安装xampp)
  • .apk 成为历史!
  • .babyk勒索病毒解析:恶意更新如何威胁您的数据安全
  • .bat批处理(一):@echo off
  • .net core webapi Startup 注入ConfigurePrimaryHttpMessageHandler
  • .netcore 6.0/7.0项目迁移至.netcore 8.0 注意事项
  • .netcore如何运行环境安装到Linux服务器
  • .NET成年了,然后呢?
  • /ThinkPHP/Library/Think/Storage/Driver/File.class.php  LINE: 48
  • @CacheInvalidate(name = “xxx“, key = “#results.![a+b]“,multi = true)是什么意思
  • [ vulhub漏洞复现篇 ] ThinkPHP 5.0.23-Rce
  • [Android] Amazon 的 android 音视频开发文档