1

此代码在以前的 Android 版本中运行良好,但在 3.0 Honeycomb 上运行良好:

public boolean onSearchRequested() {
    Bundle currentData = new Bundle();
    currentData.putLong(Folder.FOLDER_LUID, folderId);
    startSearch(lastSearchText, false, currentData, false);
    return true;
}

意图中的APP_DATA捆绑包不会传递给我的搜索结果活动。

是否有一些新的配置必须完成才能让这些数据在意图中传递?

4

0 回答 0