You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Joakim Knudsen (JIRA)" <ji...@apache.org> on 2017/11/30 20:43:00 UTC

[jira] [Commented] (IMAGING-208) Android version of Commons Imaging

    [ https://issues.apache.org/jira/browse/IMAGING-208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16273386#comment-16273386 ] 

Joakim Knudsen commented on IMAGING-208:
----------------------------------------

Errors and Warnings logged, while invoking {{IImageMetadata metadata = Sanselan.getMetadata(jpegImageFile);}}
Same problems when using Commons Imaging: {{final ImageMetadata metadata = Imaging.getMetadata(jpegImageFile);}}

{noformat}
11-15 23:30:12.325 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.325 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.325 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.325 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.325 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.325 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.325 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.325 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.325 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.325 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.330 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.330 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.330 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.330 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.330 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/color/ICC_Profile;)
11-15 23:30:12.330 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/color/ICC_Profile;)
11-15 23:30:12.330 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/color/ICC_Profile;)
11-15 23:30:12.330 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/color/ICC_Profile;)
11-15 23:30:12.330 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/color/ICC_Profile;)
11-15 23:30:12.335 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/color/ICC_Profile;)
11-15 23:30:12.335 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/color/ICC_Profile;)
11-15 23:30:12.335 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/color/ICC_Profile;)
11-15 23:30:12.335 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/color/ICC_Profile;)
11-15 23:30:12.335 18183-18369/ I/dalvikvm: Could not find method java.awt.color.ICC_Profile.getInstance, referenced from method org.apache.sanselan.Sanselan.getICCProfile
11-15 23:30:12.335 18183-18369/ W/dalvikvm: VFY: unable to resolve static method 20125: Ljava/awt/color/ICC_Profile;.getInstance ([B)Ljava/awt/color/ICC_Profile;
11-15 23:30:12.335 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/color/ICC_Profile;)
11-15 23:30:12.335 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/color/ICC_Profile;)
11-15 23:30:12.335 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/color/ICC_Profile;)
11-15 23:30:12.335 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/color/ICC_Profile;)
11-15 23:30:12.335 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/color/ICC_Profile;)
11-15 23:30:12.340 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/Dimension;)
11-15 23:30:12.340 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/Dimension;)
11-15 23:30:12.340 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/Dimension;)
11-15 23:30:12.340 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/Dimension;)
11-15 23:30:12.340 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/Dimension;)
11-15 23:30:12.340 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/Dimension;)
11-15 23:30:12.340 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/Dimension;)
11-15 23:30:12.340 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/Dimension;)
11-15 23:30:12.345 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/Dimension;)
11-15 23:30:12.345 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/Dimension;)
11-15 23:30:12.345 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/Dimension;)
11-15 23:30:12.345 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/Dimension;)
11-15 23:30:12.345 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/Dimension;)
11-15 23:30:12.345 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/Dimension;)
11-15 23:30:12.350 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.350 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.350 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.350 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.350 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.350 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.360 18183-18369/ E/dalvikvm: Could not find class 'java.awt.Dimension', referenced from method org.apache.sanselan.formats.jpeg.JpegImageParser.getImageSize
11-15 23:30:12.360 18183-18369/ W/dalvikvm: VFY: unable to resolve new-instance 2497 (Ljava/awt/Dimension;) in Lorg/apache/sanselan/formats/jpeg/JpegImageParser;
11-15 23:30:12.365 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.365 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.365 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.370 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.370 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.370 18183-18369/ E/dalvikvm: Could not find class 'java.awt.Dimension', referenced from method org.apache.sanselan.formats.tiff.TiffImageParser.getImageSize
11-15 23:30:12.370 18183-18369/ W/dalvikvm: VFY: unable to resolve new-instance 2497 (Ljava/awt/Dimension;) in Lorg/apache/sanselan/formats/tiff/TiffImageParser;
11-15 23:30:12.370 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.375 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.375 18183-18369/ I/dalvikvm: Could not find method java.awt.color.ICC_Profile.getInstance, referenced from method org.apache.sanselan.formats.png.PngImageParser.getBufferedImage
11-15 23:30:12.375 18183-18369/ W/dalvikvm: VFY: unable to resolve static method 20125: Ljava/awt/color/ICC_Profile;.getInstance ([B)Ljava/awt/color/ICC_Profile;
11-15 23:30:12.380 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.380 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.380 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/color/ICC_Profile;)
11-15 23:30:12.380 18183-18369/ E/dalvikvm: Could not find class 'java.awt.color.ICC_ColorSpace', referenced from method org.apache.sanselan.formats.png.PngImageParser.getBufferedImage
11-15 23:30:12.380 18183-18369/ W/dalvikvm: VFY: unable to resolve new-instance 2503 (Ljava/awt/color/ICC_ColorSpace;) in Lorg/apache/sanselan/formats/png/PngImageParser;
11-15 23:30:12.380 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.380 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.380 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.380 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/color/ICC_Profile;)
11-15 23:30:12.385 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.385 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.385 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.385 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/color/ICC_Profile;)
11-15 23:30:12.385 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.385 18183-18369/ E/dalvikvm: Could not find class 'java.awt.Dimension', referenced from method org.apache.sanselan.formats.png.PngImageParser.getImageSize
11-15 23:30:12.385 18183-18369/ W/dalvikvm: VFY: unable to resolve new-instance 2497 (Ljava/awt/Dimension;) in Lorg/apache/sanselan/formats/png/PngImageParser;
11-15 23:30:12.385 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.390 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.395 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.395 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.395 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.395 18183-18369/ E/dalvikvm: Could not find class 'java.awt.Dimension', referenced from method org.apache.sanselan.formats.bmp.BmpImageParser.getImageSize
11-15 23:30:12.400 18183-18369/ W/dalvikvm: VFY: unable to resolve new-instance 2497 (Ljava/awt/Dimension;) in Lorg/apache/sanselan/formats/bmp/BmpImageParser;
11-15 23:30:12.400 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.400 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.400 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.400 18183-18369/ I/dalvikvm: Could not find method java.awt.image.BufferedImage.getWidth, referenced from method org.apache.sanselan.formats.bmp.BmpImageParser.writeImage
11-15 23:30:12.400 18183-18369/ W/dalvikvm: VFY: unable to resolve virtual method 20137: Ljava/awt/image/BufferedImage;.getWidth ()I
11-15 23:30:12.400 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.410 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.410 18183-18369/ I/dalvikvm: Could not find method java.awt.image.BufferedImage.getRaster, referenced from method org.apache.sanselan.formats.gif.GifImageParser.getBufferedImage
11-15 23:30:12.410 18183-18369/ W/dalvikvm: VFY: unable to resolve virtual method 20136: Ljava/awt/image/BufferedImage;.getRaster ()Ljava/awt/image/WritableRaster;
11-15 23:30:12.410 18183-18369/ E/dalvikvm: Could not find class 'java.awt.Dimension', referenced from method org.apache.sanselan.formats.gif.GifImageParser.getImageSize
11-15 23:30:12.410 18183-18369/ W/dalvikvm: VFY: unable to resolve new-instance 2497 (Ljava/awt/Dimension;) in Lorg/apache/sanselan/formats/gif/GifImageParser;
11-15 23:30:12.415 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.415 18183-18369/ I/dalvikvm: Could not find method java.awt.image.BufferedImage.getWidth, referenced from method org.apache.sanselan.formats.gif.GifImageParser.writeImage
11-15 23:30:12.415 18183-18369/ W/dalvikvm: VFY: unable to resolve virtual method 20137: Ljava/awt/image/BufferedImage;.getWidth ()I
11-15 23:30:12.420 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.420 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.420 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.420 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.420 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.425 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.425 18183-18369/ E/dalvikvm: Could not find class 'java.awt.Dimension', referenced from method org.apache.sanselan.formats.psd.PsdImageParser.getImageSize
11-15 23:30:12.425 18183-18369/ W/dalvikvm: VFY: unable to resolve new-instance 2497 (Ljava/awt/Dimension;) in Lorg/apache/sanselan/formats/psd/PsdImageParser;
11-15 23:30:12.425 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.425 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.430 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.430 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.430 18183-18369/ E/dalvikvm: Could not find class 'java.awt.Dimension', referenced from method org.apache.sanselan.formats.pnm.PNMImageParser.getImageSize
11-15 23:30:12.430 18183-18369/ W/dalvikvm: VFY: unable to resolve new-instance 2497 (Ljava/awt/Dimension;) in Lorg/apache/sanselan/formats/pnm/PNMImageParser;
11-15 23:30:12.430 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.430 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.435 18183-18369/ I/dalvikvm: Could not find method java.awt.image.ColorModel.getRGBdefault, referenced from method org.apache.sanselan.formats.ico.IcoImageParser.readBufferedImage
11-15 23:30:12.435 18183-18369/ W/dalvikvm: VFY: unable to resolve static method 20143: Ljava/awt/image/ColorModel;.getRGBdefault ()Ljava/awt/image/ColorModel;
11-15 23:30:12.435 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.435 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.435 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/Dimension;)
11-15 23:30:12.520 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.520 18183-18369/ I/dalvikvm: Could not find method java.awt.image.BufferedImage.getWidth, referenced from method org.apache.sanselan.formats.tiff.write.TiffImageWriterBase.getStrips
11-15 23:30:12.520 18183-18369/ W/dalvikvm: VFY: unable to resolve virtual method 20137: Ljava/awt/image/BufferedImage;.getWidth ()I
11-15 23:30:12.525 18183-18369/ W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
11-15 23:30:12.525 18183-18369/ I/dalvikvm: Could not find method java.awt.image.BufferedImage.getWidth, referenced from method org.apache.sanselan.formats.tiff.write.TiffImageWriterBase.writeImage
11-15 23:30:12.525 18183-18369/ W/dalvikvm: VFY: unable to resolve virtual method 20137: Ljava/awt/image/BufferedImage;.getWidth ()I
{noformat}


