Tag: Intent.ACTION_VIEW

Building a Mobile Employee Directory – Step 6: Create a Search Interface using Android’s search dialog

Building a Mobile Employee Directory – Step 6: Create a Search Interface using Android’s search dialog

| July 22, 2013 | 1 Comment

Continuing with the mobile employee directory example, I’ve added a Search Interface using Android’s search dialog. MainActivity.java package com.himebaugh.employeedirectory; import java.util.List; import android.annotation.TargetApi; import android.app.ListActivity; import android.app.SearchManager; import android.content.Context; import android.content.Intent; import android.database.Cursor; import android.net.Uri; import android.os.AsyncTask; import android.os.Build; import android.os.Bundle; import android.support.v4.widget.SimpleCursorAdapter; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widget.ListView; import android.widget.SearchView; import android.widget.TextView; [...]

Continue Reading