Mass Schedule Distribution & Tablet Remote Start Protocol#31
Merged
listingclown3 merged 2 commits intorebuiltfrom Apr 9, 2026
Merged
Mass Schedule Distribution & Tablet Remote Start Protocol#31listingclown3 merged 2 commits intorebuiltfrom
listingclown3 merged 2 commits intorebuiltfrom
Conversation
Agent-Logs-Url: https://github.com/team-2073-eagleforce/EagleforceScoutingApplication/sessions/e0635f95-4ff2-468e-a77f-79d60196898d Co-authored-by: listingclown3 <86990758+listingclown3@users.noreply.github.com>
…cation, JSON parsing, error codes Agent-Logs-Url: https://github.com/team-2073-eagleforce/EagleforceScoutingApplication/sessions/e0635f95-4ff2-468e-a77f-79d60196898d Co-authored-by: listingclown3 <86990758+listingclown3@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
listingclown3
April 8, 2026 20:08
View session
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Implements the two-part Replay System integration described in the problem statement.
Part 1 — Schedule Distribution
How it works:
{ server_ip, port, comp_code, year }, stores all fields persistentlyhttps://{ip}:{port}/schedule/{year}{comp_code}_matches.csvand downloads it automaticallyError handling (non-obtrusive Toasts):
403→ "Schedule download disabled. Ask field crew to re-enable it."404→ "Schedule file not found on server."HTTPS / self-signed cert: Uses a trust-all
X509TrustManager(required for LAN self-signed certs per spec). TheHostnameVerifiervalidates against the configured server IP to prevent connecting to unknown hosts.Part 2 — Remote Start
How it works:
{ auth_key, start_url, server_ip, port }, stores all fields persistentlyPOST {start_url}with{ auth_key }asynchronouslySwipe lock: When remote start is enabled, swiping from the Info tab to Auto is blocked — the scout must press the Start Recording button (which fires the remote start) to advance. Tab-bar clicks still allow free navigation.
Error handling (non-obtrusive Toasts):
200→ "✓ Recording started"401→ "QR code expired — scan a new Remote Start QR"409→ "Already recording"-1(no config) → "Scan the Remote Start QR in Settings first"Changes
New files
ReplayServerManager.java— singleton managing server config persistence, CSV download, and remote start POSTNonSwipeableViewPager.java— custom ViewPager that blocks swipe on Info tab when remote start is enabledModified files
AndroidManifest.xml— addedINTERNET,CAMERApermissions;usesCleartextTrafficViewScheduleActivity.java— QR scan button, CSV download flowactivity_view_schedule.xml— added Scan QR and Remove Schedule buttons side-by-sideSettingsActivity.java— remote start QR scan, persist config, manual edit fieldsroot_preferences.xml— new "Replay Remote Start" preference categoryScoutingFormActivity.java— configure swipe lock on resume,navigateToAutoTab()helperactivity_scouting_form.xml— replacedViewPagerwithNonSwipeableViewPagerUIInfoFragment.java— Start Recording button, fire remote start, navigate to Autoui_fragment_info.xml— added Start Recording button (GONE by default)strings.xml— all new user-facing stringscolors.xml— addedmd_black_1000,md_red_700