Since we can now make widgets it'd be nice if we could use them inside our apps somehow
?????
I think nobody understands what you mean. What do you want to do?
I'm sure most people understood that. It's self explanatory if you know what widget and an app are.
Yes.1 Can we have in the same package (apk) a normal activity app and a widget?
Yes.2 Can an app exchange info with a widget?
I'm sure most people understood that. It's self explanatory if you know what widget and an app are.
A widget can never run INSIDE an app, but you can recreate a widget and its functions in it...
so you can say, use the winamp widget within your app?I know what widgets and apps are and I know how they are supported by and work in B4A and therefore I don't understand what your wish is. Because everything I can imagine what your wish may be is already possible and supported with B4A.
Home screen widgets are special features of Android. You cannot simply host such a widget in a regular application. This is not related to Basic4android.
Inside a B4A app, we dont call it widget, but a view, module or library...
.
You already can create "Custom Views"....
Create a layout of how the custom-view should look, and then create a code module to deal with the Custom-view's internal views...
Then you just load your Custom-View layout into an activity or a Panel... Thats it!
me tooNow i need the ability to host widgets as i am making a launcher