android-notification-bar Questions

2

I want to emulate Gmail's app behavior regarding notification bar notifications, which complies with the recommended Android pattern: http://developer.android.com/design/patterns/notifications.html...
Accuracy asked 24/4, 2014 at 15:39

4

Solved

I download a image from server as bitmap and convert it to drawable now i want to use this drawable as notification icon. But i am unable to do that. here is my code: Notification notification = ...
Icarian asked 17/4, 2013 at 8:22

4

I'm trying to put my notification on top of notification area. A solution is to set the parameter "when" to my notification object with a future time like: notification.when = System.curr...

5

I am developing an application in which i implemented Push notification functionality. My code of onMessage - GCMIntentService.java is: @Override protected void onMessage(Context context, Intent d...

5

Solved

I have a layout that used to update the background color of the status bar based on colorPrimaryDark. This worked great when the layout's root layout was a CoordinatorLayout, but when I switched ...

2

Solved

I need use notification with click event, i have notification method but this method don't open my activity. My code: private void sendNotification(String msg) { NotificationCompat.Builder mBu...

3

I want to remove notifications from another application shown in the notification bar. Is that possible? NotificationManager.cancelAll(); cancels only notifications shown by the calling application...

3

Solved

I am building the notification progress bar in Service in such a way that is given below : private NotificationManager mNotifyManager; private NotificationCompat.Builder mBuilder; mBuilder = ...

2

Solved

DO anyone know what is the difference between "Push Notification" and "Pull Notification"? I know "Push Notification" is C2DM, but I dont have any Idea that what is "Pull Notification" Anyone pls...
Outshoot asked 11/9, 2012 at 10:19

3

Solved

The notification bar in my application shows only the small icon in the ticker (as it should). However, when the "shade" is pulled down, it shows both the small icon from the ticker, as well as a l...

3

Solved

I have multiple Android notification, but when I send a message from my web server, the android device creates a new notification icon on status bar. I want to count the number of unread notificati...

1

Solved

I am trying to learn implementations of Navigation Drawer in Android. In one activity, i have made the Navigation Drawer come under the Status Bar(transparent) and over the App Bar and everything ...
Antonantone asked 17/5, 2015 at 6:55

1

Solved

Im displaying notifications in my app - but for some reason on android version Lolipop its displaying a gray circle next to the large icon like this: Does anyone have an idea why is this happeni...

2

Solved

Is there any way to track whether the user has "Show notifications" disabled/unchecked in the Settings/App Info page of my app?

2

Solved

I'm creating android notification according to android documentation. I used large icon and small icon for Notification bar. In this case small icon is showing on both status bar and notification...
Martyrize asked 15/7, 2014 at 10:7

2

Background I have an app that has 2 activities : splash activity, which is shown in full screen (no action bar, no notification bar) main activity, which has both an action bar (uses actionBarSher...

1

I'm seeing this strange behaviour. I can only open the notification bar once on the emulator. Running API level 17 with a 480x800 screen (Nexus One with API level 17 settings) on a Macbook pro / O...
Workmanship asked 25/6, 2013 at 7:38

1

Solved

I wonder if I could force expand my notification which have 2 buttons, because I don't think users will find them if they are not expanded. Poweramp seems achieved that, anyone please help m...
Grevera asked 27/12, 2013 at 9:58

2

Solved

I have written the function to notify and display at Notification bar: private void showNotification() { CharSequence title = "Hello"; CharSequence message = "Notification Demo"; Notification...
Bill asked 17/3, 2011 at 11:40

0

Background This is an app I am writing to familiarize myself with some of the APIs, it serves no real purpose other than to demonstrate some functionality in Android. I have a Service that is runni...

2

Solved

So i have created this notification in my activity Notification n = new Notification.Builder(getApplicationContext()) .setContentTitle("New mail from " + sender) .setContentText(subject) .setSm...
Procurable asked 16/12, 2012 at 13:19

4

Solved

I'm using the DownloadManager class to programatically download a file. All works fine but I can't get the download completed notifcation to persist. It disappears immediately once the download has...

3

Solved

Here is my problem: is it possible to hide the android notification bar without using the fullscreen flag? I need to adjustResize my app when the soft keyboard is shown, but fullscreen apps ignore ...
Anchor asked 13/1, 2012 at 13:15

1

My application starts an AsyncTask which downloads a file from a URL. At the same time it creates a status bar Notification which tells the user the percentage complete of the download. I'm trying...

2

Solved

I have a custom notification that uses a LinearLayout that contains an ImageView and a TextView. Before Android 4.0 all I needed to do was swap out the text colors with the EventContent and EventCo...

© 2022 - 2024 — McMap. All rights reserved.