Advertisement

09.06.2007 at 06:39PM PDT, ID: 22812452
[x]
Attachment Details

SVG image load error in J2ME

Asked by Addictive in Java 2 Micro-Edition (J2ME)

Tags: j2me, svg, image, load

hi

i am trying to load a png image from SVG in a J2ME midlet. when i check the SVG in viewer it works fine. but when i load the image in j2me i get this error
returning broken image
getExternalImage(), Image href = RBS.png;
java.lang.IllegalArgumentException: no ':' in URL
      at javax.microedition.io.Connector.openPrim(+37)
      at javax.microedition.io.Connector.open(+15)
      at javax.microedition.io.Connector.open(+6)
      at javax.microedition.io.Connector.open(+5)
      at com.sun.perseus.j2d.ImageLoaderUtil.getExternalImage(+36)
      at com.sun.perseus.model.DefaultImageLoader$ImageLoadRunnable.run(+58)
      at com.sun.perseus.util.RunnableQueue.run(+271)
not sure why! help please...
by the way my SVG image looks like this
<image x="0" y="20" width="50" height="50" xlink:href="RBS.png;" />Start Free Trial
 
Loading Advertisement...
 
[+][-]09.07.2007 at 03:39PM PDT, ID: 19851502

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.12.2007 at 03:30AM PDT, ID: 20064166

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Java 2 Micro-Edition (J2ME)
Tags: j2me, svg, image, load
Sign Up Now!
Solution Provided By: SHeiff
Participating Experts: 2
Solution Grade: A
 
 
[+][-]10.12.2007 at 03:34AM PDT, ID: 20064178

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_1_20070628