[GUIDE] Use phone as PC webcam - Android General

Hi,
I was wondering if I could use my android phone as a PC webcam. It has been asked many times and there are solutions. But I found an alternative way to do it.
The goal was not to install anything on the PC. But that was impossible.
What you need:
- an app that does IP webcam (like https://market.android.com/details?id=com.pas.webcam)
- a PC driver that can convert IP Camera to local webcam (IPCameraDS.exe)
- and a batch script that redirects ports 8080 and 8081 to your PC (localhost or 127.0.0.1)
Code:
adb -d forward tcp:8080 tcp:8080
adb -d forward tcp:8081 tcp:8081
- adb.exe and drivers for your phone (don't forget to turn on "USB error tracking" on your phone for adb)
On your phone start the IP webcam app ("Start server")
On your PC start the cmd/batch file that redirects the ports 8080/8081.
Now you need to configure the IP Camera driver on your pc.
Start the PC program you want to use the camera with (Skype/Messenger).
Find the menu to select a camera. Select "IP Camera [JPEG/MJPEG]" and then click "Device Settings"
Select "Raw URL mode" and type "http://127.0.0.1:8080/videofeed". Then select "MJPEG mode". Now click Save and OK (don't forget to Save first!!!)
You should now have a picture of your phones camera on your PC.
Cheers

how do i make the script

With notepad? It is for on the PC and uses adb to link the ports from the phone to the PC. And save it as for example ipcam_ports.cmd
Cheers

Same for any others camera applications?
Thanks for the info, tweakradje.
Is it possible to use a similar trick for accesing the webcam using another Windows programs? For example MSPaint, or the embedded Wizard for Cameras. I have not found a way .

THANKS!!

Thank you! That driver didn't work for me on Win10 but I found this instead: http://alax.info
Hopefully no one will be traumatized by awakening this old thread

Not at all. Just surprised that it is still found. Happy cam-ing

tweakradje said:
Not at all. Just surprised that it is still found. Happy cam-ing
Click to expand...
Click to collapse
Ah there you are
Do you know if such a filter virtual driver thing can also support audio?
The IP Cam app shows the option for sending audio also, but that did not seem to work when I was testing earlier.
I tried searching for this, but it's a difficult one to find, if there is anything to find that is.

Thanks!!

Hello friends,
I am trying to connect my mobile phone as a web camera but I can not connect correctly. I downloaded an application called Droidcam but it is not compatible with my PC. I followed the steps you have written here but I can not connect my camera as a webcam on the computer either.
Can someone give me another advice?

Related

Use HD2 as a remote camera

Hi!
I've been searching over the webs for a program that uses my phone as a camera and sends the images over the internet to a computer. The only programs I can find are programs that let you use your phone as a webcam. I don't want that.
So what I mean is:
If I'm out in the field and I see something cool, I can just turn on this program and whoever is on the computer at home at the time can see what I see. Much like skype, only one end has a phone instead of a computer.
--> A program that lets me use my phone-cam on phone-msn would be great too
So do you know any programs?
Thanks in advance
pietme said:
Hi!
I've been searching over the webs for a program that uses my phone as a camera and sends the images over the internet to a computer. The only programs I can find are programs that let you use your phone as a webcam. I don't want that.
So what I mean is:
If I'm out in the field and I see something cool, I can just turn on this program and whoever is on the computer at home at the time can see what I see. Much like skype, only one end has a phone instead of a computer.
--> A program that lets me use my phone-cam on phone-msn would be great too
So do you know any programs?
Thanks in advance
Click to expand...
Click to collapse
Use webcamera plus, does wonders, it cannot connect to your computer outside your house, but however, you can use a computer upstairs, and set the camera on lan downstairs, and then set on the computer the webcamera plus program as your camera in msn.
hope I helped
What about FLICKR or FACEBOOK?
plz could u make a tutorial than on how to instal the webcamera plus to ur phone bcuz i can only instal it on my computer and not on my htc hd2
Might want to check into this:
www.bambuser.com ...which I know for sure works with the HD2 because I use it.
There is also this:
http://www.ateksoft.com/webcamplus.html
...I've used it before but haven't tried it with the HD2 yet.

Any linux (ubuntu) users with success?

Hi again guys!
Ever since the ATT update usb connecting to the phone in ubuntu is sporadic and unreliable. I can usually get my photos off of it. Sometime I can even get into a non-root basic filesystem as well
However this isn't my main problem. I want to root the phone and install custom ROM's etc... Tried the VMware and a version of windows and installed the samsung drivers to XP but have trouble (again) with the usb and VMware.
Any help would be appreciated.
Additionally I'm pretty pissed off about the update thing. I don't care about tethering per se but that underhanded **** is why I dumped microsoft in the first place. I'll dump ATT too and spend my money elsewhere.
maskvp said:
Hi again guys!
Ever since the ATT update usb connecting to the phone in ubuntu is sporadic and unreliable. I can usually get my photos off of it. Sometime I can even get into a non-root basic filesystem as well
However this isn't my main problem. I want to root the phone and install custom ROM's etc... Tried the VMware and a version of windows and installed the samsung drivers to XP but have trouble (again) with the usb and VMware.
Any help would be appreciated.
Additionally I'm pretty pissed off about the update thing. I don't care about tethering per se but that underhanded **** is why I dumped microsoft in the first place. I'll dump ATT too and spend my money elsewhere.
Click to expand...
Click to collapse
Linux user here. I haven't had the problems you describe. I have lately been using ES File Explorer to copy to and from a shared folder on my desktop. avoiding the USB for file transfers all together. when I do connect via USB I usually use ' adb push' and 'adb pull' to move files around.
To Root your phone there is an 'update.zip' method that I used (no computer needed)
There is also a tool called ClockworkMod Recovery that you can use to install custom rom's and create nandroid backups. (no computer needed)
And finally if you manage to screw up and can not boot, you can use Heimdall on linux like you would use Odin on Windows.
enjoy your phone...
-p
Thank-you so much!!!
I was thinking about exactly what you wrote. Why not do it the linux way? Admittedly my skills are weak.
Had a little trouble with the update.zip but went to the wiki (again) and the info on how to do it from the phone was there. BTW the wiki has improved since last week.
Rooted phone and installed Titanium Backup and Clockwork Recovery. In my excitement I deleted all the ATT bloatware before backing them up and the ROM. Oh well... Too bad.
Now I just feel great about my phone. Needs some customization but no hurry. Only thing was that TB prompted me to go to settings/applications/ and tick "unknown sources". Doesn't exist.
Thanks again! If you have anymore nuggets of info...?
linux newb here but i try
edit:
the phone can mount to a vm in dowload mode for use with odin or in kies mtp mode as long as debugging is off, otherwise it likes to mount to the host pc as a drive, i dont know a work around but you can make the phone a shared folder with the vm client so you can see the files in the vm, it'll be seen as a network location in that case.
it can mount as a drive in linux but you need to select to mount from the phone. i was having problems with it in eclair in windows and didnt try it in linux but froyo is working great. in eclair it may help to try with debugging on then you can mount from the notification bar.
maskvp said:
Rooted phone and installed Titanium Backup and Clockwork Recovery. In my excitement I deleted all the ATT bloatware before backing them up and the ROM. Oh well... Too bad.
Click to expand...
Click to collapse
I did that also...
maskvp said:
Now I just feel great about my phone. Needs some customization but no hurry. Only thing was that TB prompted me to go to settings/applications/ and tick "unknown sources". Doesn't exist.
Click to expand...
Click to collapse
To enable side loading(unknown sources). I used method 5 from this post.
http://forum.xda-developers.com/showthread.php?t=738376
and here is a link to my comments on the method later in the thread regarding some punctuation corrections.
This method uses adb from the SDK to pull the settings.db file off and edit it using sqlite3 before pushing it back on.
I believe you can edit the file directly on your phone once you have root and install a terminal app from the marketplace.
The above forum post is also in the wiki you referenced previously. basically you want to look for methods to "enable side loading"
-p
I'm using Ubuntu and have had no problems. Rooted and removed market restrictions without a hitch.
In progress upgrading to 10.10 64bit. Will see, but right now my machine sees my phone but it won't mount. Though I haven't tried to force it.
maskvp said:
In progress upgrading to 10.10 64bit. Will see, but right now my machine sees my phone but it won't mount. Though I haven't tried to force it.
Click to expand...
Click to collapse
On the phone I leave my usb settings set to ask on connection. And then chose 'mass storage' when it asks. It then mounts /sdcard as an external drive. (make sure you haven't left usb debuging on)
pietro_spina said:
On the phone I leave my usb settings set to ask on connection. And then chose 'mass storage' when it asks. It then mounts /sdcard as an external drive. (make sure you haven't left usb debuging on)
Click to expand...
Click to collapse
Oh I've tried it all-wichaways! That hasn't worked either. The card(s) are seen but no longer mount like they used to. When I choose media player I get this message on the phone: PC connection only available in idle screen. Close all running applications. I think something may be corrupted on the phone.
Before I start flashing anything I'm going to give 10.10 a go. Ubuntu specifies that 10.10 plays nice with Android. Unfortunately, I'm having trouble with my startup disks and have wasted three of them on three different downloads. Won't fully boot. Unfortunately, I've had this experience before with other releases, and it almost always was something being wrong with the .iso that was downloaded. Even tried a usb startup and same experience.
Woes. PITA!
maskvp said:
I've had this experience before with other releases, and it almost always was something being wrong with the .iso that was downloaded. Even tried a usb startup and same experience.
Woes. PITA!
Click to expand...
Click to collapse
Make sure you burn your disks at a slow speed. Like 4x. Also try downloading over a stable wired connection. Use the md5 tool to check your download and your burn. If you can figure out when it is getting corrupt you have a fighting chance.
Reporting back. Finally got 10.10 to boot from a usb flashdrive by disabling the BootParameters. I guess 10.10 is so cutting edge my 2.5 yo toshiba can't boot it easily.
Reinstalled 10.04 without a hitch and since I didn't format my /home still kept everything. But I tried connecting by usb before any updates. No worky. And not after the 256M of updates either.
It's the phone I'm sure. Not really keen on flashing the ROM yet just to fix this. Recollection is that Samsung didn't put a good effort into this part of the phone. But I think again..
Why not eschew the usb for file transfers? I've got Bluetooth and wifi right here. Who needs clunky old usb? Adhoc network?
Ideas? Wifi would be easiest since my laptop doesn't have Bluetooth.
maskvp said:
Ideas? Wifi would be easiest since my laptop doesn't have Bluetooth.
Click to expand...
Click to collapse
I think I mentioned in an earlier post that I use an app called ES File Explorer (free in the market) to navagate to a shared folder on my desktop.
My (samba) shared folder has no restrictions and works well. Only issue is I have to fix ownership and permissions on things copied over to the computer from the phone. If you choose to password protect yours let me know how that works out for you.
pietro_spina said:
I think I mentioned in an earlier post that I use an app called ES File Explorer (free in the market) to navagate to a shared folder on my desktop.
My (samba) shared folder has no restrictions and works well. Only issue is I have to fix ownership and permissions on things copied over to the computer from the phone. If you choose to password protect yours let me know how that works out for you.
Click to expand...
Click to collapse
OK thanks. I'm going to investigate this. I take it ESFE works over the 3g connection as long as the host (my laptop) is connected to the internet?
maskvp said:
OK thanks. I'm going to investigate this. I take it ESFE works over the 3g connection as long as the host (my laptop) is connected to the internet?
Click to expand...
Click to collapse
It supports FTP for sure. I'm no security expert but I doubt its a good idea to share a samba share over the internet.
If you want remote access to you desktop there are secure methods for that. The method I would choose would depend on my desire/need for a remote connection.
If I just want to access my shared folder I would probably set up a VPN connection and then use ES FileExplorer.
To fully control the computer, use VNC or other "remote desktop" application.
Been reading up on Samba. It is the linux way lol. Also, I went and got a Bluetooth micro-adapter. Installed drivers from the repository.
Transferred some pics and music back and forth. All GUI based. Worked first time. I'm still this side of the learning curve but my base needs are met.
The Bluetooth works great but I'd like to learn a bit more about the wifi. Seems to me one should be able to move files with a VPN via the wireless adapters and no router. I just lack the knowledge and skill to do it.
But thanks for reminding me about the ES FileExplorer! As far as the permissions in Ubuntu for the shared folder I just checked the box under right-click- sharing options allow others to create and delete files from this folder. I think that works.

[Q] Android Device Remote Debugging

I am developing on a Remote Machine (connected via Windows Remote Desktop Connection). I am using Eclipse as my IDE for Android Development. I am connecting my android device via usb to my local machine but I want to be able to deploy my app directly(from my remote machine) on the device and debug it. I have seen a few questions regarding the same problem but haven't yet found a clear solution to the same. I have enabled all Local resources on the local machine to show up on the remote desktop too, however this does not work. I guess there is some kind of setting I need to do with adb but can't exactly understand what. The device does not show up when I do an "adb devices" on my command line(of the remote desktop). Please let me know your views. Is this possible at all, the device I am using is not rooted, neither can I root it as it is company property. I couldn't figure out how to use adb connect exactly, but I guess that could be a possible solution. If yes, would someone tell me how exactly to use the command.

[Q] Accessing SDCARD from a computer

I tried the search, but it's down.
Anyone know if it's possible or a good alternative way to access files on your SDCARD from your computer?
Thanks
you only have a few options
the main 3: ADB, MTP, FTP.
There are issues with the drive not showing up. I'm having the same problem.
MTP=error
PTP= works, but is mostly useless.
Looking at http://forum.xda-developers.com/showthread.php?t=2514396 now.
Edit: Simply removing my existing android device from device , along with the "delete driver" option fixed it. (windows 7)
I had the "universal adb driver v.72"
Noticed the Google driver has support for the nexus 5 as well.
https://developer.android.com/sdk/win-usb.html#top
Edit2: adb also works out of the box with the google driver.
WiFi File Transfer is a good alternative https://play.google.com/store/apps/details?id=com.smarterdroid.wififiletransfer&hl=nl. Airdroid is also a very good app for wireless file transfers.
Grab a ftp server to run on your phone is an alternative, but Wi-Fi transfer rates are often quite bad compared to usb.
I'm very satisfied with mtp, I nearly never transfer files between computer and phone.
.jond said:
I tried the search, but it's down.
Anyone know if it's possible or a good alternative way to access files on your SDCARD from your computer?
Thanks
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2518454
What version of windows. If it is a version without media center such as N mtp will NOT work. Same issue happened to me.
Sent from my Nexus 5 using xda app-developers app

[how to]Use Android As Mouse&Keyboard and Remote

USE ANDROID AS MOUSE&KEYBOARD AND REMOTE​
{THIS REQUIRE WIFI RECIEVER IN PC(LAPTOPS HAVE INBUILT),BLUETOOTH RECIEVER ALSO WORKS BUT I HAVENT USED SO NO STEPS FOR BLUETOOH CONNECTIVTY,TRY ON OWN.}​
IF your keyboard or mouse is not working or if you want to showoff to your freinds,or many more resaons to use it.Here Is Simple Guide To Use Your Android As Remote:-​
1)Download These Two Files-Android App, Pc Software.
2)Put & Install Android App on Mobile & Pc software on pc.
3)During Installation On PC it will ask "Would you like to install this device software" Then Tick on Always Box and Click Install.
4)Finish the Installation And Restart PC.After some Time Windows Security alert may ask For acess,Then tick on both Box there and Click to Allow Acess.
5)Then a Green Icon Should Appear in Hidden App drawer if Unified Remote App is running on pc.
6)Now install the app on mobile and run it.
7)NOW IN MOBILE SELECT ADD SERVER AND CHOOSE MANUAL METHOD THEN PUT ANY DESIRED NAME.
6)FOR "IP ADRESS,TCP,UDP & MAC COLUMN' GO TO UNIFIED REMOTE SOFTWARE ON PC AND OPEN IT,BROWSE TO CONNECTION TAB,PUT UDP AND TCP FROM HERE,NOW CLICK ON NETWORK INTERFACE AND FIND WIRELESS NETWORK CONNECTION AND PUT ITS IP ON MOBILE.
6)LAST STEP IS COPY PHYSICAL ADRESS OF WIRELESS NETWORK CONNECTION AND PUT IN MAC ADRESS ON PC AND MOBILE BOTH AND SELECT FINISH ON MOBILE.NOW YOU ARE CONNECTED TO PC AND EXPLORE THE APP TO FIND MORE.LOTS OF FEATURE IN THERE.
CREDITS-ALL CREDITS GOES TO RESPECTIVE OWNER OF APP.
IF ANY QUESTIONS PLEASE REPLY AND IF WORKS THEN HIT THANKS...​
Works
Awesome
Thanks :good:
abhimanyu bajaj said:
awesome
thanks :good:
Click to expand...
Click to collapse
good to know that worked.
AND PRESS THANKS ALSO DUDE.

Categories

Resources