1. A

    Android Question Home Screen Widget update issue

    Hi, I need some help with a widget home screen Find bellow part of the widget receiver module I had developped: Sub Process_Globals Dim rv As RemoteViews Dim jobHttp_widget As HttpJob Dim hashcode as String End Sub Private Sub Receiver_Receive (FirstTime As Boolean...
  2. rleiman

    Android Question [Solved] - Custom widgets XML layout

    Greetings everyone, I was looking at this thread on how to make a custom XML file and manifest coding so a widget can be customised. https://www.b4x.com/android/forum/threads/widget-layout-resizable-adaptive.115638/#content I would like to alter the coding in the manifest so it will work for...
  3. catamitu

    Android Question Runtime connect widget to a service

    Hello! I am working to a project for creating and recalling sound profiles on my android. My question is: it is possible to "connect" a service to a widget in the moment of adding this widget to homescreen? in other words, when i add a widget to homescreen, a list of radiobuttons appear and i...
  4. rleiman

    Android Question Getting the widget image file the correct size

    Greetings Everyone, I would like to know what the correct image file sizes and designer settings sizes I should use for all the different possible widget sizes such as 1x1, 1x2, etc. For example I wanted to create a 1x1 widget. The png file size is 128x128 pixels. The attachments show what the...
  5. A

    Android Question Error on compiling corwin42's worldclock widget

    I wanted to have resizable widget, So I searched the forum for that and i found this: link However, when I compile the app it show me this error:
  6. Sagenut

    Android Tutorial Widget Layout (Resizable, Adaptive)

    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...
  7. rleiman

    Android Question [SOLVED] - Widget creates additional notification

    Greetings, 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...
  8. rleiman

    Android Question [SOLVED] Placing a widget causes notification title and body to be duplicated.

    Hi Everyone, 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. Sub...
  9. Paulo Rosa

    Android Question App activity vs widget activity

    Hi, 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...
  10. Multiverse app

    Wish Hotswap code with widget

    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...
  11. rleiman

    Android Question [SOLVED] Calling an activity by tapping on a widget

    Hi Everyone, Can you tell me what coding I need to add to the widget service in order to call an activity when the user taps the widget? Thanks.
  12. Cebuvi

    Android Question Widget with API 26

    Hello I have verified that with API 26 the widgets of my application do not update and stop responding. Will this be solved with the new version of B4A? Thanks. César
  13. MarkusR

    Share My Creation B4A Clock 24 Widget

    Here is my 24 hour clock as Widget Project. V 09.03.2018 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 ..)
  14. R

    Android Question extract data from json and update label text in widget

    Hello, 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...