Bonjour à tous, j'ai un problème sur les notifications.
Celle ci s'affiche correctement mais je voudrai qu'elle m'ouvre un intent lorsque l'on clique dessus. Et au lieu de ça j'ai cette erreur:

04-23 10:28:31.404: WARN/InputManagerService(89): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@439143f8
Je n'avais pas ce soucis avant

Voici mon code:

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
 
NotificationManager mNotificationManager = (NotificationManager)getSystemService(Context.NOTIFICATION_SERVICE);
 
//texte dans la bar de notification
CharSequence contentTitle = "Notification serveur tombé";
int icon = R.drawable.adexos;
long when = System.currentTimeMillis();
contentText = "Serveur: "+ipServ.getNom()+" "+ipServ.getCountfails()+"eme essai";
Intent notificationIntent = new Intent(_context,Accueil.class);
notificationIntent.setClassName("com.adexos.android.composants", "com.adexos.android.composants.gui.accueil");
Notification notification = new Notification(icon, contentTitle, when);
PendingIntent contentIntent = PendingIntent.getActivity(_context, 0, notificationIntent, 0);
notification.setLatestEventInfo(_context, contentTitle, contentText, contentIntent);
mNotificationManager.notify(1,notification);
Cependant, cette notification est exécutée à l'intérieur d'un thread mais comme je l'ai dit plus haut, cela fonctionnait avant.

Je voudrais savoir en premier lieu ce que signifie cette erreur.
Merci beaucoup !