[mono-android] Issues accessing the Camera Intent

Jonathan Pryor jonp at xamarin.com
Fri Feb 17 21:40:20 UTC 2012


On Feb 16, 2012, at 5:15 PM, cmdrew wrote:
> How can I get the actual name of the file from the URI?

`dataUri` should be a string like "file:///path/to/FileName.png", so dataUri.Substring(dataUri.LastIndexOf('/')+1) should give you the filename.

 - Jon



More information about the Monodroid mailing list