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 - plz anyone answer for this..

plz anyone answer for this..

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

plz anyone answer for this..

Postby gunaztar » Fri Feb 22, 2008 1:46 pm

I m a beginner in android... i m getting an error like this "Some input files use or override a deprecated API.", while calling another java file...... or while using intent
gunaztar
Junior Developer
Junior Developer
 
Posts: 18
Joined: Wed Feb 20, 2008 12:40 pm

Top

Postby plusminus » Fri Feb 22, 2008 2:01 pm

Hello gunaztar,

what you get are probably warnings, not errors.
Deprecated methods can but should not be used.

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Postby gunaztar » Fri Feb 22, 2008 2:52 pm

////////*********** Main Function
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. private Nextfile next;    
  2.  
  3.    a button listener and then
  4.  
  5.   public void onClick(View viewParam) {
  6.  
  7.             next.onCreate(Bundle.EMPTY);
  8.  
  9. }
  10.  
  11.  
  12.  
  13. This is another java file in the same package name NextFile.java
  14.  
  15. protected void onCreate(Bundle icicle) {
  16.  
  17.         // Be sure to call the super class.
  18.  
  19.         super.onCreate(icicle);
  20.  
  21.         setTheme(android.R.style.Theme_Dark);
  22.  
  23.         setContentView(R.layout.output);
  24.  
  25. }
  26.  
  27. But out
Parsed in 0.013 seconds, using GeSHi 1.0.8.4
put is not coming..
Whether this is correct???
***********************************************
And one more question...
In m5, show alert method is not working...
gunaztar
Junior Developer
Junior Developer
 
Posts: 18
Joined: Wed Feb 20, 2008 12:40 pm

Postby plusminus » Fri Feb 22, 2008 4:04 pm

Hello gunaztar,

:warning: this is not the way to start a new Activity :!: :!: :!:

One does that, by using Intents:
:arrow: http://www.anddev.org/viewtopic.php?t=99

AlertDialog still exists and , if I remember right, its show()-method takes one more parameter, a drawable-id.

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Postby gunaztar » Fri Feb 22, 2008 4:20 pm

Thanks for your reply........ I get that plusminus, using intent....
could u explain the show alert with coding.. then it will be nice
gunaztar
Junior Developer
Junior Developer
 
Posts: 18
Joined: Wed Feb 20, 2008 12:40 pm

Postby plusminus » Fri Feb 22, 2008 6:32 pm

Hello gunaztar,

this is how it works in m5:
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1.                  AlertDialog.show(this,"Browsing to...",R.drawable.folder, "Folder:"
  2.  
  3.                  + aDirectory.getName(),"OK",true);
Parsed in 0.010 seconds, using GeSHi 1.0.8.4

Before m5 the drawableID was missing.

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 17 guests