How to export text into pdf in Java, Android? [duplicate] - java

This question already has an answer here:
Closed 11 years ago.
Possible Duplicate:
How to create pdf files on android
I need to create app for exporting text into pdf file. But I don't know how to do it, because I never used it ever. Help me please, give me an example for this task or link for tutorial.

Some libraries in java to acheive this
http://pdfbox.apache.org/
http://itextpdf.com/

Related

can I delete xml files ? android [duplicate]

This question already has answers here:
Android - Create app with pure Java and no XML?
(6 answers)
Closed 9 years ago.
whenever I create an activity in android, XML files are automatically generated. Can I delete them if I do the layout programmatically in Java code ?
Sure... You can do it.
Look this, Layouts.
So, regarding it, we can create our .xml files and then add to our Project.

How to read text from image in java [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Java OCR implementation
Hi I am working on a project for which there is a requirement to read the text written in image. I tried googling on this and could find some details on OCR. But not sure how to implement it in my application? Anyone has idea on how to do that? Do I need to add some API and use it in my code?
Any Sample example would be of great help. Thanks in Advance
Please find here the project of OCR example on an image "Pink.jpg"
which has the chars "Sample"
The project consists on 3 files:
OCR.java
OCED.java
Program.java
Download them and make your tests
From the problem described it might be that you are looking for captcha in Java.
Maybe this will help: jcaptcha

Developing Excel reports using Java [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Generating excel documents programmatically
I want to generate excel reports using Java/J2EE. Can anyone let mw know which is the best open source API to do this, which is simple & easy to use.
If anyone can provide me the link to sample programs will be great.
Thanks in Advance
You can try to use the Apache POI. They have examples on their web page. See their website here.

How can I display PDF file in java GUI application? [duplicate]

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Creating online help in Java Swing application - using pdf user docs
Opening a PDF in a desktop application in Java
I want to add pdf file in GUI form and want to navigate up and down in pdf file. I am using J2SE.
This one should suit your requirements: http://www.icepdf.org/

making web browser [duplicate]

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Using java to create a web browser
Is there any way to make a webbrower using java?.
if yes pls give the idea about it.
Of course you can make a webbrowser by using java.
You would have to parse the html content of the pages you request.
If you're not interested in creating your own browser, here is a link how to display simple html files.

Categories

Resources