[android-developers] String resources do not update when orientation changes

2010-04-29 Thread Mike Olson
I have used the method specified on the Resource and I18N page (http:// developer.android.com/guide/topics/resources/resources-i18n.html) to specify separate strings.xml resource files for when the orientation is landscape vs. portrait. When the activity starts, it will display the strings

[android-developers] Re: String resources do not update when orientation changes

2010-04-29 Thread Mike Olson
Mark Murphy wrote: No, that should work, at least if you let Android do the normal destroy-and-recreate cycle for the activity in question. If you are overriding that, you will need to go through each widget and tell it to load the new string values, AFAIK. The only things I am overriding are

[android-developers] Re: String resources do not update when orientation changes

2010-04-29 Thread Mike Olson
Mark Murphy wrote: Are you sure you have the right names for your resource directories? Assuming res/values/ is your portrait one, are you using res/values-land/ for the landscape strings? I've done it two ways. The first way I have three directories: res/values res/values-land

[android-developers] Re: String resources do not update when orientation changes

2010-04-29 Thread Mike Olson
Mark Murphy wrote: That's pretty odd. I am not aware of any particular problems here. In fact, I just hacked in res/values-land/strings.xml in one of my book samples, and it works as expected. I think I figured it out. The actual strings are being used as the text property of RadioButtons in a

[android-developers] Re: String resources do not update when orientation changes

2010-04-29 Thread Mike Olson
wrote: Mike Olson wrote: Mark Murphy wrote: That's pretty odd. I am not aware of any particular problems here. In fact, I just hacked in res/values-land/strings.xml in one of my book samples, and it works as expected. I think I figured it out. The actual strings are being used as the text

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-31 Thread Mike Olson
I got a Droid on Saturday, but called Verizon and was told that the ESN was already attached to another account. What the heck? I've e- mailed Google. Has anyone else had this problem? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Picking up a PhoneBook entry under Android 2.0 !!!

2010-01-27 Thread Mike Olson
I know this is a bit of an old thread, but I implemented the workaround above to get my 1.5 emulator to launch and now my code crashes when I try to run it in the 1.5 emulator. The error is an InvocationTargetException with a cause of VerifyError. I'm currently searching for answers on the web but

[android-developers] Re: Picking up a PhoneBook entry under Android 2.0 !!!

2010-01-27 Thread Mike Olson
it, but I'm posting this to help anyone who may find this thread on Google. On Jan 27, 8:17 am, Mike Olson mish.ol...@gmail.com wrote: I know this is a bit of an old thread, but I implemented the workaround above to get my 1.5 emulator to launch and now my code crashes when I try to run it in the 1.5