-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
build(android): support android platform (config and logging) #3741
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
ReenigneArcher
merged 8 commits into
LizardByte:master
from
nightmare-space:feat/android
Jul 14, 2025
+64
−3
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
9fc1b7a
build(android): support android platform
mengyanshou cba9317
Update src/config.cpp
mengyanshou 85b7fc2
Optimize the definition of macros
mengyanshou 2be4663
Update src/logging.cpp
mengyanshou aeaf88e
Merge branch 'master' into feat/android
mengyanshou 0351cf3
improve android log
mengyanshou 4b823bf
change default android_priority
mengyanshou 938aac1
Merge branch 'master' into feat/android
mengyanshou File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apologies, I wrote a comment on this for the last review but it didn't appear for some reason.
I think we discussed this on Discord some time back, but can you explain here why it's not supported right now? In my mind this should work, but I might be missing something.
In my mind, the default "Desktop" application could be renamed to "Screen" or something along those lines. Then the user could add the commands for other applications that would launch an app. Maybe I am missing something?
For reference, these are the current three
apps.json
files:There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since I haven't decided on the form of Sunshine Android yet - whether it will be an APK, a binary launched via adb, or both options
The difference is that if it's an APK, the app will need to request screen recording permissions from users, with the readable directory being
/data/data/com.xxx/files
If it's a binary launched through adb, no permissions would be needed, with the readable directory being
/data/local/tmp
These two approaches have different readable directories, so I'd like to implement this when I have more time available