Apk installer

I have feature kiểm tra newest version the application, if current version is lesser than version in server it will show dialog to lớn update the application like this .

Bạn đang xem: Apk installer

*

in above update, if i cliông chồng copy link and download, it will copy url và open the browser,after that download .app android from url VPS i already setting. it"s work , but i want make it more efficient. I want if i clichồng the button , it will download .app android from VPS & show the progress tải về without open the browser. How can i bởi this ? Thank"s


game android flutter
Share
Improve sầu this question
Follow
edited Jun 12 "đôi mươi at 7:29
*

Saamer
3,55011 gold badge66 silver badges3030 bronze badges
asked Atruyền thông quảng cáo 9 "20 at 7:00
*

Zeffry ReynandoZeffry Reynanvày
1,27733 gold badges1818 silver badges4646 bronze badges
Add a bình luận |

2 Answers 2


Active Oldest Votes
1
Play Store

It"s not a feature currently available to lớn my knowledge. In apps I develop, I can check the version number và bloông xã the user from using the ứng dụng via a dialog, but provide a links lớn the Play Store, so they can update to the lakiểm tra version.

However, Android 11 provides Inline Updates, which provides a more streamlined experience.

Cheông chồng out In-App Updates

Android 11 as of this date is currently in pReview. To use the APIs you will have lớn use a platkhung channel khổng lồ gọi natively from Flutter.

Side loading

Chechồng out Install Application programmatically on Android

You will have sầu to use http khổng lồ tải về the APK lớn external storage, then gọi these APIs via a platform channel.


Share
Improve this answer
Follow
answered Aquảng bá 9 "20 at 10:28
*

AdamAdam
15.5k55 gold badges6363 silver badges101101 bronze badges
Add a bình luận |
0
Yes you can make it to where when you cliông xã a button, a file (any format including APK) is downloaded to the Downloads/Files folder of the user"s device.

Xem thêm: Nơi Bán Máy Lọc Nước Sanaky Snk-E3110, Đánh Giá Máy Lọc Nước Sanaky Snk

However, it is something that is handled by the hệ thống that is storing the files.

For example, if you tap on this liên kết, it will automatically tải về a PDF tệp tin on your Android phone or on your browser, even if PDFs generally open inside your browser.

There is a few suggestions given here on how lớn vày it, including setting "Content-Disposition: attachment" or "Content-Type: application/octet-stream"


Share
Improve this answer
Follow
answered Jun 12 "đôi mươi at 7:29
*

SaamerSaamer
3,55011 gold badge66 silver badges3030 bronze badges
Add a comment |

Your Answer


Thanks for contributing an answer to Stack Overflow!

Please be sure to answer the question. Provide details & tóm tắt your research!

But avoid

Asking for help, clarification, or responding to other answers.Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.

Xem thêm: Điện Thoại Vỡ Màn Hình Điện Thoại Bị Vỡ Màn Hình? Bể Màn Hình Điện Thoại Có Xui Không


Draft saved
Draft discarded

Sign up or log in


Sign up using Google
Sign up using Facebook
Sign up using Thư điện tử and Password
Submit

Post as a guest


Name
E-Mail Required, but never shown


Post as a guest


Name
Email

Required, but never shown


Post Your Answer Disthẻ

By clicking “Post Your Answer”, you agree khổng lồ our terms of service, privacy policy & cookie policy


Not the answer you're looking for? Browse other questions tagged game android flutter or ask your own question.


The Overflow Blog
Featured on Meta
Linked
223
Install Application programmatically on Android
232
How vì chưng I force files to lớn open in the browser instead of downloading (PDF)?
Related
1078
Download a file with Android, & showing the progress in a ProgressDialog
754
How do you install an APK file in the Android emulator?
1343
Is there a way lớn get the source code from an APK file?
685
Android error: Failed khổng lồ install *.apk on device *: timeout
505
Install an app android tệp tin from comm& prompt?
614
Skết thúc Thư điện tử Intent
800
How to lớn avoid reverse engineering of an APK file?
512
INSTALL_FAILED_NO_MATCHING_ABIS when install app android
255
How can I generate an apk that can run without VPS with react-native?
1290
Android 8: Cleartext HTTP. traffic not permitted
Hot Network Questions more hot questions

Question feed
Subscribe khổng lồ RSS
Question feed To subscribe to lớn this RSS feed, copy and paste this URL into lớn your RSS reader.


*

lang-dart
Stack Overflow
Products
Company
Staông xã Exchange Network
site kiến thiết / hình ảnh sản phẩm © 2021 Stachồng Exchange Inc; user contributions licensed under cc by-sa. rev2021.4.5.38984


Stack Overflow works best with JavaScript enabled
*

Your privacy

By clicking “Accept all cookies”, you agree Staông chồng Exchange can store cookies on your device & discthua kém information in accordance with our Cookie Policy.


Chuyên mục: Điện thoại