ModifyAttributesActivity

public class ModifyAttributesActivity extends NGActivity implements GpsEventListener

Activity to add or modify vector layer attributes

Fields

MAX_TAKE_TIME

protected long MAX_TAKE_TIME

PROGRESS_DELAY

protected long PROGRESS_DELAY

mAccView

protected TextView mAccView

mAccuracyCE

protected AppCompatSpinner mAccuracyCE

mAccurateLocation

protected SwitchCompat mAccurateLocation

mAltView

protected TextView mAltView

mFeatureId

protected long mFeatureId

mFields

protected Map<String, IControl> mFields

mGPSDialog

protected AlertDialog mGPSDialog

mGeometry

protected GeoGeometry mGeometry

mIsGeometryChanged

protected boolean mIsGeometryChanged

mIsViewOnly

protected boolean mIsViewOnly

mLatView

protected TextView mLatView

mLayer

protected VectorLayer mLayer

mLocation

protected Location mLocation

mLongView

protected TextView mLongView

mMaxTakeCount

protected int mMaxTakeCount

mSharedPreferences

protected SharedPreferences mSharedPreferences

mSoundPool

protected SoundPool mSoundPool

Methods

copyToStream

protected boolean copyToStream(Uri uri, String path)

createLocationPanelView

protected void createLocationPanelView(IGISApplication app)

createSoundPool

protected void createSoundPool()

createView

protected void createView(IGISApplication app, Bundle savedState)

fillControls

protected void fillControls(LinearLayout layout, Bundle savedState)

onActivityResult

protected void onActivityResult(int requestCode, int resultCode, Intent data)

onBestLocationChanged

public void onBestLocationChanged(Location location)

onCreate

protected void onCreate(Bundle savedInstanceState)

onCreateOptionsMenu

public boolean onCreateOptionsMenu(Menu menu)

onGpsStatusChanged

public void onGpsStatusChanged(int event)

onLocationChanged

public void onLocationChanged(Location location)

onOptionsItemSelected

public boolean onOptionsItemSelected(MenuItem item)

onPause

protected void onPause()

onResume

protected void onResume()

onSaveInstanceState

protected void onSaveInstanceState(Bundle outState)

playBeep

protected void playBeep()

putAttaches

protected int putAttaches()

putFieldValue

protected Object putFieldValue(ContentValues values, Field field)

putGeometry

protected boolean putGeometry(ContentValues values)

putSign

protected void putSign()

saveFeature

protected boolean saveFeature()

setLocationText

protected void setLocationText(Location location)