Questions tagged as 'android-notification'

0
answers

Notices at random times is possible?

I am using BroadcastReceiver along with alarmmaneger to send notifications and among these I thought about sending a notification between the hours of 12 the 19 randomly like if today sent the 12 hours and amanaha the 16 so that I could not thin...
asked by 21.07.2018 / 19:16
0
answers

Android calender

I wanted to know if to spend the day the month and the year with the calender would be that way whenever I try to activate the schedule does not come right ends up activating for the same day Calendar calNoww = Calendar.getInstance();...
asked by 13.07.2018 / 20:25
1
answer

Notifications repeated every day

I'm trying to make an app that gets notifications at user-determined times every day, but I was only able to get them to arrive once. This is the code I have so far: private void salvar() { RespostasAguaCasa p = new RespostasAguaCas...
asked by 09.07.2018 / 21:54
1
answer

How to use the non-static "getSystemService"

I am making a class that repeats the notifications but I can not import the class ProntoAguacasa.Notificacao whenever I leave the class Static Notification of error in getSystemService in the following line AlarmManager alarmManager = (AlarmMa...
asked by 10.07.2018 / 18:23
0
answers

I put all the notification code but it does not appear android studio

I'm trying to create a notification with the following code but it does not generate an error or notification package model; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; impo...
asked by 04.05.2018 / 20:24
0
answers

User notification for users in different apps

I was doing some studies related to the development of Android, and I came across the following question. How can I send a notification from one user in one application to another in another application. Example: Does a user in a shopping...
asked by 19.02.2018 / 17:10
0
answers

Android notification buttons do not appear on the mobile device

I've always interacted with my Android application through the emulator, but recently I started testing everything I did with my phone. I created some notifications with buttons, and in the emulator they appear as expected and do what is supp...
asked by 27.09.2017 / 15:49
1
answer

Timed and cell-phone notifications

Hello. I'm making an android app that notifies me when I have to turn in a school assignment, and if it's the day of the assignment or a day before, I want to be notified at certain times. The home screen is where the service starts, where I...
asked by 12.04.2015 / 08:49
0
answers

How to recover Extras from a PendingIntent (Android)?

I'm implementing Notifications in an app. I'm using AlarmManager with a PendingIntent of an Intent with data (in Extras, some model objects) but, when I get them in another BroadcastReceiver class, those extras are not there. Here is the c...
asked by 05.04.2017 / 16:07
1
answer

Notification with alarm manager

One of the final goals of my app is to send notifications to the user at a certain time. My alarm manager is working correctly now my problem is are notifications that are not shown. The goal is to show a notification after 10 seconds but I'm...
asked by 16.06.2016 / 16:28