Skip to content

Instantly share code, notes, and snippets.

@scriptnull
Created July 14, 2015 18:57
Show Gist options
  • Select an option

  • Save scriptnull/3377945a7ae647c9235d to your computer and use it in GitHub Desktop.

Select an option

Save scriptnull/3377945a7ae647c9235d to your computer and use it in GitHub Desktop.
Easily handle calling events in Android by making use of this cheatsheet
//outgoing
//07-14 23:57:20.874 9111-9111/tb360.com.healthhub D/MessageUploaderApp﹕ BR PhoneNumber nullState OFFHOOK
//07-14 23:57:25.544 9111-9111/tb360.com.healthhub D/MessageUploaderApp﹕ BR PhoneNumber nullState IDLE
//incoming , not attended , cut by receiver or dialer
//07-15 00:22:32.924 9111-9111/tb360.com.healthhub D/MessageUploaderApp﹕ BR PhoneNumber +919535915747State RINGING
//07-15 00:22:34.954 9111-9111/tb360.com.healthhub D/MessageUploaderApp﹕ BR PhoneNumber +919535915747State IDLE
//incoming , attended ,cut by receiver or dialer
//07-15 00:27:28.524 9111-9111/tb360.com.healthhub D/MessageUploaderApp﹕ BR PhoneNumber +919535915747State RINGING
//07-15 00:27:35.434 9111-9111/tb360.com.healthhub D/MessageUploaderApp﹕ BR PhoneNumber nullState OFFHOOK
//07-15 00:27:46.194 9111-9111/tb360.com.healthhub D/MessageUploaderApp﹕ BR PhoneNumber nullState IDLE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment