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 - onTap pops-up dialog...

onTap pops-up dialog...

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

onTap pops-up dialog...

Postby atrus123 » Sat Oct 11, 2008 10:45 pm

Anyone have any experience creating a new Dialog from the onTap function through the maps api?

Here's a barebone snippet of what I've tried:
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. public boolean onTap(Context i){
  2.  
  3.      Dialog popUp = new Dialog(PName.this);
  4.  
  5.      popUp.setTitle("Title");
  6.  
  7.      popUp.setContentView(R.layout.popup);
  8.  
  9.      popUp.show();
  10.  
  11.      return true;                      
  12.  
  13. }
  14.  
  15.  
Parsed in 0.013 seconds, using GeSHi 1.0.8.4

But nothing happens.

Edit: figured it out. For some reason I typed (Context i) rather than (int i). Damn my little mistakes.
atrus123
Developer
Developer
 
Posts: 26
Joined: Thu Oct 09, 2008 2:16 am
Location: Annapolis, MD

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: Exabot [Bot] and 3 guests