简体   繁体   English

拨打Android手机后按键

[英]Press key after making phone call Android

I'm making an App which call a service provider and press 1 after a certain amount of time and press again something and so on. 我正在制作一个可调用服务提供商的应用程序,经过一定时间后按1,然后再次按某些键,依此类推。

I've made call through " Intent.ACTION_CALL " as I can't write my own Call maker. 我无法通过编写自己的Call maker来通过“ Intent.ACTION_CALL ”进行了通话。

My Question is "How do I press something after I have fired an intent?" 我的问题是“激发意图后,我该如何按压某些东西?”

Thanks in Advance. 提前致谢。

Usually if you want to enter a number after a pause you enter a number after "," like this: 1-555-555-1234,77 This will call the number and enter 77 after a certain pause. 通常,如果要在暂停后输入数字,请在“,”后输入数字,例如:1-555-555-1234,77这将呼叫该数字,并在一定的暂停后输入77。 So you enter this number in your intent and don't worry about clicking after firing the intent. 因此,您可以在意图中输入此数字,而不必担心在触发意图后单击。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM