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

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -