<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-3829154198643349543.post4658893790152539792..comments</id><updated>2012-02-05T23:50:26.972-08:00</updated><category term='TranslateAnimation'/><category term='Adobe'/><category term='Transitions'/><category term='Reflection'/><category term='User interface'/><category term='RenderScript'/><category term='Flash'/><category term='Live Preview'/><category term='3D'/><category term='Android emulator'/><category term='FrameLayout'/><category term='Camera'/><category term='AIR'/><category term='ViewFlipper'/><category term='graphics'/><category term='design'/><category term='XML'/><category term='Animations'/><category term='Android'/><category term='Interpolators'/><category term='Bitmaps'/><category term='Augmented Reality'/><category term='Coverflow'/><title type='text'>Comments on Interfuser: Live camera preview in the Android emulator</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.inter-fuser.com/feeds/4658893790152539792/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default'/><link rel='alternate' type='text/html' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default?start-index=26&amp;max-results=25'/><author><name>taf</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>33</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3829154198643349543.post-5404029421734298903</id><published>2012-02-05T18:24:39.596-08:00</published><updated>2012-02-05T18:24:39.596-08:00</updated><title type='text'>i tested on android 2.3 and works very well, thank...</title><content type='html'>i tested on android 2.3 and works very well, thanks man!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/5404029421734298903'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/5404029421734298903'/><link rel='alternate' type='text/html' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html?showComment=1328495079596#c5404029421734298903' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html' ref='tag:blogger.com,1999:blog-3829154198643349543.post-4658893790152539792' source='http://www.blogger.com/feeds/3829154198643349543/posts/default/4658893790152539792' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1202511162'/></entry><entry><id>tag:blogger.com,1999:blog-3829154198643349543.post-4098458740736815329</id><published>2011-08-18T05:17:34.906-07:00</published><updated>2011-08-18T05:17:34.906-07:00</updated><title type='text'>First thanxs 4 ur great work changing Tomgibara&amp;#3...</title><content type='html'>First thanxs 4 ur great work changing Tomgibara&amp;#39;s code. I have tried to execute both, Webcambroadcaster and SocketCamera. I don&amp;#39;t know if it&amp;#39;s correct, my webcambroadcaster shows like someone&amp;#39;s above:&lt;br /&gt;&lt;br /&gt;RGB Format Found&lt;br /&gt;Starting the player&lt;br /&gt;Grabbing frames&lt;br /&gt;&lt;br /&gt;And my socketcamera still shows that chess picture in instead of my webcam. What am I doing wrong? I noticed indeed Webcambroadcaster stops on:&lt;br /&gt;&lt;br /&gt;socket = ss.accept();&lt;br /&gt;&lt;br /&gt;I also create an entry on firewall 4 port 9889.&lt;br /&gt;&lt;br /&gt;Thanxs in advance.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/4098458740736815329'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/4098458740736815329'/><link rel='alternate' type='text/html' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html?showComment=1313669854906#c4098458740736815329' title=''/><author><name>Toddy</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html' ref='tag:blogger.com,1999:blog-3829154198643349543.post-4658893790152539792' source='http://www.blogger.com/feeds/3829154198643349543/posts/default/4658893790152539792' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1738028198'/></entry><entry><id>tag:blogger.com,1999:blog-3829154198643349543.post-4295229504479853372</id><published>2011-07-08T00:03:29.824-07:00</published><updated>2011-07-08T00:03:29.824-07:00</updated><title type='text'>Hi ,
This is Roy.Your Sensor simulator app is very...</title><content type='html'>Hi ,&lt;br /&gt;This is Roy.Your Sensor simulator app is very nice,am very impresed on that.I try to create android mobile captured video stream to server using RTSP/RTP.I am a android fresher please can u guide me.&lt;br /&gt;Mail ID== roy8086@gmail.com&lt;br /&gt;All ideas are welcome&lt;br /&gt;Thanks&lt;br /&gt;Roy</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/4295229504479853372'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/4295229504479853372'/><link rel='alternate' type='text/html' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html?showComment=1310108609824#c4295229504479853372' title=''/><author><name>Roy</name><uri>http://www.blogger.com/profile/13147919235594169482</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='15884040415653327440'/><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html' ref='tag:blogger.com,1999:blog-3829154198643349543.post-4658893790152539792' source='http://www.blogger.com/feeds/3829154198643349543/posts/default/4658893790152539792' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2096560515'/></entry><entry><id>tag:blogger.com,1999:blog-3829154198643349543.post-792477121541311071</id><published>2011-05-19T05:13:44.986-07:00</published><updated>2011-05-19T05:13:44.986-07:00</updated><title type='text'>Olá amigo, 
na classe CameraPreview da um erro no ...</title><content type='html'>Olá amigo, &lt;br /&gt;na classe CameraPreview da um erro no getChildCount e getChildAt do metodo onLayout. pode me ajudar?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/792477121541311071'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/792477121541311071'/><link rel='alternate' type='text/html' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html?showComment=1305807224986#c792477121541311071' title=''/><author><name>Talles</name><uri>http://www.blogger.com/profile/15200878064095480615</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html' ref='tag:blogger.com,1999:blog-3829154198643349543.post-4658893790152539792' source='http://www.blogger.com/feeds/3829154198643349543/posts/default/4658893790152539792' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-248116850'/></entry><entry><id>tag:blogger.com,1999:blog-3829154198643349543.post-3830578497359169883</id><published>2011-05-17T06:08:03.170-07:00</published><updated>2011-05-17T06:08:03.170-07:00</updated><title type='text'>guy, I get error: java.io.IOException: Could not c...</title><content type='html'>guy, I get error: java.io.IOException: Could not connect to capture device&lt;br /&gt;not connecting in WebcamBroadcaster&lt;br /&gt;&lt;br /&gt;if you can help me</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/3830578497359169883'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/3830578497359169883'/><link rel='alternate' type='text/html' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html?showComment=1305637683170#c3830578497359169883' title=''/><author><name>Talles</name><uri>http://www.blogger.com/profile/15200878064095480615</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html' ref='tag:blogger.com,1999:blog-3829154198643349543.post-4658893790152539792' source='http://www.blogger.com/feeds/3829154198643349543/posts/default/4658893790152539792' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-248116850'/></entry><entry><id>tag:blogger.com,1999:blog-3829154198643349543.post-3985453805399936789</id><published>2011-04-30T17:18:20.101-07:00</published><updated>2011-04-30T17:18:20.101-07:00</updated><title type='text'>Hello friends....Can anyone please post all the ja...</title><content type='html'>Hello friends....Can anyone please post all the java files that are required for using webcam in android emulator?...Also, please provide some step-by-step instructions as to which file should go where....I am working on a Barcode Scanner project and I am not able to get the emulator camera work, so any help is greatly appreciated and how can i get the port number pleas any one reply</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/3985453805399936789'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/3985453805399936789'/><link rel='alternate' type='text/html' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html?showComment=1304209100101#c3985453805399936789' title=''/><author><name>android</name><uri>http://www.blogger.com/profile/08767455503547395566</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html' ref='tag:blogger.com,1999:blog-3829154198643349543.post-4658893790152539792' source='http://www.blogger.com/feeds/3829154198643349543/posts/default/4658893790152539792' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-859892584'/></entry><entry><id>tag:blogger.com,1999:blog-3829154198643349543.post-5072479921734449780</id><published>2011-04-04T12:03:52.386-07:00</published><updated>2011-04-04T12:03:52.386-07:00</updated><title type='text'>can anyone post the original CameraPreview class?I...</title><content type='html'>can anyone post the original CameraPreview class?It seems a lot of the functions have been deprecated...........or what r the changes needed in the new file?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/5072479921734449780'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/5072479921734449780'/><link rel='alternate' type='text/html' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html?showComment=1301943832386#c5072479921734449780' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html' ref='tag:blogger.com,1999:blog-3829154198643349543.post-4658893790152539792' source='http://www.blogger.com/feeds/3829154198643349543/posts/default/4658893790152539792' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-842041613'/></entry><entry><id>tag:blogger.com,1999:blog-3829154198643349543.post-722270194130823989</id><published>2011-01-24T21:56:21.665-08:00</published><updated>2011-01-24T21:56:21.665-08:00</updated><title type='text'>Hello friends....Can anyone please post all the ja...</title><content type='html'>Hello friends....Can anyone please post all the java files that are required for using webcam in android emulator?...Also, please provide some step-by-step instructions as to which file should go where....I am working on a Barcode Scanner project and I am not able to get the emulator camera work, so any help is greatly appreciated......I tried some of the steps here and also from Tomgibara&amp;#39;s site...but I am not able to understand which files should go where and what code i should include in my Activity.......Also, i am having trouble with the webcambroadcaster file, which keeps giving me errors, so is many other files.  I followed the steps mentioned below, but i have so many errors when i include the files in my project......http://stackoverflow.com/questions/1276450/how-to-use-web-camera-in-android-emulator-to-capture-a-live-image.&lt;br /&gt;&lt;br /&gt;Please also mention the sdk and jdk versions to use in order to run these files...&lt;br /&gt;&lt;br /&gt;Thanks in advance and please try to reply early.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/722270194130823989'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/722270194130823989'/><link rel='alternate' type='text/html' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html?showComment=1295934981665#c722270194130823989' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html' ref='tag:blogger.com,1999:blog-3829154198643349543.post-4658893790152539792' source='http://www.blogger.com/feeds/3829154198643349543/posts/default/4658893790152539792' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-506302481'/></entry><entry><id>tag:blogger.com,1999:blog-3829154198643349543.post-4628724008332914212</id><published>2011-01-14T10:12:15.388-08:00</published><updated>2011-01-14T10:12:15.388-08:00</updated><title type='text'>Hi,
I try this code and run wonderfully, thanks.
N...</title><content type='html'>Hi,&lt;br /&gt;I try this code and run wonderfully, thanks.&lt;br /&gt;Now, I&amp;#39;d like to create some shape over the camera view.&lt;br /&gt;Can anyone help me?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/4628724008332914212'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/4628724008332914212'/><link rel='alternate' type='text/html' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html?showComment=1295028735388#c4628724008332914212' title=''/><author><name>Francesca</name><uri>http://www.blogger.com/profile/12104250074865613925</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_FGGQsHiGdNM/S1WO14xOMVI/AAAAAAAAABU/3rttFTMOCQw/S220/mypictr_48x48.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html' ref='tag:blogger.com,1999:blog-3829154198643349543.post-4658893790152539792' source='http://www.blogger.com/feeds/3829154198643349543/posts/default/4658893790152539792' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-521717128'/></entry><entry><id>tag:blogger.com,1999:blog-3829154198643349543.post-6782540791894677601</id><published>2011-01-11T19:02:45.233-08:00</published><updated>2011-01-11T19:02:45.233-08:00</updated><title type='text'>hi, i don&amp;#39;t know what&amp;#39;s wrong but I was ha...</title><content type='html'>hi, i don&amp;#39;t know what&amp;#39;s wrong but I was having hard time getting the emulator detect the camera.&lt;br /&gt;I checked the JMStudio and it worked well, I also checked and configured the environment variable classpath and path but still not working.&lt;br /&gt;&lt;br /&gt;what could be the cause of this problem?&lt;br /&gt;any help please, thanks. got stocked on this</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/6782540791894677601'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/6782540791894677601'/><link rel='alternate' type='text/html' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html?showComment=1294801365233#c6782540791894677601' title=''/><author><name>jcwynford</name><uri>http://jcwynford.wordpress.com/</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/openid16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html' ref='tag:blogger.com,1999:blog-3829154198643349543.post-4658893790152539792' source='http://www.blogger.com/feeds/3829154198643349543/posts/default/4658893790152539792' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2018199293'/></entry><entry><id>tag:blogger.com,1999:blog-3829154198643349543.post-6552957543808166991</id><published>2010-11-29T06:50:58.957-08:00</published><updated>2010-11-29T06:50:58.957-08:00</updated><title type='text'>Hi,
I tried to make this code to work but I don&amp;#3...</title><content type='html'>Hi,&lt;br /&gt;I tried to make this code to work but I don&amp;#39;t see the code of Activity to launch the screen so please can you help me&lt;br /&gt;thanks</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/6552957543808166991'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/6552957543808166991'/><link rel='alternate' type='text/html' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html?showComment=1291042258957#c6552957543808166991' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html' ref='tag:blogger.com,1999:blog-3829154198643349543.post-4658893790152539792' source='http://www.blogger.com/feeds/3829154198643349543/posts/default/4658893790152539792' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-877525837'/></entry><entry><id>tag:blogger.com,1999:blog-3829154198643349543.post-2394086224126745644</id><published>2010-11-29T06:29:46.036-08:00</published><updated>2010-11-29T06:29:46.036-08:00</updated><title type='text'>Hi!

