Employee Alumni
  • Content count

  • Joined

  • Last visited

Community Reputation

3 Neutral

1 Follower

  1. ✔ Pass identifier to callback function

    This type of complex operation dealing with multiple network operations is best done using a traditional threading approach and working directly with the underlying client object. You could either use an AsyncTask or a thread that talks back to the UI handler when it's done. A quick example using traditional threads and handlers. Handler uiHandler = new Handler(Looper.getMainLooper());new Thread(new Runnable() { @Override public void run() { for(com.evernote.edam.type.Note note : data.getNotes()) { String guid = note.getGuid(); String data = eNoteStore.getClient().getNoteApplicationDataEntry(eNoteStore.getAuthenticationToken(), getguid, "myapp"); } uiHandler.postRunnable(new Runnable() { @Override public void run() { Toast.makeText(getApplicationContext(), R.string.data_done,Toast.LENGTH_LONG).show(); } }) }}).start();
  2. ✔ Android SDK and Reminders

    Hi Galbarm, The Android SDK already supports the note attribute properties. This was updated in this commit https://github.com/evernote/evernote-sdk-android/commit/25d4ee67c038bb8d9b01b7352883577af5a56d3a Thanks, Ty
  3. The shutter sound is automatically played on Android when a picture is taken because it is illegal to disable the shutter in many parts of the world (Japan, South Korea, parts of US). "You can turn off the shutter sound by turning off your ringer sound (tested on Android), but it would still be nice to not have to remember to turn your ringer back on." This will only work on some devices, it depends on the manufacturer's implementation of the operating system camera code. For those wanting any more info on the technical logistics of doing this on Android, please have a look at this Stackoverflow article Thanks, Ty
  4. ✔ No results with findNotes()

    Java does not allow you to modify a locally scoped variable inside an anonymous method. You can't modify foundNotes from inside onSuccess and onException. Please post your exception if you see any more problems.
  5. Hi cmpete, OAuth is a requirement of our mobile SDK's. You should have received your Sandbox Consumer key and secret in an email. Please check your spam filter. Thanks, Ty
  6. Sync NoteStore.Client in Android?

    AsyncNoteStoreClient maintains an instance of the NoteStore.Client that is accessible through AsyncNoteStoreClient.getClient(). This returns the Thrift generated NoteStore.Client that you are accustomed to.
  7. ✔ Why I cannot use findNotes method?

    If you want to follow this, it's been pushed to Dev. I'll merge this into master tomorrow. https://github.com/evernote/evernote-sdk-android/pull/27
  8. Thanks for the feedback. The functionality to authenticate against the Evernote App has never existed in the SDK. The < 1.0 version used to authenticate in the default browser which could have had this behavior if the user was authenticated against the Evernote service there. We made significant changes to 1.0 including using a webview for security and ease of implementation for the third party developer. The good news: This is important to us too and on the roadmap. Expect a tighter integration with the installed Evernote app soon. Thanks, Ty
  9. There is no need to pass the Evernote session. Calling EvernoteSession.getSession() will return a reference to the current session or null. You'll need to check if this returned object is logged in using the helper methods associated. https://github.com/evernote/evernote-sdk-android/blob/master/library/src/com/evernote/client/oauth/android/EvernoteSession.java
  10. There is a bug in our code that is eliminating some of the intent parameters from being used unless the QUICK_SEND parameter is passed as true. This is a bug, but can be used as a work around until we get the intents fixed in the core client.
  11. Not found method

    Hi Ivan, This is a bug in our SDK. The SharedPreferences.Editor.apply() method is only available in API 9 and above. Prior to that, .commit() should be used (which is a blocking call). We are working on a major revision update to the SDK that will contain this fix, but until then, feel free to manually check the API level and use the appropriate method. http://developer.android.com/reference/android/content/SharedPreferences.Editor.html
  12. android Intent to append to or edit a specific note

    Hi Easilydistracted. I just made this intent public for the 4.2.1 release coming out in a couple days. It is com.evernote.action.EDIT_NOTE with a passed in "GUID" string extra and an optional "LINKED_NB" string extra. Let me know if you have any problems with it after the drop. Thanks, Ty Smith Senior Software Engineer (Android Team)