File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to change SMSC number of a phone

 
vijay shanker
Ranch Hand
Posts: 88
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello friends,

I am looking for some help over a question. please enlighten me. Here goes my question

Can i change the SMSC number of a mobile phone to send SMS?

Provided; this mobile phone is using a application to send SMS developed by myself. I am using J2ME api to send SMSes.

Does J2Me has some control over this information?





 
Himanshu Rawat
Ranch Hand
Posts: 141
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i think WMA 2.0 defines system property wireless.messaging.sms.smsc for SMSC which you can retrieve

String _smsc_Number= System.getProperty("wireless.messaging.sms.smsc");

Same way you can set System.setProperty("wireless.messaging.sms.smsc", "+232131232131");



i haven't tried it but i think it should work.

give it a try

Cheers
Rawat



 
vijay shanker
Ranch Hand
Posts: 88
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Himanshu Rawat wrote:

Same way you can set System.setProperty("wireless.messaging.sms.smsc", "+232131232131");



Hi Himanshu

with your response; my first response was so easy it was.

But after trying it in my project. what i find out is: there is no any method named setProperty("", "");

please look out and verify this.

 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic