KJV Bible Plugin

  • 名稱 : KJV Bible Plugin
  • 版本 : 3.1.0
  • 系統 : 1.5 以上
  • 官網 : Home
  • 內容分級 : 3 歲以上

立即下載

軟體介紹 :

KJV Bible Plugin This plugin allows other Android apps to display Bible passages from the King James Version of the Bible.

App developers can integrate this with the following code:
== Show a passage in a new activity ==
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(intent);

OR

== Content provider interface ==
String passageXml = "Error";
String[] row = new String[] { "passage" };
Cursor cursor = getActivity().getContentResolver().query(
Uri.parse("content://uk.co.tekkies.plugin.bible.kjv/passage/" + passage), row, "", row, "");
if (cursor.moveToFirst()) {
passageXml = cursor.getString(cursor.getColumnIndex("passage"));
}

這個插件允許其他Android應用程序,從聖經的國王詹姆斯版本顯示聖經經文。

應用程序開發人員可以將這種用下面的代碼:
==顯示在一個新的活動的一段話==
意向意圖=新的意圖(Intent.ACTION_VIEW);
intent.setType(“vnd.android.cursor.item / vnd.uk.co.tekkies.bible.passage”);
intent.putExtra(“通道”,“希伯來書11章”);
activity.startActivity(意向);

==內容提供者接口==
串passageXml =“錯誤”;
字符串[] =一行新的String [] {“通道”};
光標光標= getActivity()。getContentResolver()。查詢(
        Uri.parse(“內容:/ / uk.co.tekkies.plugin.bible.kjv /通道​​/”+通道),行“,”列“,”);
如果(cursor.moveToFirst()){
    passageXml = cursor.getString(cursor.getColumnIndex(“通道”));
}

Leave a Reply

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *