1

How to start an activity from linked TextView. Here is my string which I set to TextView:

<string name="register">Do not have an account ? <a href="com.myapp://register"><b>Sign Up</b></a>.</string>

In the manifest:

<activity android:name=".Activites.RegisterViewPagerActivity">
    <intent-filter>
        <action android:name="android.intent.action.VIEW" />
        <category android:name="android.intent.category.DEFAULT" />

        <data android:scheme="com.myapp://register" />
    </intent-filter>
</activity>

What am I doing wrong ? How can I start the RegisterViewPagerActivity activity from that string ?

P.S. I want to implement the logic inside the AndroidManifest, not in java class.

abrutsze
  • 496
  • 1
  • 8
  • 24

0 Answers0