Evernote API:与 Intent 示例相关

发布于 2024-11-04 12:51:14 字数 420 浏览 6 评论 0原文

我正在制作一个应用程序(在 Android 上)并尝试将我的应用程序与 Evernote 结合起来。为此,我下载了 SDK 和示例代码。我更喜欢通过我的应用程序使用“Intent”方式调用 Evernote。所以问题是,当我调用 create note intenet 时,Evernote 将打开,并且笔记将保存/上传到 Evenote 应用程序中。之后我想要以下东西, - 我怎样才能让新创建的注释磁贴显示在我的应用程序中 - 我如何才能将 Note gguid 返回到我的应用程序中以便稍后打开特定的注释。

如果意图“onActivityResult”返回,我的应用程序中会调用一种方法,我确定在此方法中要做一些事情,但不确定要做什么。我将此方法称为“data.getStringExtra(“gguid”);”在“onActivityResult”方法中,但它不起作用

有人可以帮忙吗

I am making an application (on Android) and trying to combine my application with Evernote. for this i have download SDK and sample code. I prefer to use "Intent " way of calling Evernote through my Application. So the problem is when i call create note intenet the Evernote opens and note is save/uploaded in the Evenote application. After that i want following things,
- how can i get New created Note tile to show in my application
-How can i get Note gguid back in my application to open specific note later.

there is mathod called in my application after return if the intent "onActivityResult" , im sure something to do in this mathod but not sure what to do. i called this method "data.getStringExtra("gguid");" in "onActivityResult" method but it dosent work

Could someone please help

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

ペ泪落弦音 2024-11-11 12:51:22

由于注释 GUID 是在服务器端创建的,并且与服务器的同步是异步的,因此在注释创建活动完成后无法将新注释的 GUID 传回。例如,如果保存笔记时设备处于离线状态,则在连接设备并且 Android 版 Evernote 成功同步之前,GUID 将不可用。

Because note GUIDs are created on the server side, and because synchronization with the server is asynchronous, there's no way to pass the new note's GUID back after the note creation activity completes. If, for example, the device is offline when the note is saved, the GUID will not be available until the device is connected and Evernote for Android successfully synchronizes.

有深☉意 2024-11-11 12:51:22

我认为唯一的方法是使用 api 直接与 Evernote 服务器通信。

I think the only way is to directly communicate with the evernote servers using the api.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文