Back to project page no-cloud-share.
The source code is released under:
GNU General Public License
If you think the Android project no-cloud-share 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 de.ub0r.android.nocloudshare; //from w w w. j a v a 2s.c o m import android.app.Activity; import android.app.Fragment; import android.app.FragmentTransaction; import android.os.Bundle; import de.ub0r.android.logg0r.Log; public class ShareActivity extends Activity { private static final String TAG = "ShareActivity"; public static final String EXTRA_HASH = "hash"; @Override protected void onCreate(final Bundle savedInstanceState) { super.onCreate(savedInstanceState); if (getResources().getBoolean(R.bool.activity_share_list_two_pane)) { Log.v(TAG, "dual pane, finish()"); finish(); return; } setContentView(R.layout.activity_share); //noinspection ConstantConditions getActionBar().setDisplayHomeAsUpEnabled(true); if (savedInstanceState == null) { Fragment f = ShareFragment.getInstance(getIntent()); FragmentTransaction ft = getFragmentManager().beginTransaction(); ft.replace(R.id.container, f); ft.commit(); } } }