Can we make able the iphone simulator to capture an image via webcam, I've written a program to take image from iphone camera. Can i test this with the iphone simulator??? Pls help
You cannot take image via Mac's webcam from iPhone Simulator. For camera, you need to test it on a device.
Imagine if this would be possible on the Simulator, your Mac camera resoultion would be very different from the device one and your mac performances too. This could lead to bad surprises when moving and testing the application on the device.
(Sorry for my english)
In android world, the phone emulator don't have a live camera preview so the solution is create a "Webcam Server" running on emulator host (PC/Mac). This program is a socket server to capture frames from the built-in Webcam and transmit them using a socket.
Then in the phone code (android emulator) you can read the frame through socket and then shows and simulate a real phone camera.
Is that posible in iPhone simulator?
You cannot use mac's camera. For camera, you need to test it on a device.
From Apple documentation:
The hardware features that are not simulated as of iOS 8.2 are:
Motion support (accelerometer and gyroscope) are unsupported.
Audio and video input (camera and microphone) are unsupported.
Proximity sensor
Barometer Ambient light sensor
Related
I want to record a video of my application which is running on my iPhone and use it for Replay. How can I do that?
I was searching for this and could't find any solution.
Your only options are:
1. Run the app in the simulator and use any screen capture tool for mac to record a video
2. Fix the iPhone on a pod/stand and record video of you app with another camera
If the app does not have any feature which is available only on the device i would avoid option no 2, because iPhone's glossy screen shows all kinds of reflections and the user's hand in the video is really annoying..
Well, if your phone is a 4S you can get a dongle from Apple that outputs the video as a HD stream. The dongle lets you plug in a HDMI cable, so you would need some way to capture that output.
Has anyone tried to streaming the camera feed of one iOS device to another device? So for example a iPhone camera feed to a iPad 1. I guess you could keep taking pictures and sending over Bluetooth but that would probably work very badly.
The ideal solution would be to stream video and location over to one device via wifi and be able to send data back.
Check out this project I hope this helps.
I found a cable which one can use to connect IPhone to TV to watch videos stored in IPhone on TV. I wonder can I use this cable in a way to stream data from other devices to iphone and write an iphone app to seek the stream to play audio/video in iphone?
The Cable.
I am not sure where to go to read about the behavior of this cable as how t works. A help would be appreciated.
No. You won't be able to do that due to API limitations.
The cable is a copy of the original "Apple Composite AV Cable":
http://store.apple.com/us/product/MC748ZM/A?mco=MTY3ODQ5OTY
The only thing you can do with the cable in addition to playing videos, is to show a UIView or your complete app on a TV. To clone your complete app you can use the TVOutManager:
https://github.com/robterrell/TVOutManager
I use the TVOutManager in my app and I am very happy with it :-)
I need to know if there is a way to connect the camera of iPhone to mac. My aim is like to create a spying camera where iPhone will act as the spying device and we will see the view from its camera on mac screen.
There is no API for this. The "answer" is to build a client and then capture the images on the iPhone screen and transmit them to the client server.
I want to write application on iPhone which will:
make some digital processing on video from iPhone camera (in real time)
send some graphics through TV-Out
Could You tell me if this above is possible on iPhone 3G or 3GS?
Can I have access to each pixel in video capturing via iPhone camera?
There are private access points to do both live video recording and TV out. They are not well documented so you won't find much about them though and you wouldn't be able to submit anything that uses them to the app store. Real time video capture will probably eventually become a public part of the SDK but TV is probably less likely at this point.