social.coop is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Fediverse instance for people interested in cooperative and collective projects. If you are interested in joining our community, please apply at https://join.social.coop/registration-form.html.

Administered by:

Server stats:

487
active users

#avaloniaui

0 posts0 participants0 posts today

I did what can only be described as chicanery to get my #Android port of #FeedzApp working with "live" audio player status with native android playback.

I have my existing audio manager spin up a separate thread which, every 300 milliseconds, hooks into #AvaloniaUI's UI thread to send a message on the message bus to request the appropriate data, which my android service responds to on that selfsame thread.

This was the only way I could see to get this working short of trying to run my own dispatcher.

I'd love to see how other people are doing this. I'm worried the media-style notification will cause issues here.

Tonight on stream, I'm going to be implementing my _third_ audio back end for #FeedzApp! Don't worry, this is the last time, because I'll be implementing the #Android media player!

By the end of the night, I expect to have a working Android application which can surface a media-style notification (which you're familiar with if you're an android user!)

Come for the Android, stay for the #DotNet and #AvaloniaUI! Stream starts at roughly 8:30 PM Eastern.

twitch.tv/b4ux1t3

Twitchb4ux1t3 - TwitchA software developer and gamer of pretty freaking average proportions!

Tonight I have two plans related to #FeedzApp:

1. try to get a media-style notification going on android. I want to at least make it so I can pause from the notification drawer, because having to task switch back to my app lie it's 2012 is annoying.
2. Work on the look and feel of everything. I need to make the app beautiful, because I'm not doing #AvaloniaUI justice right now.

If you were watching the stream last night, you know I was having some issues getting my #FeedzApp #Android pipeline to work correctly.

I managed to get it working this morning before work!

You can find the (developer-cert signed) APK file here: gitlab.com/b4ux1t3/FeedzApp/-/

I wouldn't call the Android port "stable" or "worth installing right now", but it's there, and it runs great on my 8-year-old kindle fire!

I need to add some android-related issues to the 0.1.0 (beta) milestone, but I think we're making GREAT progress.

GitLabFeedzApp.Android/out · Artifacts · publish-android (#9277707376) · Jobs · Chris P. / FeedzApp · GitLabName subject to change. ;)

On Tuesday I built the audio player view for #FeedzApp live on stream. You can watch the VOD here: twitch.tv/videos/2391268591

Tonight, I'll be swapping out the Audio library from SDL3 to libVLC and getting the android version in a more-or-less working state!

The fun begins at around 8:30 PM Eastern.

twitch.tv/b4ux1t3

Last week on the stream, I wired up #SDL3 to #DotNet and got my podcast application, #FeedzApp, playing audio on every platform SDL supports (read: all of them).

Tonight, at roughly 8:30 PM Eastern, I'll be putting together an #AvaloniaUi view to control the audio playback, again, live on stream!

twitch.tv/b4ux1t3

And since it's been asked on the stream: No, I don't use any LLM-based tools, at all. Literally zero. Not even as a search aid.

Every bit of code you see on the screen is code I wrote myself, and I'm happy to explain any line!

Twitchb4ux1t3 - TwitchA software developer and gamer of pretty freaking average proportions!

Tonight, I'll be streaming more ticket bashing for my podcast management application, #FeedzApp!

I think we're going to dive in to trying to _play audio_ from within the application! I've selected Sdl3 as my library of choice (for now).

Though, I'll be starting the stream with a little bit of light #art as I draw up a quick icon for the application!

Tune on in at 8:30 PM Eastern over on twitch.tv/b4ux1t3!

Twitchb4ux1t3 - TwitchA software developer and gamer of pretty freaking average proportions!

Okay, I've searched and searched for this. . .but I'm going to ask.

In #AvaloniaUI, I need to have a specifically-sized grid row in order to stick a scroll view in it. I need it to take up the entire height, but _only_ up to the height of the viewport that's remaining after the grid row on top of it. Essentially, I need:
```xaml
<Grid RowDefinitions="Auto, 100%">
</Grid>
```

where that 100% is _only_ within the dimensions of the parent control.

Why is this difficult?

#AvaloniaUI folks: have you ever played audio from your Avalonia application?

I need to find a library that works on every platform that Avalonia supports (except, I guess, taizen).

I'm leaning toward #SDL3, since I know there are semi-official bindings and I have experience with it in c++ land, but I'm open to hearing what other folks have used.