Skip to content

Conversation

@DonLakeFlyer
Copy link
Collaborator

  • Initial plan

  • Fix Android SD card permissions for API 30+

  • Add MANAGE_EXTERNAL_STORAGE permission to manifest for Android 11+ full SD card access
  • Replace deprecated QtAndroidPrivate permission APIs with Java-based implementation
  • Add proper permission handling for Android 11+ (API 30) and Android 6+ (API 23)
  • Fix permission check to open settings for MANAGE_EXTERNAL_STORAGE grant on Android 11+
  • Fix QJniObject::callStaticMethod usage for boolean return

  • Fix SD card path detection for Android 11+

Use StorageVolume.getDirectory() API for Android 11+ instead of deprecated reflection-based getPath() method. This fixes the "/dev/null" path issue where the reflection method returns invalid paths on newer Android versions.

  • Fix Android Activity Name

* Initial plan

* Fix Android SD card permissions for API 30+

- Add MANAGE_EXTERNAL_STORAGE permission to manifest for Android 11+ full SD card access
- Replace deprecated QtAndroidPrivate permission APIs with Java-based implementation
- Add proper permission handling for Android 11+ (API 30) and Android 6+ (API 23)
- Fix permission check to open settings for MANAGE_EXTERNAL_STORAGE grant on Android 11+

Co-authored-by: HTRamsey <68555040+HTRamsey@users.noreply.github.com>

* Fix QJniObject::callStaticMethod usage for boolean return

Co-authored-by: HTRamsey <68555040+HTRamsey@users.noreply.github.com>

* Fix SD card path detection for Android 11+

Use StorageVolume.getDirectory() API for Android 11+ instead of deprecated reflection-based getPath() method. This fixes the "/dev/null" path issue where the reflection method returns invalid paths on newer Android versions.

Co-authored-by: HTRamsey <68555040+HTRamsey@users.noreply.github.com>

* Fix Android Activity Name

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: HTRamsey <68555040+HTRamsey@users.noreply.github.com>
Co-authored-by: Holden <htramsey98@gmail.com>
@DonLakeFlyer DonLakeFlyer merged commit ac3d684 into Stable_V5.0 Oct 2, 2025
16 checks passed
@DonLakeFlyer DonLakeFlyer deleted the CPSDCard branch October 2, 2025 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants