Office Hours — Today, August 11

Tuesday, August 9

Aug 11
9:50 AM
Mark M.
has entered the room
Mark M.
turned on guest access
10:20 AM
NetApex
has entered the room
Mark M.
howdy, NetApex!
NetApex
Good morning
Quick question for you
Mark M.
go right ahead
NetApex
I am working on an app that would have an option to receive a fake phone call
Most phones have different screens than each other when there is a call coming in
Is there a way to have a phone do their default thing, or do I need to fake something?
Mark M.
I have no idea how you would bring up the in-call screen without a real call
10:25 AM
NetApex
For example, date gone bad, hit a button and 30 seconds later your phone rings with the caller id showing your designated caller. Aww, that is what I was afraid of
10:25 AM
Mark M.
for starters, each implementation would have its own package/class names
well, in that case, the date probably doesn't know what the real in-call screen looks like
unless the date is a serious Android fan
NetApex
But isn't everyone a serious Android fan? :)
Mark M.
make 2-3 fake screens that resemble stock ones for popular "standards"
AOSP, HTC, Samsung perhaps
choose a default based on device manufacturer
allow the user to override via SharedPreference
NetApex
Lol, sometimes the simple answers are the best
That makes a lot of sense
I have never worked with SharedPreferences so that alone is reason enough for me to try it
I love getting to dabble into new bits of Android (well, new to me at least)
Ok, second question, according to Mashable (http://mashable.com/2011/08/11/911-text-video/) 911 will be able to accept text and video. Is there a way to go text to speech and have it "injected" over a video without actually being heard by the people around?
Let me explain that a little better and give you a why so it makes sense
10:30 AM
NetApex
Say a bank robbery is taking place. Someone hits the "magic 911" button on the app and it starts recording, gathers gps, says it on the video but not really outloud to keep the person from being shot, and then sends to 911
Mark M.
a bank robbery is taking place
oh, no, wait, you didn't really mean for me to say that
:-)
NetApex
hehehe
Mark M.
well, first, I'd think about the standards
NetApex
I suppose it could turn down the media volume and say it, but I don't know if the internal mic would catch it
Mark M.
if the video winds up being in something conventional like MP4, I'd focus on adding GPS via metadata
NetApex
Ahh ok good call
(meaning another thing I need to figure out how to do)
:)
Mark M.
I don't see where MediaRecorder.AudioSource would support you feeding in audio yourself
let alone blending it with microphone input
in principle you could do that yourself with ffmpeg or something
but the metadata route would be much simpler
NetApex
Ok, and I really don't want it to be something too intensive since it would be something that should be a shoot and send instead of shoot, process, edit, and send
Mark M.
yeah, trying to blend in your own TTS voiceover is probably going to take some time
10:35 AM
NetApex
That is the extent of my questions for the moment I believe
Mark M.
OK
NetApex
I need to find a site that has a lot of open source code and gather some ideas to do something special with this app
11:00 AM
Mark M.
well, that's it for today's chat
next one is Tuesday, 4pm Eastern
have a pleasant day!
NetApex
has left the room
Mark M.
turned off guest access

Tuesday, August 9

 

Office Hours

People in this transcript

  • Mark Murphy
  • NetApex