Using svg-android library
<br>
i'm trying to use [svg-android][1] to display a road map i exported from [openstreetmap][2]. <br>
I follow the steps from the tutorial and it worked great with a test.svg graphic (3KB). But the exported map is arround 500KB. When i try to load the map i get an SVGParseException:

    System.err: com.larvalabs.svgandroid.SVGParseException: java.lang.NumberFormatException
    System.err:     at com.larvalabs.svgandroid.SVGParser.parse(Unknown Source)
    System.err:     at com.larvalabs.svgandroid.SVGParser.getSVGFromResource(Unknown Source)
    System.err:     at my.package.view.SVGMapView.loadSVGImage(SVGMapView.java:141)

line 141 says:

    svg = SVGParser.getSVGFromResource(getResources(), R.raw.test);

is there a possibility to preload the svg image in an extra thread, or is there a better solution for my problem?

thanks

  [1]: http://code.google.com/p/svg-android/
  [2]: http://www.openstreetmap.org/
Using svg-android library
===

<br>
i'm trying to use [svg-android][1] to display a road map i exported from [openstreetmap][2]. <br>
I follow the steps from the tutorial and it worked great with a test.svg graphic (3KB). But the exported map is arround 500KB. When i try to load the map i get an SVGParseException:

    System.err: com.larvalabs.svgandroid.SVGParseException: java.lang.NumberFormatException
    System.err:     at com.larvalabs.svgandroid.SVGParser.parse(Unknown Source)
    System.err:     at com.larvalabs.svgandroid.SVGParser.getSVGFromResource(Unknown Source)
    System.err:     at my.package.view.SVGMapView.loadSVGImage(SVGMapView.java:141)

line 141 says:

    svg = SVGParser.getSVGFromResource(getResources(), R.raw.test);

is there a possibility to preload the svg image in an extra thread, or is there a better solution for my problem?

thanks

  [1]: http://code.google.com/p/svg-android/
  [2]: http://www.openstreetmap.org/