android - Activity to listen to Intent ACTION_VIEW -
i want open custom activity in setmovementmethod below. textview tx = (textview)findviewbyid(r.id.txthelp); tx.settext(html.fromhtml(getstring(r.string.help))); tx.setmovementmethod(linkmovementmethod.getinstance()); i have html defined links when clicked/pressed, want activity open displaying image(depending on clicked link) i have looked @ thread handle textview link click in android app , tried follow answer used. here activity in manifest defined listen intent action.view. <activity android:name="com.example.metermanager.imagesactivity" android:screenorientation="portrait"> <intent-filter> <category android:name="android.intent.category.default" /> <action android:name="android.intent.action.view" /> <data android:scheme="com.example.metermanager" /> </intent-filter> here activity code. package com.example.metermanager; ...