Load site modules...
lade...
random avatar

dfy - Network

Posts Subscribe

"Premature optimization is the root of all evil." ~ Donald...

https://techhub.social/@dfy/1142...

"Premature optimization is the root of all evil." ~ Donald Knuth

github.com/dfyockey/RomanDigit
@androiddev

21.3.2025 20:34"Premature optimization is the root of all evil." ~ Donald...
https://techhub.social/@dfy/1142...

This fix should have been added to RomanDigital long ago. 🙄 https://github.com/dfyockey/RomanDigital/releases/tag/2.0.1#AndroidDev...

https://techhub.social/@dfy/1141...

This fix should have been added to RomanDigital long ago. 🙄

github.com/dfyockey/RomanDigit
@androiddev

8.3.2025 02:12This fix should have been added to RomanDigital long ago. 🙄 https://github.com/dfyockey/RomanDigital/releases/tag/2.0.1#AndroidDev...
https://techhub.social/@dfy/1141...

RomanDigital app and widgets can now be configured independently. Options to set widget time zone time display and layout including a time...

https://techhub.social/@dfy/1140...

RomanDigital app and widgets can now be configured independently. Options to set widget time zone time display and layout including a time zone label have also been added.

github.com/dfyockey/RomanDigit
@androiddev

24.2.2025 16:31RomanDigital app and widgets can now be configured independently. Options to set widget time zone time display and layout including a time...
https://techhub.social/@dfy/1140...

Variable widget background opacity is finally here.https://github.com/dfyockey/RomanDigital/releases/tag/1.3.0#AndroidDev #RomanDigital...

https://techhub.social/@dfy/1135...

Variable widget background opacity is finally here.

github.com/dfyockey/RomanDigit
@androiddev

18.11.2024 16:45Variable widget background opacity is finally here.https://github.com/dfyockey/RomanDigital/releases/tag/1.3.0#AndroidDev #RomanDigital...
https://techhub.social/@dfy/1135...

Widget opacity is currently fixed at 20%. Hope to have a release out soon making it user-variable.#AndroidDev #RomanDigital @androiddev

https://techhub.social/@dfy/1134...

Widget opacity is currently fixed at 20%. Hope to have a release out soon making it user-variable.

@androiddev

7.11.2024 18:59Widget opacity is currently fixed at 20%. Hope to have a release out soon making it user-variable.#AndroidDev #RomanDigital @androiddev
https://techhub.social/@dfy/1134...

Just released an improvement responsive to a RomanDigital user's much appreciated GitHub issue pointing out confusion in installing the...

https://techhub.social/@dfy/1133...

Just released an improvement responsive to a RomanDigital user's much appreciated GitHub issue pointing out confusion in installing the app's widget.

github.com/dfyockey/RomanDigit
@androiddev

29.10.2024 19:17Just released an improvement responsive to a RomanDigital user's much appreciated GitHub issue pointing out confusion in installing the...
https://techhub.social/@dfy/1133...

RomanDigital was finally added to F-Droid this last Friday 🙂A rookie mistake on my part caused it to take longer than expected: I...

https://techhub.social/@dfy/1133...

RomanDigital was finally added to F-Droid this last Friday 🙂

A rookie mistake on my part caused it to take longer than expected: I released version 1.1.2 while version 1.1.1 was being processed for addition. That caused a "broken pipe" in F-Droid's build sequence, so they had to start over with version 1.1.2. Guess ya live and learn, right?

f-droid.org/en/packages/net.di

@androiddev

Note: Permission info added by F-Droid on their site suggests that the user can set alarms and reminders with the app. This is incorrect; see the README file in the source code for more info.

27.10.2024 20:50RomanDigital was finally added to F-Droid this last Friday 🙂A rookie mistake on my part caused it to take longer than expected: I...
https://techhub.social/@dfy/1133...

RomanDigital version 1.0.0 source code at https://github.com/dfyockey/RomanDigital under the Apache 2.0 license is now public.Took lots of...

https://techhub.social/@dfy/1131...

RomanDigital version 1.0.0 source code at github.com/dfyockey/RomanDigit under the Apache 2.0 license is now public.

Took lots of cleanup, a few fixes, and addition of a few small features that I should have put in earlier to get to this point.

Next is to get the app up on F-Droid (f-droid.org).

@androiddev

13.9.2024 22:38RomanDigital version 1.0.0 source code at https://github.com/dfyockey/RomanDigital under the Apache 2.0 license is now public.Took lots of...
https://techhub.social/@dfy/1131...

Fixed the side navigation bar problem. As expected, given using WindowInsetsCompat and etc to get inset sizes made it pretty trivial. Just...

https://techhub.social/@dfy/1128...

Fixed the side navigation bar problem. As expected, given using WindowInsetsCompat and etc to get inset sizes made it pretty trivial. Just had to set padding of the toolbar's ActionMenuView that contains the action icons.

Also fixed the aesthetic problem from overlap on the other end of the toolbar by setting margins of the toolbar's Title.

Not sure if this can all be optimized to make fewer individual adjustments since the Title has a default margin that needs to be taken into account. Not going to try at this point, though, because as Donald Knuth said, "premature optimization is the root of all evil (or at least most of it) in programming." en.wikiquote.org/wiki/Donald_K

@androiddev

27.7.2024 00:55Fixed the side navigation bar problem. As expected, given using WindowInsetsCompat and etc to get inset sizes made it pretty trivial. Just...
https://techhub.social/@dfy/1128...

The following bit of code was working fine in the #RomanDigital app to get the status bar height, needed to position the toolbar:int...

https://techhub.social/@dfy/1128...

