Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Display a dialog on top of the incoming phone activity

Display a dialog on top of the incoming phone activity

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Display a dialog on top of the incoming phone activity

Postby fm » Tue Oct 21, 2008 11:33 pm

Hello,

I'm developing an application to enrich call presentation by caller identity. the caller identity is requested in a server reached through web service.
Then I want to display a toast or alert dialog on incoming call, with button to provide capability to answer the call or reject it.

When I try to display a toast, it is displayed in the same time the incoming call activity is shown, but unfortunately, a toast don't have focus and event if it contains button, the click has no effect.

If I try to display a dialog box, it is behind the incoming call screen. Is there a way to force the alert dialog of my application to be displayed on top of the incoming call screen. I have a look in WindowManager.Layout and find a "Window type" parameter with PHONE_TYPE and PHONE_PRIORITY_TYPE, and try to change my dialog type but it thrown an exception (incorrect IBinder).

Thank you for help.
fm
fm
Once Poster
Once Poster
 
Posts: 1
Joined: Tue Oct 21, 2008 11:21 pm

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 5 guests