Using Android emulator within a windows remote desktop session - Android Q&A, Help & Troubleshooting

Hello:
I'm new to software development in the android environment and I'm hoping someone could shed some light on this for me.
I have a work PC and a work laptop. The PC has all of the juice to run the android emulator, our dev environment/tools, etc. I sometimes work remotely and use the laptop (or another PC) to VPN, then RDP into my physical work PC.
When I launch the emulator and attempt to use any app, the emulator will load, the app will launch, but anything after that results in a hung app or errors.
For cordova apps, I get:
Application Error - The connection to the server was unsuccessful. (file:///android_asset/www/index.html)
For native apps like chrome, it will launch, but any attempt to load a page will result in a hung app that I need to force close.
The common factor here is doing this through an RDP session. I tried it from multiple PCs, always the same result.
Has anyone else every run into this? What could possibly be causing this? It’s terribly inconvenient.
Thanks!

For those of you that may stumble upon this, I found a solution for my particular scenario.
With the emulator running, I had to open "Extended Controls". On the "Settings" tab, change "OpenGL ES API Level" from "Autoselect" to "Host maximum".

Related

Is there any program can control PC?

Hi, there
I would like to use some program to remote my Desktop....
I try to use Remote VNC Pro....but it didn't work.....
Anyone can tell me what can I do??
Thanks so much!!
remote droid is a pretty cool app from the marketplace. it essentially turns the phone in to a laptop style track pad. If your looking for something a bit more indepth then have a look on the market place
there are a couple of VNC programs, but none of them are brilliant.
Gmote allows you to remote control the media player on your PC and stream music to the phone
VLCMote allows you to remote control VLC if you have it installed on your PC...
there may be others.
PhoneMyPC looks impressive ?
Has anyone found these apps to be successful besides Gmote? I have tried every VLC remote in the market, set-up the HTTP protocol, and none has worked yet. I tried reading the developer's instructions to start it with command line but it told me the command was invalid. Thought it might be my firewall, but even disabling it did nothing.
anyremote
Did anyone here try anyremote? Using anyremote2html it should be possible to control various applications on the PC using a web interface. Unfortunately it did not work for me yet since no browser on the android was able to show the webpage containing the controls. I always get a 404 error with them. I have no idea why this is so. I can get it to work with another PC controling my first PC via any web browser. Does anyone know why the android browsers are not able to show that simple webpage from anyremote?
vnc4android does work fine for me (on my pc i have a ultravnc server with standard settings)
where do I get vnc4android? I tried a few of those vnc clients in the market. But they have trouble with correctly showing the desktop.
Phil_UK said:
PhoneMyPC looks impressive ?
Click to expand...
Click to collapse
It is impressive ! full control of PC, sneak peek, etc..
try it
kamdroid said:
Has anyone found these apps to be successful besides Gmote? I have tried every VLC remote in the market, set-up the HTTP protocol, and none has worked yet. I tried reading the developer's instructions to start it with command line but it told me the command was invalid. Thought it might be my firewall, but even disabling it did nothing.
Click to expand...
Click to collapse
androidvnc works fine for me, using tightvnc on my pc. just change the port on androidvnc to 5900, altho lack of software keyboard is abit of a bummer.
The new version of GMote is excellent for the Hero. It allows you to use the Hero's screen as a touchpad and now also let's you bring up the keyboard to type stuff on the PC. It is very responsive and highly usable. I have a media centre PC and this means I have full control to complement the remote.

[Q] Alternative to Androidscreencast PC to Android USB control

Hey there XDA Community,
I open this new question thread, because similar ones are not as specific and/ or posted in sub-forums for phones. However, Androidscreencast is a cross-phone program.
Androidscreencast is a java programm that allows you to connect to your Android phone through an USB connection. I think you need ADB and root access for this.
I am searching for something like this that also supports German charakters like umlaute (ä, ö, ü).
Any help will be greatly appreciated.
The app "My Phone Explorer" is said to be able to do this, although I didn't try it.
http://mymobiler.com/ also offers this Feature and works pretty well, after a few setting changes and restarts of the executable, also with umlauts.
However, I went back to Androidscreencast since it does not need an app and I realized it's convenient enough to use my phone for everything but typing with my finger and it's not so bad that I can't have umlauts.

Looking for an app. Perhaps never developed

Hi There
Im looking for an Android app that is able to start an application on a Windows box
What im looking for is that im having a surveillance system at home based on Windows 8 and ContaCam with outdoor
IP cams. I want to set up some indoor cams based on some of our old Android phones. (No problem)
The thing is that I dont want them to record when we are at home. So im looking for at way to automate this!
My idea:
A Android app that uses wifi to locate if an android phone is on home network or away.
When home this app sends a heatbeat perhaps every 2 min to a server software on windows.
If this server software recieves a heartbeat from me or my wifes phone or both, it should shut down the ContaCam or any other software selected. (Could be other software) If already shut down it should do nothing.
If no heartbeat is recieved within perhaps 10min it should start Contacam or any other selected software.
If already started it should do nothing.
An advanced version could be that you recieved an feedback that the Process had been started.
This software could be developed very basic to that with the server software you choose what exe or Bat file to launch.
And what process to shutdown.
I haven't been able to locate any software out there. Maybe it already exist. If not i hope somebody
would use my idea and develop this software
It would be nice if there could be a linux server software too.
Best Regards
helskov said:
Hi There
Im looking for an Android app that is able to start an application on a Windows box
What im looking for is that im having a surveillance system at home based on Windows 8 and ContaCam with outdoor
IP cams. I want to set up some indoor cams based on some of our old Android phones. (No problem)
The thing is that I dont want them to record when we are at home. So im looking for at way to automate this!
My idea:
A Android app that uses wifi to locate if an android phone is on home network or away.
When home this app sends a heatbeat perhaps every 2 min to a server software on windows.
If this server software recieves a heartbeat from me or my wifes phone or both, it should shut down the ContaCam or any other software selected. (Could be other software) If already shut down it should do nothing.
If no heartbeat is recieved within perhaps 10min it should start Contacam or any other selected software.
If already started it should do nothing.
An advanced version could be that you recieved an feedback that the Process had been started.
This software could be developed very basic to that with the server software you choose what exe or Bat file to launch.
And what process to shutdown.
I haven't been able to locate any software out there. Maybe it already exist. If not i hope somebody
would use my idea and develop this software
It would be nice if there could be a linux server software too.
Best Regards
Click to expand...
Click to collapse
You can use this one:
http://owtroid.com/remotelauncher/mediawiki/index.php?title=Remote_Launcher
with combination of Tasker or Lllama.
Just write two batch files or shell scripts to start and stop surveillance.
bg_man said:
You can use this one:
http://owtroid.com/remotelauncher/mediawiki/index.php?title=Remote_Launcher
with combination of Tasker or Lllama.
Just write two batch files or shell scripts to start and stop surveillance.
Click to expand...
Click to collapse
Thanks for your kind reply. It works just fine! :good:

[Q] Unified Remote - Launch Chrome, and open specific URL

Hi guys,
I want to know how to do this, I've been fiddling with Tasker and Unified Remote but can't get it to work.
Basically, I've got an NFC tag outside my apartment, when I step in, I tag it, and that triggers a tasker profile which does a few tasks:
1) Switch off data
2) Switch on Wifi (and connect to home wifi)
3) Launch Airdroid on phone
4) Launch Chrome on PC and open Airdroid url (this doesn't work!)
5) Launch Foobar2000 on PC (this works)
6) Launch Foobar2000 android controller.
Everything works, except for launching the address in chrome. I can launch chrome just fine, but the url I've set doesn't open. How do I do this? Any ideas?
Thanks!
No one? I'm sorry to bump this, but I really wanna know, I've tired doing it myself, and I've tried Googling it.
I just wanna be able to get Unified remote to launch Google Chrome AND open a specific address on my PC. Using tasker.
Try Command Prompt
Have you tried UR's Command remote to open a URL on your PC that way?
I too need to make this work, so I'm going to dabble with the Command remote now...
Hey! I was searching for the same thing but couldn't find any easy solution. One solution I have in my mind is to integrate join and Eventghost on windows. But this will be lot more difficult than on android. I have noticed that eventghost has a steap learning curve. Do let me know if you have a better solution for the same.
Cheers!

