I am creating an android application for browsing plans and tariff of mobile recharges. What I want is that when the user selects a plan from my app, then on clicking either of the one option ie paytm or freecharge:
- The mobile recharge screen of the respective app gets open.
- User's phone number and amount of recharge gets prefilled.
As far as I know this is possible either through Intends or Deeplinking. But the problem is that:
If I use intends and open paytm/freecharge using their package names it will open the home screen of those apps. Now how to open the recharge mobile screen and prefill the numbers and recharge amount??
If I follow the deeplink approach, for either of the apps what url to call and what parameters to pass?? I got a deeplink url of paytm in their api docs but that too opens only the home screen.
Once this is done, user can proceed to recharge via both these apps. I have seen this feature in a similar app ireff and thats excatly what I want to implement.
Above are the screen on which I want to reach and fill in the phone number and amount which user has filled on my app. Please let me know how to do this I couldn't find anything useful about this on the internet. Thanks.