The following bit of code was working fine in the app to get the status bar height, needed to position the toolbar:

int statusBarHeight = getResources().getDimensionPixelSize( getResources().getIdentifier("status_bar_height", "dimen", "android") );

But while poking thru the code in Android Studio (Hedgehog | 2023.1.1 Patch 2), I noticed a mouseover popup on the bit that admonished, "Using internal inset dimension resource status_bar_height is not supported". 🙁 Its more detailed info advised to use androidx.core.view.WindowInsetsCompat and related APIs to get the value.

So, I ended up adapting the example at developer.android.com/develop/ to do the job. It's probably obvious, but this needs to go in an Activity's onCreate method to work.

The nice thing is that the WindowInsetsCompat approach should make trivial dealing with the side navigation bar problem (techhub.social/@dfy/1128214700). 🙂

@androiddev

25.7.2024 19:20The following bit of code was working fine in the #RomanDigital app to get the status bar height, needed to position the toolbar:int...
https://techhub.social/@dfy/1128...

Still working on a way to prevent the Info icon on the toolbar from being overlapped by a right-positioned navigation bar, making the icon...

https://techhub.social/@dfy/1128...

Still working on a way to prevent the Info icon on the toolbar from being overlapped by a right-positioned navigation bar, making the icon untappable. The quick 'n' dirty fix of hardcoding padding into the toolbar at each end works, but the padding looks like unneeded empty space on devices where the nav bar's never at a side of the screen.

@androiddev

20.7.2024 23:43Still working on a way to prevent the Info icon on the toolbar from being overlapped by a right-positioned navigation bar, making the icon...
https://techhub.social/@dfy/1128...

In dealing with RomanDigital's menu, I found a standard PopupMenu-like menu annoyingly problematic to position and — more importantly...

https://techhub.social/@dfy/1128...

In dealing with RomanDigital's menu, I found a standard PopupMenu-like menu annoyingly problematic to position and — more importantly — too bland looking. So, the left side of my brain decided to use an ActionBar, at which point the right side of my brain decided that the icons on it just *had* to be programmatically colored so they'd look good and be easily changeable. 🙄 Ended up using a Toolbar without an ActionBar to get *that* to work. There was also the need to coordinate show/hide of the System Bars with the Toolbar, including mitigating interference of the camera area on some phones. Got all of that worked out to where a tap on the display gives something different yet fairly standard.

@androiddev

20.7.2024 20:42In dealing with RomanDigital's menu, I found a standard PopupMenu-like menu annoyingly problematic to position and — more importantly...
https://techhub.social/@dfy/1128...

The first thing to fix in my Roman numeral digital clock app — oh so unexpectedly named 'RomanDigital' — is the egregiously...

https://techhub.social/@dfy/1127...

The first thing to fix in my Roman numeral digital clock app — oh so unexpectedly named 'RomanDigital' — is the egregiously non-standard menu shown in the attached image. Learned some things about including fragments in activities by implementing it, but it just doesn't fit the Android look. I'm sure this'd be a hand-wave for experienced devs to fix. For me, it's time to learn how to do a menu right.

@androiddev

5.7.2024 22:28The first thing to fix in my Roman numeral digital clock app — oh so unexpectedly named 'RomanDigital' — is the egregiously...
https://techhub.social/@dfy/1127...

For my first Android app, I decided to make a Roman numeral digital clock. Turned out to be a lot harder than I expected, probably due to my...

https://techhub.social/@dfy/1127...

For my first Android app, I decided to make a Roman numeral digital clock. Turned out to be a lot harder than I expected, probably due to my own stipulations.

Thinking the app good enough for a 1.0 release, I began looking to put it on Google Play. Then I found their new testing requirement, imposed last November: A new app must be tested by least 20 people for at least 14 days each before being considered for inclusion on Play.

As an introvert just starting in indie Android development, I don't know of 20 people with Android devices that'd be willing or able to effectively test my app. So, dealing with the testing to get it up on Google Play may take a while.

There are a few bits, which I'd put off when deciding to freeze things, that testers would likely complain about. Given the testing req, I think I'll address those bits and maybe some others before moving on.

Seems just the threat of testing can lead to improvement 🙂

@androiddev

4.7.2024 23:14For my first Android app, I decided to make a Roman numeral digital clock. Turned out to be a lot harder than I expected, probably due to my...
https://techhub.social/@dfy/1127...

Hello, World!It's taken me a week and a half to write an #introduction?! Geez! Okay, so, without further ado...I'm a developer of...

https://techhub.social/@dfy/1126...

Hello, World!

It's taken me a week and a half to write an ?! Geez! Okay, so, without further ado...

I'm a developer of software of my own choosing in a variety of self-taught languages; things in that area will likely be the majority of what get posted here. I'm a long time Linux user and, as you might then expect, have a preference for FOSS over proprietary software. And I enjoy graphic design and 3D print design when the need or mood for doing either arises.

Some other interests include computer history, retro tech, some types of sci-fi, pizza sans lactose, 80s pop music, chess, classic arcade games, fourth-wall breakage, and tongue-in-cheek humor.

28.6.2024 15:52Hello, World!It's taken me a week and a half to write an #introduction?! Geez! Okay, so, without further ado...I'm a developer of...
https://techhub.social/@dfy/1126...
Subscribe
To add news/posts to your profile here, you must add a link to a RSS-Feed to your webfinger. One example how you can do this is to join Fediverse City.
         
Webfan Website Badge
Nutzungsbedingungen   Datenschutzerklärung  Impressum
Webfan | @Web pages | Fediverse Members

⬆️

⬇️