Android may have started advocating that you can do anything as long as you allow developers to write code, but that has changed over the years as security and privacy become the top priorities. Every major update in the past decade has turned off features or added restrictions in the name of protecting users, but it may not necessarily require some sacrifice. Another Android 11 trade-off has emerged, this time leaving users unable to choose third-party camera applications to take photos or videos on behalf of other applications, forcing users to rely only on built-in camera applications.
the core of this change is one of the defining features of Android: the intent system. Suppose you need to take a picture of a fancy coffee cup to sell through the auction app. Since the auction application was not built for photography, developers chose to leave it to the appropriate camera application. This is where the intent system works. Developers only need to create a request according to a few conditions, and Android will prompt the user to select from the list of installed apps.
However, Android 11 will change for applications that require photos or videos. Three specific intentions will no longer work, including video_ CAPTURE，IMAGE_ Capture and image_ CAPTURE_ SECURE。 Android 11 will now automatically provide pre installed camera applications to perform these operations without searching for other applications to fill roles.
Google described the changes in the list of new behaviors in Android 11 and further confirmed the changes in the issue tracker. Privacy and security are believed to be the reason, but there is no discussion about what makes these intentions dangerous. Perhaps some users are tricked into setting a malicious camera application as the default application and then using it to capture content that should be kept secret.
Android 11 not only has the freedom to automatically launch pre installed camera applications on request, but also prevents application developers from easily providing their own interface to simulate the same functions. The testers tested with some simple code to query the camera App on the phone, and then ran the app on a device running Android 10 and 11 with the same camera App installed. Android 10 offers a full range of apps, but Android 11 doesn’t report anything, not even Google’s own pre installed camera App.
a report points out that Google does provide a solution for developers, although it is not very useful. The report recommends that installed camera applications be explicitly checked by package name, which means that developers must pre select preferred applications and send users directly to them. Of course, there are other ways to get options without identifying all package names, such as getting a list of all applications and then manually searching for intent filters, but this seems too complicated.
this new behavior has been enforced at least in the current beta version of Android 11, whether the application is targeting API 30 or lower. It is not known whether Android CTS will require this behavior, or whether OEMs will be allowed to change it back to previous rules, but it is likely that this will become the standard in the future.
this is certainly not a catastrophic change, it will be completely transparent to many users who have already used the built-in camera by default. And most apps will still allow users to switch to their favorite camera to take good photos and upload them from the gallery. However, this means more work for users, and it will take two more steps for those who often use filters to capture profile images or those who rely on the G cam port to replace their backup cameras. In addition, some applications do not allow different workflows, which means users cannot use any other camera applications. Continue ReadingYueshang group has become the third social e-commerce service platform listed in China after being gathered in pinduoduo