Erik HELLman

265 Followers
129 Following
25 Posts
Probably trying to figure out BLE on Android...
@ataulm That looks way to thick. You know you're only supposed to add a few millimeters at a time? :)

@sergii Thats quite a conspiracy you got. ;)

There are very few apps that actually need their own FGS. Even companion apps doesn't need them starting from Android 13.

@friendlymike I'm sure I can make it better with some Bluetooth...
@friendlymike isn't REST great!? 😂

I wrote about foreground services on Android and how to make them work. Tough topic, lots of pitfalls. Feel free to reach out if you run into any problems. :)

https://www.hellsoft.se/your-guide-to-foreground-services-on-andorid/

#AndroidDev

Your guide to foreground services on Android

Android foreground services are difficult to get right. In this post, I'll explain the restrictions and what you need to do to get them working properly.

Hellsoft

So here's the thing. You can only violate people's legal rights and your own word so far before they lawyer up and come after you.

I really do hope Musk changes his mind and does the right thing - the employees deserve that. But it'll be fun as hell if he doesn't.

@jw Yeah, I was made aware of this from a friend once I posted. Will update my post with that info. :)

It's implemented in Chrome and Firefox, but status unknown for Safari (https://chromestatus.com/feature/6251293127475200).

Node 19, .NET 7, and Jetty 10 seems to have support for it on the server-side.

OkHttp lacks support though, and iOS support is also missing.

Chrome Platform Status

This post has been brewing for a while but I finally took some time to finish it.

Ever wondered how you can do a push from your backend when on HTTP/2? Server-Sent Events is the answer to that. I wrote a piece on how it works and how to do it.

Read how to implement it both on backend (Spring Boot) and on Android.

https://www.hellsoft.se/implementing-server-sent-events/

Implementing Server-Sent Events with Spring Boot and Android

With HTTP/2 we can no longer use Web Sockets, so when we need to push data from the client to the server we need an alternative way. This is where Server-Sent Events come in. In this post, I will show how to implement it both in the backend, using Spring Boot, and on an Android client.

Hellsoft
Here you can watch a conversation with Hédi Fried speaking about “Who wants to live in a world ruled by hatred?": https://vimeo.com/214086492
Who wants to live in a world ruled by hatred? A conversation with a Holocaust survivor | Hédi Fried

Vimeo

An Auschwitz survivor Hédi Fried passed away today at the age of 98.

Hédi was born in a Jewish family in the Romanian town of Sighet. In 1944 she was deported to #Auschwitz. She was liberated in Bergen-Belsen. In July 1945 she came to #Sweden with the Swedish Red Cross.

Hédi Fried became an author and psychologist dedicated to spreading the message of the importance of democratic values to combat xenophobia, using her own experiences as a #Holocaust #survivor.

#neverforget