Me to Struck at This Android Emulator-Camera stuff :(

can Somone please give more details

"CameraSource cs = new SocketCamera("192.168.0.100", 9889, 320, 240,
true);
if (!cs.open()) { /* deal with failure to obtain camera */ }
while(/*some condition*/) {
  cs.capture(canvas) //capture the frame onto the canvas
}
cs.close(); "

Where should we put these code?


On Sep 29, 9:02 am, shobhit kasliwal <[email protected]>
wrote:
> I tried these wrapper classes...but no luck...can you tell me how can I do
> that......can you help me on this....
>
> Thanks
> Shobhit
>
> On Mon, Sep 28, 2009 at 10:22 PM, Chi Kit Leung 
> <[email protected]>wrote:
>
>
>
>
>
> >http://www.tomgibara.com/android/camera-source
>
> > Would this one be helpful?
>
> > On Tue, Sep 29, 2009 at 12:53 AM, Shobhit Kasliwal <
> > [email protected]> wrote:
>
> >> Hi
>
> >> Can anyone tell me how can I use  my computers webcam as camera in
> >> android emulator.
> >> Tutorial would be a great help for me.
>
> >> Thanks,
> >> Shobhit Kasliwal
>
> >> --
> >> Regards,
> >> Michael Leung
> >>http://www.itblogs.info
> >>http://www.michaelleung.info
>
> --
> Shobhit Kasliwal
> Application Developer Intern
> Liventus Designs
> 3400 Dundee Rd Northbrook IL 60062
> [email protected]
> office: 847-291-1395 ext. 192
> Cell: (309) 826 4709
>
> Samuel 
> Goldwyn<http://www.brainyquote.com/quotes/authors/s/samuel_goldwyn.html>
> - "I'm willing to admit that I may not always be right, but I am never
> wrong."
--~--~---------~--~----~------------~-------~--~----~
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