pachi81 / GlucoDataHandler

Android application which receives Glucose values from multiple sources and provide Wear OS complications, Android Auto support, phone widgets/notifications and Tasker integration.
https://play.google.com/store/apps/details?id=de.michelinside.glucodatahandler
MIT License
53 stars 10 forks source link

Startup minimized #167

Closed lostboy86 closed 1 week ago

lostboy86 commented 3 weeks ago

Good morning. Try to explain an example :

on Android car radio (NOT android auto), you can have the widget mobile over the entire gui or app (google maps, music, etc.) When you start the radio, quick boot, you can have to autostart / autolaunch Glucodatahandler on boot, ma launche the app itselft, then you scroll up, multitasking, minimize the app, and you have only the widget to move where you want.

Same situation after resume the radio after shutoff the car and power on the car, or if you close the app accidentally.

Can implement an option to start the widget directly, and also auto-minize the app, or start the app minimized, and if user enabled the widget, appear only the widget and not first the entire app?

Same situation for tablet or raspberry, but on this device you not have to not distract when you drive.

Thanks a lot

pachi81 commented 3 weeks ago

Hi, not sure, if I understand it correct. After reboot, GDH does not start automatically? I normally have a startup registered after boot for GDH. Or is it only related to the floating widget?

lostboy86 commented 3 weeks ago

In the android car radio (Atoto s8 gen2 A10) Glucodatahandler not start automatically sometimes.

But It never be a problem, because agama have a section of autostart apps, also with or without delay.

But It start the entire app, not directly the widget

Il mer 21 ago 2024, 12:10 pachi81 @.***> ha scritto:

Hi, not sure, if I understand it correct. After reboot, GDH does not start automatically? I normally have a startup registered after boot for GDH. Or is it only related to the floating widget?

— Reply to this email directly, view it on GitHub https://github.com/pachi81/GlucoDataHandler/issues/167#issuecomment-2301672896, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJMW5QXM2F7C2SF34KVEHSDZSRRQVAVCNFSM6AAAAABM3VPHQ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBRGY3TEOBZGY . You are receiving this because you authored the thread.Message ID: @.***>

pachi81 commented 3 weeks ago

But after the start of the app, the floating widget is also started or do you have to enable it each time?

lostboy86 commented 3 weeks ago

After the start of the app, appear also the widget mobile.

If we can have an option checkbox tò start minimized (the app), It definitevely fix the issue

Il mer 21 ago 2024, 13:00 pachi81 @.***> ha scritto:

But after the start of the app, the floating widget is also started or do you have to enable it each time?

— Reply to this email directly, view it on GitHub https://github.com/pachi81/GlucoDataHandler/issues/167#issuecomment-2301772647, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJMW5QSRFAXSGS7ZMIGBDYTZSRXMFAVCNFSM6AAAAABM3VPHQ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBRG43TENRUG4 . You are receiving this because you authored the thread.Message ID: @.***>

pachi81 commented 3 weeks ago

Is there an option in the autostart app to start minimized? As I´m not sure, if I can detect, that it is not a normal start...

lostboy86 commented 3 weeks ago

Nothing, no option tò start minimizer

Il mer 21 ago 2024, 13:20 pachi81 @.***> ha scritto:

Is there an option in the autostart app to start minimized? As I´m not sure, if I can detect, that it is not a normal start...

— Reply to this email directly, view it on GitHub https://github.com/pachi81/GlucoDataHandler/issues/167#issuecomment-2301807703, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJMW5QWXKYSJDQB4CYHAMLTZSRZWVAVCNFSM6AAAAABM3VPHQ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBRHAYDONZQGM . You are receiving this because you authored the thread.Message ID: @.***>

lostboy86 commented 3 weeks ago

But maybe i misunderstood, i try to explain :

You can implrment a checkbox for user, If cheked, the app start minimized?

Il mer 21 ago 2024, 13:29 Lost Boy @.***> ha scritto:

Nothing, no option tò start minimizer

