startSubActivity
When use startSubActivity in my android application it shows an error
The method startSubActivity(Intent, int) is undefined for the type RssReader
RssReader is the classname. I already add the activity as :-
<activity android:name=".ShowDescription" >
<intent-filter>
开发者_JS百科 <action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
Please help.
Try using startActivityForResult
instead.
The function startSubActivity
was never really released to the public (as far as I know), it was just renamed to startActivityForResult
.
精彩评论