The need to pass the context around is because your strings (and all resources) may be different for localization, layout, screen size etc. So accessing a string (resource) without an application context does not make sence.
-- RichardC On Oct 18, 11:04 am, RichardC <richard.crit...@googlemail.com> wrote: > Try this:http://developer.android.com/guide/topics/resources/index.html > > -- > RichardC > > On Oct 18, 10:48 am, jax <jackma...@gmail.com> wrote: > > > I have made a regular class that needs to use string from the R class. > > > I have imported the R class into the activity and am able to access > > all the variables. > > > My Question is, how do you convert them to string, > > > For example: If I access R.string.myString it will return as an int > > not a String > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---