jcat...@gmail.com

unread,
Mar 15, 2014, 11:23:30 PM3/15/14
to mitappinv...@googlegroups.com
I'm trying to create an app that uses a google search on a specified user input, but every time I click the button to initiate the activity starter, I get an "Error 601:No corresponding activity was found." The code behind the activity starter is below.

.action == android.intent.action.VIEW
.ActivityPackage == com.google.android.providers.enhancedgooglesearch
.ActivityClass == com.google.android.providers.enhancedgooglesearch.Launcher
.ExtraKey == query
.ExtraValue == user input from text field

then ActivityStarter.StartActivity

Any ideas?

phantomfoot

unread,
Mar 16, 2014, 4:24:05 AM3/16/14
to mitappinv...@googlegroups.com, jcat...@gmail.com
It means the enhancedgooglesearch app (i believe now it is called Google Now) is not on the device.

An easier way to do a google search with ActivityStarter is:

ActivityStarter Action to "android.intent.action.VIEW" and set the 
ActivityStarter DataUri to "http://www.google.com/m?q=[search term]".

jcat...@gmail.com

unread,
Mar 16, 2014, 10:52:33 AM3/16/14
to mitappinv...@googlegroups.com, jcat...@gmail.com
Thanks. I tried that last night and it worked.
Reply all
Reply to author
Forward
0 new messages