• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Does emulator support video recording(camera input)?

 
Greenhorn
Posts: 3
Android Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.




 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks it was helpful
reply
    Bookmark Topic Watch Topic
  • New Topic