Thanks for the guidanc. I now have a live video working. But I can't make 
sense of how to use the PreviewCallback. It seems to never run when I 
debug. Does anybody know some example code on how to take the preview frame 
and store it to a variable? 

On Monday, April 16, 2012 11:58:45 PM UTC-4, 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. The second 
>> thread will then take that variable, XXX it, and send it over 
>> Bluetooth to my computer. I will then wait for the processed response, 
>> and react appropriately. Then re-grab the most recent image and re- 
>> loop. I have done android dev but never involving the camera. I feel 
>> like this project is very doable, I just need some guidance in 
>> grabbing video frames (it's a little different from MATLAB). 
>> On Apr 16, 11:40 pm, lbendlin <[email protected]> wrote: 
>> > live frames 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 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 how to open the video camera (and display 
>> > > the feed on the phone's screen). Once that's done I need to store 
>> each 
>> > > frame to a variable that I will then read in another thread. Does 
>> > > anybody have any easy-to-follow documentation on setting this up, I 
>> am 
>> > > new(ish) to java/android development so Google's documentation 
>> doesn't 
>> > > help me tons. 
>> > 
>> > > Thanks
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to