How do I use one line of code versus the ~312?
public static final Bundle mStrings;
mStrings.putAll(R.strings.*); // what would be the right
incantation to get the R.strings into the resource bundle?
Then I would then pull out the single desired string with . . .
textView.setText(mStrings.getString(desiredString));
I looked through the Android reference docs concerning bundles (and a
few online tuts) but the correct method to use escapes me.
On Oct 25, 2:43 am, Jeffrey Blattman <[email protected]>
wrote:
> On 10/24/09 5:10 PM, David wrote:
>
> one line of code vs. 312 ... and being forced to use a 2nd way to store
> your resource strings.
> --
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---