Web, ecommerce & Android app development for Stanley

Why choose New Media Aid?
We develop complex web apps, Android apps and ecommerce websites and have provided low cost, bespoke app development services since the year 2000 - only 210 miles from Stanley, County Durham. The development cost of a bespoke Android app, web app or ecommerce website for organisations in County Durham will usually be between £2,000 and £5,000.

We develop bespoke, responsive, mobile-friendly web apps and e-commerce websites as well as cutting-edge Android apps for organisations ranging from multi-national blue chip organisations to SMEs in Stanley, County Durham.

We keep abreast of all the latest trends and technologies in web app development, ecommerce website design and bespoke Android app development to make sure we offer the most advanced, secure and robust application solutions for our clients in Stanley, County Durham.


Useful Android app developers term of the day: Biometric Library

Android provides a Biometric Library as part of its AndroidX Library package, which allows developers to add biometric authentication to their Android apps easily. The Biometric Library provides a standardized way to use biometric authentication, such as fingerprint or face recognition, across all Android devices.

To use the Biometric Library in your app, you must add the following dependency to your app's build.gradle file:

implementation 'androidx.biometric:biometric:1.2.0'

After adding the dependency, you can start using the Biometric Library. Here is an example code snippet that demonstrates how to use the Biometric Library to authenticate a user using fingerprint:

less
BiometricPrompt.PromptInfo promptInfo = new BiometricPrompt.PromptInfo.Builder() .setTitle("Title for the authentication dialog") .setSubtitle("Subtitle for the authentication dialog") .setDescription("Description for the authentication dialog") .setNegativeButtonText("Cancel") .build(); BiometricPrompt biometricPrompt = new BiometricPrompt(this, executor, new BiometricPrompt.AuthenticationCallback() { @Override public void onAuthenticationSucceeded( BiometricPrompt.AuthenticationResult result) { // User authentication succeeded } @Override public void onAuthenticationFailed() { // User authentication failed } }); biometricPrompt.authenticate(promptInfo);

In this example, we create a BiometricPrompt.PromptInfo object that specifies the title, subtitle, and description for the authentication dialog. We also set the negative button text to "Cancel". We then create a BiometricPrompt object, passing in an Executor object and an AuthenticationCallback object. Finally, we call the authenticate method on the BiometricPrompt object, passing in the PromptInfo object.

When the authenticate method is called, the Biometric Library displays an authentication dialog to the user. If the user successfully authenticates using their fingerprint, the onAuthenticationSucceeded method is called. If the user fails to authenticate or cancels the authentication dialog, the onAuthenticationFailed method is called.


Android provides a biometric library that allows developers to easily integrate biometric authentication into their apps. This library supports several biometric authentication methods, including fingerprint, face, and iris recognition.

To use the biometric library in your app, you need to first check if the device supports biometric authentication using the BiometricManager class. You can then create an instance of the BiometricPrompt class and set the prompt message, title, and other parameters.

Next, you need to implement the BiometricPrompt.AuthenticationCallback interface to handle the authentication result. The interface provides methods for handling success, failure, and other events.

Once you have implemented the callback interface, you can call the authenticate method of the BiometricPrompt instance to initiate the authentication process. The library will handle the biometric authentication and return the result to your callback implementation.

Here's some sample code that shows how to use the biometric library to authenticate a user using their fingerprint:

BiometricManager biometricManager = BiometricManager.from(context); if (biometricManager.canAuthenticate() == BiometricManager.BIOMETRIC_SUCCESS) { BiometricPrompt biometricPrompt = new BiometricPrompt.Builder(context) .setTitle("Authenticate with fingerprint") .setSubtitle("Place your finger on the sensor to authenticate") .setNegativeButton("Cancel", context.getMainExecutor(), (dialogInterface, i) -> {}) .build(); biometricPrompt.authenticate(new BiometricPrompt.PromptInfo.Builder() .setDescription("Confirm your identity using your fingerprint") .setNegativeButtonText("Cancel") .build()); } else { // Biometric authentication is not available on this device }

Note that you also need to add the following permissions to your app's manifest file to use the biometric library:

xml
<uses-permission android:name="android.permission.USE_BIOMETRIC"/> <uses-permission android:name="android.permission.USE_FINGERPRINT"/> <uses-permission android:name="android.permission.USE_FACE"/> <uses-permission android:name="android.permission.USE_IRIS"/>

Make sure to handle the case where the device does not support biometric authentication, or the user has not enrolled any biometric credentials on their device.



Crimes reported in Stanley
Our custom app development prices are criminally low, but not as criminal as these events recently reported in Stanley.

Why are we showing recent crimes in Stanley County Durham?
We are showing a few example crimes for Stanley reported in Jan 2025 to demonstrate how we can integrate data from external web service APIs. As expert software engineers we specialise in developing complex bespoke web apps which integrate with other cloud-based systems and data-sets!

bicycle theft
  • Charles Street (Unable to prosecute suspect)
burglary
  • Coquet Gardens (Under investigation)
  • Stanley Bus Station (Under investigation)
  • Pine Street (Under investigation)
  • Bridge Street (Investigation complete; no suspect identified)
  • Charnwood (Investigation complete; no suspect identified)
criminal damage arson
  • A6076 (Investigation complete; no suspect identified)
  • Sports/recreation Area (Unable to prosecute suspect)
  • A693 (Under investigation)
  • Blake Close (Under investigation)
  • Coates Close (Unable to prosecute suspect)
drugs
  • Stanley Bus Station (Under investigation)
  • Petrol Station (Offender given a caution)
  • Thorneyholme Terrace (Further investigation is not in the public interest)
  • Meldon Way (Under investigation)
other theft
  • Stanley Bus Station (Under investigation)
  • Hustledown Gardens (Under investigation)
  • Supermarket (Under investigation)
  • The Grange (Under investigation)
  • Kyo Lane (Investigation complete; no suspect identified)
possession of weapons
  • Landseer Close (Under investigation)
  • Stanleyburn View (Further investigation is not in the public interest)
  • Cotswold Terrace (Under investigation)
public order
  • The Barns (Unable to prosecute suspect)
  • Sabin Court (Unable to prosecute suspect)
  • Church Bank (Under investigation)
  • Royal Road (Under investigation)
  • William Street (Under investigation)
shoplifting
  • Stanley Bus Station (Under investigation)
  • Sports/recreation Area (Under investigation)
  • A693 (Investigation complete; no suspect identified)
  • Stanley Bus Station (Under investigation)
  • Front Street (Under investigation)
vehicle crime
  • Pentlands Terrace (Unable to prosecute suspect)
  • Mundell Street (Unable to prosecute suspect)
  • Humber Hill (Under investigation)
  • Hustledown Gardens (Unable to prosecute suspect)
  • Ritson Street (Under investigation)
violent crime
  • Keats Close (Unable to prosecute suspect)
  • Brooke Close (Under investigation)
  • Kielder Drive (Under investigation)
  • B6532 (Under investigation)
  • Woodland View (Under investigation)
other crime
  • Potterburn Close (Further investigation is not in the public interest)
  • The Grange (Under investigation)
  • Bracken Close (Under investigation)
  • Bircham Street (Awaiting court outcome)
  • Beamish Street (Unable to prosecute suspect)
We are only 210 miles from Stanley
ab@newma.co.uk