2014-10-10 49 views
0

What Intent是用來從Action Memo應用程序發送一個多任務列表到Samsung Galaxy Note 3(和其他相關的Note設備)上的S Planner應用程序的嗎?What Intent用於從Action Memo應用程序向S Planner應用程序發送多任務列表?

在Note 3設備上,如果打開Action Memo,然後在多行上寫入項目列表,然後按鏈接操作按鈕,然後選擇任務,然後將數據發送到S Planner,將每行轉換爲單獨的任務。用什麼意圖將這些信息從Action Memo應用程序傳遞到S Planner應用程序?

回答

1

簡短的回答:

我不認爲這是在這種情況下使用意圖。

長的答案:

我已經能夠意圖牽制在鏈接到操作菜單中ActionMemo所有其他選項。下面的代碼片段給出了可以在清單文件中使用捕捉到每一個這些意圖過濾器:

 <!-- Phone --> 
     <intent-filter> 
      <action android:name="android.intent.action.DIAL"/> 
      <category android:name="android.intent.category.DEFAULT"/> 
      <data android:scheme="tel"/> 
     </intent-filter> 
     <!-- Contact --> 
     <intent-filter> 
      <action android:name="android.intent.action.INSERT"/> 
      <category android:name="android.intent.category.DEFAULT"/> 
      <data android:mimeType="vnd.android.cursor.dir/contact"/> 
     </intent-filter> 
     <!-- Messaging --> 
     <intent-filter> 
      <action android:name="android.intent.action.SENDTO" /> 
      <category android:name="android.intent.category.DEFAULT" /> 
      <data android:scheme="smsto" /> 
     </intent-filter> 
     <!-- Email --> 
     <intent-filter> 
      <action android:name="android.intent.action.SENDTO"/> 
      <category android:name="android.intent.category.DEFAULT"/> 
      <data android:scheme="mailto"/> 
     </intent-filter> 
     <!-- Browser --> 
     <intent-filter> 
      <action android:name="android.intent.action.WEB_SEARCH"/> 
      <category android:name="android.intent.category.DEFAULT"/> 
     </intent-filter> 
     <!-- Map --> 
     <intent-filter> 
      <action android:name="android.intent.action.VIEW"/> 
      <category android:name="android.intent.category.DEFAULT"/> 
      <data android:scheme="geo"/> 
     </intent-filter> 
     <!-- Task (one line) --> 
     <intent-filter> 
      <action android:name="android.intent.action.EDIT"/> 
      <category android:name="android.intent.category.DEFAULT"/> 
      <data android:mimeType="vnd.android.cursor.item/event"/> 
     </intent-filter> 
     <!-- Task (multi line) --> 
     <!-- I don't believe it uses an intent for this. --> 

我能夠通過使用工具,如Intent Intercept捕獲和分析一些確定這些,但不是全部,意圖和Manifest Viewer來分析目前正在接收這些intest的應用程序的清單文件,以及通過使用adb logcat。

但即使這一切,我仍然無法找到這個具體案件的意圖。我甚至從三星SPLANNER應用程序(基本上是三星的標準Android日曆應用程序的修改版本)清單文件,並從它複製到我自己的清單文件,並確保SPLANNER應用程序沒有設置爲一個默認應用程序的任何意圖。我仍然無法攔截此行動的意圖。根據我的理解,如果正在使用意圖,這應該是一種確定的方法來捕捉意圖。因此,我必須得出結論,在這種特定情況下,這兩個應用程序之間的通信並未被用於進行通信。

如果其他人有更多信息,請隨時發表評論。

編輯:沒有人似乎有什麼補充,所以我接受我的答案。

相關問題