When in the Custom Shape Editor you can export the current shape to a file or import a shape from a file.

This feature is only available in the Pro version.

Export Shape 

To export the current shape in the Custom Shape Editor (see How to Drawn a Custom Shape), press the menu button on your phone/tablet.

Shape Editor Menu

Select Export Shape. The file picker window will open.

Export Shape File Picker

By default the shape file will be save in the directory /Android/data/b4a.groupcalcpro/files. You can change this directory to any direct that you have permission to write to.

A suggestion file name for the exported file is generated for you in the form <date>-<time>-Shape.shp. In the above screenshot the suggested file name is 20150112-044235-Shape.shp. You can change this name to any valid file name, but it must end with .shp

When you have selected the directory and file name you want to export to, click Save. If the file already exists it will be overwritten. If it does not exist it will be created.

Import Shape

To import a shape, enter the Custom Shape Editor (see How to Drawn a Custom Shape), press the menu button on your phone/tablet.

Custom Shape Editor Menu

Select Import Shape. The file picker window will open.

Import Shape File Picker

By default the file picker window will open in the directory /Android/data/b4a.groupcalcpro/files. You can change this directory to any direct that you have access.

A list of shape files in the selected directory will be shown for you to choose from. Shape files are any files whose name ends with .shp

Click on the name of the file you want to import then click the Select button. The file will be imported into the Custom Shape Editor overwriting whatever shape was on the canvas area.

Share