Is there a way to detect if call is in progress? Phone Event
2015-05-18 06:55
351 查看
First you need 3 profiles to monitor the phone state:
Event: Phone Idle
Variable Clear %Phoning
Event: Phone Offhook
Variable Set, %Phoning, 1
Event: Phone Ringing
Variable Set, %Phoning, 1
Then you can use 'If %Phoning Is Set' to see if you're phoning.
Event: Phone Idle
Variable Clear %Phoning
Event: Phone Offhook
Variable Set, %Phoning, 1
Event: Phone Ringing
Variable Set, %Phoning, 1
Then you can use 'If %Phoning Is Set' to see if you're phoning.
相关文章推荐
- There is an internal error in the React performance measurement code.Did not expect componentDidMount timer to start while render timer is still in progress for another instance
- Is there any way to define a min and max value for edittext in android?
- Q:Is there any way to define what the "Open Resource" dialog in Eclipse should show?
- Is there any way to kill a Thread in Python?
- Is there a way to add a badge to an application icon in Android?
- Is there any best way to reduce the size of ibdata in mysql.?
- There is only one success --- to be able to spend your life in your own way.
- Is there a way to add a badge to an application icon in Android?
- Is there a way to loop through a table variable in TSQL without using a cursor?
- eclipse创建Adnroid虚拟机提示:XXXX目录.avd is in the way. Use --force if you want to overwrite.
- What is the fastest, case insensitive, way to see if a string contains another string in C#?
- Is there a way to check if android WindowManager already contains a view?
- Unity3D - 如何引入package到指定的目录 (Is there a way to import a package to a specific folder?)
- The goal you specified requires a project to execute but there is no POM in this directory 错误
- There is no tracking information for the current branch.If you wish to set tracking information for
- call to local/imported function list_max/1 is illegal in guard
- Given an array of size N in which every number is between 1 and N, determine if there are any dupli
- maven报错 the goal you specified requires a project to execute but there is no POM in this direct...
- What is the best way to paginate results in SQL Server
- Ten Ways to Check if an Integer Is a Power Of Two in C