Read notification whilst phone is ringing

Put your problem here if it does not fit any of the other categories.

Read notification whilst phone is ringing

Postby digitalmischief » Tue Sep 14, 2010 9:25 am

Hi,

I have developed a simple app that is wired up to respond when the phone rings using the following :

Code: Select all
TelephonyManager tm = (TelephonyManager)getSystemService(TELEPHONY_SERVICE);
tm.listen(mPhoneListener, PhoneStateListener.LISTEN_CALL_STATE);


When the phone rings it then creates a system notification about the call.

This works fine, however I would like the user to be able to read that notification whilst the phone is still ringing. At the moment it seems that whilst the phone is ringing you cannot read any notifications until the call is answered, is this a limitation of android or is there a way round it?

I am using a HTC Desire on 2.2

thanks
Toby
digitalmischief
Freshman
Freshman
 
Posts: 9
Joined: Wed Jul 28, 2010 4:48 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 15 guests