Questions tagged [android-droidtext]

droidtext was a port of the iText library version 2.1.7 (last LGPL version) for Android.

droidtext was a port of the iText library version 2.1.7 (last LGPL version) for Android.

This project page was removed in December 2013.

25 questions
4
votes
2 answers

What happened to DroidText?

So I've been playing around with DroidText for a while and want to eventually release an app that uses it. The problem is, their code.google site is down! I don't know what to do, or if I can still use this code. Does anyone know why the site is…
user2563087
  • 151
  • 1
  • 8
3
votes
2 answers

Generating pdftable with dynamic content using iText in android

I am generating pdf in android using itext library.Format of pdf is shown in image Approach i am using to generate this format is using Pdfptable. The description tag is dynamic means it can be of multiple lines. when description tag is of 4-5…
Sourabh soni
  • 488
  • 7
  • 11
3
votes
3 answers

droidText for pdf generation on android

I am looking into using droidText which is apparently a version of iText specifically for android. But i can't find any tutorials? has anyone used it? can you point me towards any tutorials?
erik
  • 4,946
  • 13
  • 70
  • 120
3
votes
2 answers

Inserting image in pdf android

How to add image in a pdf using DroidText I have tried the following code - Document document = new Document(); File f=new File(Environment.getExternalStorageDirectory(), "SimpleImages.pdf"); PdfWriter.getInstance(document,new…
Kishore
  • 2,051
  • 5
  • 26
  • 45
2
votes
1 answer

Security Alert: Your app contains embedded private keys or keystore files

I recently got a mail from Google: **Security Alert: Your app contains embedded private keys or keystore files This app contains one or more private keys or keystore files embedded in its published apk as listed at the end of this message. These…
2
votes
1 answer

Best method to render a pdf on a view in android

I know there are many library's available which are not suitable for commercial use like mupdf.My company is a startup and is not in a position to spend a lot .I am working on a magazine app.Can anyone suggest a good open-source library to use for…
coderock
  • 143
  • 13
2
votes
1 answer

How to edit or generate a PDF in Android SDK

I'm working in an app, and I need which the app can generate a PDF file with the app data saved in XML's. I need make this in one of two ways, but I don't know how, the ways are: Generate a PDF from a existing HTML Edit an existing PDF and add…
lightless07
  • 401
  • 6
  • 17
1
vote
0 answers

special characters in droidText - Android

I need to use special characters like "ç", "á"... but nothing works. Part of the code: Paragraph title = new Paragraph(); com.lowagie.text.Font fontTitle= FontFactory.getFont("Arial", BaseFont.IDENTITY_H, BaseFont.EMBEDDED, 15,…
user2600853
  • 101
  • 1
  • 12
1
vote
1 answer

Unable to execute dex: Multiple dex files define Lorg/apache/harmony/awt/internal/nls/Messages

I am developing a android application which generates a PDF using droidtext and sends it as attachment with the email without invoking the email client. I am using droidtext and java mail api to achieve this.And my lib directory is as follows.…
Faisal Memon
  • 774
  • 3
  • 12
  • 28
1
vote
1 answer

How to add a Header/Footer on a PDF File with DroidText?

I want to add a Header or a Footer on the first page of my PDF. I have tried to set it just after construct the Document. But, it was inneficient. I also have thought of passing the first page and delete it at the end. But, I haven't managed it…
cesarmarch
  • 617
  • 4
  • 13
1
vote
1 answer

Restrict the content of pdf to single page created using droidtext

Hi i am creating a pdf with texts and images. If the text is too big the pdf being created comes into 2nd page. Is there a way i can restict the content to a single page. I am ok trimming the end of the text,but is there an event method in droidtext…
Deva
  • 3,919
  • 1
  • 27
  • 38
0
votes
2 answers

AndroidStudio attaching PDF to email issue

Can anyone help explain why this code works in the Geneymotion emulator but not in any actual android device? The code perfectly works in an emulator, I've had no issues with it, I'm totally confused as to why it won't work in actual device. Here's…
almost a beginner
  • 1,622
  • 2
  • 20
  • 41
0
votes
0 answers

table cell not formatted properly in droidText

I created a table using droidText library, the cell within the table doesn't format the text properly, as the text goes over the cell border to the right. As you can see, the text in the description cell goes over the border to the right. I'm…
almost a beginner
  • 1,622
  • 2
  • 20
  • 41
0
votes
1 answer

Create PDF in android with read-only permission

In my android application if i click on the "Generate PDF" button then pdf is created in the sd card .If i open this pdf , i can copy text but i dont won't this . Mean i want Read-Only with that generated pdf file. Following is the code , public…
Harshad07
  • 608
  • 7
  • 23
0
votes
2 answers

Not able to customize font of paragraph in droidtext (Android)

Here is Code which I am using... Paragraph p1 = new Paragraph("Hi! I am generating my first PDF using DroidText"); Font paraFont = new Font(Font.COURIER,20.0f,Color.GREEN); p1.setAlignment(Paragraph.ALIGN_CENTER); p1.setFont(font1); …
Naveed Ali
  • 2,609
  • 1
  • 22
  • 37
1
2