> Android version of Commons Imaging
> ----------------------------------
>
>                 Key: IMAGING-208
>                 URL: https://issues.apache.org/jira/browse/IMAGING-208
>             Project: Commons Imaging
>          Issue Type: New Feature
>            Reporter: Joakim Knudsen
>            Priority: Minor
>
> Effort has been made with Sanselan, to make an [Android compatible version of the library (Sanselan-Android)|https://github.com/fulcrumapp/sanselan-android]. Running the library as-is (either Sanselan 0.97 or Commons Imaging) on Android produces warnings and errors due to the lack of support of java.awt.
> Exploring the code, comparing with the original Sanselan code (and Commons Imaging), I find that Sanselan-Android essentially comments out all references (imports etc) to {{java.awt.*}} -- typically {{java.awt.Dimension}}, {{java.awt.BufferedImage}}, and {{java.awt.color.ICC_ColorSpace}}.
> As such, Sanselan-Android only supports JPEG and TIFF (snip from {{ImageParser.java}}):
> {code:java}
> package org.apache.sanselan;
> //import java.awt.Dimension;
> //import java.awt.image.BufferedImage;
> import java.io.File;
> import java.io.IOException;
> import java.io.PrintWriter;
> import java.io.StringWriter;
> import java.util.Map;
> import org.apache.sanselan.common.BinaryFileParser;
> import org.apache.sanselan.common.IImageMetadata;
> import org.apache.sanselan.common.byteSources.ByteSource;
> import org.apache.sanselan.common.byteSources.ByteSourceArray;
> import org.apache.sanselan.common.byteSources.ByteSourceFile;
> //import org.apache.sanselan.formats.bmp.BmpImageParser;
> //import org.apache.sanselan.formats.gif.GifImageParser;
> //import org.apache.sanselan.formats.ico.IcoImageParser;
> import org.apache.sanselan.formats.jpeg.JpegImageParser;
> //import org.apache.sanselan.formats.png.PngImageParser;
> //import org.apache.sanselan.formats.pnm.PNMImageParser;
> //import org.apache.sanselan.formats.psd.PsdImageParser;
> import org.apache.sanselan.formats.tiff.TiffImageParser;
> public abstract class ImageParser extends BinaryFileParser implements
> 		SanselanConstants
> {
> 	public static final ImageParser[] getAllImageParsers()
> 	{
> 		ImageParser result[] = { new JpegImageParser(), new TiffImageParser(),
> //				new PngImageParser() 
> //				new BmpImageParser(),
> //				new GifImageParser(), new PsdImageParser(),
> //				new PNMImageParser(), new IcoImageParser(),
> 		// new JBig2ImageParser(),
> 		// new TgaImageParser(),
> 		};
> 		return result;
> 	}
> {code}
> *It has been proposed to make an Android compatible version of Commons Imaging, and I'd like to propose this work to be started :) I'd also like to contribute as much as I can, but I'm not confident enough to be the main resource in such a task.*
> It seems to me that simply commenting out all references and usage of, say, {{java.awt.Dimension}} is a unneccesarily crude fix, as this class appears to me to be a simple (?) wrapper class of two dimensions (height and width)? Why not replace this with something compatible with Android, and thus preserve functionality? [This StackOverflow post|https://stackoverflow.com/questions/8876130/class-dimension-for-java-on-android] discusses writing an equivalent class, or, alternatively, using [{{Point}}|https://developer.android.com/reference/android/graphics/Point.html].



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)