I use ubuntu 10.10 and a Logitech Quickcam Ex...</title><content type='html'>Hi!&lt;br /&gt;&lt;br /&gt;I use ubuntu 10.10 and a Logitech Quickcam Express. The code is working fine. I just do not get a picture from the camera. I only get black with white noise. It&amp;#39;s the same in JM studio. I guess this is a problem with my cam driver, or am i wrong???&lt;br /&gt;&lt;br /&gt;Ubuntu 10.10 provides a driver, so i used it. Do i have to install an extra driver, or is it another problem.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/2394086224126745644'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/2394086224126745644'/><link rel='alternate' type='text/html' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html?showComment=1291040986036#c2394086224126745644' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html' ref='tag:blogger.com,1999:blog-3829154198643349543.post-4658893790152539792' source='http://www.blogger.com/feeds/3829154198643349543/posts/default/4658893790152539792' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-289864347'/></entry><entry><id>tag:blogger.com,1999:blog-3829154198643349543.post-922173679664268639</id><published>2010-11-27T09:17:54.213-08:00</published><updated>2010-11-27T09:17:54.213-08:00</updated><title type='text'>Hi,
I used the same code but it doesn&amp;#39;t work f...</title><content type='html'>Hi,&lt;br /&gt;I used the same code but it doesn&amp;#39;t work for me.&lt;br /&gt;the question that I want to ask is:&lt;br /&gt;what is the version of sdk that you used to make it run and also the level&lt;br /&gt;thanks</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/922173679664268639'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/922173679664268639'/><link rel='alternate' type='text/html' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html?showComment=1290878274213#c922173679664268639' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html' ref='tag:blogger.com,1999:blog-3829154198643349543.post-4658893790152539792' source='http://www.blogger.com/feeds/3829154198643349543/posts/default/4658893790152539792' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-651553003'/></entry><entry><id>tag:blogger.com,1999:blog-3829154198643349543.post-1802078797812661426</id><published>2010-11-14T11:56:16.369-08:00</published><updated>2010-11-14T11:56:16.369-08:00</updated><title type='text'>Anonymous has left a new comment on your post &amp;quo...</title><content type='html'>Anonymous has left a new comment on your post &amp;quot;Live camera preview in the Android emulator&amp;quot;: &lt;br /&gt;&lt;br /&gt;Hello Neil,thanks a lot for this post....i got it working with a Frontech webcam on XP.&lt;br /&gt;For the benefit of the readers,apart from the changes that u hv mentioned above,the following should be entered in the manifest file:&lt;br /&gt;&lt;br /&gt;uses-permission android:name=&amp;quot;android.permission.CAMERA&amp;quot; &lt;br /&gt;uses-permission android:name=&amp;quot;android.permission.INTERNET&amp;quot;&lt;br /&gt;&lt;br /&gt;The first one is reqd when we are doing Camera.open() and the next one for the socket connection.&lt;br /&gt;I had another problem in teh manifest file,that being a mismatch between the activity name,which should be CameraPreview if we are directly using your source files.&lt;br /&gt;Thanks again...&lt;br /&gt;Biswajit Goswami</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/1802078797812661426'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/1802078797812661426'/><link rel='alternate' type='text/html' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html?showComment=1289764576369#c1802078797812661426' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html' ref='tag:blogger.com,1999:blog-3829154198643349543.post-4658893790152539792' source='http://www.blogger.com/feeds/3829154198643349543/posts/default/4658893790152539792' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1473222751'/></entry><entry><id>tag:blogger.com,1999:blog-3829154198643349543.post-3732809413231313068</id><published>2010-11-14T11:48:59.746-08:00</published><updated>2010-11-14T11:48:59.746-08:00</updated><title type='text'>Harry:
1.broadcaster is fine(on port 9889)
2.no
3....</title><content type='html'>Harry:&lt;br /&gt;1.broadcaster is fine(on port 9889)&lt;br /&gt;2.no&lt;br /&gt;3.i just did ipconfig and set the address(192.168.xx.xx) in socketcamera.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/3732809413231313068'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/3732809413231313068'/><link rel='alternate' type='text/html' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html?showComment=1289764139746#c3732809413231313068' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html' ref='tag:blogger.com,1999:blog-3829154198643349543.post-4658893790152539792' source='http://www.blogger.com/feeds/3829154198643349543/posts/default/4658893790152539792' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1899227090'/></entry><entry><id>tag:blogger.com,1999:blog-3829154198643349543.post-7115557893425541362</id><published>2010-11-03T22:13:36.671-07:00</published><updated>2010-11-03T22:13:36.671-07:00</updated><title type='text'>hi,
i can run the code successfully with any error...</title><content type='html'>hi,&lt;br /&gt;i can run the code successfully with any error,&lt;br /&gt;however, the webcam image can&amp;#39;t be shown in the emulator. 3 question i would like to ask:&lt;br /&gt;&lt;br /&gt;1. how can i ensure the broadcaster is running successfully? i compile it and it shows the following:&lt;br /&gt;RGB Format Found&lt;br /&gt;Starting the player&lt;br /&gt;Grabbing frames&lt;br /&gt;&lt;br /&gt;2. do i need to run the JMStudio before i execute the broadcastor?&lt;br /&gt;&lt;br /&gt;3. what IP address in the SocketCamera? i tried 10.0.0.2 (my computer&amp;#39;s IP), 10.0.2.2 and 127.0.0.1, all don&amp;#39;t work.&lt;br /&gt;&lt;br /&gt;anyone can help? thanks!!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/7115557893425541362'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/7115557893425541362'/><link rel='alternate' type='text/html' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html?showComment=1288847616671#c7115557893425541362' title=''/><author><name>harry</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html' ref='tag:blogger.com,1999:blog-3829154198643349543.post-4658893790152539792' source='http://www.blogger.com/feeds/3829154198643349543/posts/default/4658893790152539792' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-903023334'/></entry><entry><id>tag:blogger.com,1999:blog-3829154198643349543.post-3899723488171365017</id><published>2010-10-28T14:13:01.511-07:00</published><updated>2010-10-28T14:13:01.511-07:00</updated><title type='text'>can you post a link to zip project please ?

