Category Archives: Android

Learning programming for the Android operating system.

ESP8266 Development/SDK Board

Warning: do not connect the DHT11 temperature sensor as indicated in the eBay pictures, it is the wrong way around and will fry your board!

Update: Board has arrived, more details and pinout here

It would seem that the ESP8266 is quickly becoming a pretty well supported WiFI microcontroller within the DIY/hacker community, and certainly presents itself as a pretty good alternative to an Arduino for projects requiring simple IO and WiFi. There’s even a project looking at using compiling the Arduino IDE and compatible code for the ESP8266!

Chinese ESP8266 Breakout board

Chinese ESP8266 Breakout board

I have one of the original versions of these units, but ave struggled to get anything sensible out of it, and so was looking on Ebay for some more items and came across this breakout/development board. For £9.99 I thought I’d give it a go, and ordered it a couple of weeks ago. Will give more details when it arrives. More details and pics after the break

Continue reading

Setting up a Galaxy S for ADB

So, I thought it would be as easy as plugging the phone in, but it’s not, and obviously the drivers are impossible to find.

  1. Ensure application debug mode is turned on on your phone. (Settings->Applications->Development->USB Debugging)
  2. Plug the phone in (probably won’t automatically find the drivers – didn’t on XP anyway)
  3. Download the drivers from here: Samsung Galaxy S USB Debug Drivers @samsung
  4. Check your device is installed and connected by opening a command prompt and running “android_SDK_path/platform-tools/adb devices”
  5. You should then be able to ‘Run’ your application as normal from Eclipse and it will download it to your phone and provide you with debugging info.

Unsupported configuration: sampleRate 44100, format 1, channelCount 1

I believe that my problem in the last post regarding the Unsupported configuration in the AudioRecord class was because I hadn’t enabled the ‘Audio Playback Support’ and ‘Audio Recording Support’ for my virtual device

No, that didn’t work, still have the same problem. I have made sure that I added the required permission in the manifest.xml: Continue reading