D devmobile Active Member Licensed User Jun 16, 2017 #1 Hello I programming app for shop and use payment for my app. And open URL in external browser with PhoneIntent. When use pay money and it done successfully,i need browser closed auto and return to app without interaction user.(Back to app via use) Maybe?
Hello I programming app for shop and use payment for my app. And open URL in external browser with PhoneIntent. When use pay money and it done successfully,i need browser closed auto and return to app without interaction user.(Back to app via use) Maybe?
Erel B4X founder Staff member Licensed User Longtime User Jun 18, 2017 #2 You cannot control the external browser. Maybe use WebView instead. You can track the current page by handling the OverrideUrl event. Upvote 0
You cannot control the external browser. Maybe use WebView instead. You can track the current page by handling the OverrideUrl event.
D devmobile Active Member Licensed User Jun 18, 2017 #3 Erel said: You cannot control the external browser. Maybe use WebView instead. You can track the current page by handling the OverrideUrl event. Click to expand... Thanks but i have to use external browser and when user do pay im browser,user have to back to app manual. Is there other way? Upvote 0
Erel said: You cannot control the external browser. Maybe use WebView instead. You can track the current page by handling the OverrideUrl event. Click to expand... Thanks but i have to use external browser and when user do pay im browser,user have to back to app manual. Is there other way?
Erel B4X founder Staff member Licensed User Longtime User Jun 18, 2017 #4 You can use a timer and call StartActivity from a service. However you cannot know when the user completed the payment. Upvote 0
You can use a timer and call StartActivity from a service. However you cannot know when the user completed the payment.
R ronell Well-Known Member Licensed User Longtime User Jun 18, 2017 #5 devmobile said: Thanks but i have to use external browser and when user do pay im browser,user have to back to app manual. Is there other way? Click to expand... webview is not possible? Upvote 0
devmobile said: Thanks but i have to use external browser and when user do pay im browser,user have to back to app manual. Is there other way? Click to expand... webview is not possible?
D devmobile Active Member Licensed User Jun 18, 2017 #6 Erel said: You can use a timer and call StartActivity from a service. However you cannot know when the user completed the payment. Click to expand... OK thanks Upvote 0
Erel said: You can use a timer and call StartActivity from a service. However you cannot know when the user completed the payment. Click to expand... OK thanks
D devmobile Active Member Licensed User Jun 18, 2017 #7 ronell said: webview is not possible? Click to expand... Yes it is possible but if user can pay in external browser,so it be good Upvote 0
ronell said: webview is not possible? Click to expand... Yes it is possible but if user can pay in external browser,so it be good