package es.aitormagan.android.cuentayines;

import com.actionbarsherlock.app.ActionBar;
import com.actionbarsherlock.app.SherlockActivity;
import com.actionbarsherlock.view.Menu;
import com.actionbarsherlock.view.MenuItem;

import es.aitormagan.cuentayines.android.R;
import android.net.Uri;
import android.os.Bundle;
import android.content.Intent;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.TextView;

public class About extends SherlockActivity {

	private final static String TWITTER_USER_NAME = "AitorMagan";

	@Override
	protected void onCreate(Bundle savedInstanceState) {

		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_about);

		//Enable back
		ActionBar actionBar = getSupportActionBar();
		actionBar.setDisplayHomeAsUpEnabled(true);

		TextView aboutView = (TextView) findViewById(R.id.aboutView);
		aboutView.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View v) {
				try {
					startActivity(new Intent(Intent.ACTION_VIEW, 
							Uri.parse("twitter://user?screen_name=" + TWITTER_USER_NAME)));
				}catch (Exception e) {
					startActivity(new Intent(Intent.ACTION_VIEW, 
							Uri.parse("https://twitter.com/#!/" + TWITTER_USER_NAME)));
				}				
			}
		});
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getSupportMenuInflater().inflate(R.menu.about, menu);
		return true;
	}

	@Override
	public boolean onOptionsItemSelected(MenuItem item) {
		if (item.getItemId() == android.R.id.home) {
			finish();
			return true;
		} else {
			return super.onOptionsItemSelected(item);
		}
	}

}

@@ -1114,16 +1114,17 @@
 );%0A%09%09%09%09%7D
+ 
 catch (E

Fix typo