Giter Club home page Giter Club logo

gesture-search-api-demo's People

Stargazers

 avatar

Watchers

 avatar

gesture-search-api-demo's Issues

Gesture Search does a force close on invokcation from another application

What steps will reproduce the problem?
I am invoking Gesture Search with the following code taken from GestureApiDemo

      @Override
      public boolean onOptionsItemSelected(MenuItem item) {
        switch (item.getItemId()) {
          case GESTURE_SEARCH_ID:
            try {
              Intent intent = new Intent();
              intent.setAction("com.google.android.apps.gesturesearch.SEARCH");
              intent.setData(DrugDBSQLFormat.SEARCH_CONTENT_URI);
              intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
              intent.putExtra(SHOW_MODE, SHOW_ALL);
              intent.putExtra(THEME, THEME_LIGHT);

              startActivityForResult(intent, GESTURE_SEARCH_ID);
            } catch (ActivityNotFoundException e) {
                Toast t = Toast.makeText(this, "Google Gesture Search application needs to be installed", Toast.LENGTH_LONG);
                t.show();

            }
            break;


I have provided a contentProvider of my own. 

What is the expected output? What do you see instead?

Once the GestureSearch is launched (from menu option), it does a force cose 
with few seconds of delay. Nothing comes on screen before force close. Note 
that the Gesture Search application itself when laucnhed directly (and not 
through application) works fine. I do not see a stack dump also in logcat 
(debugging on an actual android phone)


What version of the product are you using? On what operating system?
Gesture search 1.4.1 and Android 2.2.1


Please provide any additional information below.




Original issue reported on code.google.com by [email protected] on 23 Nov 2011 at 6:39

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.