Re: [android-developers] Re: Camerapreview

2011-02-10 Thread Kevin R. Octavian
and teh how to upload image to server from android?? On Thu, Feb 10, 2011 at 1:33 AM, Kevin Duffey andjar...@gmail.com wrote: Email intent.. which you can use to bring up email app and attach photo to it, to/subject/etc lines final Intent i = new Intent(Intent.ACTION_SEND);

[android-developers] Re: Camerapreview

2011-02-10 Thread Jayanthi
Hi , I am getting this error :ERROR/Mms/media(215): java.io.FileNotFoundException: /sdcard/1297337002449.jpg (No such file or directory) below is the path where I write the file path = String.format(/sdcard/%d.jpg, System.currentTimeMillis()); Log.e(Image,from Sdcard + path);

Re: [android-developers] Re: Camerapreview

2011-02-10 Thread Kevin Duffey
@Jay.. did you set the right permissions to access/write files? Make sure you do that or it wont work. Also, google (or search here) on how to access the sdcard. I forget off the top of my head. @Kevin.. you can post it using HttpClient, and on the server side (assuming Java) use the apache

Re: [android-developers] Re: Camerapreview

2011-02-09 Thread Kevin Duffey
Email intent.. which you can use to bring up email app and attach photo to it, to/subject/etc lines final Intent i = new Intent(Intent.ACTION_SEND); i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); i.setType(image/jpg);

[android-developers] Re: Camerapreview

2011-02-08 Thread Joe McCann
Seriously, did you google it? There are loads of examples. On Feb 8, 3:12 am, Jayanthi jaia...@gmail.com wrote: Hi,     I am new to android I want to send mail with image attached to it I need solution for two question 1.How to get the path of image saved in sd card using camera preview

[android-developers] Re: Camerapreview

2011-02-08 Thread Jayanthi
Yes , I have seen loads of example but now I am trying this for Samsung Galaxy Tab ,here my problem is I couldn't able to set Image path to ImageButton Thanks, On Feb 9, 1:57 am, Joe McCann joseph.is...@gmail.com wrote: Seriously, did you google it?  There are loads of examples. On Feb 8, 3:12 

[android-developers] Re: CameraPreview example distorted with samsung galaxy s

2010-11-08 Thread ping
Do you know a sample app where this is easily shown? On Nov 8, 11:33 pm, Stephen Jungels sjung...@gmail.com wrote: The camera preview example is very simple.  Real camera apps letterbox the preview because widescreen phones don't have the same aspect ratio as standard photographic sizes.

Re: [android-developers] Re: CameraPreview example distorted with samsung galaxy s

2010-11-08 Thread Stephen Jungels
Sorry, no. On Mon, Nov 8, 2010 at 6:52 PM, ping bernd.warm...@gmail.com wrote: Do you know a sample app where this is easily shown? On Nov 8, 11:33 pm, Stephen Jungels sjung...@gmail.com wrote: The camera preview example is very simple.  Real camera apps letterbox the preview because

[android-developers] Re: CameraPreview example distorted with samsung galaxy s

2010-11-08 Thread Mathias Lin
I had some issues with the SGS and cam as well, see my post at stackoverflow here: http://stackoverflow.com/questions/3213741/camera-preview-on-android-strange-on-samsung-galaxy-s and another post is here: http://stackoverflow.com/questions/3282238/camera-preview-on-galaxy-s/3282662#3282662 On

[android-developers] Re: CameraPreview: Out of memory

2009-07-28 Thread Richard Schilling
I am doing this as well. I still get the out of memory errors. Here's my setup - 1. I create a main menu activity that shows an introductory screen. There's a big START button on that screen. When pressed, it opens a second activity with the camera preview SurfaceView on it. 2. When the

[android-developers] Re: CameraPreview: Out of memory

2009-07-28 Thread Richard Schilling
So, I made sure I'm calling stopPreview followed by release(). And, that's working fine. But, I also wanted to share with people what other things I had to do in order to integrate the camera surface view into my application. I create an activity that serves as the application's main screen.

[android-developers] Re: CameraPreview: Out of memory

2009-07-20 Thread elixir
I ran in to this issue too. If you release() your Camera object during surfaceDestroyed you will not get this exception. Using the CameraPreview.java as an example I now have: mCamera.stopPreview(); mCamera.release(); mCamera = null; It works great and the app can restart properly. On Jun 17,

[android-developers] Re: CameraPreview: Out of memory

2009-07-20 Thread zver...@m-atelier.cz
Hi! Exactly the same started to happen in my application. The out of memory message is really confusing, the problem is somewhere else: http://android.lincovery.com/bookmark/25980-native_setup-out+of+memory Just add the CAMERA permission to the manifest. Hope it helps! On Jun 17, 3:23 pm,

[android-developers] Re: CameraPreview: Out of memory

2009-06-21 Thread Shirish
This is because of its trying to attach the camera client with camera service with out deatching the previous one. If you know the scenario when this exception occur then I can help you more. Thanks, -Shirish On Jun 17, 6:23 pm, Boshik bos...@gmail.com wrote: Hi, After a few weeks on market

[android-developers] Re: CameraPreview: Out of memory

2009-06-21 Thread Shirish
If you put the system.gc() every place then your system performance will degrade. On Jun 17, 8:32 pm, Sahil Arora sahilz...@gmail.com wrote: Hi, I had an application where i would navigate from step1: camera preview step2: to an activity step3: and again back to camera preview. on

[android-developers] Re: CameraPreview: Out of memory

2009-06-21 Thread Timothy F
Are you calling the release method on the camera? On Jun 21, 5:10 am, Shirish ashir...@gmail.com wrote: If you put the system.gc() every place then your system performance will degrade. On Jun 17, 8:32 pm, Sahil Arora sahilz...@gmail.com wrote: Hi, I had an application where i would

[android-developers] Re: CameraPreview: Out of memory

2009-06-17 Thread Sahil Arora
Hi, I had an application where i would navigate from step1: camera preview step2: to an activity step3: and again back to camera preview. on going from step 1 to step 2 the camera object is set to null and garbage collector is now supposed to take care of its deletion... but if i navigate