I think, a clean re-build will solve the problem. :)

On Nov 13, 1:50 pm, Android Helebek <bilge.tu...@gmail.com> wrote:
> Hi All,
> I was using Netbeans to write my Android applications for a few weeks
> now (i was used to NB). Then I decided to give a chance to Eclipse,
> since its the official recommended (with tools existing) development
> environment. Now, that I moved my code to Eclipse, it keeps
> complaining in the manifest file. The error is shows is as following:
>
>         <receiver android:name=".MyPhoneListener">
>             <intent-filter>
>                 <action
> android:name="android.telephony.TelephonyManager.ACTION_PHONE_STATE_CHANGED"/
>
>             </intent-filter>
>         </receiver>
>
> org.xx.xx.MyPhoneListener does not extend
> android.content.BroadcastReceiver
>
> And actually it is true that it does not extend BroadcastReceiver, but
> extends PhoneStateListener.
>
> class MyPhoneListener extends PhoneStateListener
>
> My question is, I was able to compile and run my exact same
> application from Netbeans and the application was running fine.
>
> So what might be the problem, is it an Eclipse bug or is this really a
> wrong implementation (even it works!)?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to