Bespoke Android and web app development for Hatfield

Why choose New Media Aid?
Low cost web app & website developers and Android mobile app developers for Hatfield, Hertfordshire. We are only only 15 miles away from Hatfield. The development cost of a bespoke Android app, web app or ecommerce website for organisations in Hertfordshire will usually be between £2,000 and £5,000.

We are expert web, ecommerce and Android app developers for your business in Hatfield, Hertfordshire. Our bespoke web, Android & ecommerce application development team specialise in cutting-edge app development and have an office only 15 miles from Hatfield.

A random fact!
The lovely town of Hatfield in Hertfordshire is 15 miles from our app development office in Hitchin and 15 is also one of the intervals (INTERVAL_FIFTEEN_MINUTES) in Android's AlarmManager class. This class provides access to the system alarm services and allows Android app developers to schedule applications to be run at some point in the future. When an alarm goes off, the Intent that had been registered for it is broadcast by the system, automatically starting the target application if it is not already running. Registered alarms are retained while the device is asleep (and can optionally wake the device up if they go off during that time), but will be cleared if it is turned off and rebooted. (Android.app.AlarmManager).


Useful Android app developers term of the day: Exif

The Android ExifInterface library provides a way to read and write Exif metadata in image files. Exif metadata is a standard format for storing metadata such as date, time, camera settings, and location information in image files.

To use the ExifInterface library, you first need to create an instance of the ExifInterface class, passing the file path of the image you want to work with to the constructor. For example, to read Exif data from an image file, you can do:

ExifInterface exif = new ExifInterface("/path/to/image.jpg"); String date = exif.getAttribute(ExifInterface.TAG_DATETIME); String make = exif.getAttribute(ExifInterface.TAG_MAKE); String model = exif.getAttribute(ExifInterface.TAG_MODEL); // ...

In this example, we create a new instance of ExifInterface with the file path "/path/to/image.jpg". We can then use the getAttribute() method to retrieve specific Exif metadata, such as the date and time the photo was taken (TAG_DATETIME), the make of the camera used (TAG_MAKE), and the camera model (TAG_MODEL).

To write Exif data to an image file, you can use the setAttribute() method. For example:

ExifInterface exif = new ExifInterface("/path/to/image.jpg"); exif.setAttribute(ExifInterface.TAG_DATETIME, "2022:01:01 12:00:00"); exif.setAttribute(ExifInterface.TAG_MAKE, "MyCamera"); exif.setAttribute(ExifInterface.TAG_MODEL, "ModelX"); // ... exif.saveAttributes();

In this example, we first create a new instance of ExifInterface with the file path "/path/to/image.jpg". We can then use the setAttribute() method to set specific Exif metadata, such as the date and time the photo was taken, the make of the camera used, and the camera model. Finally, we call the saveAttributes() method to save the changes back to the image file.

Note that the ExifInterface library only supports JPEG and some RAW image formats. It does not support PNG, GIF, or other non-image file formats.


The ExifInterface library in Android provides a way to read and write Exif metadata in image files. Exif metadata contains information about the camera settings and other details related to the image.

To use the ExifInterface library, you can create an instance of the ExifInterface class by passing the path of the image file to its constructor. Once you have an instance of the ExifInterface class, you can use its various methods to read or write Exif metadata.

Here are some examples of how to use the ExifInterface library in Android:

  1. Reading Exif metadata from an image file:
ExifInterface exif = new ExifInterface(filePath); String make = exif.getAttribute(ExifInterface.TAG_MAKE); String model = exif.getAttribute(ExifInterface.TAG_MODEL); String datetime = exif.getAttribute(ExifInterface.TAG_DATETIME); // and so on...
  1. Writing Exif metadata to an image file:
ExifInterface exif = new ExifInterface(filePath); exif.setAttribute(ExifInterface.TAG_MAKE, "Google"); exif.setAttribute(ExifInterface.TAG_MODEL, "Pixel 6"); exif.setAttribute(ExifInterface.TAG_DATETIME, "2022:02:27 14:30:00"); exif.saveAttributes();

Note that not all Exif attributes are writable, and some may require specific values or formatting. Refer to the official Android documentation for more details on the ExifInterface library and its usage.

We are only 15 miles from Hatfield
ab@newma.co.uk