1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
public class GroupActivity extends ActivityGroup implements ComponentCallbacks{
public static GroupActivity group;
private ArrayList<View> history;
private String name;
private Intent intent;
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
this.history = new ArrayList<View>();
group = this;
name = (String) getIntent().getExtras().get("Name");
if(name.equals("Albums"))
intent = new Intent(this, Albums.class);
else if(name.equals("Pictures"))
intent = new Intent(this, Pictures.class);
else{
Log.e("Create groupActivity", "Name unreadable : "+name);
}
replaceView(intent, name);
}
public void onConfigurationChanged(Configuration newConfig) {
Log.d("TabSpec fille", "Configuration change");
} |
Partager