Enzaierte / android-notifier

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

Add support for third-party notification methods. #33

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Samsung TV's, like the LN46B650, allow for receiving caller ID and SMS 
messages.  This requires using the DMC protocol.  I have tried your app, but 
have had no luck.

Original issue reported on code.google.com by LeftysLoft on 15 Aug 2010 at 5:31

GoogleCodeExporter commented 8 years ago
The idea is interesting, but I don't have any such devices (or the protocol 
spec) - so unless you're willing to send me a device, I think I'll have to pass 
on this one. :(
If you're willing to implement this yourself also let me know.

Original comment by rdamazio@gmail.com on 15 Aug 2010 at 7:43

GoogleCodeExporter commented 8 years ago
OK, well I am struggling forward to implement this myself.  I have found source 
code which allow me to send SMS, CallID, and reminders to the Samsung, but only 
through linux or windows app (e.g. netcat).  Being somewhat or completely new 
to android and java developement, I am having a hard time.  You said to let you 
know if I planned to imlement this and I am. leftysloft@gmail.com

Original comment by LeftysLoft on 31 Aug 2010 at 1:26

Attachments:

GoogleCodeExporter commented 8 years ago
I suggest you take a look at AndroidHttpClient and the XML generation classes, 
looks like what you need.

Original comment by rdamazio@gmail.com on 31 Aug 2010 at 1:28

GoogleCodeExporter commented 8 years ago
Just thought I'd mention that I'm about to buy a Samsung PL50C7000, so I'm also 
interested in whatever solution you come up with (though I still think the main 
app is not the place for this).

Original comment by rdamazio@gmail.com on 5 Sep 2010 at 6:06

GoogleCodeExporter commented 8 years ago
Very true, not as a main app, and as it turns out the device also has a dmr and 
remote control commands can be sent over network. I am getting close, though I 
must say learning to use buffered reader/writer and stringbuilder to compile an 
xml (needed by the TV) is daunting. Not much for practical examples. I have 
used your source as a guide for other aspects, and I thank you for that, and 
the links you provided in your earlier post. As soon as I have some working 
example of code, I will let you know. You should also have a look as samygo 
forum on sourceforge. Hacking the samsung may be in your future.

Original comment by LeftysLoft on 6 Sep 2010 at 3:41

GoogleCodeExporter commented 8 years ago
One more quick note. I love my Samsung, it is LN46B650 2009 model. Before you 
buy, download the user manual and make sure it has; 1)DLNA 2)Home Network 
Center, as this is used for Notifier, and streaming media.

Original comment by LeftysLoft on 6 Sep 2010 at 4:18

GoogleCodeExporter commented 8 years ago
Nice. Mine has those features as well (I think it's the top-of-line 3D plasma 
from them right now), although I don't think I'll have much use for the DLNA 
since I already have a PS3, Sonos and Boxee.

Original comment by rdamazio@gmail.com on 6 Sep 2010 at 4:52

GoogleCodeExporter commented 8 years ago
3d plasma! Very cool. The notifier app I'm working on will be a backround 
service, which right now I know will receive phone, sms, and calendar 
notifications. At some point, I expect google to have a gmail intent. once I 
have that in place, I will begin implementing the LAN remote control.
Thanks again for your input, and source.
Patrick

Original comment by LeftysLoft on 6 Sep 2010 at 5:29

GoogleCodeExporter commented 8 years ago
I'm not sure what you mean by gmail intent - an intent is used to start an 
activity (for instance, opening an application, sharing an item, etc.). You can 
already use the e-mail intent to send something through gmail.
If you mean you want to intercept stuff that's being received by the gmail app, 
I wouldn't count on it - remember many Android phones don't even come with the 
Google applications.

Original comment by rdamazio@gmail.com on 6 Sep 2010 at 5:39

GoogleCodeExporter commented 8 years ago
Sorry, that just goes to show how new I am, still learning neumonics.  One 
piece of code I saw, although I don't remember where (I've been through so much 
information), had something like "...android.telephone.gm.gmail...", but the 
writer said that it had not yet been implemented in the SDK.  I had no idea 
there were android phone's without google.  For me, that would seem pointless, 
as having google literally "at my side" is better than a wife (IME).
But for now, I am still in the early stages, of learning and coding my app.  I 
can receive the SMS to my app, I can write "some data" to my port, but because 
it is not correctly formatted xml, the tv just ignores it.
I have tested the testsms I attached earlier in this thead using a telnet 
client, so I know I have a good example of what my stringbuilder should do.  It 
is just a steep learning curve for me since no java experience.  I do have 
determination though, and backround in logical controllers, so at some point I 
will figure it out.
So, I've taken alot of your time, and I thank you for your communications.  I 
will certianly let you know when I have some sample.  Let me know when you get 
the TV, you lucky dog. :-)

Original comment by LeftysLoft on 6 Sep 2010 at 6:40

GoogleCodeExporter commented 8 years ago
Feel free to contact me on gtalk or e-mail if I can help in any way. :)

Original comment by rdamazio@gmail.com on 6 Sep 2010 at 6:43

GoogleCodeExporter commented 8 years ago
Hello,

Maybe you can check this web:

http://and.roid.es/conectar-un-movil-android-con-una-tv-samsung-usando-el-messag
eboxservice.html

It's an android app to send XML messages to samsung TV. I have installed this 
app and is working fine.

Original comment by pbrufal on 9 Sep 2010 at 3:15

GoogleCodeExporter commented 8 years ago
Thanks, I'll take a look at that as soon as my TV arrives :)

Original comment by rdamazio@gmail.com on 9 Sep 2010 at 12:33

GoogleCodeExporter commented 8 years ago
Just thought I'd keep this very interesting documentation I found here:
http://sourceforge.net/apps/mediawiki/samygo/index.php?title=Main_Page

Btw, I tested sending messages to my TV, it doesn't work - always gives me a 
401 Unauthorized error. :(
I also still ahven't managed to enable telnet in the TV to be able to log in 
and see what's happening.

Original comment by rdamazio@gmail.com on 21 Sep 2010 at 1:21

GoogleCodeExporter commented 8 years ago
I thought id sent you that site. Lots of good work there. I have tested with 
the samysoap app, and it worked after porting the router. Remember the port is 
udp 52235: also, there is a "proof of concept" for android up there that works, 
but is not fully functional. I had to decompile it and add a permission to the 
manifesst, I think for the phonecalls.
Also, I have used netcat as instructed on samygo forums, and it also works.
Good luck.

Original comment by LeftysLoft on 21 Sep 2010 at 1:34

GoogleCodeExporter commented 8 years ago
Issue 235 has been merged into this issue.

Original comment by rdamazio@gmail.com on 14 Oct 2010 at 6:03

GoogleCodeExporter commented 8 years ago
I'm reopening and renaming this one - I've been getting a lot of requests from 
other people who want different, uncommon notification methods/protocols, so 
I'll make a pluggable design so that those can be implemented separately and 
still work together with the notifier.

Original comment by rdamazio@gmail.com on 14 Oct 2010 at 6:14

GoogleCodeExporter commented 8 years ago
FYI here as well:

New release of Cling, now with manual chapters for NAT port mapping and Samsung 
TV messaging:

http://www.teleal.org/projects/cling/support/manual/cling-support-manual.html
http://www.teleal.org/projects/cling/core/manual/cling-core-manual.html

All of this works on Android or regular JVM.

Original comment by christia...@gmail.com on 3 Nov 2010 at 2:12