Skip to content
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

Merge android branch - android support and android app/widget #1

Merged
merged 61 commits into from
Jan 6, 2025

Conversation

Toni500github
Copy link
Owner

@Toni500github Toni500github commented Jan 5, 2025

PR for merging the android branch, which contains the android support to be run in termux and the android app/widget. The reason I wanted to make a PR instead of directly merging with git merge is because so I could link all the changes into just one line in the changelog of 0.11.0.

Also this is why you didn't see anything in the main branch for a while, because every change was only about the android support in the android branch.
Except:

  • 848e18d build: added cmake as build option
  • 4bc402c main: re-enable terminal cursor if program crashes
  • 6b3ca90 config and args: add 'bottom' as value to logo-position
  • 353fd00 misc: fix actual wrap-lines behaviour
  • 80e92c5 query: use systemInfo_t for multiple disk, gpu, theme queries instead of std::vector
  • 0115673 misc: fix typos and --list-modules
  • 95d25ba misc: add code comments in headers instead of source
  • 553848b misc: add translation support
  • e33490a args: change some arguments names + add bool values support for those

Toni500github and others added 30 commits November 14, 2024 20:57
hope it won't end as windows lol
yes, I went away for almost a week so I could try to make this revolutionary thing.

still very very WIP and could take some time but we going to be there
…oid app

still prefer the makefile for more stability

also now ANDROID_APP is a rule instead
… + make it work when creating widgets

I hope we going to be somewhere
i wanna kms right now. might as well charge people 10 dollars for this application gadamn. jk
* Now you can launch customfetch instance with different command line argument options
* Install the assets directory when launching the configuration tool
* Change config directory
* More android app support for main.cpp
… tags

for example when using percentage tags

* added a Makefile text when APK was built
* hopefully make customfetchConfigureActivity show up faster
* make clangd on lunarvim stfu when including jni.h or android/log.h by linking them in useless_stuff/
… the text

fix for everytime we add new widgets and the ${auto} colors are the same from the previous widget

* fix logo-position=top + modify example_appwidget_preview.png
ok listen: the android widget has a major problem, it doesn't wrap lines in any way.
You will have a better experience if you use it on a Tablet, but everyone uses a phone.

I'm currently looking for anyone who would suggest a solution to this, either:
* a way to "disable" wrapping lines like in a terminal OR
* I don't know

Now I made this workaround that basically makes the default ascii-logo-type small, since the android_small.txt logo should fit in every phone.
Please if you know a way to kinda fix this or improve, or else I wasted almost a month of development to the actual program
ok so we finally found how to truncate text based on the widget width. Now it works out-of-box with android_small.txt, but with others doesn't really well, but it's a thing now. merging soon to main
ok so I've tried some ways to make the text truncate with more efficency, but its really complicated. So let's make it a disable option
I thought that wrap-lines == truncate, instead is the opposite, mb
bro I thought that those 3 lines at the end were some sorts of bug by (idk), but instead it was the android HTML implementation that doesn't understand what a double space is

it can be ready to merge now, maybe
…w dialog for external storage permission

and also I think workaroud for config when using generateConfig by directly overwritting it.
also some misc changes + save disableWrapLines settings (if it works)
Toni500github and others added 16 commits December 21, 2024 18:36
nothing never works right so atp just parse content even if we are configuring the widget
…ation screen scrollable

also remove `android:previewLayout="@layout/customfetch"` in `res/xml/customfetch_info.xml` so that it doesn't display as an example the word EXAMPLE, but the image
commit is useless af, just wanted to make this for wishsing everyone an 🎄 happy and joyful christmas 🎅 hoho
was kinda bored so I just made this

welp, yesterday was the christmas eve, so today I can wish again everyone an 🎄 happy and joyful Christmas 🎅 hoho
android widget: uncheck radiobuttons by default

display: I think some fix for `parse_args.no_more_reset = false` after use
also add new CPU ID for the GPU in android
…ission for showing toasts

This is (probably) the last commit for this year, since i'll be away until January 2nd.

Thank you so much for all the support for customfetch. I wish you an Happy New Year and hope everything goes well.
I hope that the next year, when i'll release 0.11.0 with the android app and support, customfetch will be even more popular than now.
Surely android ricers will love this feature.

Thank you again and see you next year. Bye Bye :)
Well first commit of year 2025, just came back from vacation, it was aight ngl.
As always, here's a big important update, adding translations.
Removed from commit bcf0453 because as indeed it useless at the time. Time to bring that back in
yes the app is kinda ugly but whatever, it does it's job. I'll later do the 'about me'
@Toni500github Toni500github changed the title Merge android branch Merge android branch - android support + android app/widget Jan 5, 2025
@Toni500github Toni500github changed the title Merge android branch - android support + android app/widget Merge android branch - android support and android app/widget Jan 5, 2025
Toni500github and others added 8 commits January 5, 2025 15:54
…ndroid widget

also prettify a bit the samsung chip list
* add (again) firstRun and hope this time is going to be accurate
* do not parse the main config if just wants to display --help or --list-modules
* start using the `binding` variable instead of creating many others
* remove bgColor pref
* fix optind problems when using `-C` (again)
@Toni500github Toni500github merged commit 94bbef6 into main Jan 6, 2025
17 checks passed
@Toni500github Toni500github deleted the android branch January 6, 2025 15:55
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.

2 participants