[TIMOB-2168] Android: Application Event not received when making a phone call
| GitHub Issue | n/a | 
|---|---|
| Type | New Feature | 
| Priority | Low | 
| Status | Closed | 
| Resolution | Invalid | 
| Resolution Date | 2017-06-07T22:31:50.000+0000 | 
| Affected Version/s | n/a | 
| Fix Version/s | n/a | 
| Components | Android | 
| Labels | android, applications, event, feature, resume | 
| Reporter | Thomas Huelbert | 
| Assignee | Ingo Muschenetz | 
| Created | 2011-04-15T03:12:33.000+0000 | 
| Updated | 2017-06-07T22:31:50.000+0000 | 
Description
1.5.0.70ce98 g2 running 2.2, G1 running 1.6, sim 2.2
1.Platform > Application Events
2.as per the tets, make a call, then return to the app
results: nothing, no change event fired. As this is the first time I have ever run this test (never had a sim card before), I'm not sure if this should even work on android.
Since the phone call is handled by the external dialer app, we don't get a direct notification. It looks like could try to monitor whether the phone is off or on hook. It requires adding READ_PHONE_STATE permission and the http://developer.android.com/reference/android/telephony/TelephonyManager.html"> TelephonyManager
Closing ticket due to time passed and lack of work.