- Status Unconfirmed
- Percent Complete
- Task Type Patches
- Category User Interface
- Assigned To No-one
- Operating System All players
- Severity Low
- Priority Very Low
- Reported Version Daily build (which?)
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#13339 - Support for android devices newer than KitKat (4.4) and 1080x1920 Cabbie V2 Theme
Hello, I am uploading the following patches for revision and testing:
- Android support for devices newer than KitKat 4.4, based on the work of hp30 from http://hp30.blog.fc2.com/
- Cabbie v2.0 support for 1080×1920 resolutions by me (@gama)
- Cabbie v2.0 support for 1280×800 resolutions.
Tested on: Sony Xperia F5121, Android 6.0.1 and Sony Xperia XZ2, Android 10.0. UPDATE: Lenovo Y3T-X50f tablet, Android 6.0.1.
Tested successfully as of commit: e8faf2f2
IMPORTANT: With commit: 6dcbf7ff77b0596c3317a76097e8b0c1c2f8158a, a floating point error occurs when changing volume!.
Setup Development environment:
I am using Windows 10 using WSL2, Debian distribution.
After installing wsl2 debian, I followed the rockbox development guide to install necessary packages.
(https://www.rockbox.org/wiki/LinuxSimpleGuideToCompiling)
Installed android ndk-r10e to /usr/lib/android-sdk/ndk/android-ndk-r10e using sdk-manager
Installed latest android sdk to /usr/lib/android-sdk
If you want to test on android, export enviroment variables before running configure:
export ANDROID_NDK_PATH=/usr/lib/android-sdk/ndk/android-ndk-r10e
export ANDROID_SDK_PATH=/usr/lib/android-sdk
General notes:
To test cabbie 1080×1920 theme, you can use sdl or android builds. If you want to test on android you need to apply the hp30 patch too.
I have added svg and xcf sources to the patch. I tried to reproduce the original cabbie v2 feel, but some gfx colors are not accurate. Feel free to modify them.
The hp30 patch contains mostly hp30’s work, used with his permission, so please give credits to him/her.
You can easily find the changes searching for ‘hp30.blog’ in the sources.
Known issues:
- The cabbie theme needs a proper wps_backdrop file with gradient like other targets have, but I could not create a 16 bit background that looked good on my phone. So I hope someone can do it.
- The android patch needs lots of testing and revision. I managed, with my current japanese level, to some extent, tanslate and follow hp30 blog. And I have successfully tested his changes on my phone. But there are still many “untested” features of rockbox that need to be checked.
- Plugins, specially, need to be tested one by one. For now I simply made small modifications to build them.
- On my phone I cannot see rockbox playback controls in the notification area widget.
- If you pause the music and return to home screen the app will be terminated.
- rockbox status bar shows very small icons and font text.
- A bigger resolution icon for the app is needed.
- I have not tested other android ndk or sdk versions.
- Volume is set to max at startup. I think it would be good to set it to 50 - 75%, but didn’t found where initial settings are defined.
[UPDATE 01] - Added link to 1280×800 cabbie theme. It was relatively easy to create it with attached xcf and svg files, so If you like, more theme resolutions can be created for other android devices. Please use v1.1 patch and apply after other two patches.
By Mauricio Garrido @gama
https://drive.google.com/file/d/1Ddw_bd5YoDXQYxcgQIDd6KWG_Zcchv74/view?usp=sharing
https://drive.google.com/file/d/1NxXzX6q4Vud7EM_T-d8YkilMvPykk8Zp/view?usp=sharing
https://drive.google.com/file/d/1D2MfKway4_Gdmht2V41G-OEB62Eux4CZ/view?usp=sharing
https://drive.google.com/file/d/14ONZgIw3pswv_RyF819i2ToTEIeL1n9Z/view?usp=sharing
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
These links are all dead now, can you post them somewhere else (or attach them to the ticket directly?)