Questions tagged [android-remoteview]
134 questions
0
votes
1 answer
Android Studio: Set ProgressBar background color with RemoteView
I have this progressbar view:

Preem Palver2
- 180
- 1
- 11
0
votes
1 answer
Android widget not populating
I've created an android app and I'm attempting to add a basic widget. On my physical phone the widget never populates and on the
virtual device I'm using the launcher "keeps stopping" whenever the
widget would be visible (it's fine when my main…

eff
- 385
- 2
- 8
0
votes
1 answer
Any idea how to pevent a listview displayed in an Android Widget to fliker every time data is refreshed?
I'm displaying a widget with a listview.
When I need to refresh the listview data I'm calling the following code
appWidgetManager.notifyAppWidgetViewDataChanged(widgetIds, R.id.list);
This works fine except that the listview flickers a lot every…

user1026605
- 1,633
- 4
- 22
- 58
0
votes
1 answer
How to change the font / typeface of a button in RemoteViews of an Android Widget?
How can I change the font / typeface of a button in an Android widget? When working with normal view is this no problem:
// Within the app
Button myButton =…

Andrei Herford
- 17,570
- 19
- 91
- 225
0
votes
1 answer
Is there a way to force Glide to load images only from cache and never from network?
In my calling app I have address book with profile pictures. These pictures are used on different screens and also in incoming call notifications. Since notification's RemoteViews have to be provided with Bitmap before they appear on screen, and…

Oleh Liskovych
- 991
- 3
- 13
- 31
0
votes
1 answer
Firebase getValue() method doesn't work in app widget
This is my first question here :)
This is my Firebase:
{
"Users": {
{
"G2u5-1yQI-GaKN" : {
"login" : "Tom",
"name" : "Tom",
"password" : "1234"
},
"JMtk-T2AZ-LJY8" : {
"login" : "Ann",
…

Phoenix
- 3
- 2
0
votes
3 answers
How can I make vertically scrollable textview in remoteviews of a widget?
Hi I am a newbie in android development and confused about how to make TextView in a widget (remoteviews) scrollable. I have add android:scrollbars="vertical" in attributes
of TextView, however, it makes no response when I touch it.
Can any one…

Aneureka
- 11
- 2
0
votes
1 answer
Start animation in RemoteViews
I made a notification with a custom view, I need to run animation on one of the children but as you know RemoteViews doesn't allow to have direct access to the desired view (to invoke start method on its background), Does any one know how to access…

Farshad
- 3,074
- 2
- 30
- 44
0
votes
1 answer
Header not showing using Custom Notification
I'm using RemoteViews in Android Studio with a custom notification. The only thing is that I'm having issues with it now showing the small icon and the App Name.
Thanks hope I have made some sense?
Intent notificationIntent = new Intent(mContext,…

AgentEddie99
- 1
- 3
0
votes
0 answers
Android Widget with listview gets resizable on single tap
I have created a widget which has a listview with multiple click actions on each single item of it. Everything works fine, but just on normal single tap anywhere over the empty area of the widget makes the widget editable, which is not an usual…

Praveen Kumar C
- 423
- 3
- 8
0
votes
1 answer
partiallyUpdateAppWidget on RemoteViews not working
In the RemoteViews for an AppWidget I have an AdapterViewFlipper which is supposed to flip when the user clicks a button in the AppWidget. According to the official documentation this should be done by calling the showNext on the RemoteViews. The…

Sander
- 808
- 6
- 18
0
votes
1 answer
giving crash on using a external library in xml of custom notification android
In Api level above 24 exception is
W/System: ClassLoader referenced unknown path: /data/app/com.example.admin.emoji_test-2/lib/x86
In Aapi level below 24 exception is
08-20 11:45:32.481 1951-1951/com.android.systemui E/StatusBar: couldn't…

jayant singh
- 929
- 12
- 17
0
votes
1 answer
Why is my widget not runnng?
Hello can you be so kind to see thoose snippets and tell me why my service doesnt start after calling startService(). I am trying to create a Widget , that runs one service for all widgets on the screen. That service provide a factory to populate a…

Vlad Skurtolov
- 1,024
- 1
- 7
- 20
0
votes
1 answer
Android small and big notifications
Some phones do not support big notifications. So how can I know then in runtime to make my notif big or usual size? Also i need it support control buttons.
Here is my code of big notif:
RemoteViews remoteViews = new RemoteViews(getPackageName(),
…

Ivan Sablin
- 3
- 7
0
votes
0 answers
How to increase download speed of larger files in my android phone?
I am downloading some files from server in users phone
The download is working properly in Kitkat Version phone i.e its getting approx 1-2mbps but above that that the download is very slow .
The code is:-
//The download Code:
while ((len1 =…

Akki
- 123
- 2
- 12