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 - Modify Caller ID

Modify Caller ID

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

Modify Caller ID

Postby dsouza42 » Fri May 28, 2010 10:27 pm

Hi,

I'm trying to write a program that changes the incoming caller ID number to match exactly number in the phone's address book (since some carriers vary how they send the caller ID).

I am receiving broadcasts for changes in phone state. I can get the caller ID number by checking the "incoming_number" extra that comes with the intent. However, when I change anything in the extra it raises an exception saying that I can't do that because I'm using a non-ordered broadcast receiver.
The SDK docs say that if I use the "android:priority" attribute in the intent filter the broadcast will be ordered, but even when I do that, I always get a non-ordered broadcast.

What could I be doing wrong?

Below is the snippet from my manifest file:

<receiver android:name=".Update">
<intent-filter android:priority="100">
<action android:name="android.intent.action.PHONE_STATE" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</receiver>

I tried setting the priority to 1 and to 100 but it still doesn't work.

Thanks in advance,
Denis Souza
dsouza42
Once Poster
Once Poster
 
Posts: 1
Joined: Fri May 28, 2010 10:25 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 11 guests