i have class m1
that have inside it
new m2().execute();
new m3().execute();
so
public class m1 extends Activity {
new m2().execute();
new m3().execute();
class m2 extends AsyncTask<String, String, String> {
public void s {
String id3 = map12.get("CourseID");
}
}
class m3 extends AsyncTask<String, String, String> {
}//m3
}//m
how can i get the id3 to class m3 ? knowing it is change eachthime
Make id3 public static in this class m1 and then access it diretly in class m3 like m1.id3.