André wrote:
> I get a little wavy read line under getString, and inte the yellow
> popupwindow in eclipse i get this text:
> 
> The method getString(int) in the type Context is not applicable for
> the arguments (String)
> 
> and it suggests me to change my string string3 to an int, or create a
> method called getString.
> 
> Any suggestions?

What is "string3"?

If that is supposed to be a string resource, it should be
R.string.string3, which is an int.

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

Android Training in US: 26-30 April 2010: http://onlc.com

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