May I also suggest using "@Override".

It doesn't change what the code means, but tells the compiler that you are overriding a method. The compiler then checks that this is actually the case.

-- Kostya

07.08.2011 11:28, Nikolay Elenkov пишет:
On Sun, Aug 7, 2011 at 4:20 PM, kypriakos<demet...@ece.neu.edu>  wrote:
And in fact the onNewIntent (which still compiles if it is
OnNewIntent!)
is never called .. so something is not being set right.

Obviously. It will compile as OnNeWiNtEnT or anything you
write. You need to override the proper Activity method to
have it called by the framework. I suggest you start with the Activity
class JavaDoc and read it a couple of times before trying to get this
to work:

http://developer.android.com/reference/android/app/Activity.html

Also keep in mind that Java is case-sensitive.


--
Kostya Vasilyev

--
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