Android Check if call forwarding is activated -


I am creating a call forwarding application and activating call forwarding using ACTION_CALL intent ** 21 * Xxxxxx # ussd code is used. But I have not found any solutions to find out if call forwarding is active or not.

If any call forwarding is active or is there a solution to check with the Android system?

You can register the broadcast class and you can track like a calling call

  Public class callborkcast receivers broadcasts broadcasts receivers {public static string number toll; But public nil (reference reference, intent to intent) {log d. ("Callercorder", "callbroxtriceurver :: on receipt intent:" + intent.toString ()); If (intent.getAction (.) Equals (Intent.ACTION_NEW_OUTGOING_CALL)) {numberToCall = intent.getStringExtra (Intent.EXTRA_PHONE_NUMBER); Log D. ("Callercorder", "is the EXTRA_PHONE_NUMBER intended for the callboscedide receiver:" + number to call); }}}    

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -