Pages

Tuesday 2 July 2013

Android DDMS File Explorer-Pull/Push file from/to Emulator


Android Emulator- Install Charles CA SSL Certificate in Android Emulator

  1. Open Charles Proxy
  2. Click on Help-->Install Charles CA SSL Certificate..
  3. Certificate will be opened
  4. Click on details tab
  5. Click on Copy file to File-->Next-->Next -->Browse the location to store the certificate
  6. Click on Next-->Finish
  7. Certificate will be created on the file system. 





Install the Certificate
  1.  Launch the Emulator
  2. Use the adb push command to place the certificate in sdcard as shown below.
  1.  Go to Android Emulator-->Settings-->Security
  2.  Click on Install from SD Card



Android Emulator-Intercept Requests/Responses in proxies(Burp Suite)

  1. Proxy should run in a port eg.8888 (localhost)
  2. Start Android Emulator
  3. Go to Settings-->More-->Mobile Networks-->Access Point Names
  4. Create New Access Point Name (APN) and Save that. Or Change the existing APN settings
  5. Select the particular APN as shown below.
    Open the Browser in Emulator and type any URL,observe Requests/Responses are intercept.