AppWidget and the Android's upgrade

Laurent95

Active Member
Licensed User
Longtime User
Hi,

A wish : When i take a look on Android Development Website i see that it seems that the AppWidgets have more features than we have on B4A.
Can we hope that's integrated soon ?

<quote>
Creating the App Widget layout is simple if you're familiar with Layouts. However, you must be aware that App Widget layouts are based on RemoteViews, which do not support every kind of layout or view widget.

See this link http://developer.android.com/guide/topics/appwidgets/index.html

A RemoteViews object (and, consequently, an App Widget) can support the following layout classes:

FrameLayout
LinearLayout
RelativeLayout
GridLayout

And the following widget classes:

AnalogClock
Button
Chronometer
ImageButton
ImageView
ProgressBar
TextView
ViewFlipper
ListView
GridView
StackView
AdapterViewFlipper

Descendants of these classes are not supported.

RemoteViews also supports ViewStub, which is an invisible, zero-sized View you can use to lazily inflate layout resources at runtime. :sign0060:
</quote>

As far as i know we can't access to other things than button, label, imageview, progressbar like this tutorial say
http://www.b4x.com/forum/basic4android-getting-started-tutorials/10166-android-home-screen-widgets-tutorial-part-i.html#post56432

Maybe it's the time to integrate these others views in B4A.

Unless the actual version of B4A supports all of these features ?
But how it supports them ? An example, thank you.

Regards.
 
Last edited:

Laurent95

Active Member
Licensed User
Longtime User
Except of the clocks views the unsupported views are limited to Android 3+. They might be added in the future as a library.

Hi Erel,
Ok for that, thank you for the response.
But now we're a bit late than the guys who do Android stuff with Eclipse ;)
No worries we will do more nice things later.

Regards.
 
Top