The question is if it is possible instead of IP as targets get domains like standard browsers and other windows software provide.
When we use any android emulator. For example Genymotion.
Standard applications
Android emulator
Related
I am trying to set up a selenium/appium framework to test an application on a range of different android devices. As the application is still in the build phase, we are require to be connected to my work network to be able to log into the application itself.
The issue I am having is that if i am using the android VS emulators, I am not able to log into the application.
Whereas if i use BlueStacks to install and run the application, I am able to access the application.
My question is, is here any settings I need to change to make the Android VS emulators to recognize that I am on the work network. Or could you point me in a direction I can investigate?
I am using Appium and the server address is 127.0.0.1:4723.
Why are you using VS Emulator? On this page they state:
Note: After we released the Visual Studio Emulator for Android, Google updated their Android emulator to use hardware acceleration.
We recommend you use Google’s emulator when you can, as it offers access to the latest Android OS images and Google Play services. If you have enabled Hyper-V, try out our Hyper-V Android emulator compatibility preview to run Google’s emulator on Hyper-V directly.
You should use the official Android Studio emulator which lets you control network connectivity:
https://developer.android.com/studio/run/emulator#wi-fi
https://developer.android.com/studio/run/emulator-networking
chrome.debugger API can be used to communicate between chrome dev tools and chrome debug target. I wonder if there is a equivalent for android app of chrome.debugger, If there is, then I can use it to debug android webviews without physically connect my android device with my development machine.
Thanks.
I am experimenting with Android Binders at middleware level using C++ so I need an emulator to test it as I cannot afford a board everywhere. My ultimate target is to port a linux middleware application on android and I also want to test that app.
Is the android emulator that comes with SDK suitable for it (which I don't think). If no, is there any emulator for android middleware development or how can I test on my PC instead of running binaries on an ARM board?
As long as you do not rely on/do not want to change the HALs of specific hardware you should be perfectly able to use the emulator.
Depending on what kind of middleware you want to test you could either use the emulator coming with the sdk, create an avd and install your app/library there or you could modify the android source code (when your middleware should be part of thd system) and start the aosp provided emulator directly with thd built ROM.
Don't know if this answers the question as I didn't fully understand what you want to say with 'middleware'
I am reading about remote debugging Android devices:
https://developer.chrome.com/devtools/docs/remote-debugging?csw=1
This sounds convenient, if you have an Android device, that is.
What I would like to know is whether it is possible to use this remote debugging feature with a virtual machine running Android.
Per comments on my earlier answer, it seems that an issue with the Android Emulator is its speed.
I've recently come across Genymotion (formerly AndroVM) which is described in more detail at Lifehacker. It appears that it's based on Virtualbox, which is an x86 virtualization software, so it's most likely using the X86 Android port which would be much faster than emulating ARM on X86. You can also install Android X86 from ISO in Virtualbox yourself (see howto).
Other options for speeding up Android emulators:
Intel HAXM: Hardware Accelerated eXecution Manager (article)
BlueStacks App Player (article)
Jar of Beans
Disclaimer: I'm not affiliated with any of these projects, nor have I tried any of them myself so I can't vouch for their quality or compatibility with the ARM-based Android distributions, but from reading about them, folks seem to really like the performance, and development/debugging on such devices should, in theory, easily transfer to ARM-based ones.
You can use remote debugging with the Android Emulator, which is essentially the Android VM you're looking for. If you have performance issues with the emulator, see answers to this question. Alternatively, since your goal is to debug and test mobile websites, consider using Chrome's mobile emulation.
To perform remote debugging of an Android VM (e.g. AVD from Android Studio) running Chrome you can connect from Chrome on your desktop - type in the following url:
chrome://inspect/#devices
There it will list any connected devices - the Chrome running on the Android VM will appear there - where you can control it. For example you can then get it open a specific url and then click on 'inpect' which provides for access to the web dev tools console - just like on desktop Chrome.
I am developing the Web application in Android 2.2 and i want to deploy it on the LG P500 device. I am using Windows XP as an operating system. But i am facing the problem of installing the drivers on my system, it gives the error "Hardware not found the desired USB drivers". So give me any suggestion on this.
Also told me that it is possible on windows system or it required Linux System?
Thanks in advance....
There's a similar question about this on Superuser, and the answer appeared to be to download and install the LG Mobile Support Tool, then use it to install the drivers.
As for the second part of your question: Yes, you can develop on Windows. There are versions of the SDK for Windows, Mac and Linux. Most of the tutorials assume you are using Eclipse to develop, which is also cross-platform (as is Netbeans, another popular choice).
If you're looking to build the Android source, however, Windows is not currently supported.