in string we directlt write then it will try to find from string.xml but in that this hardcoded string is not there .So thats y it gives warning.If you want to remove warning then first write string in string.xml and the use that string name here.
On Tue, Jul 31, 2012 at 4:10 AM, <[email protected]> wrote: > ** > Sent from my BlackBerry® smartphone from !DEA > ------------------------------ > *From: * Rafael Maas <[email protected]> > *Sender: * [email protected] > *Date: *Mon, 30 Jul 2012 17:13:22 -0300 > *To: *<[email protected]> > *ReplyTo: * [email protected] > *Subject: *Re: [android-developers] Warning at hello world program > > is good practice to set the strings inside the file string.xml. > http://developer.android.com/guide/topics/resources/string-resource.html > > 2012/7/30 Francisco Marzoa <[email protected]> > >> If you do not care about l10n, you can just ignore it. Also I think you >> can configure lint to not warn on such issues. >> El 29/07/2012 21:39, "Edlialbanian" <[email protected]> escribió: >> >> Hi guys i'm new here and i'm getting a warning i my firt app . >>> I get thir error >>> [I18N] Hardcoded string "Welcome", should use @string resource >>> >>> what should i do ?? >>> >>> thanks in advance >>> >>> -- >>> 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 >> >> -- >> 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 >> > > -- > 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 > > -- > 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 -- Regards jagruti Sangani *iNextrix Technologies* -- 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

