On Aug 18, 3:58 pm, april <[EMAIL PROTECTED]> wrote:
> So Android handles Media files different from other files. If you want
> to open other type of files, you don't need to give path.

If you are using paths with File or other such APIs, you do need an
absolute path.  The only exception is the methods on Context(), which
are just there to help you operate on paths within your local data
directory, and likewise have methods to retrieve the absolute path for
those files.

Btw, just to be sure, please please don't just hard-code an absolute
path.  Use the appropriate Context API to get the full path.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to