Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3489066
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T11:20:52+00:00 2026-05-18T11:20:52+00:00

I have tried to implement the searchable dictionary sample app. Everything seems to be

  • 0

I have tried to implement the searchable dictionary sample app.
Everything seems to be working except when I try to pull the results from global search.
I have tried to follow everything that has been described in the docs too.

My searchable.xml

<searchable xmlns:android="http://schemas.android.com/apk/res/android"
        android:label="@string/search_label"
        android:hint="@string/search_hint"
        android:searchSettingsDescription="@string/settings_description"
        android:searchSuggestAuthority="sd2.com.achie.DictionaryProvider"
        android:searchSuggestIntentAction="android.intent.action.VIEW"
      android:searchSuggestIntentData="content://sd2.com.achie.DictionaryProvider/dictionary"
        android:searchSuggestSelection=" ?"
        android:searchSuggestThreshold="1"
        android:includeInGlobalSearch="true"
        >
 </searchable>

And the authorities, mime types

public static String AUTHORITY = "sd2.com.achie.DictionaryProvider";
public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/dictionary");

public static final String WORDS_MIME_TYPE = ContentResolver.CURSOR_DIR_BASE_TYPE +"/vnd.sd2.com.achie";
public static final String DEFINITION_MIME_TYPE = ContentResolver.CURSOR_ITEM_BASE_TYPE +"/vnd.sd2.com.achie";

My Manifest is

    <!-- Receives the search request. -->
    <intent-filter>
        <action android:name="android.intent.action.SEARCH" />
        <!-- No category needed, because the Intent will specify this class component-->
    </intent-filter>

    <!-- Points to searchable meta data. -->
    <meta-data android:name="android.app.searchable"
               android:resource="@xml/searchable" />            

</activity>
<!-- Displays the definition of a word. -->
<activity android:name=".WordActivity"
          android:theme="@android:style/Theme.NoTitleBar" />

<!-- Provides search suggestions for words and their definitions. -->
<provider android:name=".DictionaryProvider"
          android:authorities="sd2.com.achie.DictionaryProvider" />

<!-- Points to searchable activity so the whole app can invoke search. -->
<meta-data android:name="android.app.default_searchable"
           android:value=".SearchableDictionary" />

What might be the problem?

Thank you,
Achie

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T11:20:53+00:00Added an answer on May 18, 2026 at 11:20 am

    everything was fine but I did not explicitly configure the search settings to show the searchable dictionary in search results. Once I added that, everything worked fine.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have tried what seems like everything - I've done similiar things many times
Does anyone have tried to implement an app in GAE having both java and
I have tried the following two statements: SELECT col FROM db.tbl WHERE col (LIKE
i have tried implement two methods recursive and dynamic method and both took 0
I have tried to implement progress reporting using a soap extension as described at
I have tried to implement this jQuery active menu code: http://docs.jquery.com/Tutorials:Auto-Selecting_Navigation $(function(){ var path
I have tried to implement binary insertion sort algorithm. Here is my code: public
I have tried to implement the puts function.It in actual returns a value but
i have tried to implement following code #include <iostream> #include <bitset> using namespace std;
I have tried to implement doubly linked list in C++. Here is the code,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.