Actually this doesn't work.
On Sep 2, 11:38 am, Dianne Hackborn hack...@android.com wrote:
I'm sorry, but did you even try looking at the documentation? It's not
given a tricky name: getPath(). (If you are meaning you have put a relative
path in, and want to get an absolute one back, well
Doesn't work in what way? It is used all over the system -- for example
this is how ContentResolver returns an InputStream to you from a file: URI:
return new FileInputStream(uri.getPath());
On Sat, Sep 12, 2009 at 5:00 PM, Bill wrobb...@gmail.com wrote:
Actually this doesn't
I'm sorry, but did you even try looking at the documentation? It's not
given a tricky name: getPath(). (If you are meaning you have put a relative
path in, and want to get an absolute one back, well you can't, URI knows
nothing about the semantics of a path in it nor how to do that kind of
3 matches
Mail list logo