ANDROID EMULATORS in Microsofts Hyper-v Enviornment

There are some threads here that may in part bring up an issue with running emulators on Windows 10. I can only describe my difficulties and for whatever reason I like to use BlueStacks. Before I get into that one there is another that I have difficulties using like Droid4X which unlike Bluestacks, Droid4X has been able to try starting up, but then my PC crashes. I havent tried to fix using Droid4, mostly centered on how to get BlueStacks running.
BlueStacks, when I would try to start it would result in a pop up that mentions I can't use it because of Windows 10 Creation aspect runs something called Hyper-V and this is what prevents me. There were a few walk-arounds and Hyper v could be disabled, however, now in order to disable it requires going into the BIOS. This seems like a big hassle if you want to just bounce in for a minute to test an app. If you run it all day it wont matter.
As of yet I cannot find an emulator I can use on Windows 10 without having to go that far to do so. Seems to me that MSN is targeting anything Android in my PC. There are reasons I wonder, why on Earth would the August 14th update be removing the ADB USB Interface, device not recognized took me a while to correct among a few other issues I was calling MSN Tech support very angry with them.
I dont care if MSN doesnt like the fact they have been locked out of my PC, there will be no more updating anything, I told them. I am stuck with this Hyper-V getting in the way of running an emulator on Win 10.
My question is there anyone aware of an Android Emulator that can be used on MSN OS that Im unaware of, and free?

Categories

Resources