here's the screenshoot of my pages:

There's a 'Register' link that I want to show new Activity after a click takes place.
And this is my code:
Using java Syntax Highlighting
- package com.tech2eco.login;
- import java.util.regex.Pattern;
- import android.app.Activity;
- import android.os.Bundle;
- import android.text.util.Linkify;
- import android.widget.TextView;
- public class verify extends Activity {
- private TextView regist;
- public void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- setContentView(R.layout.main);
- regist=(TextView) findViewById(R.id.lblReg);
- Pattern regit=Pattern.compile("register");
- String uri="content://com.tech2eco.login.register/";
- Linkify.addLinks(regist,regit, uri);
- }
- }
Parsed in 0.032 seconds, using GeSHi 1.0.8.4
Maybe you are all having a simpler way to done this?
Thanks a lot for your answers.

