Page 1 of 1

Help needed

Posted: 19 Apr 2017 05:02
by akhileshg1988
Dear Martin,
Under the Sim Card Settings' Sim Selection Menu, I have set the default Sim for calls to 'Always Ask', so whenever I make a call, the sim selection menu pops up and asks using which sim (Sim 1 or Sim 2) to make the call?
I want to know whether this sim selection menu that pops up every time I make a call (because of the default Sim for calls set to 'Always Ask') is an activity, a service or an app task and what is its id? I want to run a condition that checks whether this sim selection menu is in the foreground or not i.e. the condition should return true as long as the sim selection menu remains in the foreground and false once it disappears.

Thanks
Akhilesh Chandra Gairola

Re: Help needed

Posted: 19 Apr 2017 19:38
by Martin
Hi,

On a Samsung S7 you could try following settings in trigger Activity Started (respectively Activity Ended) and set/clear a variable.
Package Name: com.samsung.android.incallui
Class Name: com.android.incallui.SelectPhoneSimAccountActivity

Unfortunately I don't have any other multi-SIM devices for tests available.

Regards,
Martin