[android-developers] Captured image FileNotFound

2010-12-31 Thread Nikola
Hi, trying to capture image and display it but getting FileNotFound for following code. Anybody willing to take a look at it? public class HelloAndroid extends Activity { /** Called when the activity is first created. */ private static final int CAMERA_PIC_REQUEST = 1337; Button btn

Re: [android-developers] Captured image FileNotFound

2010-12-31 Thread TreKing
On Fri, Dec 31, 2010 at 12:05 PM, Nikola wrote: > Anybody willing to take a look at it? Giving your file that should hold an image a ".tmp" extension is questionable. Besides that, a Google Search for "ACTION_IMAGE_CAPTURE" shows some promise ... ---

Re: [android-developers] Captured image FileNotFound

2010-12-31 Thread Nikola
On Fri, Dec 31, 2010 at 7:32 PM, TreKing wrote: > On Fri, Dec 31, 2010 at 12:05 PM, Nikola wrote: > >> Anybody willing to take a look at it? > > > Giving your file that should hold an image a ".tmp" extension is > questionable. Why? I would like to store it in database. > Besides that, a Go

Re: [android-developers] Captured image FileNotFound

2010-12-31 Thread TreKing
On Fri, Dec 31, 2010 at 12:42 PM, Nikola wrote: > Giving your file that should hold an image a ".tmp" extension is >> questionable. > > Why? I would like to store it in database. > Because ".tmp" is not an image format I'm aware of. > Besides that, a Google Search for "ACTION_IMAGE_CAPTURE" sh

Re: [android-developers] Captured image FileNotFound

2010-12-31 Thread Nikola
On Fri, Dec 31, 2010 at 7:49 PM, TreKing wrote: > On Fri, Dec 31, 2010 at 12:42 PM, Nikola wrote: > >> Giving your file that should hold an image a ".tmp" extension is >>> questionable. >> >> Why? I would like to store it in database. >> > > Because ".tmp" is not an image format I'm aware of. >

Re: [android-developers] Captured image FileNotFound

2010-12-31 Thread TreKing
On Fri, Dec 31, 2010 at 12:59 PM, Nikola wrote: > Never said that you have to save file with image extension. Why would you > have to do that? Does system checks file extensions? > I don't know, but if you're trying to save an image to a file, you might as well make sure you have a reasonable ex