我正在将 paytabs 支付网关集成到我的 flutter 应用程序中。它在应用程序浏览器中打开一个付款页面。交易完成后,它会重定向到 return_url。我想重定向回我的应用程序,以便我可以在处理付款后执行某些操作。
如何才能做到这一点?
我正在开发一个自定义相机应用程序,它捕获图片并将其存储在图库中.当我使用Intent.ACTION_SEND共享该图像时,除了具有API 26的设备(即OREO)之外,它在所有设备上都能正常工作.
我分享图片的代码是:
Intent shareIntent = new Intent();
shareIntent.setAction(Intent.ACTION_SEND);
shareIntent.setType("image/jpeg");
Uri uriShare = Uri.fromFile(outFile);
//outfile is the path of the image stored in the gallery
shareIntent.putExtra(Intent.EXTRA_STREAM, uriShare);
startActivity(Intent.createChooser(shareIntent, ""));
Run Code Online (Sandbox Code Playgroud)
任何人都可以帮我解决这个问题吗?