KJV Bible Plugin -
このプラグインは、読み取りアプリのKJV聖書翻訳を提供します
このプラグインを使用すると、他のAndroidアプリは、King Jamesバージョンの聖書から聖書の通路を表示できます。
アプリ開発者はこれを次のコードと統合できます。
==新しいアクティビティの通路を表示==
Intent Intent = new Intent(intent.action_view);
Intent.setType( "vnd.android.cursor.item/vnd.uk.co.tekkies.bible.passage");
intent.putextra( "passage"、 "hebrews 11");
Activity.Startactivity(意図);
または
==コンテンツプロバイダーインターフェイス==
文字列passionxml = "error";
string [] row = new String [] {"passage"};
cursor cursor = getactivity()。getContentResolver()。Query(
uri.parse( "content://uk.co.tekkies.plugin.bible.kjv/passage/" + passa)、row、 ""、row、 "");
if(cursor.movetofirst()){
passagxml = cursor.getString(cursor.getColumnIndex( "Passing"));
}