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

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 - how to show dialogs in this context >>

how to show dialogs in this context >>

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

how to show dialogs in this context >>

Postby abdhk383 » Fri Jun 12, 2009 11:03 am

Hi guys ,

i am trying to show an sms dialog box that i need to show weather i was in the application or not ,

i have built the broadcast receiver in my application, i am also waiting for special message with special format , if that message comes at any time , i would like to show that message box.

Right now, i can only see that dialog when i am in my application.

could i make it appear if i was on "the Desktop" ??
any suggestions ??!!
abdhk383
Freshman
Freshman
 
Posts: 7
Joined: Sat May 16, 2009 11:36 pm

Top

Postby iPaul Pro » Sat Jun 13, 2009 2:37 pm

I'm not completely sure I understand your problem, but did you try setting flags on the Activity in question? Using FLAG_ACTIVITY_NEW_TASK and FLAG_ACTIVITY_MULTIPLE_TASK together make the activity seem like its own app, free of the main application GUI.

Java eg:
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
  2. intent.addFlags(Intent.FLAG_ACTIVITY_MULTIPLE_TASK);
  3.  
Parsed in 0.010 seconds, using GeSHi 1.0.8.4


XML eg:
Syntax: [ Download ] [ Hide ]
Using xml Syntax Highlighting
  1. <intent-filter>
  2.         <action android:name="android.intent.action.FLAG_ACTIVITY_NEW_TASK" />
  3.         <action android:name="android.intent.action.FLAG_ACTIVITY_MULTIPLE_TASK" />
  4. </intent-filter>
  5.  
Parsed in 0.000 seconds, using GeSHi 1.0.8.4


Hope that helps!
Paul
iPaul Pro
Developer
Developer
 
Posts: 33
Joined: Sun Mar 15, 2009 9:01 pm

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 14 guests