Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,740,547 Members 45,688 Now Online
XDA Developers Android and Mobile Development Forum

[APP][4.2+]DashClock SMS Viewer: View contents of SMS messages in DashClock

Tip us?
 
parkedraccoon
Old
(Last edited by parkedraccoon; 25th January 2014 at 07:18 AM.) Reason: Version 0.8.1
#1  
parkedraccoon's Avatar
Senior Member - OP
Thanks Meter 261
Posts: 123
Join Date: Sep 2012
Default [APP][4.2+]DashClock SMS Viewer: View contents of SMS messages in DashClock

I've been a fan of DashClock for a long time. But one thing that always seemed misssing about it was that the SMS extension built into it didn't show the contents of the messages you have received. I thought that this couldn't be too hard, and it wasn't.
I grabbed the DashClock SMS extension source and modified it to display the sender in the top part, and the message text in the bottom part. As of version 0.5 it now supports viewing up to 3 separate message threads (as long as you enable that option). As of 0.6 it supports leading to Hangouts. As of 0.7, the issue on Samsung devices (only tested on S3 running stock 4.3) is resolved.



Version History:
  • 0.1: Initial release
  • 0.2: Big thanks to ShortFuse, modified the code which reads the SMS contents to work in more situations and close a possible memory leak
  • 0.2.1: Shifted a string to strings.xml, added Slovak translation
  • 0.3: Redone based on Dashclock 1.5 update. Hopefully this addresses the MMS problems people were having,but I have no way to test.
  • 0.4: You can now view all unread messages instead of the latest one if someone sends you multiple messages. (See picture)
  • 0.5
    • Multiple panels for multiple message threads
    • Ability to switch message, sender
    • Settings for each of the above
    • Bugfix for extra line at end of panels
    • Status (the small number at top when your lock slider is showing) shows number of messages per convo when multiple panels enabled, number of unread convos when not enabled.
  • 0.5.1
    • Bugfix: 3rd panel would display 2nd panel messages (unless switch sender/contents was checked)
    • Code cleanup
  • 0.6:
    • Bugfixes, lots of them.
    • Uses method of leading to SMS threads compatible with Hangouts.
    • Option to manually forward the app to Hangouts, in the case this is needed. (more than 4 unread conversations or multi-panel unchecked)
  • 0.7:
    • Now works with TouchWiz (But if you're on TouchWiz do yourself a favor and flash a custom ROM, if possible ) Thanks to my dad for letting me test on his work phone.
    • Updated Slovak translations from pyler.
  • 0.8: Attempt at fixing problem where contents would not show up. Seems to fix when it happens to me but this is on limited circumstances.
  • 0.8.1: Fixed another problem where contacts/messages could not be read.

To do:
  • Read MMS (group messages, say something about a picture) - as of .5 I found a way to do this. But not a way to test.
  • It's not tested on Sense devices (it was reported to be also not working on them). But the fix for Touchwizvshould also fix it for Sense devices.
  • Bug fixes, as they come up
  • If it becomes popular enough, onto the Play Store!

Github: http://github.com/parkedraccoon/DashClockSMSViewer
The Following 36 Users Say Thank You to parkedraccoon For This Useful Post: [ Click to Expand ]
 
rossarnie
Old
#2  
Member
Thanks Meter 15
Posts: 77
Join Date: Jul 2012
Location: Joburg
Great idea - I can't understand why no-one else thought of this sooner!
The Following User Says Thank You to rossarnie For This Useful Post: [ Click to Expand ]
 
knapz
Old
#3  
knapz's Avatar
Senior Member
Thanks Meter 382
Posts: 679
Join Date: Apr 2011
Default Re: [APP][4.2+]DashClock SMS Viewer: View contents of SMS messages in DashClock

Awesome work! Other extensions that do the same thing required Accessibility Service to work, but would force close some apps for some reason. Yours doesn't require Accessibility Service and is working great.
 
csm725
Old
#4  
Member
Thanks Meter 6
Posts: 41
Join Date: May 2012
Awesome utility, works great! Think you could code the same thing for Whatsapp?
 
pyler
Old
#5  
Senior Member
Thanks Meter 326
Posts: 233
Join Date: Jan 2013
Great work!

Here is Slovak translation
Attached Files
File Type: zip values-sk.zip - [Click for QR Code] (728 Bytes, 11 views)
 
parkedraccoon
Old
#6  
parkedraccoon's Avatar
Senior Member - OP
Thanks Meter 261
Posts: 123
Join Date: Sep 2012
Quote:
Originally Posted by csm725 View Post
Awesome utility, works great! Think you could code the same thing for Whatsapp?
I would if I knew it was possible, and I had a means of testing it while I started it up. I have no idea if there's an API or the notifications can be read. Try this though.
 
badkill
Old
#7  
badkill's Avatar
Senior Member
Thanks Meter 119
Posts: 384
Join Date: Apr 2011
Location: México

 
DONATE TO ME
hello, this extension can wake the screen when you get a notification?
 
parkedraccoon
Old
#8  
parkedraccoon's Avatar
Senior Member - OP
Thanks Meter 261
Posts: 123
Join Date: Sep 2012
Quote:
Originally Posted by badkill View Post
hello, this extension can wake the screen when you get a notification?
No, but try this:

play.google.com/store/apps/details?id=com.dberm22.SMSWakeUp&hl=en
The Following 2 Users Say Thank You to parkedraccoon For This Useful Post: [ Click to Expand ]
 
Saturn2K
Old
(Last edited by Saturn2K; 14th June 2013 at 07:17 AM.)
#9  
Senior Member
Thanks Meter 39
Posts: 576
Join Date: May 2010
Location: Pittsburgh
I just needed to say that I love this app.

I did find one bug in it though.

I have my MMS messages set to not automatically download (thanks to Sprint being kind of dodgy sometimes).

So, sometimes when I get an MMS, this will incorrectly show a seemingly random old text message (although it does show the correct sender).
 
parkedraccoon
Old
#10  
parkedraccoon's Avatar
Senior Member - OP
Thanks Meter 261
Posts: 123
Join Date: Sep 2012
Quote:
Originally Posted by Saturn2K View Post
I just needed to say that I love this app.

I did find one bug in it though.

I have my MMS messages set to not automatically download (thanks to Sprint being kind of dodgy sometimes).

So, sometimes when I get an MMS, this will incorrectly show a seemingly random old text message (although it does show the correct sender).
It probably is how it reads the message thread when you have an MMS. I'm not really sure how I would fix it, it's probably a problem in the original DashClock code.
View contents of SMS Messages in DashClock!
LG G2 D800: Finally back to CarbonROM 'nightlies'
Nexus 10: Stock/Root/Xposed/GravityBox
Old:
Samsung Captivate: Self-Built Carbon
Nexus One: CyanogenMod 11
Nexus One #2: CarbonRom KitKat
LG Phoenix (my alarm clock): hephappy's genetICS 9.1.5 CM9, arjen's p505 kernel

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes