remoteview Questions
4
I have a widget(which works) with a GridView, which shows information in 1 or more columns/rows.
I want to set the number of columns programmatically, cause the users shall choose. If I set the num...
Byrom asked 5/12, 2012 at 14:50
3
Solved
I'm trying to make the listrows in my ListView Widget clickable by using the setOnClickFillInIntent method but whenever I click a ListItem nothing happends. Here are some key parts of my code:
Int...
Liz asked 28/1, 2013 at 16:13
5
Solved
Basically what i want to do, is to pass a custom parcelable object via an intent, to the RemoteViewsService and thus to my RemoteViewsFactory. For some reason, this simply doesnt work :S Whenever i...
Ap asked 13/11, 2012 at 14:59
3
Solved
I've been researching on how to create custom-layout notification using RemoteView.
So far, I am able to create a notification with contentView and bigContentView pointing to a RemoteView with a ...
Immolation asked 23/3, 2014 at 0:56
2
I have an ImaveView on a RemoteView for which I have to apply a filter. When not in the RemoteView this is what I do and it works well:
Drawable icon = getResources().getDrawable(R.drawable.icon)...
Waiwaif asked 1/7, 2015 at 18:23
4
Solved
This question has been asked before but none of the answers helped me hence posting my case.
I am trying to build a custom notification using a layout file. But I get the following error:
andro...
Choi asked 11/1, 2015 at 18:7
3
I have implemented custom notification with RemoteViews widget. I tested it on Android 5.0.2 and Android 6.0. It was working fine. But after sometime, it started crashing everytime it received noti...
Ballot asked 5/8, 2016 at 13:37
2
Solved
I am writing an Android AppWidget. The layout for the widget contains a LinearLayout and, inside that, a number of ImageViews. In the AppWidgetProvider OnUpdate method, I first create a RemoteViews...
Voltaire asked 17/6, 2017 at 15:2
4
Solved
I am trying to load an image to a push notification using Glide but it says this:
FATAL EXCEPTION: Thread-9730
Process: com.monkingme.monkingmeapp, PID: 24226
java.lang.IllegalArgumentException: Y...
Vadim asked 25/1, 2017 at 20:29
0
I am creating a custom notification layout for my application.
NotificationCompat.Builder builder = new NotificationCompat.Builder(context, NOTIFICATION_CHANNEL_ID)
.setSmallIcon(R.drawable.ic_n...
Imbibe asked 14/7, 2019 at 14:46
3
Solved
I'm developing a simple Widget to my Android app based on the Google StackWidget sample: https://android.googlesource.com/platform/development/+/master/samples/StackWidget/src/com/example/android/s...
Martian asked 27/12, 2017 at 13:43
1
I want to make a Custom Notification with big animated gif image. So I cannot find a solution resolve this problem.
Because i can only use RemoteView to custome layout.
Creating custom android not...
Faso asked 15/3, 2017 at 7:37
2
Lately I've been receiving more and more reports of users getting a RemoteServiceException error. The stack trace i'm given every time is as follows:
android.app.RemoteServiceException: Bad notifi...
Decalcify asked 24/3, 2014 at 16:19
0
I have update time while recording in android, I using CountDownTimer
and update to remote view on notification. I have optimized smallest
data but still get TransactionTooLargeException.
public ...
Chenee asked 16/1, 2018 at 14:53
3
In the below posted code i am create a notification with a customized layout. the layout of the notification contains three action buttons.
the problem i have now is, i can not reference any of th...
Empiricism asked 22/7, 2017 at 12:48
2
I'm creating some custom remoteViews, In order to draw custom views and layouts to a bitmap as wide as the notification panel I need its exact width.
As every vendor changes the width of the notif...
Carnage asked 20/7, 2016 at 18:23
4
Solved
I need to retrieve some text from a RemoteViews object. It is possible for me to get the LayoutId, but I have no idea how to retrieve text from a TextView that is in this RemoteView (namely a notif...
Apennines asked 15/2, 2012 at 12:43
2
Solved
I have an AppWidget and I'd like to use VectorDrawables in it also on pre-Lollipop devices.
VectorDrawableCompat won't work with the RemoteViews I create.
To keep my app APK size down, I don't wan...
Ectomy asked 25/2, 2016 at 16:50
1
Solved
I'm using Glide for all loading images from server, but I'm having troubleshooting trying to set them in a correct way to notifications and RemoteControlClientCompat (that cool thing with lock scre...
Park asked 19/10, 2015 at 17:10
4
I want to show a Big Picture Style Image in my notification bar Android. But I am getting a problem -> When I set the image in notification bar using the below code:
PendingIntent resultPendingInt...
Trehala asked 28/1, 2015 at 10:28
1
Solved
I developed my AppWidget according to the android doc, loading my cursor in onCreate() and reloading it in onDataSetChanged(), and everything worked fine, until I set some breakpoints in my RemoteV...
Wirehaired asked 12/8, 2014 at 8:56
1
So I have an app widget that is refreshing nicely, loading a new bitmap into an ImageView regularly like clockwork. Then, at some point, and silently, it will stop updating any further. I can tell ...
Fiore asked 12/3, 2015 at 21:7
1
Solved
I am trying to create custom notification with custom view inside. I have to set custom array of custom objects into view. But RemoteView doesn't provide getView function. So I am asking, how to cr...
Borreri asked 1/5, 2015 at 18:4
1
Solved
My app shows a widget with a total of 8 buttons. I would like to give the user the possibility to style that widget and customize the size of the ImageViews which are below the buttons.
The aim is ...
Inform asked 8/4, 2015 at 22:38
2
Solved
I am trying to make dynamic listview in widget with help of remoteview, as I wanted this listview of application icons in a widget. I want to show incoming notifications from all apps which are sep...
Kraal asked 2/2, 2015 at 7:34
1 Next >
© 2022 - 2024 — McMap. All rights reserved.