Not sure if this can be considered a Tutorial, my first attempt.
Lately I started to play with Widgets, mostly for curiosity.
The main problem I encountered was how to design the Layout to make it resizable and make the content to adapt automatically to size changes.
Unluckily designing a widget...
I noticed if I place a widget on the phone's home screen an additional notification is created. Can I prevent the app from creating the additional notification?
The attached screen shot will show the added notification created. I have only one area in the app that creates a...
I'm having a problem where placing the app widget on the screen causes the notification title and body to be duplicated when the user pulls down the notifications drawer.
Here's the code that places the title and body of the notification which is in the starter service.
My app has a main activity and also a widget. Currently, I'm using two activities, one is for the app's main "screen" and the other is for the widget. This scheme is hard to work with, since B4A is not able to debug into widgets, and I need to have the same appearance and the same logic on...
This has been bothering me for some time now. So almost all of my projects have widgets in them, and there is a very annoying thing that happens when I try to hot-swap the code (ctr+s) (when widgets are added to the home screen)-
The compiler again tries to create the xml file of the widget...
Here is my 24 hour clock as Widget Project.
i useing a dot for the seconds now and i set the service as foreground.
(it is possible that this Widget drawing also if it is not visible,
i am open for improvements ..)
I would be great-full and happy if someone could help me out over here. I have searched a lot in the forums and tried multiple pieces of code but unfortunately I have issues.
I want to make a widget. I get the data from a web server in Json format. I am able to get it successfully and...