Device ID

Q: Pre-installed applications can obtain device IDS. What is the definition, standard and scope of pre-installed applications? Is the list set by the manufacturer’s system?

A: Vendor pre-installed system applications. Specifically, the application must have the READ_PRIVILEGED_PHONE_STATE permission, which can only be granted to applications preinstalled in the system partition.

Q: IMEI can help us determine whether users have changed their devices. Is there a suitable alternative in Android Q?

A: The following is A solution for common scenarios

  • Please refer to: developer. The android. Google. Cn/training/ar…

Background start Acitvity restriction

Q: If the user turns off my app notifications in Settings, is there no way for my app to start the Activity with notifications in the background? What does Google suggest?

A: yes. So please improve the quality of the application, so that users will not close your app notification. Please also give users more reminders in the app to let them know about the changes caused by turning off notifications. Of course, it is also a good idea to categorize notifications using the Notification Channel.

Q: Does banning background Activity start affect test scenarios such as ADB start Activity? If so, is there a way around it?

A: No. The Android Studio installation and testing process also uses ADB without being affected.

Q: Will my voip app or alarm app be affected by background restrictions?

A: In order to improve user experience, please use heads-up Notification to notify users when they are using other applications.

  • Please refer to: developer. The android. Google. Cn/preview/pri…

Scoped Storage

Q: How does the application temporarily exempt Q from the external storage sandbox restriction?

A: no. So we strongly recommend application in Q version adapter, but if you need more time, can consider to increase in the Manifest, if have to test for a waiver, the use of the Environment. The isExternalStorageLegacy () function.

Q: Will the external storage sandbox limit still be exempted in the next version?

A: no. So we strongly recommend that the app be adapted for Q version.

Q: My file manager/ebook application is not compatible with Q, what should I do?

A: We suggest that archive management applications use OPEN_DOCUMENT_TREE to allow users to select A subdirectory so that applications can access files in this directory. In this way, users can also access any files provided by DocumentsProvider, either in the cloud or locally.

Q Timeline

Q: When will Android Q be released?

A: Third quarter of 2019.

  • Please refer to: developer. The android. Google. Cn/preview/ove…

Q: When will the Android Q source be open source?

A: The third quarter of 2019, the official launch date of Android Q.

Q: When will Android Q apps be uploaded to Google Play?

A: Since Beta 4.

Q: Is Google Pixel the only device that supports the Android Q developer preview?

A: There are currently 21 Beta devices supporting the Android Q Developer Preview.

  • Please refer to: developer. The android. Google. Cn/preview/dev…

A 64 – bit applications

Q: Does Android Q only support 64-bit apps?

A: no, it isn’t. But starting in August 2019, new apps uploaded to Google Play must include a 64-bit version.

Q: Many of the.so files are provided by the open source SDK, but it has not been maintained and updated for a long time. Do you have to abandon the SDK?

A: Developers can compile 64-bit.so files from source code.

Q: We read from some SDK providers that they recommend putting 32-bit.so files directly into a 64-bit file directory. Is that ok?

A: no. 64-bit devices will not be able to run your application. And it doesn’t pass Google Play.

other

Q: Android Q has a public API for custom classloaders. Does that mean there will be official Support for hotfixes or plugins?

A: Based on developer feedback, we replaced some of the reasonably common non-SDK interfaces with new apis. Hotfixes or plugins are against Google Play policy and are not allowed.

Q: Will Dark Theme automatically apply to all applications? Do developers need to make updates?

A: Developers must update their code to support the Dark Theme.

Q: On a flip phone, the app reboots when the user turns the screen.

A: Make sure the application is defined as Resizeable Activity.

  • Please refer to: developer. The android. Google. Cn/guide/topic…

Q: On foldable phones, the app has typographical errors.

A: Make sure your application is formatted using window size, not screen size.

Click here toSubmit product feedback suggestions