Autore Topic: Problema con iText  (Letto 1770 volte)

Offline dgsfg

  • Nuovo arrivato
  • *
  • Post: 3
  • Respect: 0
    • Mostra profilo
Problema con iText
« il: 07 Maggio 2012, 12:27:28 CEST »
0
Salve, avrei bisogno di creare dei report in PDF in un'applicazione per Android, ho trovato su questo forum questo tutorial per iText: http://www.anddev.it/index.php?topic=2614.0
Solo che proprio non mi funziona, io ho provato sia ad eseguire il progetto scaricabile che a creare uno nuovo del caso base, cioè:
Codice: [Seleziona]
//passo 1
Document document = new Document();
//cerco il path
        String file = Environment.getExternalStorageDirectory().getPath() + "/Hello.pdf";
        try {
//passo 2
                PdfWriter.getInstance(document,new FileOutputStream(file));
                        document.open();
//aggiungo un paragrafo
                document.add(new Paragraph("Hello World!!!"));
//passo 3
                document.close();
                } catch (FileNotFoundException e) {
                        e.printStackTrace();
                } catch (DocumentException e) {
                        e.printStackTrace();
                }
        catch(Exception e){
                e.printStackTrace();

        }

Ecco, qui usando iText mi vengono dati degli errori
Codice: [Seleziona]
05-07 10:23:05.283: D/dalvikvm(1629): GC_EXPLICIT freed 3447 objects / 219704 bytes in 167ms
05-07 10:24:22.332: D/dalvikvm(1689): GC_FOR_MALLOC freed 5214 objects / 222840 bytes in 130ms
05-07 10:24:22.432: I/global(1689): Default buffer size used in BufferedOutputStream constructor. It would be better to be explicit if an 8k buffer is required.
05-07 10:24:22.552: W/dalvikvm(1689): VFY: unable to find class referenced in signature (Ljava/awt/geom/AffineTransform;)
05-07 10:24:22.552: I/dalvikvm(1689): Could not find method java.awt.geom.AffineTransform.getMatrix, referenced from method com.itextpdf.text.pdf.PdfContentByte.addImage
05-07 10:24:22.552: W/dalvikvm(1689): VFY: unable to resolve virtual method 6809: Ljava/awt/geom/AffineTransform;.getMatrix ([D)V
05-07 10:24:22.573: D/dalvikvm(1689): VFY: replacing opcode 0x6e at 0x0004
05-07 10:24:22.573: D/dalvikvm(1689): VFY: dead code 0x0007-0023 in Lcom/itextpdf/text/pdf/PdfContentByte;.addImage (Lcom/itextpdf/text/Image;Ljava/awt/geom/AffineTransform;)V
05-07 10:24:22.592: W/dalvikvm(1689): VFY: unable to find class referenced in signature (Ljava/awt/geom/AffineTransform;)
05-07 10:24:22.604: I/dalvikvm(1689): Could not find method java.awt.geom.AffineTransform.getMatrix, referenced from method com.itextpdf.text.pdf.PdfContentByte.addTemplate
05-07 10:24:22.604: W/dalvikvm(1689): VFY: unable to resolve virtual method 6809: Ljava/awt/geom/AffineTransform;.getMatrix ([D)V
05-07 10:24:22.604: D/dalvikvm(1689): VFY: replacing opcode 0x6e at 0x0003
05-07 10:24:22.604: D/dalvikvm(1689): VFY: dead code 0x0006-0023 in Lcom/itextpdf/text/pdf/PdfContentByte;.addTemplate (Lcom/itextpdf/text/pdf/PdfTemplate;Ljava/awt/geom/AffineTransform;)V
05-07 10:24:22.672: W/dalvikvm(1689): VFY: unable to find class referenced in signature (Ljava/awt/geom/AffineTransform;)
05-07 10:24:22.682: I/dalvikvm(1689): Could not find method java.awt.geom.AffineTransform.getMatrix, referenced from method com.itextpdf.text.pdf.PdfContentByte.concatCTM
05-07 10:24:22.682: W/dalvikvm(1689): VFY: unable to resolve virtual method 6809: Ljava/awt/geom/AffineTransform;.getMatrix ([D)V
05-07 10:24:22.682: D/dalvikvm(1689): VFY: replacing opcode 0x6e at 0x0003
05-07 10:24:22.692: D/dalvikvm(1689): VFY: dead code 0x0006-0022 in Lcom/itextpdf/text/pdf/PdfContentByte;.concatCTM (Ljava/awt/geom/AffineTransform;)V
05-07 10:24:22.712: W/dalvikvm(1689): Unable to resolve superclass of Lcom/itextpdf/text/pdf/PdfGraphics2D; (602)
05-07 10:24:22.712: W/dalvikvm(1689): Link of class 'Lcom/itextpdf/text/pdf/PdfGraphics2D;' failed
05-07 10:24:22.722: E/dalvikvm(1689): Could not find class 'com.itextpdf.text.pdf.PdfGraphics2D', referenced from method com.itextpdf.text.pdf.PdfContentByte.createGraphics
05-07 10:24:22.722: W/dalvikvm(1689): VFY: unable to resolve new-instance 253 (Lcom/itextpdf/text/pdf/PdfGraphics2D;) in Lcom/itextpdf/text/pdf/PdfContentByte;
05-07 10:24:22.722: D/dalvikvm(1689): VFY: replacing opcode 0x22 at 0x0001
05-07 10:24:22.722: D/dalvikvm(1689): VFY: dead code 0x0003-000c in Lcom/itextpdf/text/pdf/PdfContentByte;.createGraphics (FF)Ljava/awt/Graphics2D;
05-07 10:24:22.732: W/dalvikvm(1689): Unable to resolve superclass of Lcom/itextpdf/text/pdf/PdfGraphics2D; (602)
05-07 10:24:22.762: W/dalvikvm(1689): Link of class 'Lcom/itextpdf/text/pdf/PdfGraphics2D;' failed
05-07 10:24:22.762: E/dalvikvm(1689): Could not find class 'com.itextpdf.text.pdf.PdfGraphics2D', referenced from method com.itextpdf.text.pdf.PdfContentByte.createGraphics
05-07 10:24:22.848: W/dalvikvm(1689): VFY: unable to resolve new-instance 253 (Lcom/itextpdf/text/pdf/PdfGraphics2D;) in Lcom/itextpdf/text/pdf/PdfContentByte;
05-07 10:24:22.848: D/dalvikvm(1689): VFY: replacing opcode 0x22 at 0x0001
05-07 10:24:22.848: D/dalvikvm(1689): VFY: dead code 0x0003-000c in Lcom/itextpdf/text/pdf/PdfContentByte;.createGraphics (FFLcom/itextpdf/text/pdf/FontMapper;)Ljava/awt/Graphics2D;
05-07 10:24:22.852: W/dalvikvm(1689): Unable to resolve superclass of Lcom/itextpdf/text/pdf/PdfGraphics2D; (602)
05-07 10:24:22.852: W/dalvikvm(1689): Link of class 'Lcom/itextpdf/text/pdf/PdfGraphics2D;' failed
05-07 10:24:22.852: E/dalvikvm(1689): Could not find class 'com.itextpdf.text.pdf.PdfGraphics2D', referenced from method com.itextpdf.text.pdf.PdfContentByte.createGraphics
05-07 10:24:22.852: W/dalvikvm(1689): VFY: unable to resolve new-instance 253 (Lcom/itextpdf/text/pdf/PdfGraphics2D;) in Lcom/itextpdf/text/pdf/PdfContentByte;
05-07 10:24:22.852: D/dalvikvm(1689): VFY: replacing opcode 0x22 at 0x0000
05-07 10:24:22.862: D/dalvikvm(1689): VFY: dead code 0x0002-000c in Lcom/itextpdf/text/pdf/PdfContentByte;.createGraphics (FFLcom/itextpdf/text/pdf/FontMapper;ZF)Ljava/awt/Graphics2D;
05-07 10:24:22.862: W/dalvikvm(1689): Unable to resolve superclass of Lcom/itextpdf/text/pdf/PdfGraphics2D; (602)
05-07 10:24:22.862: W/dalvikvm(1689): Link of class 'Lcom/itextpdf/text/pdf/PdfGraphics2D;' failed
05-07 10:24:22.862: E/dalvikvm(1689): Could not find class 'com.itextpdf.text.pdf.PdfGraphics2D', referenced from method com.itextpdf.text.pdf.PdfContentByte.createGraphics
05-07 10:24:22.873: W/dalvikvm(1689): VFY: unable to resolve new-instance 253 (Lcom/itextpdf/text/pdf/PdfGraphics2D;) in Lcom/itextpdf/text/pdf/PdfContentByte;
05-07 10:24:22.873: D/dalvikvm(1689): VFY: replacing opcode 0x22 at 0x0000
05-07 10:24:22.873: D/dalvikvm(1689): VFY: dead code 0x0002-000c in Lcom/itextpdf/text/pdf/PdfContentByte;.createGraphics (FFZF)Ljava/awt/Graphics2D;
05-07 10:24:22.873: W/dalvikvm(1689): Unable to resolve superclass of Lcom/itextpdf/text/pdf/PdfGraphics2D; (602)
05-07 10:24:22.873: W/dalvikvm(1689): Link of class 'Lcom/itextpdf/text/pdf/PdfGraphics2D;' failed
05-07 10:24:22.884: E/dalvikvm(1689): Could not find class 'com.itextpdf.text.pdf.PdfGraphics2D', referenced from method com.itextpdf.text.pdf.PdfContentByte.createGraphicsShapes
05-07 10:24:22.884: W/dalvikvm(1689): VFY: unable to resolve new-instance 253 (Lcom/itextpdf/text/pdf/PdfGraphics2D;) in Lcom/itextpdf/text/pdf/PdfContentByte;
05-07 10:24:22.884: D/dalvikvm(1689): VFY: replacing opcode 0x22 at 0x0000
05-07 10:24:22.913: D/dalvikvm(1689): VFY: dead code 0x0002-000c in Lcom/itextpdf/text/pdf/PdfContentByte;.createGraphicsShapes (FF)Ljava/awt/Graphics2D;
05-07 10:24:22.913: W/dalvikvm(1689): Unable to resolve superclass of Lcom/itextpdf/text/pdf/PdfGraphics2D; (602)
05-07 10:24:22.922: W/dalvikvm(1689): Link of class 'Lcom/itextpdf/text/pdf/PdfGraphics2D;' failed
05-07 10:24:22.922: E/dalvikvm(1689): Could not find class 'com.itextpdf.text.pdf.PdfGraphics2D', referenced from method com.itextpdf.text.pdf.PdfContentByte.createGraphicsShapes
05-07 10:24:22.922: W/dalvikvm(1689): VFY: unable to resolve new-instance 253 (Lcom/itextpdf/text/pdf/PdfGraphics2D;) in Lcom/itextpdf/text/pdf/PdfContentByte;
05-07 10:24:22.922: D/dalvikvm(1689): VFY: replacing opcode 0x22 at 0x0000
05-07 10:24:22.922: D/dalvikvm(1689): VFY: dead code 0x0002-000c in Lcom/itextpdf/text/pdf/PdfContentByte;.createGraphicsShapes (FFZF)Ljava/awt/Graphics2D;
05-07 10:24:22.932: W/dalvikvm(1689): VFY: unable to find class referenced in signature (Ljava/awt/print/PrinterJob;)
05-07 10:24:22.942: W/dalvikvm(1689): Unable to resolve superclass of Lcom/itextpdf/text/pdf/PdfGraphics2D; (602)
05-07 10:24:22.942: W/dalvikvm(1689): Link of class 'Lcom/itextpdf/text/pdf/PdfGraphics2D;' failed
05-07 10:24:22.942: W/dalvikvm(1689): Unable to resolve superclass of Lcom/itextpdf/text/pdf/PdfPrinterGraphics2D; (253)
05-07 10:24:22.942: W/dalvikvm(1689): Link of class 'Lcom/itextpdf/text/pdf/PdfPrinterGraphics2D;' failed
05-07 10:24:22.942: E/dalvikvm(1689): Could not find class 'com.itextpdf.text.pdf.PdfPrinterGraphics2D', referenced from method com.itextpdf.text.pdf.PdfContentByte.createPrinterGraphics
05-07 10:24:22.942: W/dalvikvm(1689): VFY: unable to resolve new-instance 293 (Lcom/itextpdf/text/pdf/PdfPrinterGraphics2D;) in Lcom/itextpdf/text/pdf/PdfContentByte;
05-07 10:24:22.942: D/dalvikvm(1689): VFY: replacing opcode 0x22 at 0x0001
05-07 10:24:22.942: D/dalvikvm(1689): VFY: dead code 0x0003-000d in Lcom/itextpdf/text/pdf/PdfContentByte;.createPrinterGraphics (FFLcom/itextpdf/text/pdf/FontMapper;Ljava/awt/print/PrinterJob;)Ljava/awt/Graphics2D;
05-07 10:24:22.942: W/dalvikvm(1689): VFY: unable to find class referenced in signature (Ljava/awt/print/PrinterJob;)
05-07 10:24:22.963: W/dalvikvm(1689): Unable to resolve superclass of Lcom/itextpdf/text/pdf/PdfGraphics2D; (602)
05-07 10:24:22.963: W/dalvikvm(1689): Link of class 'Lcom/itextpdf/text/pdf/PdfGraphics2D;' failed
05-07 10:24:22.963: W/dalvikvm(1689): Unable to resolve superclass of Lcom/itextpdf/text/pdf/PdfPrinterGraphics2D; (253)
05-07 10:24:22.963: W/dalvikvm(1689): Link of class 'Lcom/itextpdf/text/pdf/PdfPrinterGraphics2D;' failed
05-07 10:24:22.963: E/dalvikvm(1689): Could not find class 'com.itextpdf.text.pdf.PdfPrinterGraphics2D', referenced from method com.itextpdf.text.pdf.PdfContentByte.createPrinterGraphics
05-07 10:24:22.963: W/dalvikvm(1689): VFY: unable to resolve new-instance 293 (Lcom/itextpdf/text/pdf/PdfPrinterGraphics2D;) in Lcom/itextpdf/text/pdf/PdfContentByte;
05-07 10:24:22.963: D/dalvikvm(1689): VFY: replacing opcode 0x22 at 0x0000
05-07 10:24:22.963: D/dalvikvm(1689): VFY: dead code 0x0002-000d in Lcom/itextpdf/text/pdf/PdfContentByte;.createPrinterGraphics (FFLcom/itextpdf/text/pdf/FontMapper;ZFLjava/awt/print/PrinterJob;)Ljava/awt/Graphics2D;
05-07 10:24:22.963: W/dalvikvm(1689): VFY: unable to find class referenced in signature (Ljava/awt/print/PrinterJob;)
05-07 10:24:22.963: W/dalvikvm(1689): Unable to resolve superclass of Lcom/itextpdf/text/pdf/PdfGraphics2D; (602)
05-07 10:24:22.963: W/dalvikvm(1689): Link of class 'Lcom/itextpdf/text/pdf/PdfGraphics2D;' failed
05-07 10:24:22.974: W/dalvikvm(1689): Unable to resolve superclass of Lcom/itextpdf/text/pdf/PdfPrinterGraphics2D; (253)
05-07 10:24:22.974: W/dalvikvm(1689): Link of class 'Lcom/itextpdf/text/pdf/PdfPrinterGraphics2D;' failed
05-07 10:24:22.974: E/dalvikvm(1689): Could not find class 'com.itextpdf.text.pdf.PdfPrinterGraphics2D', referenced from method com.itextpdf.text.pdf.PdfContentByte.createPrinterGraphics
05-07 10:24:22.974: W/dalvikvm(1689): VFY: unable to resolve new-instance 293 (Lcom/itextpdf/text/pdf/PdfPrinterGraphics2D;) in Lcom/itextpdf/text/pdf/PdfContentByte;
05-07 10:24:22.974: D/dalvikvm(1689): VFY: replacing opcode 0x22 at 0x0001
05-07 10:24:22.974: D/dalvikvm(1689): VFY: dead code 0x0003-000d in Lcom/itextpdf/text/pdf/PdfContentByte;.createPrinterGraphics (FFLjava/awt/print/PrinterJob;)Ljava/awt/Graphics2D;
05-07 10:24:22.982: W/dalvikvm(1689): VFY: unable to find class referenced in signature (Ljava/awt/print/PrinterJob;)
05-07 10:24:22.982: W/dalvikvm(1689): Unable to resolve superclass of Lcom/itextpdf/text/pdf/PdfGraphics2D; (602)
05-07 10:24:22.982: W/dalvikvm(1689): Link of class 'Lcom/itextpdf/text/pdf/PdfGraphics2D;' failed
05-07 10:24:22.982: W/dalvikvm(1689): Unable to resolve superclass of Lcom/itextpdf/text/pdf/PdfPrinterGraphics2D; (253)
05-07 10:24:22.982: W/dalvikvm(1689): Link of class 'Lcom/itextpdf/text/pdf/PdfPrinterGraphics2D;' failed
05-07 10:24:22.982: E/dalvikvm(1689): Could not find class 'com.itextpdf.text.pdf.PdfPrinterGraphics2D', referenced from method com.itextpdf.text.pdf.PdfContentByte.createPrinterGraphics
05-07 10:24:22.982: W/dalvikvm(1689): VFY: unable to resolve new-instance 293 (Lcom/itextpdf/text/pdf/PdfPrinterGraphics2D;) in Lcom/itextpdf/text/pdf/PdfContentByte;
05-07 10:24:22.982: D/dalvikvm(1689): VFY: replacing opcode 0x22 at 0x0000
05-07 10:24:22.982: D/dalvikvm(1689): VFY: dead code 0x0002-000d in Lcom/itextpdf/text/pdf/PdfContentByte;.createPrinterGraphics (FFZFLjava/awt/print/PrinterJob;)Ljava/awt/Graphics2D;
05-07 10:24:22.982: W/dalvikvm(1689): VFY: unable to find class referenced in signature (Ljava/awt/print/PrinterJob;)
05-07 10:24:23.084: W/dalvikvm(1689): Unable to resolve superclass of Lcom/itextpdf/text/pdf/PdfGraphics2D; (602)
05-07 10:24:23.084: W/dalvikvm(1689): Link of class 'Lcom/itextpdf/text/pdf/PdfGraphics2D;' failed
05-07 10:24:23.084: W/dalvikvm(1689): Unable to resolve superclass of Lcom/itextpdf/text/pdf/PdfPrinterGraphics2D; (253)
05-07 10:24:23.084: W/dalvikvm(1689): Link of class 'Lcom/itextpdf/text/pdf/PdfPrinterGraphics2D;' failed
05-07 10:24:23.084: E/dalvikvm(1689): Could not find class 'com.itextpdf.text.pdf.PdfPrinterGraphics2D', referenced from method com.itextpdf.text.pdf.PdfContentByte.createPrinterGraphicsShapes
05-07 10:24:23.084: W/dalvikvm(1689): VFY: unable to resolve new-instance 293 (Lcom/itextpdf/text/pdf/PdfPrinterGraphics2D;) in Lcom/itextpdf/text/pdf/PdfContentByte;
05-07 10:24:23.084: D/dalvikvm(1689): VFY: replacing opcode 0x22 at 0x0000
05-07 10:24:23.084: D/dalvikvm(1689): VFY: dead code 0x0002-000d in Lcom/itextpdf/text/pdf/PdfContentByte;.createPrinterGraphicsShapes (FFLjava/awt/print/PrinterJob;)Ljava/awt/Graphics2D;
05-07 10:24:23.084: W/dalvikvm(1689): VFY: unable to find class referenced in signature (Ljava/awt/print/PrinterJob;)
05-07 10:24:23.093: W/dalvikvm(1689): Unable to resolve superclass of Lcom/itextpdf/text/pdf/PdfGraphics2D; (602)
05-07 10:24:23.093: W/dalvikvm(1689): Link of class 'Lcom/itextpdf/text/pdf/PdfGraphics2D;' failed
05-07 10:24:23.093: W/dalvikvm(1689): Unable to resolve superclass of Lcom/itextpdf/text/pdf/PdfPrinterGraphics2D; (253)
05-07 10:24:23.093: W/dalvikvm(1689): Link of class 'Lcom/itextpdf/text/pdf/PdfPrinterGraphics2D;' failed
05-07 10:24:23.093: E/dalvikvm(1689): Could not find class 'com.itextpdf.text.pdf.PdfPrinterGraphics2D', referenced from method com.itextpdf.text.pdf.PdfContentByte.createPrinterGraphicsShapes
05-07 10:24:23.093: W/dalvikvm(1689): VFY: unable to resolve new-instance 293 (Lcom/itextpdf/text/pdf/PdfPrinterGraphics2D;) in Lcom/itextpdf/text/pdf/PdfContentByte;
05-07 10:24:23.093: D/dalvikvm(1689): VFY: replacing opcode 0x22 at 0x0000
05-07 10:24:23.103: D/dalvikvm(1689): VFY: dead code 0x0002-000d in Lcom/itextpdf/text/pdf/PdfContentByte;.createPrinterGraphicsShapes (FFZFLjava/awt/print/PrinterJob;)Ljava/awt/Graphics2D;
05-07 10:24:23.522: W/dalvikvm(1689): VFY: unable to find class referenced in signature (Ljava/awt/geom/AffineTransform;)
05-07 10:24:23.522: I/dalvikvm(1689): Could not find method java.awt.geom.AffineTransform.getMatrix, referenced from method com.itextpdf.text.pdf.PdfContentByte.setTextMatrix
05-07 10:24:23.533: W/dalvikvm(1689): VFY: unable to resolve virtual method 6809: Ljava/awt/geom/AffineTransform;.getMatrix ([D)V
05-07 10:24:23.533: D/dalvikvm(1689): VFY: replacing opcode 0x6e at 0x0003
05-07 10:24:23.533: D/dalvikvm(1689): VFY: dead code 0x0006-0022 in Lcom/itextpdf/text/pdf/PdfContentByte;.setTextMatrix (Ljava/awt/geom/AffineTransform;)V
05-07 10:24:23.542: W/dalvikvm(1689): VFY: unable to find class referenced in signature (Ljava/awt/geom/AffineTransform;)
05-07 10:24:23.542: I/dalvikvm(1689): Could not find method java.awt.geom.AffineTransform.getMatrix, referenced from method com.itextpdf.text.pdf.PdfContentByte.transform
05-07 10:24:23.542: W/dalvikvm(1689): VFY: unable to resolve virtual method 6809: Ljava/awt/geom/AffineTransform;.getMatrix ([D)V
05-07 10:24:23.542: D/dalvikvm(1689): VFY: replacing opcode 0x6e at 0x0005
05-07 10:24:23.552: D/dalvikvm(1689): VFY: dead code 0x0008-0054 in Lcom/itextpdf/text/pdf/PdfContentByte;.transform (Ljava/awt/geom/AffineTransform;)V

Che è una cosa molto evidente in quanto Android non ha librerie AWT, allora perché il vostro tutorial dice che funziona? Ho provato anche con DroidText, ma oltre ad essere molto pesante, mi da un errore nelle Fonts al momento della creazione del file..
Sapete come potrei fare ad usare iText? Oppure conoscete qualche altra libreria che mi permette di generare dei report per Android?

Offline Nicola_D

  • Moderatore
  • Utente storico
  • *****
  • Post: 2479
  • SBAGLIATO!
  • Respect: +323
    • Github
    • Google+
    • nicoladorigatti
    • Mostra profilo
  • Dispositivo Android:
    Nexus 6p, Nexus 4, Nexus S, Nexus 7(2012)
  • Sistema operativo:
    Windows 7
Re:Problema con iText
« Risposta #1 il: 07 Maggio 2012, 19:07:05 CEST »
0
perche non provi a familiarizzare con iText usando una semplice app java?
IMPORTANTE:NON RISPONDO A PROBLEMI VIA MESSAGGIO PRIVATO
LOGCAT: Non sai cos'è? -> Android Debug Bridge | Android Developers
               Dov'è in Eclipse? -> Window -> Open Prospective -> DDMS e guarda in basso!
[Obbligatorio] Logcat, questo sconosciuto! (Gruppo AndDev.it LOGTFO) - Android Developers Italia

Offline dgsfg

  • Nuovo arrivato
  • *
  • Post: 3
  • Respect: 0
    • Mostra profilo
Re:Problema con iText
« Risposta #2 il: 07 Maggio 2012, 20:58:39 CEST »
0
ho provato, e funziona alla perfezione, è con android che non vuole proprio funzionare..

Offline Nicola_D

  • Moderatore
  • Utente storico
  • *****
  • Post: 2479
  • SBAGLIATO!
  • Respect: +323
    • Github
    • Google+
    • nicoladorigatti
    • Mostra profilo
  • Dispositivo Android:
    Nexus 6p, Nexus 4, Nexus S, Nexus 7(2012)
  • Sistema operativo:
    Windows 7
Re:Problema con iText
« Risposta #3 il: 08 Maggio 2012, 23:55:42 CEST »
0
non so, io avevo usato iText su android solo per fare il merge dei PDF.
Hai vero impostato i permessi per usare la sd?
IMPORTANTE:NON RISPONDO A PROBLEMI VIA MESSAGGIO PRIVATO
LOGCAT: Non sai cos'è? -> Android Debug Bridge | Android Developers
               Dov'è in Eclipse? -> Window -> Open Prospective -> DDMS e guarda in basso!
[Obbligatorio] Logcat, questo sconosciuto! (Gruppo AndDev.it LOGTFO) - Android Developers Italia

Offline dgsfg

  • Nuovo arrivato
  • *
  • Post: 3
  • Respect: 0
    • Mostra profilo
Re:Problema con iText
« Risposta #4 il: 09 Maggio 2012, 14:58:58 CEST »
0
si si, impostati.. sono riuscito a risolvere usando droidtext.. Ho dovuto fare qualche modifica al pacchetto, ma ora va..

Offline siriozeta

  • Nuovo arrivato
  • *
  • Post: 8
  • Respect: +1
    • Mostra profilo
Re:Problema con iText
« Risposta #5 il: 08 Giugno 2012, 16:08:12 CEST »
0
Perdonami posso sapere come hai risolto? anche io come te ho avuto il tuo stesso problema. Adesso ho scaricato il jar di droidtext
ma non trovo la documentazione per utilizzarlo........grazie anticipatamente

Offline andrta

  • Nuovo arrivato
  • *
  • Post: 15
  • Respect: 0
    • Mostra profilo
  • Dispositivo Android:
    Samsung Galaxy W
  • Sistema operativo:
    Ubuntu 12.04
Re:Problema con iText
« Risposta #6 il: 18 Giugno 2012, 16:54:49 CEST »
0
anche io sarei molto interessato alla soluzione con droidtext. postate del codice please  :-)