thanx...</title><content type='html'>can you post a link to zip project please ?&lt;br /&gt;&lt;br /&gt;thanx</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/3899723488171365017'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/3899723488171365017'/><link rel='alternate' type='text/html' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html?showComment=1288300381511#c3899723488171365017' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html' ref='tag:blogger.com,1999:blog-3829154198643349543.post-4658893790152539792' source='http://www.blogger.com/feeds/3829154198643349543/posts/default/4658893790152539792' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1241707482'/></entry><entry><id>tag:blogger.com,1999:blog-3829154198643349543.post-9050316535094845913</id><published>2010-10-21T04:33:41.241-07:00</published><updated>2010-10-21T04:33:41.241-07:00</updated><title type='text'>hi,
very useful work,i&amp;#39;m working on a android ...</title><content type='html'>hi,&lt;br /&gt;very useful work,i&amp;#39;m working on a android application and i need to be able to use my laptop webcam to go one step forward in my project..but everytime i run your work i get an error:&lt;br /&gt; &lt;br /&gt;&amp;quot;The application ...(process ...)has stopped unexpectedly.Please try again.&amp;quot;&lt;br /&gt;&lt;br /&gt;Can anyone know how to get rid of this error, please someone help me,&lt;br /&gt;thanks in andvance</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/9050316535094845913'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/9050316535094845913'/><link rel='alternate' type='text/html' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html?showComment=1287660821241#c9050316535094845913' title=''/><author><name>eray</name><uri>http://www.blogger.com/profile/04504983207583423370</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html' ref='tag:blogger.com,1999:blog-3829154198643349543.post-4658893790152539792' source='http://www.blogger.com/feeds/3829154198643349543/posts/default/4658893790152539792' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1106943148'/></entry><entry><id>tag:blogger.com,1999:blog-3829154198643349543.post-5127503729539758563</id><published>2010-10-18T13:40:27.908-07:00</published><updated>2010-10-18T13:40:27.908-07:00</updated><title type='text'>hi,
exactly which of the files required, do i have...</title><content type='html'>hi,&lt;br /&gt;exactly which of the files required, do i have to add the all of others on the tom gibara&amp;#39;s page?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/5127503729539758563'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/5127503729539758563'/><link rel='alternate' type='text/html' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html?showComment=1287434427908#c5127503729539758563' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html' ref='tag:blogger.com,1999:blog-3829154198643349543.post-4658893790152539792' source='http://www.blogger.com/feeds/3829154198643349543/posts/default/4658893790152539792' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-201019342'/></entry><entry><id>tag:blogger.com,1999:blog-3829154198643349543.post-4212371683561442592</id><published>2010-10-10T05:50:46.074-07:00</published><updated>2010-10-10T05:50:46.074-07:00</updated><title type='text'>Thanks a lot, it works for me and it&amp;#39;s really ...</title><content type='html'>Thanks a lot, it works for me and it&amp;#39;s really useful.&lt;br /&gt;&lt;br /&gt;I have also written the methods takePicture for SocketCamera. They are on my blog, but it&amp;#39;s in italian, so if any english user is interested i paste methods here. (maybe not the best code but it works)&lt;br /&gt;&lt;br /&gt;// Prova per takePicture&lt;br /&gt;public final void takePicture(Camera.ShutterCallback shutter, Camera.PictureCallback raw, Camera.PictureCallback jpeg) {&lt;br /&gt;takePicture(shutter, raw, null, jpeg);&lt;br /&gt;}&lt;br /&gt;public final void takePicture(Camera.ShutterCallback shutter,&lt;br /&gt;Camera.PictureCallback raw, Camera.PictureCallback postview, Camera.PictureCallback jpeg) {&lt;br /&gt;stopPreview();&lt;br /&gt;&lt;br /&gt;try {&lt;br /&gt;Socket socket = null;&lt;br /&gt;try {&lt;br /&gt;socket = new Socket();&lt;br /&gt;socket.bind(null);&lt;br /&gt;socket.setSoTimeout(SOCKET_TIMEOUT);&lt;br /&gt;socket.connect(new InetSocketAddress(address, port), SOCKET_TIMEOUT);&lt;br /&gt;&lt;br /&gt;if (shutter != null) shutter.onShutter();&lt;br /&gt;&lt;br /&gt;// obtain the bitmap&lt;br /&gt;InputStream in = socket.getInputStream();&lt;br /&gt;Bitmap bitmap = BitmapFactory.decodeStream(in);&lt;br /&gt;ByteArrayOutputStream baos = new ByteArrayOutputStream();&lt;br /&gt;bitmap.compress(Bitmap.CompressFormat.PNG, 100, baos); //bm is the bitmap object&lt;br /&gt;byte[] b = baos.toByteArray();&lt;br /&gt;// Chiama la callback&lt;br /&gt;if (raw != null) raw.onPictureTaken(b, null);&lt;br /&gt;if (postview != null) postview.onPictureTaken(b, null);&lt;br /&gt;if (jpeg != null) jpeg.onPictureTaken(b, null);&lt;br /&gt;} catch (RuntimeException e) {&lt;br /&gt;e.printStackTrace();&lt;br /&gt;} catch (IOException e) {&lt;br /&gt;e.printStackTrace();&lt;br /&gt;} finally {&lt;br /&gt;try {&lt;br /&gt;socket.close();&lt;br /&gt;} catch (IOException e)&lt;br /&gt;/* ignore */&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;} catch (Exception e) {&lt;br /&gt;e.printStackTrace();&lt;br /&gt;} finally {&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;@Alejandro: i don&amp;#39;t have your problems running this code, but :&lt;br /&gt;1- If i remember right 127.0.0.1 it&amp;#39;s the loopback address of the emulator and if u want to connect to your Computer u must use the explicit ip addres of computer or 10.0.2.2 (see networking under android emulator on android sdk pages)&lt;br /&gt;2- IllegalAccesException point me to permissions of your Code, check the AndroidManifest if u have added permission for both CAMERA and INTERNET. &lt;br /&gt;Elsewhere i can&amp;#39;t help, sorry.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/4212371683561442592'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/4212371683561442592'/><link rel='alternate' type='text/html' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html?showComment=1286715046074#c4212371683561442592' title=''/><author><name>2e38</name><uri>http://www.blogger.com/profile/04979189202032881879</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html' ref='tag:blogger.com,1999:blog-3829154198643349543.post-4658893790152539792' source='http://www.blogger.com/feeds/3829154198643349543/posts/default/4658893790152539792' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1757027611'/></entry><entry><id>tag:blogger.com,1999:blog-3829154198643349543.post-8680222236166799396</id><published>2010-10-06T03:46:07.659-07:00</published><updated>2010-10-06T03:46:07.659-07:00</updated><title type='text'>Regards,

