English Home Romanian Home
Electronic Bible Online Pages Multi Language Phone Application One Language d/">Download Ipod / MP4 Player Package Electronic Online Mobile Pages
Electronic Books Online Pages Build Ebook Phone Application Download Ebook Phone Application Download Desktop Application Download Ipod / MP4 Player Package Electronic Online Mobile Pages
Create Bible Application Create E-Books Application
Credits News
About our project   |    Mobile Pages   |   
Electronic Books / Help / English / BiblePhone / Web / Guidance

Help

English

Printable ModePrintable Mode

Guidance, 4


4:1 Create Java books from Word or VPL files with BiblePhone Creator

4:2
Important notice: This method can be easily used for convertig .vpl files (verse-per-line) into thml.

From the bundle archive below dat2xml is in fact perfect finished tool vpl to thml,  with the vpl format specification NumberOfBook(tab)Chapter(tab)Verse(tab)Text.

First of all, download the following
archive.

1.    Convert a .txt file into a .txt database
 
a.    First of all you have to edit your text in Word for Windows using the following rules:
 
i.              Any new chapter will start compulsory with a number.
ii.          Any paragraph will be ended by at least a blank new line.
 
b.    Next you have to save your work in a file. Like an example you have Apostolok tortenete.doc.
 
c.    Then you shall save this file as .txt with UTF-8 option. In our example is Apostolok tortenete.txt.
d.    Then, you shall have to edit an UNL file (i.e. Universal Name Locator)having the following format, the fields being separated by tab character:
 
i.              IDBOOK: the ID associated to the book; it could be a number or similar; for instance look into unl_bible.txt for the UNL associated with a Bible, and in unl.txt for our case with one book (i.e. Apostolok tortenete): 9
ii.          NAME: the name of the book: Apostolok tortenete
iii.       MEMO: a memo as pointer into THML file: AA
iv.          CHAPTERS: the number of the chapters: 61
 
e.    This file can be easily edited with Excel, and then when you save maintain the original format (refuse Excel’s offer to save on Excel format!).
 
f.    Then you shall run txt2database.bat, and you shall enter as follows:
 
i.              Name of the input file: Apostolok tortenete.txt
ii.          Number of the book: 9
iii.       Name of .txt database: Apostolok tortenete_database.txt
 
g.    Now you have in the .txt database format in “Apostolok tortenete_database.txt“ with UTF-8 characters.
  
2.    Convert a .txt database into a THML file
 
a.    You have the .txt database (e.g. : Apostolok tortenete_database.txt).
b.    You shall edit accordingly the unl.txt file (see d. and e. above).
c.    Run database2thml.bat file and answer as follows:
 
i.              Input file name: Apostolok tortenete_database.txt
ii.          Maximum number of the books (i.e. the number of the books from the unl.txt file; 66 is default for the standard Bible): 1
iii.       The number of the verse’s column index, in our case will be 3: 3
iv.          Name of the UNL file: unl.txt
v.              Output file name: Apostolok tortenete.thml
 
 
d.    Apostolok tortenete.thml will be processed with BiblePhoneCreator . On this way, you have to move it in a folder (e.g. d:\thmlfiles) and edit a file named collections.txt. A sample of such a file I supplied here.

This file contains UTF characters, and therefore you can process it with wordpad without problems. If you want to edit the UTF characters, you have to open with WinWord, edit it, save as .txt with UTF-8 option, close it, and then you have to delete the first three characters from the file, added by WinWord as to signal that there is a UTF-8 file. On this way, you can go to start/run and write: cmd and the make an enter. After the prompt is displayed you will navigate to the folder typing the following DOS commands:
   d:
  cd d:\thmlfiles
  edit /80 collections.txt

Then you shall delete the first "monkey" characters that are before the Info tag, save and type "exit" in the DOS window.


e.    Apostolok tortenete.thml will be processed with BiblePhoneCreator . On this way, you have to do as follows:
i.   Download the archive and unzip it in folder (e.g. d:\BiblePhone). This folder will contain a file (BiblePhone.jar) and a folder (BiblePhoneCore).
ii.  Next, edit a batch file (e.g. build.bat) in the folder BiblePhone and edit as follows;
iii. Insert a line like this in the build.bat file: 
        java -Xmx128m -jar BiblePhoneCreator.jar "d:\thmlfiles\Apostolok tortenete.thml" "d:\thmlfiles\collections.txt". A sample you have here.
Then, you will have to run build.bat and you shall see a DOS window running this script. Next, you will have the files according to the collections.txt programming.
  
Note: You have to install before the last step, the Java RunTime Engine (JRE), from www.javasoft.com, and be sure that it is included in the Path system variable. If you open a DOS window (like at step d), when you type "java" you have to obtain messages from the program. If the operating system doesn't recognize this word, you have to put the path to the JRE, by adding to the Path system variable.




Printable Mode

Seek to any passage:


Book:
Chapter:
Paragraph:

Search the text:


Search in:
Terms:
Case insensitive:


Special note for ANDROID SmartPhones
I recommend to download PhoneMe emulator for Android from here. Especially I recommend phoneME Advanced - Foundation Profile + MIDP High Resolution b168 rev20547 from here, or from here.

Then you have to build your application, to transfer the .jar and .jad files on your mobile phone and run using this nice emulator.

1. Install a Zip Utility from Android Market.

2. Install a File Manager from Android Market.

