[android-developers] onPreviewFrame returning wrong information?

2012-04-25 Thread Taylor Niver
The code below works but it is returning images like this :IMGhttps://lh5.googleusercontent.com/-Tg7Yq8UzcmI/T5jYONjgOVI/BIU/L1prL75Y-VU/s800/hhh1335413774934.jpg . Is there something wrong with my code where it is not receiving the correct byte array from the surface holder? -Taylor

[android-developers] Re: onPreviewFrame returning wrong information?

2012-04-25 Thread Taylor Niver
Also, much of the code has been copied from various sources online, it is not 100% mine On Thursday, April 26, 2012 1:09:23 AM UTC-4, Taylor Niver wrote: The code below works but it is returning images like this :IMGhttps://lh5.googleusercontent.com/-Tg7Yq8UzcmI/T5jYONjgOVI/BIU

[android-developers] setPreviewCallback - onPreviewFrame returning byte array

2012-04-24 Thread Taylor Niver
I have a code that opens the camera and displays it to a SurfaceHolder. I then call onPreviewFrame which grabs the displayed image and stores the data as a byte array. I then TCPIP the info over to my computer which is where I hope to decode the array back into an image so I can do some

[android-developers] Re: Grabbing live video frames

2012-04-17 Thread Taylor Niver
, lbendlin wrote: http://developer.android.com/reference/android/hardware/Camera.PreviewCallback.html On Monday, April 16, 2012 11:48:41 PM UTC-4, Taylor Niver wrote: The process is like this...Two threads, one running the live video. Constantly taking pictures and storing them to a variable

[android-developers] Re: Grabbing live video frames

2012-04-17 Thread Taylor Niver
, lbendlin wrote: http://developer.android.com/reference/android/hardware/Camera.PreviewCallback.html On Monday, April 16, 2012 11:48:41 PM UTC-4, Taylor Niver wrote: The process is like this...Two threads, one running the live video. Constantly taking pictures and storing them to a variable

[android-developers] Is frame extraction possible?

2012-04-17 Thread Taylor Niver
I asked a question yesterday but didn't get much guidance (at least not enough to get me where I need to be), so I figured it would be best to even know if exactly what I want is possible. I currently have a code that opens the camera and displays it over 'Preview' onto a SurfaceView. I need to

[android-developers] Grabbing live video frames

2012-04-16 Thread Taylor Niver
Setup: I am working on an app that I will be using for a 'cloud' based robotics platform. I will be using my phone as a camera on the robot and need to use live frames from the camera's video to do some image processing (which is done on the computer over Bluetooth). Problem: I can't figure out

[android-developers] Re: Grabbing live video frames

2012-04-16 Thread Taylor Niver
over Bluetooth? There's your first non-starter.  Time to rethink your requirements. Other than that - you need to invest time in reading the existing documentation. On Monday, April 16, 2012 10:33:28 PM UTC-4, Taylor Niver wrote: Setup: I am working on an app that I will be using

[android-developers] Not toasting the suspected string value

2011-12-19 Thread Taylor Niver
I'm new to android development and am trying to start learning the basics by decoding a RSS feed. I want to store the appropriate info (title, link, etc) into the appropriate corresponding strings. I have the below, which will search for anything that starts with t (for title), and store the

[android-developers] Re: Not toasting the suspected string value

2011-12-19 Thread Taylor Niver
wrote: Are you new to development in general?  If not, I am sure you have debugged code before, so do that. On Dec 19, 3:23 pm, Taylor Niver tniver1...@gmail.com wrote: I'm new to android development and am trying to start learning the basics by decoding a RSS feed. I want to store