[android-developers] Re: Running camera android Emulator

2009-10-05 Thread Mohith K M

@shobhit,Thanks for Your reply;

I have tried it with "HttpCamera" with help of webcam2000;
 But no successes ;
Actually am begginer in Android programming,
I tried  like u mentioned(thread run from Activity Method), from
"NyARToolkitAndroid" (http://en.sourceforge.jp/projects/nyartoolkit/
downloads/31187/NyARToolkitAndroid-1.0.1.20080522.zip/)

Bt,That too didnt worked out :(
Anyone having Sample Code,can u please post it here :(


Mohith K M







On Oct 3, 8:40 pm, shobhit kasliwal 
wrote:
> Hi Mohithif you are done with all your networking stuff then
> put the code in a method and run a thread from the activity and call that
> method.
> Keep in mind that you need to create a surface and get holder from that and
> holder.lockcanvas()
> give you the canvas and then use that canvas in the camera.capture(canvas)
> method show your camera in emulator.
> Let me know if you get this or not.
>
> On Sat, Oct 3, 2009 at 6:54 AM, Mohith K M  wrote:
>
>
>
>
>
>
>
> > 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 
> > 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  > >wrote:
>
> > > >http://www.tomgibara.com/android/camera-source
>
> > > > Would this one be helpful?
>
> > > > On Tue, Sep 29, 2009 at 12:53 AM, Shobhit Kasliwal <
> > > > shobhit.kasli...@gmail.com> 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
> > > skasli...@liventus.com
> > > 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."
>
> --
> Shobhit Kasliwal
> Application Developer Intern
> Liventus Designs
> 3400 Dundee Rd Northbrook IL 60062
> skasli...@liventus.com
> office: 847-291-1395 ext. 192
> Cell: (309) 826 4709
>
> Ted Turner   -
> "Sports is like a war without the killing."
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Running camera android Emulator

2009-10-03 Thread shobhit kasliwal
Hi Mohithif you are done with all your networking stuff then
put the code in a method and run a thread from the activity and call that
method.
Keep in mind that you need to create a surface and get holder from that and
holder.lockcanvas()
give you the canvas and then use that canvas in the camera.capture(canvas)
method show your camera in emulator.
Let me know if you get this or not.



On Sat, Oct 3, 2009 at 6:54 AM, Mohith K M  wrote:

>
> 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 
> 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  >wrote:
> >
> >
> >
> >
> >
> > >http://www.tomgibara.com/android/camera-source
> >
> > > Would this one be helpful?
> >
> > > On Tue, Sep 29, 2009 at 12:53 AM, Shobhit Kasliwal <
> > > shobhit.kasli...@gmail.com> 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
> > skasli...@liventus.com
> > 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."
> >
>


-- 
Shobhit Kasliwal
Application Developer Intern
Liventus Designs
3400 Dundee Rd Northbrook IL 60062
skasli...@liventus.com
office: 847-291-1395 ext. 192
Cell: (309) 826 4709

Ted Turner   -
"Sports is like a war without the killing."

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



[android-developers] Re: Running camera android Emulator

2009-10-03 Thread Mohith K M

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 
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 
> wrote:
>
>
>
>
>
> >http://www.tomgibara.com/android/camera-source
>
> > Would this one be helpful?
>
> > On Tue, Sep 29, 2009 at 12:53 AM, Shobhit Kasliwal <
> > shobhit.kasli...@gmail.com> 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
> skasli...@liventus.com
> office: 847-291-1395 ext. 192
> Cell: (309) 826 4709
>
> Samuel 
> Goldwyn
> - "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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Running camera android Emulator

2009-09-28 Thread shobhit kasliwal
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 wrote:

> http://www.tomgibara.com/android/camera-source
>
> Would this one be helpful?
>
> On Tue, Sep 29, 2009 at 12:53 AM, Shobhit Kasliwal <
> shobhit.kasli...@gmail.com> 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
skasli...@liventus.com
office: 847-291-1395 ext. 192
Cell: (309) 826 4709

Samuel Goldwyn
- "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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Running camera android Emulator

2009-09-28 Thread Chi Kit Leung
http://www.tomgibara.com/android/camera-source

Would this one be helpful?

On Tue, Sep 29, 2009 at 12:53 AM, Shobhit Kasliwal <
shobhit.kasli...@gmail.com> 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

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