Back to project page kluster-android.
The source code is released under:
Apache License
If you think the Android project kluster-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.cs446.kluster.views.activities; /*from w w w .jav a 2 s .c om*/ import android.app.Activity; import android.app.Fragment; import android.os.Bundle; import com.cs446.kluster.R; import com.cs446.kluster.views.fragments.PhotoGridFragment; public class PhotoGridActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main_activity); Fragment firstFragment = new PhotoGridFragment(); firstFragment.setArguments(getIntent().getBundleExtra("events")); getFragmentManager().beginTransaction().add(R.id.main_container, firstFragment).commit(); } }