I am working with your code for the emul...</title><content type='html'>Regards,&lt;br /&gt;&lt;br /&gt;I am working with your code for the emulator to recognize the webcam on my computer and your camera to run applications from my computer as Layar. Working from the Eclipse IDE where I have an activity / application with your code and SurfaceWiew SocketCamera (which are 2 necessary as I understand).&lt;br /&gt;&lt;br /&gt;Emitted from JMF with my cam RGB to IP 127.0.0.1 port 8888 which is the IP I set in the program.&lt;br /&gt;&lt;br /&gt;Not what I&amp;#39;m doing wrong but when running the application gives me error: java.lang.RuntimeException and java.lang.IllegalAccesException.&lt;br /&gt;&lt;br /&gt;Anyone can help me? Thanks.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/8680222236166799396'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/8680222236166799396'/><link rel='alternate' type='text/html' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html?showComment=1286361967659#c8680222236166799396' title=''/><author><name>Alejandro</name><uri>http://www.blogger.com/profile/17110443758666278636</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html' ref='tag:blogger.com,1999:blog-3829154198643349543.post-4658893790152539792' source='http://www.blogger.com/feeds/3829154198643349543/posts/default/4658893790152539792' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1643588873'/></entry><entry><id>tag:blogger.com,1999:blog-3829154198643349543.post-8495677768535749695</id><published>2010-09-07T06:14:28.653-07:00</published><updated>2010-09-07T06:14:28.653-07:00</updated><title type='text'>Hi, this is a really great job, but the problem is...</title><content type='html'>Hi, this is a really great job, but the problem is that I don&amp;#39;t know how to make it run xD. &lt;br /&gt;Can you help me?? What&amp;#39;s the code I need to add to the onCreate Activity method??&lt;br /&gt;&lt;br /&gt;Thx.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/8495677768535749695'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/8495677768535749695'/><link rel='alternate' type='text/html' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html?showComment=1283865268653#c8495677768535749695' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html' ref='tag:blogger.com,1999:blog-3829154198643349543.post-4658893790152539792' source='http://www.blogger.com/feeds/3829154198643349543/posts/default/4658893790152539792' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1879738277'/></entry><entry><id>tag:blogger.com,1999:blog-3829154198643349543.post-7212997822982669211</id><published>2010-09-04T20:03:32.351-07:00</published><updated>2010-09-04T20:03:32.351-07:00</updated><title type='text'>Hi, this is awesome .
But I have a question, If I ...</title><content type='html'>Hi, this is awesome .&lt;br /&gt;But I have a question, If I want  change the webcam to another entity phone, How should i do it?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/7212997822982669211'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/7212997822982669211'/><link rel='alternate' type='text/html' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html?showComment=1283655812351#c7212997822982669211' title=''/><author><name>卡莫</name><uri>http://www.blogger.com/profile/09322024232278700599</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html' ref='tag:blogger.com,1999:blog-3829154198643349543.post-4658893790152539792' source='http://www.blogger.com/feeds/3829154198643349543/posts/default/4658893790152539792' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-915005754'/></entry><entry><id>tag:blogger.com,1999:blog-3829154198643349543.post-3558267496391552618</id><published>2010-08-08T10:01:57.821-07:00</published><updated>2010-08-08T10:01:57.821-07:00</updated><title type='text'>Don&amp;#39;t forget that for the emulator it is neces...</title><content type='html'>Don&amp;#39;t forget that for the emulator it is necessary to have a proper internet address. In this case, since you are using the emulator in the same computer where the camera is connected to, you have to use &amp;quot;10.0.2.2&amp;quot; as your address.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/3558267496391552618'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/3558267496391552618'/><link rel='alternate' type='text/html' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html?showComment=1281286917821#c3558267496391552618' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html' ref='tag:blogger.com,1999:blog-3829154198643349543.post-4658893790152539792' source='http://www.blogger.com/feeds/3829154198643349543/posts/default/4658893790152539792' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1063818997'/></entry><entry><id>tag:blogger.com,1999:blog-3829154198643349543.post-2131682829424876691</id><published>2010-07-21T23:25:19.903-07:00</published><updated>2010-07-21T23:25:19.903-07:00</updated><title type='text'>Hi Andy,

