|
Interesting. I wonder if it reads them as they arrive. I'll check it out.
|
|
|
|
|
|
Nice job man. Would also be cool if you could toggle it on or off quickly. Say like a work mode, that won't automatically read something out loud that may be a bit more racy.
Jeremy Falcon
|
|
|
|
|
Thanks.
Jeremy Falcon wrote: Say like a work mode, that won't automatically read something out loud
You are definitely right.
Just while testing my phone was speaking and people in cubicles around me were asking what was going on.
Actually, I've been adding the code to make it an Android Widget also.
That way you can add it to your lock screen and you can enable / disable it easily.
However, Android Widget API is brittle and is not easy to use.
Hopefully I'll get an article written up here soon about it.
Thanks for your interest.
|
|
|
|
|
Sounds like it'll be a fantastic article man.
Jeremy Falcon
|
|
|
|
|
Maybe tie it to the system sound setting? E.g. If your phone is muted it won't read and you'll need to enable it manually, maybe with the ability to set a time until it resyncs with the system sound volume?
|
|
|
|
|
The text to speech voice volume can be set somewhat independently from other sounds. I'm writing the basic article up now and we will discuss these options more.
Thanks for the input.
|
|
|
|
|
Most aftermarket Bluetooth stereos can do this with both Android and iOS devices. When a text is received and you are driving, it will read it to you through the vehicle's speakers. If you are parked, it will allow you to push a "read" button on the display.
I said all of that to say that the technology and capability are there, you just might have to dig a bit more with iOS. It's a common problem for a lot of multi-platform apps.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
|
|
|
|
|
DavidCrow wrote: I said all of that to say that the technology and capability are there, you just might have to dig a bit more with iOS
Guided by that same bit of info (my friend has a car that does that) I thought so too.
However, it's not actually available.
It might sound like I'm being snarky (due to quickly replying) but I'm just giving the facts I've found. Everywhere I look they actually say you cannot do this -- and I am tending to believe them now after reading all the items below and more.
I asked a question on SO -- which was supposedly a duplicate:
iphone - Read SMS message in iOS - Stack Overflow[^]
And there are tons of people asking this question.
iphone - Read SMS message in iOS - Stack Overflow[^]
iphone - How to read sms message on iOS? - Stack Overflow[^]
and many more...
These and all are answered like this :
Quote: No. You can't do that on iOS
Also note that Xamarin talks about sending an iOS message but not reading:
Send an SMS or iMessage - Xamarin[^]
However, the Android Xamarin docs show you how to read also -- since underlying API supports it.
The bluetooth thing is a bit different. I have worked with bluetooth on both Android and iOS so if I could even find out how to do this by building a device I pair with iPhone I would do that too. But that info is even more difficult to find.
Thanks,
|
|
|
|
|
The comments in the solution are interesting, explaining that Pebble et al can read SMS.
Heck why are they sandboxing it from apps, yet allow the receiving over BT?
|
|
|
|
|
Marco Bertschi (SFC) wrote: heck why are they sandboxing it from apps, yet allow the receiving over BT?
That's exactly what I wondered about too. It feels as if insiders can get the functionality but indie devs are out. Android is nicer because it is more open most of the time. But of course many will say more dangerous. Give me danger then!
|
|
|
|
|
|
Very cool! Any chance of a CP article for us mere mortals?
Thanks!
/ravi
|
|
|
|
|
Thanks for your interest.
I'm writing it up now. Probably be done by EOD tomorrow.
|
|
|
|
|
/ravi
|
|
|
|
|
|
Awesome - thanks!
/ravi
|
|
|
|
|
Odd - I wanted to post a comment but it seems there's no way to do so. I'm logged in and can vote for the article but the Comments forum is (understandably) empty and there's no way to enter a new comment or ask a question. Anyway, I think the first occurence of this line is misplaced (i.e a typo), since you're referencing message even though it might be null.
from = message.getOriginatingAddress(); /ravi
|
|
|
|
|
Ravi Bhavnani wrote: Odd - I wanted to post a commen
CP is behaving poorly just now. I had to post my article 3 or 4 times.
1st time, images didn't show. 2nd time it failed with hamsters.
3rd time it worked but the attached source was lost.
4th time, I think everything is right now. Sheesh.
Thanks for reading my article and taking time to provide feedback.
I will check out that line of code.
|
|
|
|
|
Did you break the little "reply numbers" thing?!?
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Not yet - still only 55087 at the moment. Another 9000 to go...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
It's not showing up in my browsers at all -- which is annoying, because it's what I use.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Screen shot and a report in Sugs'n'Bugs?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Jeeze, you mean I gotta do work!?!
The screenshot wouldn't tell much, anyway. The little red number isn't there, so a screenshot won't show it.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Mark_Wallace wrote: The little red number isn't there, so a screenshot won't show it.
That's kinda the point!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|