austgl / a2dpvolume

Automatically exported from code.google.com/p/a2dpvolume
0 stars 0 forks source link

Add support for Google Hangouts #166

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Now that GTalk has been replaced with Hangouts the conversations are no longer 
spoken aloud via A2DP.

Can you add support for Hangouts?

Thanks!

Original issue reported on code.google.com by zook...@gmail.com on 15 May 2013 at 10:58

GoogleCodeExporter commented 9 years ago
http://mobilave.info/blog/2012/How_to_catch_notification_of_some_Android_applica
tions.html

Interesting.  Looking into this approach now...

Original comment by JimR...@gmail.com on 23 May 2013 at 12:16

GoogleCodeExporter commented 9 years ago
I have started working this, roughly following the recipe from the blog above.  
I have it to the point that the app does know when a hangout message is 
received.  However, if I try to read the data I get permission denied.  Wonder 
if Google has locked things down more this time.  Maybe I am just not using the 
right methods to get the text.  Anyone want to help?  Still working it...

Original comment by JimR...@gmail.com on 26 May 2013 at 12:54

GoogleCodeExporter commented 9 years ago
Added this question on Stack Overflow:
http://stackoverflow.com/questions/16760684/read-google-hangouts-messages-using-
android

Original comment by JimR...@gmail.com on 27 May 2013 at 2:03

GoogleCodeExporter commented 9 years ago
I just uninstalled the Hangouts app because basically it sucks.  Loads slow, no 
presence, and of course I can't get it working yet with this app.  I still have 
it on my development phones and will continue working this issue.  In the mean 
time, if you want GTalk support just uninstall Hangouts.  The old Talk app will 
be there once Hangouts is gone and all the functionality will return.

I presume Hangouts will continue to mature and eventually it will have all the 
necessary features and eventually I will get the message reader working with 
it.  

Original comment by JimR...@gmail.com on 27 May 2013 at 2:50

GoogleCodeExporter commented 9 years ago
https://groups.google.com/forum/#!searchin/tasker/hangouts/tasker/0wu338ypVV4/8L
gViVn8h5sJ

I recently purchased AutomateIt from the Play Store to send a 'Driving' text in 
response to text messages while I'm in the car.

I also own Tasker but haven't really messed with it.

I got to thinking about whether or not anybody got Tasker to read or reply to 
Hangout message and turn up this Google Group in my search.

I thought you might be able to find a way to get the Hangouts working with AD2P 
app if somebody has figured it out for Tasker.

Original comment by JimR...@gmail.com on 24 Jun 2013 at 2:18

GoogleCodeExporter commented 9 years ago
This approach may work: https://github.com/Snirpo/whatsapprelay
It would allow reading all notifications including SMS and Hangouts or other IM 
clients, but also calendar appointments, etc.  Will investigate.  May only work 
on 4.2 and up too.

Original comment by JimR...@gmail.com on 7 Sep 2013 at 3:34

GoogleCodeExporter commented 9 years ago
I saw something recently that looked promising but it was only available on 
4.3. I think the way they handle notifications in 4.3 makes it easier to read 
and/or trasmit over BT.

Check out Botifier: 
https://play.google.com/store/apps/details?id=com.github.grimpy.botifier

It is supposed to show notifications on the screen if your BT device is capable 
of it. I complained that they my device wasn't compatible. He explained that 
the app requires 4.3 because of its notification handling.

Original comment by zook...@gmail.com on 7 Sep 2013 at 3:41

GoogleCodeExporter commented 9 years ago
Here is some discussion on Stack Overflow about reading notification messages: 
http://stackoverflow.com/questions/9292032/extract-notification-text-from-parcel
able-contentview-or-contentintent

It would be great to use a more general method of reading stuff out that was 
not app dependent.  I would like to hear calendar appointments as well.  I 
might also find weather alerts useful.  

Original comment by JimR...@gmail.com on 9 Sep 2013 at 9:50

GoogleCodeExporter commented 9 years ago
OK, time for testing.  I just pushed 2.9.9 for alpha test.  Not ready for prime 
time yet but wanted folks to try it out.  You will need to turn it ON in 
accessibility services in your Android settings.  

Right now it will read out the first hangouts post.  After that it just says 
how many unready each time another comes in until you clean notifications.  It 
can also read calendar, Keep, Gmail, etc notifications.  

Original comment by JimR...@gmail.com on 15 Sep 2013 at 11:05

GoogleCodeExporter commented 9 years ago

Original comment by JimR...@gmail.com on 20 Sep 2013 at 2:24

GoogleCodeExporter commented 9 years ago
Issue 156 has been merged into this issue.

Original comment by JimR...@gmail.com on 22 Sep 2013 at 2:48

GoogleCodeExporter commented 9 years ago
KitKat is bringing what I need for this app to handle notifications better.  
See here: http://developer.android.com/about/versions/kitkat.html

Enhanced notification access

Notification listener services can now see more information about incoming 
notifications that were constructed using the notification builder APIs. 
Listener services can access a notification's actions as well as new extras 
fields — text, icon, picture, progress, chronometer, and many others — to 
extract cleaner information about the notification and present the information 
in a different way.

I have not yet looked into the details, and I don't have a device running 4.4, 
but it looks promising.

Original comment by JimR...@gmail.com on 5 Nov 2013 at 3:01

GoogleCodeExporter commented 9 years ago
Completed first round in 2.11.2.  Enhancements coming later.

Original comment by JimR...@gmail.com on 14 Dec 2013 at 10:07

GoogleCodeExporter commented 9 years ago

Original comment by JimR...@gmail.com on 14 Dec 2013 at 10:07