Skip to content

2525D Renderer Overview

Michael Spinelli edited this page Dec 3, 2025 · 16 revisions

Library available here:
Maven Central: mil-sym-android

JavaDocs

Please refer to the mil-sym-java wiki for usage details
https://github.com/missioncommand/mil-sym-java/wiki/2525D--Renderer-Overview

For additional topics like adding custom symbols or interpreting GeoJSON or GeoSVG output,
see the java wiki page

7 Accessing data from the Symbol Picker

7.1 Android

Pressing the PICK ‘’ button in the Symbol Picker creates an android.content.Intent object, then the SymbolPickerActivity is closed and the Intent is propagated back to the launching application via onActivityResult(). The Intent contains three kinds of data about the symbol to be rendered, which are mapped in key–value pairs:

Class containing the key constants: armyc2.c5isr.renderer.symbolpicker.SymbolPickerActivity

Key: selectedSymbolIdKey

The 30-digit Symbol ID Code as a String.

Key: modifiersKey

The symbol modifiers as a HashMap<String, String>. The modifier keys are constant Strings specified in armyc2.c5isr.renderer.utilities.Modifiers.

Key: attributesKey

The symbol attributes as a HashMap<String, String>. The attribute keys are constant Strings specified in armyc2.c5isr.renderer.utilities.MilStdAttributes.

Clone this wiki locally