Xtreme-Firmware icon indicating copy to clipboard operation
Xtreme-Firmware copied to clipboard

Run apps in background

Open fred-corp opened this issue 1 year ago • 8 comments

Description of the feature you're suggesting.

Wouldn't it be great to be able to run apps in background ?

Here's how it could work : For example, when using the POCSAG app (pager app which uses the SubGHz radio), hold "back" button for 5s, a prompt would appear to exit the app or to run in background; if an application runs in background, press 5s on the back button, a prompt appears to go back to the app or to exit it. When you go back to the app, if you were using another app, that app would go to background.
If you want to run an app that uses the same ressources as the background app (for example POCSAG is in background and you want to use SubGHz), a prompt appears where you can select to kill/pause the background app, go back to it, or do nothing (dismiss prompt and don't open the new app)

Anything else?

Thanks a lot for making this alternative firmware, I've been using it since I got my flipper and I wouldn't change back :)

fred-corp avatar Apr 25 '23 07:04 fred-corp

:no_good:

That would require a rewrite of like most of the firmware. So unless you are hiding a team of C developers (and im serious.. if you do, hell yeah lets do it) its not gonna happen unfortunately

ClaraCrazy avatar Apr 25 '23 07:04 ClaraCrazy

Unfortunately I'm only a team of one 😅
I'm learning FreeRTOS in my free time (which due to my studies I have not a lot of x) ), so maybe if on a night of insomnia I get my hands on a container of coffee, who knows what would be attainable :D

I'll submit this issue to the official repo, maybe their team has more time and the knowledge on how to do this more efficiently ^^

fred-corp avatar Apr 25 '23 07:04 fred-corp

I bet 10$ they say no

ClaraCrazy avatar Apr 25 '23 07:04 ClaraCrazy

For what it's worth, so far I've gathered that basically everything to do with flipper UI and apps is designed around only one app being on screen. When an app is open, the firmware basically passes near full control to it, so to say (of course its more complicated than that, but this is just to give a rough idea). So if this is even possible, it would require A LOT of changes, if I had to guess most substantially to how scene managers and view ports work. However I'd say that Clara's 'most of the firmware' is by no means an exaggeration xD

Willy-JL avatar Apr 25 '23 17:04 Willy-JL

This app has managed to do it https://github.com/twisted-pear/bgloader for subghz chat but the xtream modification broke it.

Bluefrog922 avatar Oct 11 '23 13:10 Bluefrog922

but the xtream modification broke it.

no. the bgloader is a proof of concept and it requires the individual apps to support the behavior. esubghz chat does support it, but it was added after, and the esubghz chat we include is not up to date, we are currently migrating and updating all apps

Willy-JL avatar Oct 11 '23 13:10 Willy-JL

simple solution. get jailbroken iphone

d9j avatar Oct 19 '23 05:10 d9j

I bet 10$ they say no

They said no https://github.com/flipperdevices/flipperzero-firmware/issues/2610#issue-1682588842

SolarSciencePup avatar Oct 24 '23 07:10 SolarSciencePup