add weibo src
[freespace.git] / weibosrc / com / weibo / sina / UserActivity.java
blobd33247440c00a6cea63d554a3bc0eaa8e7f6dd8e
1 package com.weibo.sina;
3 import android.app.Activity;
4 import android.net.Uri;
5 import android.os.Bundle;
6 import android.widget.TextView;
8 public class UserActivity extends Activity {
10 @Override
11 protected void onCreate(Bundle savedInstanceState) {
12 setContentView(R.layout.user_view);
13 Uri uri=this.getIntent().getData();
14 TextView user_name = (TextView)findViewById(R.id.user_name);
15 user_name.setText(uri.getQueryParameter("user_name"));
17 super.onCreate(savedInstanceState);