Android SDK change log from version 3.1.0 to version 3.2.0

Change Log

New features

  • 64 bit architecture for SDK
  • SKMapSurfaceListener divided into multiple listener based on functionality (SKCompassListener, SKInternetConnectionListener, SKCurrentPositionSelectedListener, SKAnnotationListener, SKGLInitializationListener, SKDebugListener, build_publicSDK.properties, SKMapBoundingBoxListener, SKMapActionListener, SKZoomListener, SKViewModeChangedListener, SKPOIListener, SKPanListener, SKObjectSelectedListener, SKMapTrafficListener, SKMapTapListener, SKMapSurfaceCreatedListener, SKMapScreenshotListener, SKMapRegionChangedListener, SKMapInternationalisationListener)
  • FCD option to enable or disable it

Improvements

  • Route calculation fails when dynamicReroutingProfile is set true (removed the dynamicReroutingProfile parameter)
  • Notifying callback that map display mode is done
  • Screenshot based on user option - with multithreading or without based on a boolean parameter

Bug fixes

  • onFreeDriveUpdated() callback with empty name street
  • CCP icon is considerably smaller in 3.1 SDK
  • Map freezes when generating map screenshots
  • Map lags and is not responsive at low zoom levels
  • Car navigation UI - not working (DemoApp)
  • Elevation data is missing on first navigation route calculation

GDPR guidlines

  • How to turn off the SDK logs?
    SKLogging.enableLogs(false); should be called when an app that uses the SDK is launched.
  • How to turn off/on FCD?
    To turn off the FCD data collection call SKMaps.getInstance().enableFcd(false) after the library has been initialized. In order to turn it on use SKMaps.getInstance().enableFcd(true).

Added Packages

com.skobbler.ngx.map.maplistener


Changed Packages

  • com.skobbler.ngx
  • com.skobbler.ngx.map
  • com.skobbler.ngx.navigation
  • com.skobbler.ngx.routing
  • com.skobbler.ngx.util
  • com.skobbler.ngx.versioning

Package com.skobbler.ngx.map

Changed Classes

Config // Contains the properties for the build
SKMaps // SKMaps provides support for general settings and management that concerns the whole SKMaps SDK.
SKMapsInitSettings // Class that stores settings information for initializing the library.

Class com.skobbler.ngx.SKMaps

Removed Methods

void disableAppSpecificRequestParameters() // Removes https extra parametres (osName, osVersion, appName, appVersion, uid)
void enableAppSpecificRequestParameters() // Enables https extra parametres (osName, osVersion, appName, appVersion, uid).
boolean isUseAppSpecificRequestParameters() // Queries if https requests contain extra parameters (osName, osVersion, appName, appVersion, uid)

Added Methods

boolean enableFcd(boolean) // Enables/disables the Floating Car Data component.
String getMapChunksUrl() // Returns the map chunks url String
String getVersionFileName() // Returns the map version file in use name as a String
boolean isFcdEnabled() // Returns boolean that indicates if Floating Car Data is enabled.

Package com.skobbler.ngx.map

Added interfaces

SKAnnotationListener //Listener for map annotation tap events.
SKCompassListener // Listener for compass selection action.
SKCurrentPositionSelectedListener // Listener for current position selected action.
SKDebugListener // Listener for map debug events.
SKGLInitializationListener // Listener for gl initialization error.
SKInternetConnectionListener // Listener for internet connection needed notification when downloading tiles .
SKMapActionListener // Listener for map related gesture actions.
SKMapBoundingBoxListener // Listener for bounding box image rendered action.
SKMapInternationalisationListener // Listener for map internationalisation changed call
SKMapRegionChangedListener // Listener for map region events (start, end , change).
SKMapScreenshotListener // Listener used when a screenshot is requested.
SKMapSurfaceCreatedListener // Listener for map surface created.
SKMapTapListener // Listener for map map tap actions
SKMapTrafficListener // Listener for map traffic events.
SKObjectSelectedListener // Listener for custom polygons tap events.
SKPanListener // Listener for map pan events.
SKPOIListener // Listener for poi selections actions.
SKViewModeChangedListener // Listener for map surface created.
SKZoomListener // Listener for map zoom events.

Removed interfaces

SKMapSurfaceListener // Listener for map surface events.

Changed Classes

SKMapFragment // Class that represents a Map component in an app.
SKMapSurfaceView // Class that constructs a map surface view.
SKMapSurfaceView.SKCurrentPositionIconArrowType // Current position types
SKMapSurfaceView.SKOrientationIndicatorType // SKOrientationIndicatorType triangle types.
SKMapSurfaceView.SKOrientationType // Specifies types of orientation for the phone.
SKMapViewHolder // Class that holds the map surface view and other helper views.

