April 18
2013

DroidPad 2.1

Uncategorized

DroidPad 2.1 has just been released. This version includes two major new features:

  • Secure connections – after devices are paired via a QR code, all communications will be secure and can’t be altered.
  • A full layout editor – this allows for easy creation of new layouts.

The Android app is available via Google Play, the Ubuntu application will automatically update via the PPA archive, and the Windows application will update itself.

 

For downloads, please visit the main DroidPad page.

January 6
2013

DroidPad 2.0

DroidPad

DroidPad 2.0 is released, at long last. Any existing version of DroidPad should hopefully prompt to update to this version, however if not please download from this here:

Windows Installer

Android APK (also available on Google Play)

December 20
2012

DroidPad 1.9.4 – 64-bit compatible

Development DroidPad Windows

DroidPad is very close to release, so for the time being here is the latest version, which is fully 64-bit compatible; nothing special is required to get DroidPad working. This is thanks to the developers at ReactOS, who kindly agreed to sign the DroidPad driver, making 64-bit DroidPad possible.

Windows Download

October 19
2012

Android NDK: error in stdlib.h

Android Development

In several projects I encountered the following error while compiling Android C code using the Android NDK:

android-ndk-r8/platforms/android-14/arch-arm/usr/include/stdlib.h:169: error: expected ')' before '*' token
android-ndk-r8/platforms/android-14/arch-arm/usr/include/stdlib.h:170: error: expected ')' before '*' token
android-ndk-r8/platforms/android-14/arch-arm/usr/include/stdlib.h:173: error: expected declaration specifiers or '...' before 'wchar_t'
android-ndk-r8/platforms/android-14/arch-arm/usr/include/stdlib.h:174: error: expected ';', ',' or ')' before '*' token

 

This is because some versions of Android don’t support the wchar_t type. A simple (but probably not the best way) to fix this is to edit the file which fails to compile.

In the file android-ndk-r8/platforms/android-14/arch-arm/usr/include/stdlib.h, on line 166, change #if 1 to #if 0. This will disable some of the available functions, however the header file will compile.

October 11
2012

Haskell ODBC MySQL connection issues

Haskell Linux MySQL

In a recent project I encountered the following intermittent bug: when performing MySQL queries using the HDBC-ODBC package I would sometimes receive the following error:

 

SqlError {seState = "[\"08S01\"]", seNativeError = -1, seErrorMsg = "execute execute: [\"2013: [MySQL][ODBC 5.1 Driver][mysqld-5.5.24-0ubuntu0.12.04.1]Lost connection to MySQL server during query\"]"}

 

The connection to the server isn’t being lost in this case, but the GHC runtime system is interfering with the MySQL connection system.

(more…)

August 13
2012

DroidPad 1.9.3 Beta

Android DroidPad

DroidPad 1.9.3 is out, and this time custom layouts are (hopefully) working. Sorry about the false hope last time!

This version also includes better support for Android 4.0, and is available for updating on the Android Market.

The PC software can be downloaded here, and there is a PPA available for Ubuntu users.

June 4
2012

DroidPad 1.9.2 (2.0 Beta)

Android DroidPad

I’ve just released DroidPad 1.9.2 to the Android Market. This version adds custom layouts as per popular demand; there are a few samples available to help with writing custom layout files.

For phones with gyroscopes, this release also adds a new mouse mode where the phone can be pointed at the screen and used much more like a Wiimote. Note that the PC software to support this feature hasn’t been auto-updated yet, but should be by tomorrow.

Windows PC software can be downloaded here, and will be automatically updated.

If anyone has any layouts that they would like to be added to DroidPad, please contact me or leave a comment.

May 5
2012

DroidPad 2.0 Progress

Development DroidPad Info

Progress on DroidPad 2.0 has been a bit slow recently; I’ve been working on other projects and have some exams lurking ahead in the next couple of months.

The first feature that is frequently being asked for is 64-bit Windows support: I have been in contact with the kind people over at ReactOS who will hopefully be able to sponsor DroidPad and ‘sign’ the 64-bit driver. This will eliminate the whole Windows issue of enabling ‘test mode’ associated with previous DroidPad versions.

The next request is for custom joystick layouts: the next version of the Android app will allow the user to put a file on the SD card describing a joystick, mouse or slideshow layout. I will provide examples of what to put in these files to make them work with DroidPad.

As for USB mode, the user must select ‘Debug mode’ from the ‘Applications’ menu in Settings on the phone as before, then find and install the necessary drivers (often on a CD that came with the phone) before DroidPad will recognise the device. Details on how to do this will most likely appear in the next Beta version.

February 4
2012

DroidPad 2.0 Beta – testing needed

Android Development DroidPad Linux Windows

I’m getting close to releasing DroidPad 2.0 – a completely new version with more features and greater stability. To make sure that everything is working, I’m releasing a beta version for testing, to remove any bugs before final release.

If you would like to test this version then downloads are available below. If DroidPad does crash while running it would be very useful to file a bug report (either for the PC part or the Android part); I can then see where it went wrong and fix it.

(more…)

January 4
2012

How Network Spoofer Works

Android Development Hacks Network Spoofer

A few people have been asking how Network Spoofer actually works; hopefully this explanation will allow people to understand its working and try out their own spoofs.
(more…)