Phone [Q] WiFi support on Android Emulator

Hi All,

Please help me in a issue.

Currently in my system, Android Emulator is Showing 3G, I want Wi-Fi connection to establish via laptop or desktop and run an app.
1. How to enable WiFi setting in Android Emulator in a laptop or desktop ?
2. We have to test an app which runs only on WiFi, how to run that app ?