Web, ecommerce & Android app development for Horley

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 54 miles from Horley, Surrey. The development cost of a bespoke Android app, web app or ecommerce website for organisations in Surrey 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 Horley, Surrey.

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 Horley, Surrey.

Useless fact
As well as being the distance in miles from Horley to our app development office in Hitchin, 54 is also the updated version of Chrome for Android (54.0.2840.68) released on 19 October 2016 which allows you to play media in the background for sites that support it. (Chrome for Android Update).


Useful Android app developers term of the day: NetworkReceiver

Android NetworkReceiver is a system-level component that allows apps to receive notifications when the device's network connectivity status changes. This includes changes in the type of network connection (such as switching from Wi-Fi to cellular), changes in network availability (such as connecting or disconnecting from a network), and changes in network quality (such as changes in signal strength).

The NetworkReceiver works by registering a broadcast receiver in the app's manifest file. When a network event occurs, the Android system sends an Intent broadcast, which triggers the registered receiver. The receiver can then handle the event and take appropriate action, such as updating the user interface or starting a network operation.

To use the NetworkReceiver in an app, you need to add the following permission to the manifest file:

php
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

You also need to register the receiver in the manifest file, like this:

php
<receiver android:name=".MyNetworkReceiver"> <intent-filter> <action android:name="android.net.conn.CONNECTIVITY_CHANGE" /> </intent-filter> </receiver>

In this example, the receiver class is named "MyNetworkReceiver", and it is registered to receive the "CONNECTIVITY_CHANGE" action.

Once the receiver is registered, you can override the onReceive() method to handle network events, like this:

public class MyNetworkReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { // Handle network event here } }

In the onReceive() method, you can use the ConnectivityManager class to obtain information about the current network connection, like this:

ConnectivityManager connMgr = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE); NetworkInfo networkInfo = connMgr.getActiveNetworkInfo(); if (networkInfo != null && networkInfo.isConnected()) { // Connected to a network } else { // No network connection }

With the NetworkReceiver, you can build apps that respond to changes in network connectivity, and provide a better user experience by adapting to changing network conditions.


In Android, a NetworkReceiver is a broadcast receiver that listens for network connectivity changes. It allows your app to be notified when the device's network connectivity state changes, such as when the device connects to a Wi-Fi network or when the device loses its mobile data connection.

To use a NetworkReceiver in your app, you need to first declare it in your AndroidManifest.xml file. Here's an example:

xml
<receiver android:name=".MyNetworkReceiver"> <intent-filter> <action android:name="android.net.conn.CONNECTIVITY_CHANGE" /> </intent-filter> </receiver>

In the example above, we're declaring a NetworkReceiver called MyNetworkReceiver and specifying that it should listen for the android.net.conn.CONNECTIVITY_CHANGE intent.

Once you've declared your NetworkReceiver, you can implement the onReceive() method to handle the network connectivity changes. Here's an example implementation:

public class MyNetworkReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { ConnectivityManager cm = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE); NetworkInfo activeNetwork = cm.getActiveNetworkInfo(); boolean isConnected = activeNetwork != null && activeNetwork.isConnectedOrConnecting(); if (isConnected) { // Do something when the device is connected to a network } else { // Do something when the device is not connected to a network } } }

In the onReceive() method above, we're using the ConnectivityManager to check the network connectivity state and performing some action based on whether the device is connected to a network or not.

Remember to add the necessary permissions to your AndroidManifest.xml file to access the network information.

xml
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />


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

Why are we showing recent crimes in Horley Surrey?
We are showing a few example crimes for Horley 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!

burglary
  • Langshott (Investigation complete; no suspect identified)
  • Orchard Close (Under investigation)
  • Hamilton Place (Investigation complete; no suspect identified)
  • Victoria Road (Investigation complete; no suspect identified)
criminal damage arson
  • Benhams Drive (Under investigation)
  • The Crescent (Investigation complete; no suspect identified)
  • Linkway (Unable to prosecute suspect)
  • Parking Area (Under investigation)
  • Benhams Drive (Under investigation)
drugs
  • Petrol Station (Under investigation)
  • Consort Way (Under investigation)
  • Departures Road (Under investigation)
other theft
  • Linkway (Under investigation)
  • Tunnel Road (Investigation complete; no suspect identified)
  • Coach Road (Investigation complete; no suspect identified)
  • Linkway (Investigation complete; no suspect identified)
  • Petrol Station (Investigation complete; no suspect identified)
possession of weapons
  • Parking Area (Under investigation)
  • Police Station (Under investigation)
  • Parking Area (Local resolution)
  • Woodroyd Avenue (Under investigation)
  • Parking Area (Under investigation)
public order
  • Police Station (Under investigation)
  • Benhams Drive (Under investigation)
  • Petrol Station (Under investigation)
  • Victoria Road (Under investigation)
  • Kelsey Close (Investigation complete; no suspect identified)
robbery
  • Victoria Road (Under investigation)
shoplifting
  • Supermarket (Under investigation)
  • High Street (Under investigation)
  • Consort Way (Under investigation)
  • Petrol Station (Under investigation)
  • Supermarket (Under investigation)
theft from the person
    vehicle crime
    • Parking Area (Investigation complete; no suspect identified)
    • Albury Keep (Under investigation)
    • Peppiatt Close (Investigation complete; no suspect identified)
    • Newman Road (Under investigation)
    • Harvestside (Under investigation)
    violent crime
    • Manor Close (Action to be taken by another organisation)
    • Benhams Drive (Under investigation)
    • The Dell (Under investigation)
    • Parking Area (Unable to prosecute suspect)
    • Thornton Close (Awaiting court outcome)
    other crime
    • Kelsey Close (Under investigation)
    • Chequers Close (Under investigation)
    We are only 54 miles from Horley
    ab@newma.co.uk