Tagged Questions

A class specific to Android that describes a view hierarchy that can be displayed in another process. The hierarchy is inflated from a layout resource file, and this class provides some basic operations for modifying the content of the inflated hierarchy.

Hey I would like to create a custom notification I would like it to look like the sound cloud notification more specifically the x on the top right corner for closing also when I scroll from left to ...

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 resultPendingIntent ...

My assumption is that I just do not fully understand widgets yet. Hopefully one of you guru's can see where my logic/thinking is flawed.
Ultimately what happens with my widget is that it eventually ...

I am creating an App which uses some widgets and I use setInt() method on a remoteView for changing the background source. That´s not a problem, but I wonder where the documentation about the method ...

I'm following this post to create nine patch drawable at run-time. I need to save the 9patch image on the internal/external memory, so that i can easily retrieve it's URI and assign it to an ImageView ...

I'm writting "Time table app" which have to show today lessons as a listView in app widget.
The all data (for all week days) are stored in one file called Data. The app widget get Data onCreate and ...

I have a widget which displays data in a list format. The widget gets updated every 30 mins. (default value). The current widget works fine and the code is listed below.
What do I need to do to get ...

I need to show some notification to the user with a long title.
I want that in the "small" notification the title was tronked (it work normally) but when I espand the notification (only for 4.1+) it ...

On my widget I've put on a Form 6 textviews with 00's, on each and I've setup a 50x50 background and center gravity on all of them and they look perfect but... I want the RemoteView's results(which ...

I am trying to implement an Android App Widget with a ListView. I started by following the Google documentation but I got stuck with a list of loading views being displayed instead of the normal list ...

I am trying to display RemoteView in android with Notification. I am unable to figure out what is wrong can any one please help me:
Following is my code
Bitmap bitmap = MediaManager.getAlbumArt(id, ...

I have created an Appwidget that displays an image file (test.png) that is provided to it's RemoteViews via Uri.
In onUpdate i run a service that changes the content of the file. I have also set an ...

Can I have a listview in a notification in Android 3.0+? And if so, maybe a scrollable list?
I have seen that this can be done in a widget, but can't seem to find the way to do it for a notification. ...

I have a working Android Widget with a ListView. I'm able to properly call setRemoteAdapter() which ensures my RemoteView ListView populates with database data. What I'm unable to do is set the list ...

I'm trying to make a music player that works on api level 8 but has the same notification feature as the standard music player i.e. 3 buttons which control the player.
This is my code, i know it isn't ...

I'm getting that disgusting exception when trying to use some custom layout for my notifications. I've cropped the notification to image and 2 TextViews to ease solution finding, but it still won't ...

I'm trying to make plug-in inside my app.
it uses BroadcastReceiver for the main app. and uses sendBroadcast(); for the plug-in app.
When plug-in app sends RemoteViews, main app receives it convert it ...

I have a strange behaviour by getting Bitmaps with the methods BitmapFactory.decodeStream(Resources res,int id) and BitmapFactory.decodeFile(String pathName). I want to set a bitmap to my appwidget ...

I am displaying notification for music player inside service class with buttons and textview. The text is getting updated whenever song changes but I need to change the ImageViewResource on click of ...

Hello I am display custom notification in my android application. But issue is that custom notification is not displaying. I saw many threads but did not find any answer related to my issue.
I could ...

PHP / C# / ASP coder starting out in android properly after giving Xamarin a shot (and then having a 6 month hiatus from all coding).
I'm trying to achieve custom layouts within a notification. I can ...

I want my activity "but1" to update the text on my widget button through button in my but1 activity. I've tried and it shows no error but still the widget doesn't updates. Is it something Im missing ...