OpenLayers cannot render shapefile directly but using mapserver it can<div>we use gdal which can render more format than OpenLayers</div><div>changing shapefile viewer to Vector viewer for android is a change of single line in code :)</div>

<div><br></div><div>see</div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://www.gdal.org/ogr/ogr_formats.html">http://www.gdal.org/ogr/ogr_formats.html</a></div><div><br></div><div>

Reason2:</div><div>we need a shapefile viewer which works on both desktop and android phones (symbian is also possible)</div><div>The Online Shapefile viewer does need to make any changes in source to run on android. It needs only recompilation</div>

<div>So we have two supported platform in one.</div><div><br></div><div>If we use OpenLayers we need to use OpenLayers mobile for android and OpenLayers for PCs for web</div><div>and also we need to make some changes in source of OpenLayers when we switch between different mobile platforms</div>

<div><br></div><div><a href="http://www.gdal.org/ogr/ogr_formats.html"></a><br><br><div class="gmail_quote">On Fri, Apr 29, 2011 at 1:55 PM, Andreas Hocevar <span dir="ltr"><<a href="mailto:ahocevar@opengeo.org">ahocevar@opengeo.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
why not use OpenLayers then? It works on Android, can read vector data<br>
files, gives programmatic access to the features and geometries, and<br>
supports the creation of vector features. And if wrapped in PhoneGap<br>
or Titanium, it will also give you write access to the file system.<br>
<br>
Andreas.<br>
<div><div></div><div class="h5"><br>
On Fri, Apr 22, 2011 at 12:38 AM, Johannes Bolz <<a href="mailto:johannes-bolz@gmx.net">johannes-bolz@gmx.net</a>> wrote:<br>
> Hi everyone,<br>
><br>
> I am looking for a vector rendering library for the Android OS that should<br>
> be able to:<br>
><br>
> - render vector data from a file (preferrably .osm)<br>
> - give programmatical access to the file's features and shapes<br>
> - support overlays for vector creation (similar to OpenLayers)<br>
><br>
> The apps/libraries I've found so far lack at least one of those<br>
> functionalities. The second point doesn't need to be met if the app reads<br>
> from an XML-style file (which I might evaluate separately).<br>
><br>
> I'm developing an indoor map application that should be able to evaluate<br>
> it's underlying data.<br>
><br>
> Kind regards,<br>
> Johannes<br>
><br>
> _______________________________________________<br>
> Discuss mailing list<br>
> <a href="mailto:Discuss@lists.osgeo.org">Discuss@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/discuss" target="_blank">http://lists.osgeo.org/mailman/listinfo/discuss</a><br>
><br>
<br>
<br>
<br>
</div></div><font color="#888888">--<br>
Andreas Hocevar<br>
OpenGeo - <a href="http://opengeo.org/" target="_blank">http://opengeo.org/</a><br>
Expert service straight from the developers.<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
Discuss mailing list<br>
<a href="mailto:Discuss@lists.osgeo.org">Discuss@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/discuss" target="_blank">http://lists.osgeo.org/mailman/listinfo/discuss</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div>Thanks && Regards</div>Rashad<br>
</div>