• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
Bartenders:
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

error in USSD code in android  RSS feed

 
Ranch Hand
Posts: 1290
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to run call USSD no #456# in my android application.

below is the main call.


when the app is run it says USSD code is running.but finally it gives Connection problem or invalid MMI code.please see the attachments
screenshot_2013-05-09_1248.png
[Thumbnail for screenshot_2013-05-09_1248.png]
screenshot_2013-05-09_1248_1.png
[Thumbnail for screenshot_2013-05-09_1248_1.png]
 
Ranch Hand
Posts: 633
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
make sure you had added permission


 
sam liya
Ranch Hand
Posts: 1290
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Now its working fine.I gave the wrong USSD code .there should be * at the beginning.
anyway now i am getting USSD result as a pop up.Anyway is there a way to assign the result of USSD request to variable ?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!