MCPcopy Create free account
hub / github.com/alpha-liu-01/SpeedyNote / logAndroidPaths

Function logAndroidPaths

source/Main.cpp:96–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94#ifdef Q_OS_ANDROID
95
96static void logAndroidPaths()
97{
98 // Log storage paths for debugging
99 qDebug() << "=== Android Storage Paths ===";
100 qDebug() << " AppDataLocation:" << QStandardPaths::writableLocation(QStandardPaths::AppDataLocation);
101 qDebug() << " DocumentsLocation:" << QStandardPaths::writableLocation(QStandardPaths::DocumentsLocation);
102 qDebug() << " DownloadLocation:" << QStandardPaths::writableLocation(QStandardPaths::DownloadLocation);
103 qDebug() << " CacheLocation:" << QStandardPaths::writableLocation(QStandardPaths::CacheLocation);
104 qDebug() << "=============================";
105
106 // Note: On Android 13+ (API 33+), READ_EXTERNAL_STORAGE is deprecated.
107 // PDF file access requires Storage Access Framework (SAF).
108 // QFileDialog uses SAF, but content:// URI handling in Qt may have issues.
109}
110
111/**
112 * Query Android system for dark mode setting via JNI.

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected