Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Browser in Windows

Is there a way to install the Android SDK Web Browser's web kit engine in widows and customize it to Run in your windows environment directly ?

So that we dont need to depend upon the Emulator/ device to check how your Web page works in it - which would be simpler and faster

like image 333
Dilip Avatar asked Jan 24 '12 06:01

Dilip


People also ask

How can I use Android browser on PC?

To launch it: type Ctrl-Shift-I to open Chrome Developer Tools, then type Ctrl-Shift-M to toggle in device mode, a toolbar appears on top of your page with a dropdown menu from which you can emulate different mobile browsers (default option of the menu is "Responsive").

How can I view mobile Chrome on PC?

Launch the Google Chrome browser and go to the site you want to view. Hit F12 on your keyboard to access DevTools. When the mode is turned on, click the “Toggle Device Emulation” icon. You can choose from a list of iOS and Android devices to emulate them.


3 Answers

You can emulate some Android browser features in Google Chrome. Type Ctrl-Shift-I to open Chrome Developer Tools, click Settings - the gear icon in bottom right corner, click Overrides on the left, then check User Agent and select Android 4.0.2 below, next check Device Metrics and Emulate touch events. More info here.

Alternatively, you can install Windroy - a full port of Android to Windows.

like image 135
niutech Avatar answered Nov 03 '22 18:11

niutech


The best way I've found until now, it's to connect my mobile device with Chrome's Remote Devices feature

Chrome Remote Device


  1. Open the Developer Options screen on your Android.
  2. Select Enable USB Debugging.
  3. On your development machine, open Chrome.
  4. Open DevTools.
  5. In DevTools, click the Main Menu Main Menu then select More tools > Remote devices.
  6. You need to have Chrome open in your Mobile Device, you will see a list with all opened tabs

This is awesome, because, not only you can browse your mobile's tabs directly in your Machine, but you can normally debug your app, like you are debugging on Chrome Desktop (Elements, Console, Sources, Network, Performance, Application, Security, etc). Check remote debugging troubleshooting section over here

like image 31
StefanoWP Avatar answered Nov 03 '22 19:11

StefanoWP


Now on Chrome (at the time of version 53), Device Mode allows to get you close to the real device behaviour (yet not emulating it fully). To launch it:

  • type Ctrl-Shift-I to open Chrome Developer Tools,
  • then type Ctrl-Shift-M to toggle in device mode,
  • a toolbar appears on top of your page with a dropdown menu from which you can emulate different mobile browsers (default option of the menu is "Responsive").

This list of available devices can be augmented in the Developer Tools settings > Devices.

like image 26
Bob Avatar answered Nov 03 '22 19:11

Bob