How to switch from Mobile Emulator Application to Web portal

Hello guys,

I am creating android automation for one application - In Which at Login Functionality after entering mobile number. we will get OTP at Backend web portal. So How I can do automation or switch to web chrome for that OTP should automatically read from web backend portal and return comeback to Emulator & enter it in Mobile application.
Could you please suggest how can I do this …?