TASKER + EVERNOTE

1,304 views
Skip to first unread message

Slid3r

unread,
Jun 14, 2012, 5:04:57 AM6/14/12
to Tasker
Hello! I am trying to view evernote's specific list of notes made with
the search through tasker but i haven't succeeded yet.
I tried two ways:
1) In evernote there is a possibility to create a shortcut with the
specific search results. But when i try to launch it through
AutoShortuct plugin, it only allows me to make shortcut on a specific
note. So this thing doesn't work properly.
2) I tried to make it through intents, described in their API, but it
also had no results. Here is their description about intent:

com.evernote.action.SEARCH_NOTES - The SEARCH_NOTES action can be used
to run a query within Evernote for Android. You specify the query
string using the QUERY.
When invoked, Evernote for Android will display the Evernote note list
UI containing a list of notes that match the query that you passed. If
you do not pass a query, all notes will be shown.
The function "doSearch" in our Android sample code demonstrates the
use of this intent.
This intent is available in Evernote for Android 2.5.1 and later.

This is a part of sample code sending this intent:
String query = "tag:test";

Intent intent = new Intent();
intent.setAction(ACTION_SEARCH_NOTES);
intent.putExtra(SearchManager.QUERY, query);


So the question is: how should i make the right intent using tasker?
Thank you.

Pent

unread,
Jun 14, 2012, 5:10:34 AM6/14/12
to Tasker
Use Action Intent with parameters:

Action: com.evernote.action.SEARCH_NOTES
Target: Activity
Extra: SearchManager.QUERY:querygoeshere

You need to find out what the value of 'SearchManager.QUERY' is first
though.

Pent

Slid3r

unread,
Jun 17, 2012, 12:39:34 PM6/17/12
to Tasker
Thanks, but it didn't work: this intent really runs evernote search
but whatever i write in the query, it still searchs for *.

On 14 июн, 13:10, Pent <supp...@apps.dinglisch.net> wrote:
> Use Action Intent with parameters:
> Q1

Pent

unread,
Jun 17, 2012, 12:43:11 PM6/17/12
to Tasker
> Thanks, but it didn't work: this intent really runs evernote search
> but whatever i write in the query, it still searchs for *.

What exactly are you putting in the Extra parameter ?

Pent

Slid3r

unread,
Jun 18, 2012, 3:09:58 AM6/18/12
to Tasker
SearchManager.QUERY:"tag: work" for example. And so on with the query
in quotes or even without them. The result is same.

Pent

unread,
Jun 18, 2012, 3:24:17 AM6/18/12
to Tasker
> SearchManager.QUERY:"tag: work" for example. And so on with the query
> in quotes or even without them. The result is same.

I said you had to replace 'SearchManager.QUERY' with whatever the
value of it is.

Contact the Evernote devs if unsure.

Pent

Slid3r

unread,
Jun 18, 2012, 10:38:02 AM6/18/12
to Tasker
Thank you! I solved it! The value for SearchManager.QUERY is query, so
the proper action intent looks like this:

Action: com.evernote.action.SEARCH_NOTES
Target: Activity
Extra: query:"querygoeshere"

Slid3r

unread,
Jun 18, 2012, 10:45:00 AM6/18/12
to Tasker
Only one problem left: it puts '*' after the query and i can't get rid
of it.
Reply all
Reply to author
Forward
0 new messages