How can i access or execute .java file in another javafile in android app development?
<p>i got 2 java files  app.java and gallaery.java</p>

<p><strong>App.java</strong> 
public class App extends Activity implements OnClickListener {</p>

<pre><code>@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main);


    Button Listvideo = (Button) findViewById(R.id.Listvideo);
    Listvideo.setOnClickListener(this); 
</code></pre>

<p>public void onClick(View view) {</p>

<p>if (view == findViewById(R.id.Listvideo)) {</p>

<pre><code>   // i have to call gallery.java here which executes list of images in the android pone 

  }
</code></pre>

<p>}</p>
