Skip to main content

We hacked the Police!

UK Police's first interaction with the hackathon community.
Hopefully, the first of many!
Over the weekend of the 27th and 28th, the Metropolitan Police hosted the first UK policing hackathon, Hack the Police! at Google's Campus London.

hackathon is an event for software developers - who compete over a weekend to create cool new applications ('hacks'), and enter them in categories to win prizes.

In my capacity as special constable and software developer, I was privileged enough to be co-running the event with some extraordinary people from a group called the Commissioner's 100A/Sgt Neil Beet, A/Sgt Dave Weir, PC Rory Geoghegan, and Insp Tor Garnett - all of whom put themselves on the line for this event. Neil invested a staggering amount of his personal time to make it happen, and it was worth it!

When the Commissioner's 100 posted a short note on the Metropolitan Police intranet, asking for support and ideas for apps that could help people or save the police service time and money, the response was overwhelming. Hundreds of emails came through in the first few hours!

So why are police officers from the front-line interested enough to give up their free time?

Imagine the scenario: You've been burgled. You feel violated - someone has been in your home, rummaging through your personal possessions, and taken things that are dear to you. A police officer arrives with his or her notepad and pencil to take down the details, and then a written statement from you - promising to copy it all out in a crime reporting system back at the station later, and to give you a call back once they've got a crime report number for you. You sit there for a couple of hours, talking, while they jot everything down as best they can - hoping not to forget a vital piece of information.

That took a painstaking amount of time - but it's not over yet. Your call back with the crime number can't happen for 3 or 4 hours because back at the station there's copying out to be done, and exhibits to be filed. Sometimes you won't hear back until the next day because you're asleep by the time it's done.

The truth is that police technology is not changing anywhere near as rapidly as the world around us. Police officers are doing things in their personal lives with their personal smart phones that are both simple and yet frustratingly impossible with technology provided to the front-line by the organisation's IT: Taking photos at the scene of a crime means waiting for one of a handful of cameras available to the borough to be delivered; exhibiting those photos means physically stapling them to a witness statement! Reporting crime means hours from every shift inside the police station filling out paperwork - often duplicating the same information multiple times into multiple systems.

Conversely, consider the washing machine repair man's visit: He pulls out his tablet device, tells you the entire history of the washing machine, orders the spare parts for you, and invoices you by email in minutes.

Police officers care about this. They care about the victims of crime and want to free themselves from needless duplication of effort so they can get back out on the streets and stop crime.

The mayor has set 20/20/20 goals for the Metropolitan Police:
  • Reduce spending by 20%,
  • Reduce crime by 20%,
  • Increase public confidence by 20%.
Those are challenging goals - but we can meet them by doing things smarter.

Hopefully that helps to frame the goals of Hack the Police, and helps to explain why police officers are so interested by the potential of it.

I don't think I've ever had such a positive time running an event.

Bringing together over 50 front-line police officers and software developers to create mobile app prototypes for policing, Hack the Police ran over 2 days and the night in between.

Colleagues Sgt Weir and Special Constable Neocleous
take a moment to reflect...
The people who came were astounding - both in the quality of the hacks they produced, and the enthusiasm with which they engaged. Police officers from the Met and other forces gave up their own time to support them.

The first couple of hours of the event was a buzzing series of discussions as developers and police officers grappled to understand the challenge and choose an area to contribute.

As you can see below, each project addressed a real need and has the potential to lead to a real increase in productivity:

Everyone was impressed by the quality of the hacks in the presentations - and the judges spent some time in discussion before they reached their verdicts:
  • Best in Show went to the Secure Evidence Recorder.
  • Best Public Confidence Boost went to the counter-terrorism advice app.
  • Best Regard for the Public Purse was for the property processing app.
  • Best Crime Reduction Tool was awarded for a CCTV coverage app (I seem to have missed it out from above!)
Winner of Best in Show, Tim Perry, shakes hands with
the Commissioner, Sir Bernard Hogan-Howe.
So what happens next? 

That remains to be seen.

Police technology provides many different challenges that need to be overcome - not least of all being the staggering number of different legacy systems - each siloed from the other - used on a daily basis to  report and investigate crime.

To up-end that will need a radically different approach to acquiring, developing and making use of technology to meet the needs of front-line officers and victims of crime.

The processes by which technology decisions are made within the police service are bound by process and bureaucracy. They are being intensely scrutinised - and that offers some hope for improvement.

Decisions at a very high level about how to progress the developments from Hack the Police need to be made - and in the meantime, we are considering when and how to run the next event.

Those of us who want to drive this forward are really excited about the potential for rapid application development, and we want to find ways to bring on board the expertise that the police service is sorely missing. That's what we mean when we say we're hoping to engage further with the Hackathon Community.

In the fullness of time, perhaps, a bright new future for policing awaits!

Popular posts from this blog

Google Play Services with Android Studio

Edit: This post is extremely deprecated -- with prejudice! It was written in an era when Google Play Services were not well integrated with Android Studio project work, and Android Studio itself was in its infancy.

This is a very quick guide to incorporating Google Play Services with your new Android Studio project.

Edit: [16:20 22/05/2013] I'll investigate the runtime NoClassDefFound error reported in the comments, and follow up later!

Edit: [23:17 27/05/2013] I'm coming to the conclusion that - as many have already pointed out - you really do need to include the entire library project in your solution. I'll post an update once I've fully tested this. 

In the meantime, please consider the advice below to be deprecated!

The first thing to say is: I fully expect the advice and guidance about how to work in Android Studio to change over time. Android Studio is in early access preview right now, and I'll bet my bottom dollar (is that a thing?) that over time it becomes m…

What's the best way to handle the Android camera?

This article is adapted from a response I gave on Reddit to the question "What's the best way to handle the camera?" in r/androiddev...

The Camera and Camera2 APIs are far from painless to use. If you've ever written an app that uses the camera (embedded in an activity or not), you've almost certainly come up against orientation issues, stretched previews, or weird quirks that change from manufacturer to manufacturer...

There are three good libraries out there that can save you from many common pitfalls:
Google's (unofficial) CameraView library.Mark Murphy's CWAC-Cam2 library.Dylan McKintyre's CameraKit for Android library. Each has different strengths. If you don't have time to read this whole article, here's a quick rule of thumb:
If you want to capture photos in a full-screen preview, but you don't want to have to rely on the native camera app, then use CWAC-Cam2.If you want to embed a preview into your Activity, use CameraKit. It's f…

Wriggler

It was 1998 and I was 17. My tool of choice was QBasic and this is a game I wrote based on a concept I stole from another game called Wriggler.

The original Wriggler is a race game through a maze of bugs and creepy crawlies - played against the computer. My game would have been a race, had I gotten around to writing the computer player.

Instead it pits you, a plucky young worm (comprised of 4 lines and a blob), against an army of anatomically incorrect spiders in your mission to see a duck and solve a single puzzle. Also there are some chocolate bars.

I fired it up once again to make a playthrough video. The game features some pretty old-school beep/boop sound effects, which really hit me right in the nostalgias!

Warning, this playthrough video contains spoilers for the puzzle... 😂


I don't suppose there's much to be learned from my code, but you can see it all on Github if that's your groove and you're welcome to have a tinker. I had some success running it with DOSBox