KJV Bible Plugin -
該插件為讀取應用提供了KJV聖經翻譯
該插件允許其他Android應用顯示聖經的King James版本。
應用開發人員可以將其與以下代碼集成:
==在新活動中顯示一段段落==
意圖意圖= new Intent(intent.action_view);
intent.setType(“ vnd.android.cursor.item/vnd.uk.co.tekkies.bible.passage”);
intent.putextra(“通道”,“希伯來書11”);
活動。開始(意圖);
或者
==內容提供商接口==
字符串vassagexml =“ error”;
字符串[] row = new String [] {“ vassage”};
光標光標= getActivity()。getContentResolver()。查詢(
uri.parse(“ content://uk.co.tekkies.plugin.bible.kjv/passage/” + vassage),行,“,row,”,“”);
if(cursor.movetofirst()){
passagexml = cursor.getString(cursor.getColumnIndex(“ passage”));
}