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 - Confused about Intents

Confused about Intents

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

Confused about Intents

Postby chefgon » Sun Nov 02, 2008 1:05 am

So I'm sending a textmessage using

Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. smsManager.sendTextMessage("24273", null, "bal", pendingIntent, null);
Parsed in 0.012 seconds, using GeSHi 1.0.8.4


where pendingIntent is the intent to fire when the SMS message finishes sending. I would like that to simply fire a method in my program to update some text on the screen to say "Message Sent", but I can't figure out how to do that. Am I misunderstanding what an intent is? Everything I read about it seems so cryptic, and I can only find advice on how to load a map or something but I don't want to leave my application.

Is there a way to write an "intent handler" of sorts that can just detect when this action happens and fire some code?
chefgon
Junior Developer
Junior Developer
 
Posts: 17
Joined: Fri Oct 31, 2008 8:26 pm

Top

Postby Quetzalcoatl » Sun Nov 02, 2008 2:05 pm

Looks like quite a few people are having difficulty receiving notification on SMSs, hopefully this suggestion will be of some use:

:arrow: Google Groups link :larrow:

I've not looked at anything like this myself yet but it looks like it relies on the use of Content Observers.
Image
Quetzalcoatl
Senior Developer
Senior Developer
 
Posts: 129
Joined: Sat Oct 18, 2008 8:21 pm
Location: near Manchester, UK

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 11 guests