send link to app

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("");intent.putExtra("passage","Hebrews 11");activity.startActivity(intent);
== Content provider interface ==String passageXml = "Error";String[] row = new String[] { "passage" };Cursor cursor = getActivity().getContentResolver().query( Uri.parse("content://" + passage), row, "", row, "");if (cursor.moveToFirst()) { passageXml = cursor.getString(cursor.getColumnIndex("passage"));}