ok, so I have this code to ensure that the launched fake call screen will activate even through a lock screen:
getWindow().addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED); getWindow().addFlags(WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON); Now, when the activity launches, I want the following behavior: pressing the lock screen button will silence the alarm and/or end this activity. How would I go about achieving this? On Oct 29, 2:18 pm, TreKing <[email protected]> wrote: > On Thu, Oct 28, 2010 at 2:56 AM, Daniel Q <[email protected]> wrote: > > the question is how to generate a fake incoming call screen, complete with > > the slide to answer call option. My initial approach, the > > AlarmManager should launch a PendingIntent. However, I'm not sure where to > > go from here, in particular to get an Activity started which displays the > > fake call screen. > > Create your own activity that looks and behaves like the actual dialer - of > course this means taking the various phone models and android versions into > account to match correctly. Good luck with that. > > --------------------------------------------------------------------------- > ---------------------- > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago > transit tracking app for Android-powered devices -- 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

