how to convert graphicslayer to a shapefile in android app

2662
1
11-05-2012 05:04 PM
SolidSmoke
New Contributor
cud anyone advise me how to convert graphicslayer to a shapefile in android app
0 Kudos
1 Reply
JulienRichard
New Contributor
I haven't tried it myself, but I found this method a few days ago :

[INDENT]public static byte[] geometryToEsriShape(Geometry geometry)

    Exports geometry to the ESRI shape file format.

    Parameters:
        geometry - The geometry to export. (null value is not allowed)
    Returns:
        Array containing the exported ESRI shape file.
    Since:
        1.0[/INDENT]


You'll find this method in GeometryEngine class.
Unfortunately, it seems by the name of the method that it only treats geometry, and no attributes.
0 Kudos