[Ovmsdev] Android App beta

Chris van der Meijden chris at arachnon.de
Wed Sep 28 21:35:24 HKT 2022


I foud the problem.

I was using the KWGT AOSP version to be able to import a preset. But
that version tries to load ads. And as it blocked KWGT with my
firewall, well, it tried to load an ad and got stuck on "Loading".

I'm back to the non AOSP, non Pro version and made the widget again and
everything runs fine now.

Sorry for the waves ...

Chris

Am Mittwoch, dem 28.09.2022 um 14:22 +0200 schrieb Chris van der
Meijden:
> I added
> 
> intent.putExtras(mCarData.getBroadcastData());
> 
> on line 524 in api/ApiService.java
> 
> without success. I still saw the switching to "Loading" and back.
> 
> I deleted all my "$br(ovms, ...)$" and it still shows the "Loading" b
> ehauviour.
> 
> So, sorry, it seems to be a LineagOS problem.
> 
> 
> Am Mittwoch, dem 28.09.2022 um 13:33 +0200 schrieb Michael Balzer:
> I don't see this effect on my KWGT test devices with my test widgets.
> 
> The car data already is buffered twice, once on the server and once
> in the App.
> 
> I added Kustom broadcasts on push notifications and command results,
> the one on command results doesn't include the standard car data yet.
> Maybe that breaks some of your widget formulas?
> 
> To try, add…
> intent.putExtras(mCarData.getBroadcastData());
> …in ApiService.onResultCommand() before the sends.
> 
> Regards,
> Michael
> 
> 
> Am 28.09.22 um 08:43 schrieb Chris van der Meijden:
> 
> Hi Michael
> 
> My KWGT widget switches constantly between displaying the information
> (3 "broadcast" text elements and one image) and "Loading ...":
> 
> 
> Could it be, that we need some kind of buffer in the ApiService.java
> in case the app is not able to provide the actual intent array due to
> bad connectivity from the app to the server? 
> 
> Regards
> 
> Chris
> 
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.openvehicles.com
> http://lists.openvehicles.com/mailman/listinfo/ovmsdev
> 
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.openvehicles.com
> http://lists.openvehicles.com/mailman/listinfo/ovmsdev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20220928/0baf10bf/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kwgt2.png
Type: image/png
Size: 115701 bytes
Desc: not available
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20220928/0baf10bf/attachment-0001.png>


More information about the OvmsDev mailing list