Friday, March 25, 2011

Useful Android test things

Using the emulator to use the camera required an SD card and I also need to push location details. Both were achieved by:

eos:~/android/sdk/tools$ ./mksdcard 1024M mySdCardFile.img
eos:~/android/sdk/tools$ ./emulator -port 5554 -avd My_AVD_1.5 -sdcard mySdCardFile.img &
eos:~/android/sdk/tools$ telnet localhost 5554
OK
geo fix -41.3 174.773233
OK

The only problem is that the Location getTime() and getAccuracy() calls were not as expected for a live phone so also implemented the following:

EMULATOR = ( Settings.Secure.getString(this.getContentResolver(),
android.provider.Settings.Secure.ANDROID_ID) == null );

Crank bros Mallet 1's .. returned

OK so I snapped the spindle on my right pedal .. purchased in May '10 and lasted until Mar '11 - so not quite 12 months. Sadly for Burkes I purchased from them but they've been helping sorted it so cheers for that.

We have sent the pedals up to our auckland supplier and we should know by the end of the week whether it will be covered under warranty, once we have heard from them we will give you a call.

Regards,

Burkes Cycles.

New stuff that I recommend

Here's a bunch of stuff I've bought clothing wise that I've been really impressed with. I've been riding with the same bike shorts for almost 6 years and well lets just say enough is enough.

What have I been missing out on? Well shorts have come some distance really impressed especially with removable liners the Fox shorts are great. I'll be looking to get an additional liner meaning I can mix and match (esp useful over winter when things get wet and muddy).

- Fox Ranger Shorts
- TLD Moto Shorts
- 661 Evo d3o XC knee guards