Showing posts with label Add host entry in android device. Show all posts
Showing posts with label Add host entry in android device. Show all posts

Wednesday, July 8, 2015

Virtualhost run in Genymotion

Open oracle virtual machine

Open file preferences

Click on left panel network

Open tab host only network

Right click on vboxnet0
Open dhcp server

Server address 192.168.1.110
Lower address bound 192.168.1.101
Upper address bound 192.168.1.119

Add host entry in android device

emulator -avd myAvdNameHere -partition-size 128  
adb remount  
adb pull /system/etc/hosts c:\temp  
add your virtual host entry and 
adb push c:\temp\hosts /system/etc

how to see xml preview in browser php

xml preview view in browser $xml = new DOMDocument('1.0', 'UTF-8');                 $xml->preserveWhiteSpace = false; ...