Hey, people. I know softwares like eclipse and netbeans can take the source code and subfolders from your project and create an executable jar file or J2ME app from all that. Can anyone tell me how Netbeans does this? I want to mimic this capability in a desktop program of mine. I’ve worked with the java.lang.Runtime class to run other execute commands on your computer from within your java code. Though this was cool, I was unsuccessful with my main goal.
I have written a J2ME program mobile ebook app for the ‘think and grow rich by napoleon hill’ pdf book. I can create a mobile ebook app for any pdf book, but I want to scale this so that none programmers can create a mobile ebook app for their favorite pdfs(for people who can’t afford blackberries that have file systems and that can run pdf readers).
I created a program that can extract the text from each page of a pdf and place the text in .txt files, a text file for each page of the pdf. I then copy this text files to the ‘res’ directory of my project. I change the number of pages of the app I want to create. change the name of the app, change the image for the project and build. Its that simple. But I want anyone without an IDE to be able to do this.