NeoMAD 4.4.7 release notes

April 18, 2018

NeoMAD 4.4.7 is a maintenance release proposing small enhancements.

Enhancements

PagerTitleStrip (com.neomade.ui)

  • Add PagerTitleStrip.setTitleFont(Font font) method: this method customizes the text font of all page labels.

HttpResponse (com.neomades.io.http)

  • Add HttpResponse.getHeaders() method: this method returns an unmodifiable Map of all the header fields.

Camera (com.neomades.media)

  • Add Camera.takePictureFromCamera(CameraListener callback) method: this method launches camera application to take a picture.
  • Add Camera.takePictureFromGallery(CameraListener callback) method: this method launches gallery application to choose a picture.
  • Add Camera.takeVideoFromCamera(CameraListener callback) method: this method launches camera application to take a video.
  • Add Camera.takeVideoFromGallery(CameraListener callback) method: this method launches gallery application to choose a video.

Math (java.lang)

  • Add Math.round(double a) method: this method returns the closest long to the double argument.
  • Add Math.round(float a) method: this method returns the closest integer to the float argument.

List (java.util)

  • Add List.toArray(T[] a) method: this method returns an array containing all of the elements in this list in proper sequence (from first to last element).