I wanna upload image code is working well on Google pixel and all mobiles but on MI mobile issue occurring, unable to upload image from gallery.
So can anyone suggest me what will be solution for this
打开您的移动设置并转到开发人员选项并点击它 7 次也许这可以帮助您连接。
You need to add flags in Intent. I think you are running less than Oreo version or AP
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.