In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly explains "What are the common problems of Android developers". Interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Let Xiaobian take you to learn "What are the common problems of Android developers"!
Q1: Specify SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION doesn't seem to hide the navigation bar and status bar?
A: You need to tell the system how you want the layout. SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN: Full screen, status bar floating above app;SYSTEM_UI_FLAG_LAYOUT_STABLE: Keep view stable, use the most extreme layout.
setSystemUiVisibility() takes effect only if the specified view is visible. More specifically, the specified view must remain visible for the navigation bar to remain hidden.
Q2: Is there a detailed document for optimization of reinforcement and thermal repair?
A: These may not be special features that most developers need to touch, and different hardening and thermal fixes have different designs and implementations. We have worked directly with most common hardening and thermal repair vendors to ensure that their solutions guarantee maximum compatibility and performance. If you have more specific questions, please contact your reinforcement or thermal repair solution provider.
Q3: After the MAC address is random, if the router has set up a MAC address whitelist, the mobile phone cannot connect to the router. How to solve this problem?
A: The system knows the real MAC address, but it doesn't report it to the app. You can check the real MAC address in the system settings interface and add it to the white list of routers.
Q4: Android 10 security features have changed a lot. Is there any technical documentation that can guide developers to upgrade and adapt?
A: Please refer to the official Android developer website (specifically privacy enhancements, behavior changes, and migration guidelines), as well as general best practices.
Q5: How to track users after the system upgrade from Android P to Android 10 (non-login) application reload?
A: Use SSAID (Secured Settings Android Id). This ID is consistent between applications signed by the same developer signature key under the same system user. But it will be changed after factory reset.
Q6: For an application, what is the scope of SAF access?
A: In Android 10 and earlier, apps can access any specified directory with user consent. As we mentioned earlier, certain directories will not be accessible in the next major version of Android. If this causes problems with your app, please tell us about specific use cases.
Q7: Non-SDK interface restrictions: Will changes to this restriction in future Android versions make it difficult for developers to maintain? Will static scanning tools be added to the compilation process in the future?
A: We will continue to provide documentation and technical support for non-SDK interface changes. The static scan tool only needs one command line to run, you can add a postbuild command to the build process yourself.
Q8: Device ID: Can Android ID ensure that each device does not duplicate each other? According to statistics from other departments of the company, Android ID has some duplication.
A: Statistically, Android ID duplication probability is very low. If you find that two devices have the same ID, please tell us the manufacturer and model of the device.
Q9: Sandbox storage: Path access to media resources is allowed on Android 10. Does it mean that the DATA column in media resource information queried through ContentResolver can be used?
A: DATA is deprecated and you should not use it. If you want to access media assets using a path, you can use the java.io.File class. You can use it to access media files that belong to the app itself, or media files that the app is authorized to access.
Q 10: Is single/temporary authorization currently supported?
A: Not yet, but we're thinking about providing support.
Q11: Permission: Do you provide authorization logs/records?
A: Under what circumstances do I need to use it? From a privacy perspective, apps should not obtain permission request records from other apps.
Q12: Access to screen content is restricted by permissions. Does screenshot function belong to "screen content access"?
A: Protection of screen content access refers to one app accessing screen content of another app. If you are referring to an app accessing its DrawingCache, you do not need any special permissions.
Q13: Activity detection and screen recording, how to be compatible with older versions of equipment? Are the restrictions on Android 10 for apps with targetApi 29 or all apps running on Android 10?
A: Please refer to this document for the relationship between activity discovery related permissions and the application's targetSdkVersion.
Q14: Does the preview of the next version mentioned in the file storage talk refer to the next small version of Android 10?
A: This refers to the next major version.
Q15: Does the foldable device have a callback to know whether it is currently in collapsed mode or expanded mode?
A: No, we wanted the app to be more generic with support for different screen resolutions. Please use onConfigurationChanged, or tell us more specific requirements.
At this point, I believe that everyone has a deeper understanding of "what is the common problem of Android developers", so you may wish to actually operate it! Here is the website, more related content can enter the relevant channels for inquiry, pay attention to us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.