problem sending Unicode SMS

Put your problem here if it does not fit any of the other categories.

problem sending Unicode SMS

Postby worry » Sat Dec 13, 2008 4:27 am

I am trying to sending SMS (real phone to real phone) via:

Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1.  
  2.     SmsManager sm = SmsManager.getDefault();
  3.  
  4.     sm.sendTextMessage(phoneNumber, null, text, null, null);
Parsed in 0.031 seconds, using GeSHi 1.0.8.4


Where text is a String, containing unicode (cyrillic) characters.

The problem is all Unicode characters recieved as blank characters.
Any suggestions?
worry
Junior Developer
Junior Developer
 
Posts: 16
Joined: Fri Nov 28, 2008 12:06 am

Top

Re: problem sending Unicode SMS

Postby worry » Sun Dec 14, 2008 3:17 pm

worry wrote:I am trying to sending SMS (real phone to real phone) via:

Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1.     SmsManager sm = SmsManager.getDefault();
  2.     sm.sendTextMessage(phoneNumber, null, text, null, null);
Parsed in 0.031 seconds, using GeSHi 1.0.8.4


Where text is a String, containing unicode (cyrillic) characters.

The problem is all Unicode characters recieved as blank characters.
Any suggestions?


There is android.telephony.gsm.SmsMessage class
http://code.google.com/android/referenc ... ssage.html

which has some constants like ENCODING_8BIT, which may be handy for unicode sms.
But, as I already told, SDK documentation is stupid and has no examples. And I do not understand what does this class even suppose to do.

Also this question was asked in android groups with zero answer:
http://groups.google.com/group/android- ... 18ca89c4de

Although, there should be some way to send unicode sms, because the aPowerSMS app do this, unfortunately it is not open source.
worry
Junior Developer
Junior Developer
 
Posts: 16
Joined: Fri Nov 28, 2008 12:06 am

Re: problem sending Unicode SMS

Postby worry » Wed Dec 17, 2008 12:12 pm

Still no ideas?

Just brainstorm, even stupid ideas, I will try to check all variants.

My Java & Android experience is very poor (3 weeks), hope you can help me.
worry
Junior Developer
Junior Developer
 
Posts: 16
Joined: Fri Nov 28, 2008 12:06 am

Postby Hex » Tue Dec 23, 2008 2:36 pm

to worry:

see also Android Developers forum, pusher's reply.

this blog have code to impl it
http://andev.cn/blog/158/

.
Hex
Freshman
Freshman
 
Posts: 4
Joined: Sun Oct 19, 2008 3:13 pm

Postby Pikeman » Mon Mar 16, 2009 10:52 am

Hex wrote:to worry:

see also Android Developers forum, pusher's reply.

this blog have code to impl it
http://andev.cn/blog/158/

.


Thanks Hex.

Its work perfect. Love U so mụch. Bla Bla bla
Pikeman
Once Poster
Once Poster
 
Posts: 1
Joined: Wed Feb 18, 2009 3:42 pm

Re:

Postby ssPerman01 » Thu Aug 16, 2012 3:03 am

Pikeman wrote:
Hex wrote:to worry:

see also Android Developers forum, pusher's reply.

this blog have code to impl it
http://andev.cn/blog/158/

.


Thanks Hex.

Its work perfect. Love U so mụch. Bla Bla bla


Hi Pikeman,
link of Hex died, please send to me resolver this problem.

Thanks u!
ssPerman01
Once Poster
Once Poster
 
Posts: 1
Joined: Thu Aug 16, 2012 3:01 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 20 guests