Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - how to copy sms to SIM?

how to copy sms to SIM?

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

how to copy sms to SIM?

Postby ksp » Tue Mar 11, 2008 12:07 pm

I tried copying sms to SIM using the following method.But the method return false.

Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. boolean cpy=getSmsInterface().copyMessageToSimEf(status1, pd, smadd);
Parsed in 0.010 seconds, using GeSHi 1.0.8.4


I tried to get the SIM through the following code:
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1.  
  2. private static ISms getSmsInterface() throws DeadObjectException
  3.  
  4.         {
  5.  
  6. android.os.IServiceManager sm = android.os.ServiceManagerNative.getDefault();
  7.  
  8.                 IBinder ismsBinder = sm.getService( "isms" );
  9.  
  10.                 ISms ss;
  11.  
  12.                 ss  = ISms.Stub.asInterface( ismsBinder);
  13.  
  14.                 return ss;
  15.  
  16. }
Parsed in 0.010 seconds, using GeSHi 1.0.8.4


Can anyone help me out?
Thanks in advance.
ksp
Junior Developer
Junior Developer
 
Posts: 22
Joined: Thu Feb 28, 2008 12:50 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 10 guests