Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

安装APK时,不出现安装完成界面 #74

Closed
didyqian opened this issue Dec 27, 2019 · 2 comments
Closed

安装APK时,不出现安装完成界面 #74

didyqian opened this issue Dec 27, 2019 · 2 comments

Comments

@didyqian
Copy link

安装APK时,不出现安装完成界面,建议在startActivity方法中增加代码判断是否APK:
Intent intent = new Intent(Intent.ACTION_VIEW); if(TYPE_STRING_APK.equals(typeString)) intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); else intent.setFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP);

@crazecoder
Copy link
Owner

这个问题是部分机型存在,还是所有机型都存在?

@xiaojiedeVX
Copy link

部分机型,我用的是三星,然后安卓版本6.0.0

crazecoder added a commit that referenced this issue Oct 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants