Back to project page steamchat.
The source code is released under:
Apache License
If you think the Android project steamchat 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.kevelbreh.steamchat.activity; /*from w ww . j a va 2 s .c o m*/ import android.net.Uri; import android.os.Bundle; import android.support.v7.app.ActionBarActivity; import com.kevelbreh.steamchat.fragment.ConversationFragment; /** * Primary conversation activity containing a {@link com.kevelbreh.steamchat.fragment.ConversationFragment}. * * It is required that the intent starting this activity contains a data {@link android.net.Uri} * pointing towards a valid {@link com.kevelbreh.steamchat.provider.SteamProvider.User}. */ public class ConversationActivity extends ActionBarActivity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); Uri uri = getIntent().getData(); getFragmentManager() .beginTransaction() .add(android.R.id.content, ConversationFragment.forUser(uri)) .commit(); } }