Skip to content

Conversation

@shuuri-labs
Copy link
Contributor

Add android TV support with the following changes:

  • Implement new URLOpener interface with updated open method that accepts UserCode
  • Add logic to MainActivity.java to detect Android TV, adjust UI and SSO flow accordingly
  • Add QRCodeDialog.java to handle QR code/user code display logic
  • Updated relevant layout xml files

@shuuri-labs
Copy link
Contributor Author

shuuri-labs commented Nov 17, 2025

Screenshot 2025-11-17 at 17 36 40 Screenshot 2025-11-17 at 17 36 51 Screenshot 2025-11-17 at 17 37 03 Screenshot 2025-11-17 at 17 41 02 image

@shuuri-labs shuuri-labs force-pushed the feat/add-android-tv-support branch 3 times, most recently from 060014b to 2b85832 Compare November 21, 2025 15:19
@pappz
Copy link
Collaborator

pappz commented Nov 21, 2025

@shuuri-labs Looks like the close button in the peers/networks view is not selectable.

android:textSize="18sp"
android:textStyle="bold"
android:textColor="@android:color/black"
android:text="Device Code: XXXX-XXXX"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please move the texts to the strings.xml

@pappz
Copy link
Collaborator

pappz commented Nov 21, 2025

The peers view is broken on all types of screens. The hamburger menu has been hidden, and it does not cover the view at the bottom of the screen


// Pass TV flag to fragments
Bundle args = new Bundle();
args.putBoolean("isRunningOnTV", isRunningOnTV);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use constant instead of a string

@pappz
Copy link
Collaborator

pappz commented Nov 21, 2025

If I touch the new 'Close' button, the service gets stuck in the 'Connecting' state, and I can never retry.

Ashley Mensah and others added 3 commits November 24, 2025 17:30
Add android TV support with the following changes:
- Implement new URLOpener interface with updated open method that accepts UserCode
- Add logic to MainActivity.java to detect Android TV, adjust UI and SSO flow accordingly
- Add QRCodeDialog.java to handle QR code/user code display logic
- Updated relevant layout xml files
- Add TV banner icon
@shuuri-labs shuuri-labs force-pushed the feat/add-android-tv-support branch 4 times, most recently from 881bc63 to f9aa4a0 Compare November 25, 2025 09:28
- qr code dialog now auto-dismisses when connection successful, or reports failure to mainactivity when not successful
- general cleanup
@shuuri-labs shuuri-labs force-pushed the feat/add-android-tv-support branch from f9aa4a0 to 2f63a45 Compare November 25, 2025 09:54
@shuuri-labs shuuri-labs merged commit 227979c into main Nov 25, 2025
6 checks passed
pappz added a commit that referenced this pull request Nov 26, 2025
This restores the intent of PR #105 which removed the route change
notification feature. PR #100 accidentally reintroduced these elements
due to a force push that overwrote PR #105 changes."
pappz added a commit that referenced this pull request Nov 26, 2025
This restores the intent of PR #105 which removed the route change
notification feature. PR #100 accidentally reintroduced these elements
due to a force push that overwrote PR #105 changes."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants