How can i access or execute .java file in another javafile in android app development?
Posted
by Srikanth Naidu
on Stack Overflow
See other posts from Stack Overflow
or by Srikanth Naidu
Published on 2010-05-19T15:34:40Z
Indexed on
2010/05/19
15:40 UTC
Read the original article
Hit count: 195
android
i got 2 java files app.java and gallaery.java
App.java public class App extends Activity implements OnClickListener {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
Button Listvideo = (Button) findViewById(R.id.Listvideo);
Listvideo.setOnClickListener(this);
public void onClick(View view) {
if (view == findViewById(R.id.Listvideo)) {
// i have to call gallery.java here which executes list of images in the android pone
}
}
© Stack Overflow or respective owner