java - Run USSD Code in Android without using " Intent.ACTION_CALL" -


i creating app in android, required run ussd code in background. without send application in background,

whenever using intent.action_call run ussd

   string encodedhash = uri.encode("#");    string ussd = "*123" + encodedhash;    intent intent = new intent(intent.action_call, uri.parse("tel:" + ussd));    startactivity(intent); 

it send application in background, , open dialer interface on application.

so possible run ussd code without open dialer interface in front.

thanks in advance .

it's kind of complex... need override default dialer. way skype does. how include application dialing option when calling addressbook?

dial number without prompt


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -