Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
5 votes
0 answers
235 views

On android 16 devices, widget-updates are broken. I update the widget like this: appWidgetManager.updateAppWidget(appWidgetId, rv); if (updateList) { appWidgetManager....
1 vote
0 answers
130 views

I’m migrating my existing AppWidgetProvider-based widget to Jetpack Glance and I want to use a StackView (or ListView) inside the widget, backed by a RemoteViewsService (via setRemoteAdapter), just ...
0 votes
1 answer
145 views

I'm developing a .NET MAUI app, and I want to implement a home screen widget on Android that displays a counter or clock — updating every second (like a stopwatch or real-time timer). However, Android ...
0 votes
1 answer
41 views

I'm working on a widget inside the HomeScreen in a Kotlin Native app. When the user clicks on an ImageView, a music file is played using a service — this part works correctly. Now, I want the ...
0 votes
0 answers
74 views

Various Material widgets (views) (e.g. com.google.android.material.imageview.ShapeableImageView) enable for transforming their corners by manipulating with the corners' parametres (like cornerFamily ...
0 votes
1 answer
47 views

Data in my widget is disappearing when I place it on the screen. Only the layout is showing. <appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android" android:...
0 votes
1 answer
31 views

I have some widgets that exactly same code, some of my friends using my app say that widget that is generated by my app is disappearing after some time (like 4-5 days) class MyWidgetProvider : ...
-1 votes
1 answer
55 views

I am using Button and setting it's background as drawable image (Button not content any leading text, it's blank). I needed clickable image. now the color of that png is black originally but some how ...
0 votes
1 answer
115 views

This is the content of my widget: @Composable private fun MyContent(glanceModifier: GlanceModifier = GlanceModifier, widgetData: WidgetData) { InfoPanel( glanceModifier = ...
0 votes
0 answers
38 views

When I use the start foreground service in the home widget, I get the error ForegroundServiceStartNotAllowedException. And when I use start service, it runs without error. However, I need to use the ...
1 vote
1 answer
256 views

My app widgets stopped updating after updating compileSdk and targetSdkVersion to 35. AppWidgetProvider method onUpdate is not called. I was searching for android 15 changes that could cause this but ...
0 votes
0 answers
36 views

Using Android Studio, I want to create an android phone app that presents a field of staggered circles, similar to those in this picture. The important thing is the positions of the circles relative ...
1 vote
0 answers
85 views

I have a Glance widget, and when configuring it initially I save some IDs to Shared Preferences. These IDs should be read in the provideGlance method, but it is not called after configuring the widget,...
0 votes
0 answers
133 views

I'm working on adding Widget following the guidance here https://developer.android.com/develop/ui/compose/glance and I'm noticing that any UI updates I add while building do not reflect on new builds. ...
3 votes
2 answers
199 views

I'm trying to migrate an existing Android widget to use Glance Compose, but haven't been able to find any documentation or answers on if it's possible to make it so that users with my existing widget ...

15 30 50 per page
1
2 3 4 5
...
382

AltStyle によって変換されたページ (->オリジナル) /