You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
662 B
Java

package com.thinkit.lewebconnect;
import com.thinkit.lewebconnect.R;
import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;
public class UserProfile extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
// TODO Auto-generated method stub
super.onCreate(savedInstanceState);
setContentView(R.layout.profile);
setTitle(R.string.user_profile);
TextView mUserName = (TextView) findViewById(R.id.profile_name);
Bundle extras = getIntent().getExtras();
if (extras != null) {
String name = extras.getString("user_name");
mUserName.setText(name);
}
}
}