R renemo Member Licensed User Longtime User Jun 20, 2020 #1 Hi I compile apps with iSVG in SDK 28 but it's some problem occure. In previous SDK i don't have any problem. Is something change in SDK 28 and due this iSVG generate error ? Is it enable any other SVG lib ?
Hi I compile apps with iSVG in SDK 28 but it's some problem occure. In previous SDK i don't have any problem. Is something change in SDK 28 and due this iSVG generate error ? Is it enable any other SVG lib ?
klaus Expert Licensed User Longtime User Jun 20, 2020 #2 Are you trying to use the iSVG library? iSVG is a B4i library. You should use the SVG library which is the B4A library. Upvote 0
Are you trying to use the iSVG library? iSVG is a B4i library. You should use the SVG library which is the B4A library.
Erel B4X founder Staff member Licensed User Longtime User Jun 20, 2020 #3 Moved to questions forum. Upvote 0
R renemo Member Licensed User Longtime User Jun 21, 2020 #5 I change on SVG Library but i got error com.larvalabs.svgandroid.SVGParseException: java.lang.NumberFormatException: For input string: "210mm" In svg lines: <?xml version="1.0" encoding="UTF-8" standalone="no"?> <!-- Created with Inkscape (http://www.inkscape.org/) --> <svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="210mm" height="148mm" viewBox="0 0 744.09452 524.40946" id="svg2" version="1.1" inkscape:version="0.92.1 r15371" sodipodi:docname="piorko2.svg"> <defs So its seems that SVG format not accepted Upvote 0
I change on SVG Library but i got error com.larvalabs.svgandroid.SVGParseException: java.lang.NumberFormatException: For input string: "210mm" In svg lines: <?xml version="1.0" encoding="UTF-8" standalone="no"?> <!-- Created with Inkscape (http://www.inkscape.org/) --> <svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="210mm" height="148mm" viewBox="0 0 744.09452 524.40946" id="svg2" version="1.1" inkscape:version="0.92.1 r15371" sodipodi:docname="piorko2.svg"> <defs So its seems that SVG format not accepted
agraham Expert Licensed User Longtime User Jun 21, 2020 #6 People have used Inkscape with the SVG library. I don't know much about it but you should be able to set up Inkscape to save without the 'mm' unit indication. A quick search found this https://wiki.inkscape.org/wiki/index.php/Units_In_Inkscape Upvote 0
People have used Inkscape with the SVG library. I don't know much about it but you should be able to set up Inkscape to save without the 'mm' unit indication. A quick search found this https://wiki.inkscape.org/wiki/index.php/Units_In_Inkscape