LFS Stats for Android
LFS Stats is an app for Android devices which retrieves and shows public LFSW stats, so it can be used on-the-go, without having to open the browser.
The app is not perfect, EXPECT some bugs! I just started to dive in Android development recently. If you encounter ANY bugs, crashes or errors, please let me know here in this thread (explain the situation - what screen were you on, what did you press last time, screen orientation, connection status, etc.). If you post the error log here (or send the error log in a PM or email: [email protected]), I would be grateful for that - it helps me debug and fix errors. If you have any suggestions about features, design or anything related to the app, feel free to post them here as well. It would be nice to hear feedback! I'd like to get this app on Play Store some day, so updates are easier for me and for you as well, but that requires registering a developer account (and paying the registration fee) on Play Store which I currently do not have. For now, I'll post any updates to the app here in this thread. Huge thanks to the LFS developers for their incredible racing simulation, LFSWorld statistics website and the Pubstat system which makes this app work!
LFS Stats is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Features
Current features:
Planned features:
As the app is not on Play Store yet (for reasons described in the description above), by default, Android blocks installing third-party apps on devices. You have to allow installing apps from "Unknown sources" in your device settings -> Security -> Unknown sources (Allow installation of apps from sources other than the Play Store). Depending on your device, this switch might be somewhere else in your device settings (under Lock screen and Security; Advanced settings; Apps -> Upper right menu: Special access -> Install unknown apps; etc.).
The first time you start the app, you must enter your 32-chars long Ident-Key that you can generate on LFSWorld: LFSW -> My LFSW Settings -> Pubstat access tab. Make sure to NOT bind the Ident-Key to an IP, and do not allow premium usage (just to make sure your LFS balance remains untouched, as the app can't make use of premium usage right now). You can change your Ident-Key later in Settings in the app.
Download
Current version: 0.8.4.
See post attachments to download the latest version, in a .zip file. If you install the new version of top of the version on your device, saved settings should be kept (ident-key, username, notification preferences etc.). If you notice any anomalies upon upgrading, please let me know and provide as much details as you can.
Requirements
Android 5.0 and up.
Permissions
Currently, the app doesn't request any special permissions that a user has to grant upon installation or during using the app. The app uses the following permissions, granted automatically by the Android system:
- Network access
Changelog
Screenshots
[see attachments]
LFS Stats is an app for Android devices which retrieves and shows public LFSW stats, so it can be used on-the-go, without having to open the browser.
The app is not perfect, EXPECT some bugs! I just started to dive in Android development recently. If you encounter ANY bugs, crashes or errors, please let me know here in this thread (explain the situation - what screen were you on, what did you press last time, screen orientation, connection status, etc.). If you post the error log here (or send the error log in a PM or email: [email protected]), I would be grateful for that - it helps me debug and fix errors. If you have any suggestions about features, design or anything related to the app, feel free to post them here as well. It would be nice to hear feedback! I'd like to get this app on Play Store some day, so updates are easier for me and for you as well, but that requires registering a developer account (and paying the registration fee) on Play Store which I currently do not have. For now, I'll post any updates to the app here in this thread. Huge thanks to the LFS developers for their incredible racing simulation, LFSWorld statistics website and the Pubstat system which makes this app work!
LFS Stats is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Features
Current features:
- Notifications:
- on a friend joining an online server
- on new hotlaps uploaded to LFSW (WR (default) / Top 10 / Top 50 / ALL)
- on a friend joining an online server
- Retrieve and list:
- hotlap upload log (filter by: ALL, WR, Top 10 or Top 50), landscape view recommended to avoid data not showing up, also you can see Splits in landscape mode
- hotlap charts (of a specific combo). WRs are highlighted bold, own hotlaps are light green and friends' hotlaps are light blue.
- hotlaps by a racer
- online stats of a racer (including current or last status, host and car/track combo)
- server browser (online hosts)
- hotlap upload log (filter by: ALL, WR, Top 10 or Top 50), landscape view recommended to avoid data not showing up, also you can see Splits in landscape mode
- Friends list, their status, current server and last seen information
Planned features:
- alert when a friend sets a new hotlap / reaches milestones (stats)
- alert for new hotlaps on specific combos
- online PB's of a racer
- tapping the hotlap notification not only opens app but brings you to the hotlap chart for the combo
- list sorting for hotlaps
- language selector
- dark mode
- teams list
- ability to open browser to get LFSW Ident-Key so you can copy it and paste it back to the app easily
- home screen with some online activity graphs / data
- widgets (server status with player list, online friend list)
- + I'm open to suggestions!
As the app is not on Play Store yet (for reasons described in the description above), by default, Android blocks installing third-party apps on devices. You have to allow installing apps from "Unknown sources" in your device settings -> Security -> Unknown sources (Allow installation of apps from sources other than the Play Store). Depending on your device, this switch might be somewhere else in your device settings (under Lock screen and Security; Advanced settings; Apps -> Upper right menu: Special access -> Install unknown apps; etc.).
The first time you start the app, you must enter your 32-chars long Ident-Key that you can generate on LFSWorld: LFSW -> My LFSW Settings -> Pubstat access tab. Make sure to NOT bind the Ident-Key to an IP, and do not allow premium usage (just to make sure your LFS balance remains untouched, as the app can't make use of premium usage right now). You can change your Ident-Key later in Settings in the app.
Download
Current version: 0.8.4.
See post attachments to download the latest version, in a .zip file. If you install the new version of top of the version on your device, saved settings should be kept (ident-key, username, notification preferences etc.). If you notice any anomalies upon upgrading, please let me know and provide as much details as you can.
Requirements
Android 5.0 and up.
Permissions
Currently, the app doesn't request any special permissions that a user has to grant upon installation or during using the app. The app uses the following permissions, granted automatically by the Android system:
- Network access
Changelog
0.8.4 | 06/05/2024
- "Friends" page no longer shows "User offline" below player name (on/offline status is depicted on the right anyways), instead it shows "Last seen: never" or the last seen time.
- FIX: crashed on newer Android versions (12+), crash introduced in 0.8.3.
0.8.3 | 06/05/2024
"Friends" list:
- FEATURE: Sort friends list alphabetically/last seen online (suggested by RG^NOSLE (cuni))
"Online hosts":
- FIX: crashed due to unhandled cars info (since mod system)
- FIX: is now aware of Layout Square tracks
"Online Racer Stats":
- FIX: crashed when a racer had lots of driven distance
"Hotlap Charts":
- QOL: refresh happens automatically upon user changing combo (no need to swipe down)
- QOL: track/car combo selection now persists per environment
0.8.2 | 31/03/2021
- FIX: Content of different pages now persist upon switching between them
- FIX: Hotlap Upload Log: landscape notice no longer visible once in landscape
- FIX: All input text fields are now single-line
- FIX: Username input fields on "Online Racer Stats" and "Hotlaps by Racer" pages can now be submitted using the "Action" button on keyboard
- FIX: Fixed a crash caused by an empty friends list (upon opening "Online Racer Stats" and "Hotlaps by Racer" pages)
0.8 | 06/07/2020
- NEW: Server browser (Online hosts - basic functionality)
- NEW: Coloring for host names (incl. Friends page, Server browser and Online Racer Stats pages)
- NEW: "Last seen" time for each offline friend (Friends page)
- NEW: Friends' usernames show on a drop-down list for easier input (Hotlaps by Racer, Online Racer Stats pages)
- Fixed Friends page never updating when Notifications were disabled
- Adding a user to Friends list multiple times no longer possible
- Fixed the recognition of some track names
- Reordered preferences in Settings to better reflect function (background update vs. notifications)
- Minor layout changes
0.7 | 28/05/2020
- NEW: Hotlap charts
- NEW: Friends page with friend statuses and current server information
- NEW: Migrated "Manage Friends" into the Friends page: click the pencil icon in the action bar to edit list
- NEW: Friends are now highlighted on the hotlap log and charts (own hl's marked light green, friends' light blue)
- Added confirmation of adding a friend (known issue: the confirmation message is above the "+" button)
- The startup screen is now the new Friends page
- Second words in multiple-word usernames no longer disappear
- Minor layout changes and performance improvements
0.6 | 21/05/2020
- NEW: Friends list (accessible in Settings - Manage Friends)
- NEW: Alert when friends connect to a server
- Ident-Key is now hidden in Settings
- Fixed a crash on Online Racer Stats when player had no stats in some fields
- New HL notifications no longer overwrite previous hotlap notifications
- Removed the big "Refresh" buttons to clean up look
- Minor layout changes
0.5 | 18/05/2020
- Initial release
Screenshots
[see attachments]