| Prev |   9     10   11   12     13   | Next | Last
maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   [Support thread] Android notifications (https://talk.maemo.org/showthread.php?t=94652)

DavidJ 2015-06-24 15:24

Re: [Support thread] Android notifications
 
v0.6.0 is giving me visible notification on notification screen but no LED and the tone is the default tone from Android Whatsapp.

monkeyisland 2015-06-24 15:32

Re: [Support thread] Android notifications
 
Same Here:confused:

coderus 2015-06-24 15:41

Re: [Support thread] Android notifications
 
can yo execute following commands in terminal:
Code:

systemctl --user stop android-notifications
android-notifications

and give me output after receiving notification

scegliau 2015-06-24 15:49

Re: [Support thread] Android notifications
 
Hi,

this is my debug log:

[nemo@Jolla ~]$ systemctl --user stop android-notifications
[nemo@Jolla ~]$ android-notifications
[D] NotificationsWatcher::NotificationsWatcher:61 - opening database "/home/nemo/.local/share/system/privileged/Notifications/notifications.db" false
[D] NotificationsWatcher::start:79 - Service registered successfully!
[D] NotificationsWatcher::handleNotify:460 - "AndroidNotification" "1 nuovo messaggio" "pippopippo" "/data/notificationIcon/com.whatsapp2130838948.png" QMap(("x-nemo-preview-body", QVariant(QString, "1 nuovo messaggio") ) ( "x-nemo-preview-icon" , QVariant(QString, "/data/notificationIcon/com.whatsapp2130838948.png") ) ( "x-nemo-preview-summary" , QVariant(QString, "pippopippo") ) )
[W] QSqlQuery::prepare:950 - QSqlQuery::prepare: database not open
[W] QSqlQuery::prepare:950 - QSqlQuery::prepare: database not open
[W] QSqlQuery::prepare:950 - QSqlQuery::prepare: database not open
[W] QSqlQuery::prepare:950 - QSqlQuery::prepare: database not open


Thanks for your great job !!!

coderus 2015-06-24 16:30

Re: [Support thread] Android notifications
 
I had this problem, but i thought i had fixed it...


I don't know, maybe you can try to delete application and install it again?

Jimmy Rum 2015-06-24 18:30

Re: [Support thread] Android notifications
 
I tried reinstalling, but it didn't work for me...
Thanks for not giving up though! I thought it was a hopeless situation from your messages.

coderus 2015-06-24 18:52

Re: [Support thread] Android notifications
 
post output of following please:
Code:

devel-su -p
ls -la /home/nemo/.local/share/system/privileged/Notifications/notifications.db
ls -la /usr/bin/android-notifications


Jimmy Rum 2015-06-24 19:41

Re: [Support thread] Android notifications
 
Listings? Hmm ok

Code:

-rw-r--r-- 1 nemo privileged 66560 2015-06-24 19:53 /home/nemo/.local/share/system/privileged/Notifications/notifications.db
-rwsr-xr-x 1 root root 263420 2015-06-24 14:07 /usr/bin/android-notifications


scegliau 2015-06-24 20:35

Re: [Support thread] Android notifications
 
Hi, my ls look like Jimmy's

running android-notifications in a 'devel-su -p' shell gives this output:

[nemo@Jolla ~]$ devel-su -p
Password:
Enjoy your privileges.
cat: /proc/821/environ: Permission denied
NOTICE: Env value ignored
[nemo@Jolla ~]$ android-notifications
[D] NotificationsWatcher::NotificationsWatcher:61 - opening database "/home/nemo/.local/share/system/privileged/Notifications/notifications.db" true
[D] NotificationsWatcher::start:79 - Service registered successfully!
[D] NotificationsWatcher::handleNotify:460 - "AndroidNotification" "1 nuovo messaggio" "pippopippo" "/data/notificationIcon/com.whatsapp2130838948.png" QMap(("x-nemo-preview-body", QVariant(QString, "1 nuovo messaggio") ) ( "x-nemo-preview-icon" , QVariant(QString, "/data/notificationIcon/com.whatsapp2130838948.png") ) ( "x-nemo-preview-summary" , QVariant(QString, "pippopippo") ) )

so process can read notifications.db file, but the nothing chages: I receive visual notification but no sound and no led ones.

I'm not sure this test can be usefull (because of the error in reading env) but...

If you need other test...you have only to ask

thanks and regards

coderus 2015-06-24 20:50

Re: [Support thread] Android notifications
 
try 0.6.1 version
if not work try removing package, reboot phone, and install it again after reboot


| Prev |   9     10   11   12     13   | Next | Last
All times are GMT. The time now is 07:35.

vBulletin® Version 3.8.8