Class SKMapFragment

Removed Methods

void setMapSurfaceListener(SKMapSurfaceListener) // Sets a callback object, which will be triggered whenever the map sends notifications.

Added Methods

void setCompassListener(SKCompassListener) // Sets a callback object, which will be triggered whenever the map sends compass notifications.
void setCurrentPositionSelectedListener(SKCurrentPositionSelectedListener) // Sets the map current position selected listener
void setDebugListener(SKDebugListener) // Sets the map debug listener
void setGLInitializationListener(SKGLInitializationListener) // Sets a callback object, which will be triggered whenever the GL notifications will be passed.
void setInternationalisationListener(SKMapInternationalisationListener) // Sets a callback object, which will be triggered whenever a internationalization notification will be passed
void setInternetConnectionListener(SKInternetConnectionListener) // Sets a callback object, which will be triggered whenever the the internet connection changes.
void setMapActionListener(SKMapActionListener) // Setting map action listener.
void setMapAnnotationListener(SKAnnotationListener) // Sets a callback object, which will be triggered whenever the map sends annotation tap notifications.
void setMapBoundingBoxListener(SKMapBoundingBoxListener) // Sets a callback object, which will be triggered whenever the map sends was bounding boxed notifications.
void setMapRegionChangedListener(SKMapRegionChangedListener) // Sets the mapRegionChanged listener for the map.
void setMapScreenshotListener(SKMapScreenshotListener) // Sets a callback object, which will be triggered whenever the map sends on screenshot ready notification notifications.
void setMapSurfaceCreatedListener(SKMapSurfaceCreatedListener) // Sets a callback object, which will be triggered when the onSurfaceCreated callback is called.
void setMapTapListener(SKMapTapListener) // Sets a callback object, which will be triggered whenever the map sends taps notifications.
void setObjectSelectedListener(SKObjectSelectedListener) // Sets the object selected listener
void setPanListener(SKPanListener) // Sets a callback object, which will be triggered whenever a pan notification will be passed
void setPoiListener(SKPOIListener) // Sets the poi listener
void setViewModeChangedListener(SKViewModeChangedListener) // Sets the view mode changed listener for the map
void setZoomListener(SKZoomListener) // Sets a callback object, which will be triggered whenever a zoom notification will be passed

Changed Methods

View onCreateView(LayoutInflater, ViewGroup,Bundle) // Map traffic listener
void onPause() // Sets the map traffic listener

Class SKMapSurfaceView

Removed Methods

SKMapSurfaceListener getMapSurfaceListener() // Gets the listener for the map
void setMapSurfaceListener(SKMapSurfaceListener) // Sets the listener for the map.

Added Methods

SKCompassListener getCompassListener() // Gets the compass listener for the map
SKCurrentPositionSelectedListener getCurrentPositionSelectedListener() // Gets the current position selected listener for the map
SKDebugListener getDebugListener() // Gets the debug listener for the map
SKGLInitializationListener getGLInitializationListener() // Returns the set glInitialization listener.
SKMapInternationalisationListener getInternationalisationListener() // Gets the internationalisation listener for the map
SKInternetConnectionListener getInternetConnectionListener() // Returns the set internet connection listener.
SKAnnotationListener getMapAnnotationListener() // Gets the listener for the map
SKMapBoundingBoxListener getMapBoundingBoxListener() // Gets the map bounding box listener for the map
SKMapRegionChangedListener getMapRegionChangedListener() // Gets the mapRegionChanged listener for the map
SKMapScreenshotListener getMapScreenshotListener() // Gets the screenshot listener for the map
SKMapSurfaceCreatedListener getMapSurfaceCreatedListener() // Gets the listener for the surface created callback
SKMapTapListener getMapTapListener() // Gets the map taps listener for the map.
SKObjectSelectedListener getObjectSelectedListener() // Gets the object (polygon) selected listener for the map
SKPanListener getPanListener() // Returns the set glInitialization listener.
SKPOIListener getPoiListener() // Gets the poi listener
SKViewModeChangedListener getViewModeChangedListener() // Gets the viewModeChangedListener
SKZoomListener getZooomListener() // Returns the set glInitialization listener.
boolean isPreserveGLContext()
boolean isTransparentMapView()
void onDetachedFromWindow()
void setCompassListener(SKCompassListener) // Sets the compass listener for the map.
void setCurrentPositionSelectedListener(SKCurrentPositionSelectedListener) // Sets the current position selected listener for the map.
void setDebugListener(SKDebugListener) // Sets the debug listener for the map.
void setGLInitializationListener(SKGLInitializationListener) // Sets the gl listener for the map.
void setInternationalisationListener(SKMapInternationalisationListener) // Sets the internationalization listener for the map.
void setInternetConnectionListener(SKInternetConnectionListener) // Sets the internet connection listener.
void setMapActionListener(SKMapActionListener) // Setting the map action listener.
void setMapAnnotationListener(SKAnnotationListener) // Sets the listener for the map.
void setMapBoundingBoxListener(SKMapBoundingBoxListener) // Sets the listener for the map.
void setMapRegionChangedListener(SKMapRegionChangedListener) // Sets the mapRegionChanged listener for the map.
void setMapScreenshotListener(SKMapScreenshotListener) // Sets the listener for the map.
void setMapSurfaceCreatedListener(SKMapSurfaceCreatedListener) // Sets the listener for the surface created callback.
void setMapTapListener(SKMapTapListener) // Sets the tap listeners for the map.
void setObjectSelectedListener(SKObjectSelectedListener) // Sets the current position selected listener for the map.
void setPanListener(SKPanListener) // Sets the pan listener for the map.
void setPoiListener(SKPOIListener) // Sets the poi listener for the map.
void setPreserveGLContext(boolean)
void setTransparentMapView(boolean)
void setViewModeChangedListener(SKViewModeChangedListener) // Sets the view mode changed listener for the map
void setZoomListener(SKZoomListener) // Sets the zoom listener for the map.

