finish() from another Class

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

finish() from another Class

Postby Tai » Wed Jul 08, 2009 2:32 pm

Hi,

I want to finish a View from another Class! like:
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1.  
  2. public static void EndMethode(){
  3.  
  4.    finish();
  5.  
  6. }
  7.  
  8.  
Parsed in 0.030 seconds, using GeSHi 1.0.8.4


but finish() is a non-static method! If anybody know a solution?
Tai
Freshman
Freshman
 
Posts: 3
Joined: Sun Jun 14, 2009 1:32 pm

Top

Return to View, Layout & Resource Problems

Who is online

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