flyfire / android-notifier

Automatically exported from code.google.com/p/android-notifier
0 stars 0 forks source link

Integration of Whatsapp #88

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi

I really like your application, thanks for developing.
I have an idea for an enhancement: can you integrate whatsapp (the messaging 
system)? would be awesome

http://www.whatsapp.com/android/

Regards
Thomas

Original issue reported on code.google.com by thomas.r...@gmail.com on 10 Sep 2010 at 7:14

GoogleCodeExporter commented 9 years ago
Apparently that app has no points of integration to plug into - no API, no 
service, no broadcasts. I'd also rather not have to deal with paid services.

Original comment by rdamazio@gmail.com on 10 Sep 2010 at 2:48

GoogleCodeExporter commented 9 years ago
what a shame....

Original comment by rupe...@gmail.com on 25 Jan 2011 at 9:54

GoogleCodeExporter commented 9 years ago
What a shame... 
Indeed, you dont have to pay whatsapp.

Hehehe.

Original comment by djsergi...@gmail.com on 5 May 2011 at 6:20

GoogleCodeExporter commented 9 years ago
just wondering, isn't it possible to connect to the Android notification 
handler and just push that information to the desktop?

Original comment by jorin.ve...@gmail.com on 27 Oct 2012 at 7:43

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Doesn't Jorin have a point here? In a general programming sense this would be 
easy, but I only do Windows programming. Might read into it though ;)

This following app seems to be able to do it somehow.

https://play.google.com/store/apps/details?id=com.sonyericsson.extras.liveware.e
xtension.uimsmartwatchnotifier&feature=search_result#?t=W251bGwsMSwxLDEsImNvbS5z
b255ZXJpY3Nzb24uZXh0cmFzLmxpdmV3YXJlLmV4dGVuc2lvbi51aW1zbWFydHdhdGNobm90aWZpZXIi
XQ..

Original comment by rvanprui...@gmail.com on 16 May 2013 at 7:55

GoogleCodeExporter commented 9 years ago
it is certainly possible using the accessibility service. The app in #6 uses 
that as well.
Here is a code example: 
https://github.com/ograycode/NotificationWatcher/blob/master/src/com/jason/Servi
ce/NoficationService.java

Since I haven't delved into android coding, I'm not sure how much info (other 
than that immediately put out by the event) is accessible, but a simple 
notification is certainly possible.

I'd say: please look into this, because it would really add to your already 
great app (and it would also leave it up to every person individually whether 
they would like email notifications or whatever. It requires no app-specific 
code, so it is quite easily implemented).

Original comment by jelle.sa...@gmail.com on 7 Jun 2013 at 1:36

GoogleCodeExporter commented 9 years ago
There are several ways to integrate with WhatsApp, the first one would be the 
WhatAPI: https://github.com/venomous0x/WhatsAPI

Another method is accessing the new messages using SQLite this way:
sqlite3 /data/data/com.whatsapp/databases/msgstore.db "SELECT 
timestamp,data,key_remote_jid FROM messages WHERE key_from_me='0' ORDER BY 
timestamp DESC LIMIT 1;"

Explained on the following link:
http://technologyworkroom.blogspot.co.il/2013/05/tasker-how-to-read-out-whatsapp
.html

I was thinking about using this method to push notifications using Tasker, the 
problem is I can't push it the Remote Desktop Notification side.

Kind regards,
Yaron Shahrabani.

Original comment by sh.yaron on 16 Jul 2013 at 8:59