[android-developers] How to read current localization state?

2010-12-20 Thread rnstewart
I am working on localizing my app, and I understand how to handle resources -- that's going very well. However, I also need to have some conditional logic in my code that will read the current localization setting and choose what information to present to the user based on what their default

[android-developers] ActivityNotFoundException for Media Gallery android.intent.action.PICK on Samsung Fascinate

2010-11-08 Thread rnstewart
I have an app that (among other things) uploads pictures to Flickr, and it takes advantage of the Media Gallery intents to allow the user to choose an image to upload. When the user hits the Upload button, I run the following code: startActivityForResult(new Intent(Intent.ACTION_PICK,

[android-developers] Where do the resources from android.R come from?

2010-04-04 Thread rnstewart
I'm trying to understand the whole android.R structure, and it would be nice if I knew where the source of those resources is. I assume that, like the R object in my own project, it is built from a resources directory somewhere on my system. That directory should contain the drawables, layouts,

[android-developers] Android Emulator on a somewhat older laptop

2009-05-25 Thread rnstewart
I'm running Ubuntu 8.04 on a Dell Inspiron 600m with 512MB of RAM, and I'm dying to get into developing some Android apps, but I've hit a bit of a roadblock. I have installed Eclipse 3.4 and installed the 1.5 SDK and the Developer Tools with no problem. I created a standard 1.5 AVD, but when I