• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Does emulator support video recording(camera input)?

 
Jeevitha Jay
Greenhorn
Posts: 3
Android Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am trying to record a video from Android. I am currently developing it in Eclipse and would like to know if I can test the camera input by accessing my Laptop's web camera instead of device camera. I tried to run the camerapreview of APIDEmos sample applications and other few sample application and it just shows a blank screen.

Jeevi
 
Peter Johnson
author
Bartender
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jeevitha, welcome to Java Ranch!

From the reading that I have done, the emulators do not support the camera (nor do they support some of the other hardware devices that are on physical phones, such as accelerometer, thermometer, etc.). So to test apps that need such hardware, you will need a physical device.
 
Jeevitha Jay
Greenhorn
Posts: 3
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Peter,

Thanks for the information.

I have just found the following link descrribing how to get a live camera preview in emulator. It explains a indirect way of getting camera input through JMS from a Java program and then accessing it via socket connection from Android program.

http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html

The above will be useful only to have a camera preview, but I need to record the camera input video and would need a physical device for testing.




 
Olga Flasza
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks it was helpful
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic