[Q] Android Device Remote Debugging - General Questions and Answers

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.

Related

Remote shutdown desktop computer

Hey,
i just wondered because i didn't found any topic or tool to remotely shutdown my windows desktop computer within my home lan via my pda? (Maybe i'm just to dumb to use the search function )
I'm (still ) using Windows XP and want to shut it down via my Xperia (WM6.1), so is there any command prompt, tool or anything like that to get this workin'?
Thanks for your help
Bye
Have you tried setting up remote desktop and using remote desktop mobile to login and shut it down?
Oh, damn...it isn't preinstalled on my phone so i didn't know that it exists
Thank you, i'll try it when I'm back home
bye

[GUIDE] Use phone as PC webcam

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?

Best way to connect Android to PC so it can use host-files on PC?

Hi Guys
I need to connect android(and ios) phones to my pc via proxy so that they use the host files on my PC.
I have to test some website features on mobile browsers/apps. I use different host-files in my pc to hit different servers.(Eg, local vm, staging, production). I want to use my Android (and ios) devices to connect to my pc and use those hostfiles to hit the different servers.
For example, if My hostfile on my pc is pointing to staging servers, then i want the phone to point to that also. Also I have a vpn on my pc which needs to be connected for me to access staging.
What is the best way for me to do this? Any help is greatly welcome!
PS: i know Mac users have a software called squidman which allows them to do this
PPS: I know freeproxy might do this for pc but not sure how to set it up to work properly.
Check this out , maybe it helps you
http://www.apkfullapps.com/2012/07/wifi-file-explorer-pro-v180-apk-app.html#.UV5kM5NQFJ4
Helpfull

[Q] Is this possible? (Access Windows via Thumbdrive plugged into modem)?

Cant figure out where else to ask this but you all seem to be the brightest group of computer users I know.
I may be dreaming on this technology and I cant find much form web searches here is my thought please let me know if it or something similar would work.
Have a thumb drive running an OS (Ubuntu, or Windows 7,8 whatever) that is plugged into a USB input on a cable or WiFi modem. So technically this thumb drive is always on or I can somehow access it to turn it on. Now the tricky part. I would like to access this windows or Ubuntu via my android table or my note 2 and use it as though it is my desktop (as needed). I see I can use apps like "Jump" to access a freestanding computer with internet connection but wondering if I can take it a step further and just have everything housed on the thumb drive.
I ask this because I recently lost my tablet due to display issues. I am interested in alternatives before I go buy another full on computer.
thanks in advance for the assistance.
It sounds like you are asking for two separate things, booting from a USB drive, and accessing that computer via a tablet. For the first, you can use a program such as Unetbootin, to create a bootable linux distro onto a USB drive. With that, you should be able to have a fully functional linux distro on a USB stick. For the windows equivalent, you could try WintoFlash. As for the second part of your question, if you enable SSH on your computer, you should be able to SSH tunnel into your computer from any other device that has SSH. As android devices already allow themselves to be SSH'ed into, I don't see why you wouldn't be able to use it to access your computer remotely.
syung said:
It sounds like you are asking for two separate things, booting from a USB drive, and accessing that computer via a tablet. For the first, you can use a program such as Unetbootin, to create a bootable linux distro onto a USB drive. With that, you should be able to have a fully functional linux distro on a USB stick. For the windows equivalent, you could try WintoFlash. As for the second part of your question, if you enable SSH on your computer, you should be able to SSH tunnel into your computer from any other device that has SSH. As android devices already allow themselves to be SSH'ed into, I don't see why you wouldn't be able to use it to access your computer remotely.
Click to expand...
Click to collapse
Thanks for the info! Yes you are correct I am trying to do both those things, however I am trying to do it without the need of a physical PC. I kind of want this boot able thumb drive or whatever to be my PC that I can access whenever needed. I am thinking this is kind of like a virtual server but I dont know how those are housed. i have heard there are cable modems with a USB drive on them to allow them to act as a server if I could just access my boot-able windows or Ubuntu thumb drive that is in the cable modem that would be what I'm wanting.
Does it have to be a USB device? If not, you could look into using a Rasberry Pi to do just that. If you want to have your own virtual server, you would need some sort of physical PC or other device, although if you only want to have a box that just constantly hosts VM's, you could look into running your own ESXi server. with ESXi, you could just turn on the box and any computer on the network should be able to use the VM's that are being hosted on the server. However, you do need the VM tools to do it so I do not know if you can use an Android Tablet, unless you figure out a way to SSH into the VM without using the tools or porting the tools over to Android.
syung said:
Does it have to be a USB device? If not, you could look into using a Rasberry Pi to do just that. If you want to have your own virtual server, you would need some sort of physical PC or other device, although if you only want to have a box that just constantly hosts VM's, you could look into running your own ESXi server. with ESXi, you could just turn on the box and any computer on the network should be able to use the VM's that are being hosted on the server. However, you do need the VM tools to do it so I do not know if you can use an Android Tablet, unless you figure out a way to SSH into the VM without using the tools or porting the tools over to Android.
Click to expand...
Click to collapse
Well it can be anything really just prefer not to go through having a "box" if I can skip all the steps and just access it to run the OS. That raspberry Pi looks pretty cool wonder if there is something similar out there to run a windows OS. Looking at it if I rooted my phone apparently i coudl run Ubuntu on the phone
yes, basically you would just run a virtualbox on your phone and SSH into it as a localhost. It works the same way for SSHing into an actual box. The problem is that you wanted windows OS, and windows 7 uses at least 20 gb in storage just for the OS alone, therefore it would be impractical to run it from your phone. If you want windows at some point you will need to have a box even if it is just running as a server.

[Q] Network Android Emulator

What I'm looking for is a way to run an android emulator such as bluestacks or Andy in a way that's accessible over a network. I know there are online services like Manymo or Appetize but I'm specifically looking for something I can run on my local network rather than being reliant on the internet connection.
I presume that it's doable since people like Manymo are doing it but does anyone have a clue that could start me on the right track?
Yes this is possible if you have a computer capable of creating a remote server if you want to connect to it on another device. You would need a client Android emulator installed on the computer and make sure it works. Now you are going to need to research a good VNC that can allow you to remotely control your computer from other devices. Once you have and can successfully start up the server, you'll then need a VNC connecting app that you can connect to the computer running the Android emulator. And then walla, you should be accessing it over your local host (network).
Using CM12.1 on my SGH-T999

Categories

Resources