List of usage examples for android.app SearchManager SUGGEST_MIME_TYPE
String SUGGEST_MIME_TYPE
To view the source code for android.app SearchManager SUGGEST_MIME_TYPE.
Click Source Link
From source file:com.vishwa.pinit.LocationSuggestionProvider.java
@Override public String getType(Uri uri) { switch (uriMatcher.match(uri)) { case SEARCH_SUGGEST: return SearchManager.SUGGEST_MIME_TYPE; default:/*from w ww . jav a 2s .c om*/ throw new IllegalArgumentException("Unknown URL " + uri); } }
From source file:com.android.googlesearch.SuggestionProvider.java
/** * This will always return {@link SearchManager#SUGGEST_MIME_TYPE} as this * provider is purely to provide suggestions. *//*from w ww . j av a 2 s . c o m*/ @Override public String getType(Uri uri) { return SearchManager.SUGGEST_MIME_TYPE; }