Had same problem of black screen but got...</title><content type='html'>Hi Andy,&lt;br /&gt;&lt;br /&gt;Had same problem of black screen but got it working.&lt;br /&gt;&lt;br /&gt;Check that:&lt;br /&gt;1)&lt;br /&gt;Your Preview Class has the following (original) methods&lt;br /&gt;    &lt;br /&gt;public void surfaceDestroyed(SurfaceHolder holder) {&lt;br /&gt;    mCamera.stopPreview();&lt;br /&gt;    mCamera = null;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) {&lt;br /&gt;    Camera.Parameters parameters = mCamera.getParameters();&lt;br /&gt;    parameters.setPreviewSize(w, h);&lt;br /&gt;    mCamera.setParameters(parameters);&lt;br /&gt;    mCamera.startPreview();&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;2) Your Manifest File contain CAMERA and INTERNET User permissions.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/2131682829424876691'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3829154198643349543/4658893790152539792/comments/default/2131682829424876691'/><link rel='alternate' type='text/html' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html?showComment=1279779919903#c2131682829424876691' title=''/><author><name>ugme</name><uri>http://www.blogger.com/profile/09492247535821743399</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html' ref='tag:blogger.com,1999:blog-3829154198643349543.post-4658893790152539792' source='http://www.blogger.com/feeds/3829154198643349543/posts/default/4658893790152539792' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-310746305'/></entry></feed>
