I want to use standard search feature in android but dont want two different activities.
I have an activity which is my landing activity of the app as well and I want to call onSearchRequested()
and return results to the same activity.
here is my manifest code -
<activity
android:name=".TaskManagerActivity"
android:label="@string/title_activity_task_manager"
android:noHistory="false"
android:launchMode="singleTop">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
already have details in another question..didnt get any response.
questions/14445966/activity-not-getting-populated-on-search-in-same-activity
Any help plz..!! Thanks