Tuesday, 31 January 2017

Find out API calls on Android device/emulator

Steps to validate API call on every emulator clicks:

1. Launch emulator, either through AVD manager or command line using D:\Projects\Utils\Android\sdk\tools>emulator.exe avd <avd-name>

2. Make emulator as proxy:
  • Click on Menu
  • Click on Settings
  • Click on Wireless & Networks
  • Go to Mobile Networks
  • Go to Access Point Names
  • Here you click on .
  • In the Edit access point section, input the "Proxy (10.1.1.111) and Port(9090)
      
   
3.         Install and run Burp Suite. Go to Proxy->Options








4. Launch mobile application in emulator.
5. Go to Proxy->Intercept and click on “Intercept is off”.
6. Click on any link for which we want to get the API is getting called.
7. Burp will show them in Raw section.