Passing data from onReceive to new Activity

I've a notification bar, when I click on it, starts a new activity with same data (a string array). I have a problem passing data from onReceive.class to new Activity (Notify). When I click I see...

Python 3 script using libnotify fails as cron job

I've got a Python 3 script that gets some JSON from a URL, processes it, and notifies me if there's any significant changes to the data I get. I've tried using notify2 and PyGObject's libnotify...

JSP is deprecated. How can use getParameter and redirect with JSF and Beans?

I've to create a platform for a congress registration and payment. For the payment my application redirect the user on the back platform. At the end of the payment the bank platform redirect the...

Display notifications in Gnome Shell

How can i send notifications in GNOME through a python program? I have tried python bindings like pynotify,python-notify2, but the all give pop-up notifications which are temporary. Is there any...

present specific view by tapping on local notification

i have 2 local notifications in my app. i want to present view1 from notification1 and view2 from notification2 . how can i do it ? and i also want to show it on any view that was before going to...

Python code working in a terminal but not in a cronjob

I've written a code that'll notify me whenever it is executed. I want to run this code after every half an hour, hence created a cronjob. But the code does not work when executed through...

notify2 - Error Message object has no attribute 'init'

I am trying to make an existing python project (taken from GITHUB) to work on windows 7. The project is using notify2. I have downloaded the zip file from PyPI and renamed the file to notify2 and...

Spannable string with image not working with push notification

I am trying to use spannable string with image on push notification. It is not working. Actually I want to show emoticon on push notification like wattsapp. If I am using simple spannable string...

QT/QML Android App, open app when click notification bar

I make an QT for Android apps. When I click button notify bar seen above in tablet. But if click notify, my apps open/focus(don' know) with black window. How to do it simply. My code is: package...

Can audio be triggered to play during phone lock

I am making a web chat app and now I am in need of playing notification sounds as a new message arrives. To begin with I am using howler.js to play the sounds. In howler we can start playing a...

Cannot get a notification icon with libnotify

I put a 256x256 icon into ~/.local/share/icons/hicolor/scalable/status/foo.png. Then I tried (in Python3) import notify2 notify2.init("a") notification = notify2.Notification( "a" "b, ...

Create a notification on Android with Python 3 - without Google Play Services

I have a Python 3 program which periodically connects to a foreign server and makes an API request using the requests module. Currently I used notify2 to display notifications on desktop. import...

cannot import name "irc"

I'm trying to run a piece of code that starts like this. from twisted.words.protocols import irc from twisted.internet import reactor, protocol import logging import logging.config import...

how to install notify2 module in python 3.5 with my MAC computer?

tried the following command in the terminal, $ pip3 install notify2 Collecting notify2 Using cached notify2-0.3.tar.gz Complete output from command python setup.py egg_info: Traceback...

Invoke Lambda from CodePipeline with multiple UserParameters

This tutorial shows how to Invoke a Lambda from CodePipeline passing a single parameter: http://docs.aws.amazon.com/codepipeline/latest/userguide/how-to-lambda-integration.html I've built a...

Notify2 works from Python3 IDLE but not always in terminal

I have been fighting with this code for days to get it to display notifications on a Raspbian Jessie desktop. I have tried Notify, notify2, and notify-send and they all work from IDLE but not from...

Hiding and showing widgets with python3 and gtk3

I am writing a python script for upload images to imgur via a gtk3 interface: #!/usr/bin/python3 from imgurpython import ImgurClient import os import notify2 import requests import...

J query: Stop fade Out 'message' on mouse over(hover) which is fade in

<script> $(document).ready(function () { var messages = [ <?php foreach ($offer as $off) { ?> [ '<?php echo $off->id; ?>','alert-success-notify_btn','<?php echo $off->description;...

No module named 'dbus' error

I am using the notify2 module in my project. Apparently, in the notify2 package, there is a python file named notify2.py, which tries to import dbus, which is not installed on my system. I have...

ConnectionError while running a script for a long time

I have written a small python scrip.Here is my python Script. #! /usr/bin/python3 import notify2 import requests,bs4,pprint import time while...

How can I use my python program on my desktop (windows 7) to display a simple notification on my desktop without notify2, notify-send, pqt5?

I tried those 3 options and they don't work. Notifiy-send is not a command and I don't have linux or ubuntu. I can't import notify2 in python, because I get the error where it says that the...

Run os.system as if python was not executed with sudo

When I run the following command, everyhting works as expected. No error and I get a system notification saying "Hello": $ python3 >>> import os >>> os.system("notify-send Hello") 0 However,...

Facing problem while installing "dbus package" using pip

I want to use windows notifications in python. I installed "notify2" package. It demanded to install "dbus" package as well. Following error occurred while installing the package. How to get rid of it?

How to fix notify2 'dbus' error in Python 3 on Windows 10

import notify2 notify2.Notification('title') I am using Python 3 with anaconda on Windows 10. When I am running it it's showing Traceback (most recent call last): File "E:\Python...

Python Notify2 Doesn't Show Images

I'm using notify2 module for showing desktop notifications in linux. This code gets latest earthquakes from the internet and shows desktop notifications. The code shows notifications perfectly...

How do I send a notification with python to mac notifications center?

I want to send a notification to my mac's notification center with python code. I'm using python3 on macOS Mojave version 10.14.6 with Atom as my editor. I've tried using different methods, like...

How to create a executable windows using pyinstaller on linux

I've created a new file named: setup.py, follow a tutorial on internet. But I've problem to compile when I call "pyinstaller --onefile -w system/setup.py bellow is my setup.py, not working import...

NullPointerException using JSF 2.3 websocket using JSF navigation

I have some simple navigation using primefaces menu. However I have jsf websockets on both pages. This causes a NullPointerException when navigating between pages. When navigating to Portfolio if...

How do I stop a thread (QRunnable) when clicking on a button?

I read this article about Threading in PyQt and tried to implement it into my own program. I am now able to start a thread, but when I close the window I think the other thread keeps running. I...

Python3: Namespace AppIndicator3 not available

OS: Kubuntu 18.04 I have a Python program (program.py) that has this at the beginning: import shlex import sys import notify2 import os import gi gi.require_version("Gtk", "3.0") from...