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

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 - Hi is there any option to get the Out going SMS

Hi is there any option to get the Out going SMS

Quickly share your Android Code Snippets here...

Hi is there any option to get the Out going SMS

Postby damu » Thu Aug 13, 2009 10:54 am

Hi

i tried to write the small app for the Getting the Count for the out going SMS from one particular date to now , i can not able to write it i tried the

android.telephony

<uses-permission android:name="android.permission.CALL_PHONE"></uses-permission>
<uses-permission android:name="android.permission.READ_CONTACTS"></uses-permission>

but i can not able to complete any one give the code snippet for getting the count please

my id : damu.be@gmail.com please email me immediate
Thank you

Damu
damu
Freshman
Freshman
 
Posts: 5
Joined: Thu Aug 13, 2009 10:37 am
Location: tirunelveli

Top

Postby hrlixiang » Fri Sep 18, 2009 9:33 am

Try this:

Uri SMS_URI = Uri.parse("content://sms/sent");
Cursor smscursor = getContentResolver().query(SMS_URI, null, null,
null, null);
smscursor.getCount();
hrlixiang
Once Poster
Once Poster
 
Posts: 1
Joined: Fri Sep 18, 2009 9:30 am

Top

Return to Code Snippets for Android

Who is online

Users browsing this forum: No registered users and 7 guests