Hello All,
While trying to add a widget to a project, I ran into an odd issue where my widget would not show up in the list of widgets. My existing project has 3 activities and a service. I added the widget service as advised in tutorials in the forum, but could not see my widget show up.
Then I create a new B4A project and created the same widget service and layout. Then when I launched this project, I saw my widget listed on the device.
Is there anything extra I need to do to add a widget in an existing project? Or is creating a new widget only project the only way to add widgets? This will be very unusual and as it will require packaging two apps which should only be one app. Hence, I believe I am missing something.
[EDIT] Have also noticed that the only way to debug a widget is to use legacy mode. The fast debug throws exceptions, starting with could not find widgetlayout.bal ...
Thanks.
While trying to add a widget to a project, I ran into an odd issue where my widget would not show up in the list of widgets. My existing project has 3 activities and a service. I added the widget service as advised in tutorials in the forum, but could not see my widget show up.
Then I create a new B4A project and created the same widget service and layout. Then when I launched this project, I saw my widget listed on the device.
Is there anything extra I need to do to add a widget in an existing project? Or is creating a new widget only project the only way to add widgets? This will be very unusual and as it will require packaging two apps which should only be one app. Hence, I believe I am missing something.
[EDIT] Have also noticed that the only way to debug a widget is to use legacy mode. The fast debug throws exceptions, starting with could not find widgetlayout.bal ...
Thanks.