Nick Owens wrote:
> The error in the screenshot (emailed separately), shows:
> 
> "The method getRelativeDateTimeString(ResourcesList, long, long, long, int)
> is undefined for the type"
> 
> The declaration of my Activity is:
> 
> Public class ResourcesList extends ListActivity
> 
> I'm missing something stupid, right?

Well, I'm not an Eclipse user. What you have should be fine, and I don't
know why it is coming up with that complaint.

My standard hammer for nails like this is Project > Force Clean, to see
if that clears matters up.

But, I've taught enough people who use Eclipse to see that Eclipse is
more frequently wrong about what's in the SDK than are the SDK docs. So,
if you get errors like this, check the docs first.

And, this is one of the umpteen reasons why I don't use Eclipse.

(saying that in part to see if Eric Cloninger is watching this thread,
to perhaps goad him into providing other solutions for dealing with
Eclipse tossing up errors on what, on the surface, looks like perfectly
good code)

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_Beginning Android_ from Apress Now Available!

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

Reply via email to