David Given wrote:
> I have a number of fairly simple questions. I thought it more simple to
> batch them up than ask each one separately...

<snip>

> (c) How do I find the path of the SD card (and, indeed, whether the SD
> card is mounted at all)?

At least for the emulator, the SD card is always mounted at /sdcard, and 
I think merely testing for that path is sufficient to determine if one 
is mounted. There are also some broadcast intents for mounting and 
unmounting SD media, if you need to keep tabs on the status in real time.

 > For that matter, are there any rules as to how
> an application should use SD card space?

You'll need a Googler to answer strictly about "rules".

That being said, I recommend you consider the SD card contents to really 
be the user's prerogative in terms of layout and contents as much as 
possible. Some might have an SD card populated from some other device 
that they're bringing over (e.g., loaded up with MP3s). It's also quite 
possible that they'll be sharing the SD card with other devices. Hence, 
the less intrusive you are on how the SD card can be used overall, the 
happier users will be. So, for example, forcing MP3s to fit in some 
specific directory structure because it's convenient for you might not 
be convenient for the user.

> (e) Is there a style guide I can look at so I can figure out how to
> design things like options dialogues?

I think Romain Guy (no relation) mentioned in a recent post that they're 
working on a style guide.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ -- Available Now!

--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to