Jump to content

Welcome! You're currently a Guest.

If you'd like to join in the Discussion, or access additional features in our forums, please sign in with your Evernote Account here. Have an Evernote Account but forgot your password? Reset it! Don't have an account yet? Create One! You'll need to set your Display Name before your first post.

Photo
Android

Intent question

evernote

  • Please log in to reply
4 replies to this topic

#1 Slid3r

Slid3r

  • Pip
  • Title: Member
  • Group: Members
  • 3 posts

Posted 18 June 2012 - 09:34 AM

Hello, I am using Tasker for Android, and i try to send an intent to evernote to show the notes for the proper query. I use your documentation for intents, but there is still a problem. Using tasker, i send action intent with the following properties:
action: com.evernote.action.SEARCH_NOTES
extra: SearchManager.QUERY: "tag:work"
But the tasker support told me i should use some SearchManager.Query value. Could you help me with that?

By the way, is there any chance it doesn't work because i have android 2.3?

#2 gazumped

gazumped

  • Title: Operative
  • Group: Evernote Evangelist
  • 2,642 posts

Posted 18 June 2012 - 12:11 PM

tasker support told me i should use some SearchManager.Query value

Hi - welcome to the Forums. Not sure this is a question anyone who's not a Tasker guru can answer for you. If you've contacted Tasker support, did they say whether "SearchManager.Query" is an Evernote or a Tasker command? It looks like part of the Tasker syntax from your post - so presumably they're saying you need to put in some Evernote-compatible detail here. "tag:work" would work (excuse the pun) in the Evernote search bar, so I don't see what else you could input. And I don't think your OS affects this - both Evernote and Tasker say they work in anything from 1.6 upwards.

Premium Windows & Android | Wales, UK - EN Mobile 5.0.3 public | Galaxy S3 Android 4.1.2 | FF 21
EN Desktop 4.6.5.8353 (268861) Public | HP DV6000 laptop Vista SP1 | FF Beta 22.0 + Clipper 5.6.1 & Clearly 7.3346.273.222 | MS Office 2007

User Manuals: Mac | Windows | iOS | AndroidGetting Started | Support Page | Knowledge Base | Status Page | Support Requests & Feedback


#3 Slid3r

Slid3r

  • Pip
  • Title: Member
  • Group: Members
  • 3 posts

Posted 18 June 2012 - 12:18 PM

Hi - welcome to the Forums.

Thanks!)
About SearchManager.QUERY - this is an Evernote command, i suppose.
Because i took it from sample code:

String query = "tag:test";
Intent intent = new Intent();
intent.setAction(ACTION_SEARCH_NOTES);
intent.putExtra(SearchManager.QUERY, query);


Here is what tasker support told me:

You need to find out what the value of 'SearchManager.QUERY' is first. Replace 'SearchManager.QUERY' with whatever the
value of it is.
Contact the Evernote devs if unsure.



#4 gazumped

gazumped

  • Title: Operative
  • Group: Evernote Evangelist
  • 2,642 posts

Posted 18 June 2012 - 12:24 PM

OK - that's above my (unpaid) pay grade; the devs will be active in a few hours so maybe they'll comment, but I'd be doubtful that an external app can interface with Evernote using part of its API (if that's what this is..). Tasker looks awesome, though I don't know offhand what I'd use it for - any suggestions?

Premium Windows & Android | Wales, UK - EN Mobile 5.0.3 public | Galaxy S3 Android 4.1.2 | FF 21
EN Desktop 4.6.5.8353 (268861) Public | HP DV6000 laptop Vista SP1 | FF Beta 22.0 + Clipper 5.6.1 & Clearly 7.3346.273.222 | MS Office 2007

User Manuals: Mac | Windows | iOS | AndroidGetting Started | Support Page | Knowledge Base | Status Page | Support Requests & Feedback


#5 Slid3r

Slid3r

  • Pip
  • Title: Member
  • Group: Members
  • 3 posts

Posted 18 June 2012 - 12:42 PM

About using part of evernote API - it was written in documentation for local api for developers.

Tasker is really helpful thing.
Well, i actually want tasker to remind me what needs to be done today (evernote notes list), when i unlock my phone at the start of the day. I also want to see my shopping list, when i pass by shop (it notifies me when i enter needed location)





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

Clip to Evernote