Help needed

Post your questions and help other users.

Moderator: Martin

Post Reply
akhileshg1988
Posts: 109
Joined: 16 Apr 2014 04:57

Help needed

Post by akhileshg1988 » 19 Apr 2017 05:02

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

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Help needed

Post by Martin » 19 Apr 2017 19:38

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

Post Reply