Il mer 21 ago 2024, 13:20 pachi81 @.***> ha scritto:

Is there an option in the autostart app to start minimized? As I´m not sure, if I can detect, that it is not a normal start...

— Reply to this email directly, view it on GitHub https://github.com/pachi81/GlucoDataHandler/issues/167#issuecomment-2301807703, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJMW5QWXKYSJDQB4CYHAMLTZSRZWVAVCNFSM6AAAAABM3VPHQ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBRHAYDONZQGM . You are receiving this because you authored the thread.Message ID: @.***>

froster82 commented 2 weeks ago

@lostboy86, I tried to read your description and have had a bit of a trouble wit understanding your problem. Maybe this is a matter of information being lost in translation. Can you please try another approach? Can you write everything once more in your native language and then translate the whole message using https://www.deepl.com/ Maybe we can extract a bit more information from this approach. And describe in more detail the system you are using.

lostboy86 commented 2 weeks ago

I ask if possibile to start the app, without main app screen prompted, directly to widget.

The system of android car its android 10.

Il gio 29 ago 2024, 21:52 Arkadiusz Deliś @.***> ha scritto:

@lostboy86 https://github.com/lostboy86, I tried to read your description and have had a bit of a trouble wit understanding your problem. Maybe this is a matter of information being lost in translation. Can you please try another approach? Can you write everything once more in your native language and then translate the whole message using https://www.deepl.com/ Maybe we can extract a bit more information from this approach. And describe in more detail the system you are using.

— Reply to this email directly, view it on GitHub https://github.com/pachi81/GlucoDataHandler/issues/167#issuecomment-2318816510, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJMW5QQYMGTA3UK7CW7TAB3ZT53YJAVCNFSM6AAAAABM3VPHQ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJYHAYTMNJRGA . You are receiving this because you were mentioned.Message ID: @.***>

pachi81 commented 2 weeks ago

My problem is, if I add such a checkbox it will never be possible to start the app again, if it always start minimized. I don't think it is possible and the app already receives the boot command, which starts the background work... Maybe the car implementation does not send such commands.

lostboy86 commented 2 weeks ago

Maybe a long Press tò the widget to enable/disable this?

Strange because on phone start directly to widget, on radio start the app, popup the main screen app Glucodatahandler,then the widget

Il gio 29 ago 2024, 23:14 pachi81 @.***> ha scritto:

My problem is, if I add such a checkbox it will never be possible to start the app again, if it always start minimized. I don't think it is possible and the app already receives the boot command, which starts the background work... Maybe the car implementation does not send such commands.

— Reply to this email directly, view it on GitHub https://github.com/pachi81/GlucoDataHandler/issues/167#issuecomment-2319014831, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJMW5QVIOQLVEAYJ5FT3FODZT6FLNAVCNFSM6AAAAABM3VPHQ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJZGAYTIOBTGE . You are receiving this because you were mentioned.Message ID: @.***>

pachi81 commented 2 weeks ago

Hi @lostboy86,

can you try this version: https://drive.google.com/drive/folders/1SFBdrZBXvgZwPBfHaiCpssyuxZOXZwRk

I added some more boot receiver. Maybe this already solves the problem...

lostboy86 commented 1 week ago

Fixed in the last version in the link above, thanks mate!!

Il ven 30 ago 2024, 12:39 pachi81 @.***> ha scritto:

Hi @lostboy86 https://github.com/lostboy86,

can you try this version: https://drive.google.com/drive/folders/1SFBdrZBXvgZwPBfHaiCpssyuxZOXZwRk

I added some more boot receiver. Maybe this already solves the problem...

— Reply to this email directly, view it on GitHub https://github.com/pachi81/GlucoDataHandler/issues/167#issuecomment-2320803559, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJMW5QXDNIQKVH74HA4GQFLZUBDVLAVCNFSM6AAAAABM3VPHQ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRQHAYDGNJVHE . You are receiving this because you were mentioned.Message ID: @.***>

pachi81 commented 1 week ago

Perfect! Will be available in version 1.2