Changed Methods

void requestScreenshot(boolean) // Requests a bitmap to be constructed from the map the next time it will be rendered.

Removed Fields

boolean preserveGLContext // Default value is true.
boolean transparentMapView

Class com.skobbler.ngx.map.SKMapViewHolder

Removed Methods

void setMapSurfaceListener(SKMapSurfaceListener) // Sets the listener for the map.

Added Methods

void setCompassListener(SKCompassListener) // Sets the compass listener.
void setCurrentPositionSelectedListener(SKCurrentPositionSelectedListener) // Sets the current position selected listener for the map
void setDebugListener(SKDebugListener) // Sets the debug listener for the map
void setGLInitializationListener(SKGLInitializationListener) // Sets the GL Initializtaion listener
void setInternationalisationListener(SKMapInternationalisationListener) // Sets the map zoom listener
void setInternetConnectionListener(SKInternetConnectionListener) // Sets the internet connection listener.
void setMapActionListener(SKMapActionListener) // Sets the map action listener for the map
void setMapAnnotationListener(SKAnnotationListener) // Sets the listener for the map.
void setMapBoundingBoxListener(SKMapBoundingBoxListener) // Sets the listener for the map.
void setMapRegionChangedListener(SKMapRegionChangedListener) // Sets the mapRegionChanged listener for the map.
void setMapScreenshotListener(SKMapScreenshotListener) // Sets the listener for the map.
void setMapSurfaceCreatedListener(SKMapSurfaceCreatedListener) // Sets the listener for the surface created callback.
void setMapTapListener(SKMapTapListener) // Sets the map tap listener.
void setObjectSelectedListener(SKObjectSelectedListener) // Sets the object (polygon) selected listener for the map
void setPanListener(SKPanListener) // Sets the map pan listener
void setPoiListener(SKPOIListener) // Sets the poi listener for the map
void setViewModeChangedListener(SKViewModeChangedListener) // Sets the view mode changed listener for the map
void setZoomListener(SKZoomListener) // Sets the map zoom listener

Package com.skobbler.ngx.navigation

Changed Classes

SKNavigationManager // Class which handles all the navigation methods.
SKNavigationSettings // SKNavigationSettings defines settings for turn by turn navigation.

Class com.skobbler.ngx.navigation.SKNavigationManager

Removed Methods

boolean enableFcd(boolean) // Enables/disables the Floating Car Data component.

Class com.skobbler.ngx.navigation.SKNavigationSettings

Removed Methods

boolean isFcdEnabled() // Returns boolean that indicates if Floating Car Data is enabled.
void setFcdEnabled(boolean) // Sets boolean that indicates if Floating Car Data is enabled.

Package com.skobbler.ngx.routing

Changed Classes

SKRouteManager // Class which handles routing methods.

Class com.skobbler.ngx.routing.SKRouteManager

Changed Methods

void calculateRoute(SKRouteSettings) // Change in signature from (SKRouteSettings, boolean) to SKRouteSettings. Calculates a route and displays it on the map.

Package com.skobbler.ngx.util

Added Classes

Constants // Constants class for the SKMaps framework

Changed Classes

SKLogging // This class is used to show logs or not.

Package com.skobbler.ngx.versioning

Changed Classes

SKLibraryVersioningManager

Class com.skobbler.ngx.versioning.SKLibraryVersioningManager

Removed Methods

void collectData(String, String, String, String) // Collects required data from client and sdk library