converted SVG is not displaying in android canvas -


i have eps image files. have converted .svg online converter nut converted svg not getting displayed on screen. (code works other original svg image).

is there can not use converted svg images in android apps?

here code:

    public void oncreate(bundle savedinstancestate)      {      super.oncreate(savedinstancestate);      setcontentview(r.layout.main);      view = new gestureimageview(this);            svgimg=svgparser.getsvgfromresource(getresources(),r.raw.american);      view.setimagedrawable(svgimg.createpicturedrawable());      view.setlayoutparams(params);      view.setmaxscale(15f);      viewgroup layout = (viewgroup) findviewbyid(r.id.layout);      layout.addview(view);      }  

i suggest not use svg android not support svg rasterization, may read more discussion here.

but if got stick svg here useful solutions may you.

scaling svgs in android

is there lite svg viewer android

svg image files android

here beautiful tutorials display svg in android

android imageview , drawable svg support

android. imageview svg support

i have created sample code in xcode now.


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -