Calling a USSD number without opening the phone app in Android
Asked Answered
P

1

5

I am trying to call a USSD number from my application like this:

Uri u = Uri.fromParts("tel", "*110#", "");
Intent i = new Intent(Intent.ACTION_CALL, u);
startActivity(i);

This makes the phone app launch and call the number.

What I want is to call the USSD number without opening the phone app or atlease open it up in the background.

If the user is doing something, then he should not be disturbed. Only a notification must be generated.

any suggestions?

Pilpul answered 27/3, 2011 at 13:19 Comment(1)
hey can you mark my answer as the correct answer since now its possible because the current correct answer says its not possible which it is nowStrangeness

© 2022 - 2024 — McMap. All rights reserved.