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 - "IntentReceiver cannot be resolved to a type".

"IntentReceiver cannot be resolved to a type".

Common bugs/problems with the Android SDK the Emulator and the ADT-Plugin.

"IntentReceiver cannot be resolved to a type".

Postby Leonne » Wed Dec 21, 2011 6:19 am

Hi guys.
I'm building a small app that requieres the IntentReceiver.

Actually, I am a newb at Android development and am doing the switch after iOS development.
I have the following code:

Code: Select all
package com.TheIntent;

import android.content.*; //I added this AFTER I got the error message

public class ReceiveSMS extends IntentReceiver {

}


But is giving me the error I put in the title. I'm following the code as it is written in the book, and after googling for a while I found I have to include android.content.IntentReceiver. But like you can see, it's not working.

I am working with the SDK 2.3.3.

Thanks for any help you may provide"
User avatar
Leonne
Freshman
Freshman
 
Posts: 2
Joined: Wed Dec 21, 2011 6:13 am

Top

Re: "IntentReceiver cannot be resolved to a type".

Postby Leonne » Wed Dec 21, 2011 7:56 am

Well looks like I am reading an outdated book. IntentReceiver has been changed with BroadcastReceiver.
User avatar
Leonne
Freshman
Freshman
 
Posts: 2
Joined: Wed Dec 21, 2011 6:13 am

Top

Return to SDK/ADT/Emulator Problems

Who is online

Users browsing this forum: No registered users and 4 guests