Thanks! On Jun 9, 10:30 pm, Kumar Bibek <[email protected]> wrote: > Umm, that thing is handled by the default ringtone that you would set. > When you get a call, that app takes over. I am not too sure about it, > but as far as I can think, toast is fine, but playing an audio, not > possible I guess. > > Thanks and Regards, > Kumar Bibekhttp://tech-droid.blogspot.com > > On Jun 9, 7:48 am,Josh<[email protected]> wrote: > > > > > Ok, round three if you've got a second 'cause I can't find the answer > > to this either. Is it possible to (maybe start a worker thread) that > > will play audio in when a phone call is coming in (over the normal > > ring) or is all that off limits too? It looks like you can show a > > Toast, but I haven't been able to get any audio going. Also, can > > notifications play when a call is coming in? > > > On Jun 8, 6:07 pm,Josh<[email protected]> wrote: > > > > Thanks a ton Mark. I'm a bit overwhelmed by the amount of new info to > > > learn and really appreciate the help clearing up some of this stuff. > > > > On Jun 8, 5:58 pm, Mark Murphy <[email protected]> wrote: > > > > >Joshwrote: > > > > > I can have a program start up on boot > > > > > Yes, you can have a program start up on boot. That's OK if you are using > > > > it to schedule tasks via AlarmManager or something. Trying to have > > > > something run forever is not a good design move: > > > > >http://www.androidguys.com/2009/09/09/diamonds-are-forever-services-a... > > > > > > then begin a background thread > > > > > You cannot just have a random thread floating around the ether. It needs > > > > to be associated with some component (usually an activity or service). > > > > > > that will listen to certain system events and when those events happen > > > > > I could send a notification alert > > > > > Most "system events" are broadcast Intents. You do not need to have > > > > anything start at boot or have any long-running threads for that. Just > > > > set up BroadcastReceivers, registered in your manifest, that will get > > > > control on those events and register Notifications. > > > > > > (actually, would really like to pop > > > > > a dialog box or some other view up over what is currently showing on > > > > > the phone's display) > > > > > If you do that, users will attempt to perform anatomically inappropriate > > > > things to you. Users really dislike being interrupted in the middle of > > > > their game, phone call, text message, browsing, etc. > > > > > -- > > > > Mark Murphy (a Commons > > > > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > > > > _The Busy Coder's Guide to *Advanced* Android Development_ > > > > Version 1.6 Available!
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

