Android Development Notes (177) Install apps with FileProvider

In addition to the file provider required to send MMS messages, the FileProvider is also required to install applications. Not only can attached pictures of MMS be queried in the media library, but the APK installation package for the application can also be found in the media library. Finding installation packages still relies on content parse ...

Posted by kurky on Mon, 01 Nov 2021 17:35:44 +0100

[ asp.net Core series] 5 layout pages and static resources

0. Preface In the previous four articles, we introduced the relationship between routing, controller and view in detail. In other words, how does the system parse the user's HTTP request into the controller, and then process the data in the controller, and return it to the view, and display it in the view. In this article, I will introduce the ...

Posted by noodle on Fri, 05 Jun 2020 08:41:31 +0200

Android App detects new version, automatically downloads, installs and upgrades, and is compatible with Android 7.0 and above

Preface Some companies may not go to the App store after developing an App, but they also need to regularly maintain and update later, so they will choose to publish the packaged apk to their own servers, and then build a version number table in the database, and then the rest will be handed over to ...

Posted by EvilPrimate on Thu, 16 Jan 2020 06:52:13 +0100

No photos can be obtained after photos are taken, such as Xiaomi Huawei mobile phone

Problem Abstract: no photos can be obtained after photos are taken with Xiaomi Huawei mobile phone Scene appears Ordinary camera call, pass in a path in intent, and call this intention. There is no problem in the glory 8X of the test machine. You can get the photos. In Xiaomi system and Huawei's maimang 4, there are no photos on the path. /* ...

Posted by chrisdarby on Mon, 23 Dec 2019 22:34:12 +0100

Android 8.0 simply adapts to those things

Android 8.0 has been released for a long time and has not been adapted and upgraded based on user equipment and market requirements. Now there are some problems in adapting, so organize and record them. Official website The introduction of Android 8.0's new features and adaptation-related is very clear, and the side dishes are gradually upgrade ...

Posted by error_22 on Mon, 12 Aug 2019 13:32:40 +0200

Android apk online upgrade

APK Online Upgrade APK online upgrade is an essential function of almost all programs. Online upgrades can solve existing problems and provide richer new functions. The basic process is: New version information detected Pop-up upgrade prompt window Click No to not upgrade, it's over! Click Yes to download the upgrade program in the ba ...

Posted by dannynosleeves on Mon, 05 Aug 2019 07:47:45 +0200

7.0 Compatible Camera Album Use

scene Many applications have the requirement of setting up the next avatar, which requires camera album. But when 6.0, run-time privilege detection is added. When 7.0, it restricts the building of shared files in the application, which is the file://URI used in the previous camera album can not be used. Because in applications 7.0 and above, ...

Posted by ryanbutler on Sat, 08 Jun 2019 02:31:56 +0200

Encoding Implementation of Picture Selection in android Album

It's convenient for android cameras to take pictures directly, but more often, we need to choose one of the pictures we already have on our mobile phones to use. Practice how to choose pictures from albums this time. First, add a Button to the activity_main.xml file to trigger the ability to select pictures from the album. <?xml version="1.0 ...

Posted by kee2ka4 on Fri, 31 May 2019 22:38:19 +0200