3. Download and install PhoneMe, as mentioned above.

4. Build your application by using Download Multilingual Service or Dynamic Download (zip).

5. Copy the zip file into your Android Phone and unzip the content in a folder, and then write down the path to the unzipped files and the name of the .jad file.

6. Launch PhoneMe from your smartphone.

7. Inside PhoneMe, write to the main window the path and the name to the .jad file, above mentioned. Will look something like: file:///mnt/sd/download/BiblePhone.jad and then press enter.

8. The application will be installed, and next a hyperlink will be available below the above mentioned textbox. On this way you can install as many of MIDP application you like on your Android Phone.


How to install the application in Java Mobile enabled phones

It is possible now to have the Holy Scriptures on your mobile phone and to read it wherever you are due to the Mobile Information Device Profile (MIDP) technology in 1.0 and 2.0 versions, developed for Java applications.

A good advice is to try in the beginning the MIDP 1.0 / 128 Kbytes version, and progressively to advance to MIDP 2.0 and larger volumes (512 Kbytes or more).

The application is available for MIDP 2.0, MIDP 1.0. You have only to select one table on the field MIDP2.0 or MIDP1.0, according to the desired Bible version. Then, you shall make a click on the JAR (Java Archive) file in order to obtain the software to be installed on your mobile phone.

I recommend you to start with STARTER(MIDP1.0old) edition, then to continue with INTERMEDIATE(MIDP1.0), and in the end, if the mobile phone supports this thing, to try to install the ADVANCED (MIDP2.0) edition. Also, start with 128 kbytes volumes, continue with 512 kbytes, and at the end try the version in one file.

There are cases where the mobile phone requires so called JAD (Java Descriptor) files. These JAD files has to be uploaded, on this case, together with the desired JAR files(s).

There are different methods to download the applications in your mobile phone as follows:
1. Directly from Internet by using a WAP or GPRS connection
2. By using the infrared port of the mobile phone
3. By wireless Bluetooth access to the mobile phone
4. By cable link between PC ad mobile phone
5. If none from the above cases are valid

Next, we shall examine each case in order to have a successfully installation of the software.


1. Directly from Internet by using a WAP or GPRS connection
 

If your have Internet access on your mobile phone (e.g. WAP or GPRS), it is enough to access https://biblephone.intercer.net/wap/  from the browser of the mobile phone, and to access the desired Bible version, and then to make an option about MIDP1.0 or MIDP2.0, and finally to select the desired module (e.g. one or more). After the last selection, the desired version will be downloaded on your mobile phone.

Many phones have only this option for installing JAVA appplications.

2. By using the infrared port of the mobile phone

Sometimes there is a need for a special uploader software for specific mobile phones.

If you don't have access to Internet directly from your mobile phone, then you shall have to pass to this step requiring to have infrared ports on your mobile phone and on the computer.
a. On this case, you will download the application by using the computer from the Internet (i.e. JAR files).
b. Once the application is downloaded (preferable on the desktop) you will have to activate the infrared port on the mobile phone and align it with the infrared port of the computer (preferable laptop).

c. Then a window will appear asking what file you want to send to the mobile phone. Next, you will select the downloaded JAR file, and after OK, the mobile phone will ask you if you want to load that file. You say YES and the application will be downloaded on your mobile phone.
d. Probably, you will be asked by the mobile phone where you want to save it (e.g. on the games or applications directories). After you made this selection, the file will be ready to be loaded for run.
The displaying preference can be set inside the application in order to have larger fonts, full screen display etc.

3. By wireless Bluetooth access to the mobile phone

Sometimes there is a need for a special uploader software for specific mobile phones.
This situation is similar with the infrared case. You have only to activate Bluetooth access on your mobile phone (check if exists) and on the computer (check if exists).

4. By cable link between PC ad mobile phone
Sometimes there is a need for a special uploader software for specific mobile phones.
On this case the steps are as follows:

a. On this case, you will download the application by using the computer from the Internet (i.e. JAR files).
b. Once the application is downloaded (preferable on the desktop) you will have to set up the wired connection between the mobile phone and the computer. Next, you will start the synchronization / data transfer application and download the JAR file in your mobile phone. Surely, you will have to consult the CD of your mobile phone.
c. By this application you shall transfer into your mobile phone the JAR file in the games or applications directories. Next, you will have to select for run the JAR desired file.

5. If none from the above cases are valid
On this unhappy case, I recommend you to find a friend with a laptop having infrared / Bluetooth capabilities, or to buy a data link cable, or to change your current model of mobile phone.
Unfortunately, some models of mobile phones require only WAP/GPRS in order to download and run Java applications.


Sometimes there is a need for a special uploader software for specific mobile phones. Therefore check the documentation of them and also the page for specific models.

Why so many versions? Simple, because not all the mobile phones support the Bible in one file with MIDP 2.0 (the most advanced for the time being).

Multilingual Online Ebooks

It is possible now to have the inspirational ebooks on your browser and to read it allowing you to make comparisons between different translations or versions for a specific language. This occasion is unique, and you have only to browse to the desired author and book.


Select another version:



Source: Text from read this link, compiled by biblephone2008@gmail.com





free counters

Locations of visitors to this page








If you have any questions, remarks, suggestions, please contact me here. May God bless you in studying the Holy Scriptures.



Sitemap: Please select the BiblePhone modules in your language: