Latest Entries »

Android SD Woes

I’ve been more vigilant in my rechargable battery usage ever since my Dell laptop’s battery died after only 10 months of use. Obviously, I’d been told, I didn’t let the battery go completely flat enough times.

So, when it comes to my Nexus One, I’ve been holding back on plugging it into charge whenever I’m near a suitable power source. Now, I let it gracefully interrupt me with messages every five minutes until it finally dies. Like any good deed, however…

It seems that if the battery dies while DoggCatcher is syncing, Android corrupts your SD card. Okay, I shouldn’t blame DoggCatcher, because I’m not 100% sure it was the fault of Android’s best feed syndicator. 90% sure.

After trying to fix the SD card, I’ve resorted to backing up what I could, formatting the card, and starting again.

Word to the wise: backup often ;)

If it’s so good for me, why does it hurt like hell?

The decision to quit a handful of harmful stimulants and drugs at precisely the same time may seem crazy to some people, but there is method to the madness: only a single period of withdrawal.

Of course, that withdrawal period is infinitely more painful, but in the long run it should be worth it. Right?

No caffeine, no nicotine, no alcohol. No more bitter sweet, as Ed K might say. Only headaches, anxiety, exhaustion, irritability, and paranoia. At least I haven’t had the hershey squirts; thank Darwin for small miracles.

The urge to, literally, punch someone’s face into their delicious, mushy cranial cavity is still fairly constant, but in a week or so I hope to be faster, stronger, and more attractive to both sexes. Smelling less like a bar room toilet is also a goal.

Useful Android Apps

It’s been a while, so I thought I’d do an obligatory “here’s a list of the Android apps that I like that you might also like so I’ll post them on my blog that no one reads in the vain hope that some search engine will pick up a trending keyword and attract visitors to my site” post.

So…

MY TOP FOUR ANDROID APPLICATIONS!

Aldiko (ebook reader)

I only discovered this app tonight, but it looks quite nice to far. When you think about what an ebook reader entails (a list of books, and the ability to view them on a screen and turn pages), you would expect there to be plenty of really good ebook readers out their for Android. You would be wrong. Aldiko is one of the rare few that works smoothly and makes it almost bearable to read a book on a tiny, glare-ridden screen.

Doggcatcher (podcast app)

There is a serious lack of good podcast apps for Android. Google Listen is excellent for audio podcasts, but if you’re looking for an all-purpose rss, audio, and video reader: get Doggcatcher. The interface is a little clunky lookin’, but it does everything that you’ll need and it will do it fairly well. Doggcatcher has become an integral part of my Android experience (see Twitter later), wirelessly downloading new episodes while I sleep, ready to be viewed in the car, on the toilet, at funerals, and during sex.

Foursquare (checkin app)

Foursquare is one of those pointless applications that everyone goes crazy over. Or, if you’re South Australian, you’ll have no idea what I’m talking about. I think I’m one of six Fourquare users in SA, and probably for a good reason: it’s pointless! Why do I use it? Obsessive compulsive check-in disorder.

Twitter (microblogging)

After spending craploads buying a Nexus One from HK, I figured I should spend some time making the thing useful in some way. My first goal was to use it as a way to keep up to date with news and information. The Twitter app provides an easy way to zip through info whenever it’s appropriate. Coupled with Doggcatcher, it’s the best way to stay on top of things.

Augmented Reality Check

I have been a big fan of augmented reality for as long as I’ve been able to read sci-fi novels. The potential use of augmented reality software in an age of cybernetics is mind-boggling, yet the applications themselves are rather simple to conceive of.

Why an entire industry has only focused on store locators/auged smart phone cameras and bizarre marketing campaigns is beyond me. Certainly, the technology is still a little immature; we’re not walking around with 3Ghz video processors embedded in our eye sockets. The slather of Layar-type applications that is hitting the market is depressing.

My major gripe is the amount of applications that really don’t fit well with augmented reality. CAD-style applications which take the mouse/monitor experience and complicate it ten-fold with colored gloves, webcams, and goggles. WHY?!

Layar is an awesome experiment, but really… Walking down the street holding my Nexus One, looking through a jittery video of the world that is overlayed with an even more jittery graphic displaying my nearest Pizza Hut and Art Museum… no! No, no, no, no!

This is what inspires me to work on some genuinely friendly augmented reality applications that don’t take an existing solution and make it far more complicated than it needs to be.

Someone… please join me… no more Layar-type apps, please!

Human Friendly Dialog Boxes

I haven’t thought this idea through, because I’m still annoyed, but…

You know when you set a long task going and you walk away to do something else while it processes? You know, like copying over a few thousand files, or switching off file indexing in Windows, and it takes 30 minutes as the little progress window whizzes away obeying your commands.

You know when you come back and there, emblazoned across your screen, is that frustrating fucking dialog that says “Access denied. Do you wish to Ignore, Ignore All, Try Again, or Abort?”

It never seems to appear within the first 5 minutes as you sit there watching. Noooooo, it always waits until you’ve turned your back and then POW! Everything stops to wait for your feedback!

We need timed dialog boxes that wait 60 seconds and then make a decision one way or another, telling you at the end of the process what decision it took and offering you a chance to undo it.

Wouldn’t that be nice?

Android Activity Lifecycle

Uh huh.

I’m sitting here wondering why the app is being so erratic when I power off, and I’m looking at the Activity Lifecycle on the Android site.

One would assume that when I hit the power button, the app would go onPause -> onStop. Instead, it goes:

onPause -> onStop -> onDestroy -> onStart -> onResume -> onPause

WTF?

(EDIT)

Okay, this is really pissing me off now. Why is my Activity being started up again immediate after being destroyed? The phone screen is powered off… the app is not in the foreground… how the hell am I meant to stop my app from running in the background when the phone itself is calling it to start?

Grrrr. I don’t have time for this shit…

Nothing ever changes…

Brendan Francis Behan (9 February 1923 – 20 March 1964)

Jean-Louis “Jack” Kerouac (March 12, 1922 – October 21, 1969)

James Douglas “Jim” Morrison (December 8, 1943 – July 3, 1971)

Alan Wilson Watts (January 6, 1915 – November 16, 1973)

Peter Edward Cook (17 November 1937 – 9 January 1995)

J. S. Allen (27 May 1978 – TBA)

Jean-Louis “Jack” Kerouac (pronounced /ˈkɛruːæk, ˈkɛrəwæk/; March 12, 1922 – October 21, 1969)

Fun with Android Animation

Finally, finally, managed to get an animation working in Android.

For some reason, the tween animations just do not work as expected. For one, they don’t loop — regardless of the repeatMode and repeatCount attributes (an issue summed up by Romain Guy as ‘a known issue’). For two, I could hack up an AnimationListener to listen for the end of the animation and start it over, but there was a split second black gap inbetween the animation… which was odd because the background image should have been displayed.

Third, whenever I added more than two animations in a set, the whole thing would stop working, pausing for the duration of the animation and then suddenly ending with the last frame. All I wanted was some alpha animation on the background image… not hard.

I ended up fucking around with frame animations instead, which don’t look as nice as the alpha anims would have looked, but at least they work.

So far, not impressed. Everything that should have taken me half an hour has taken me at least a day, and everything that I expected would take a day (because I had to learn from scratch) has taken half a day.

On the up side, I’m officially an Android developer now ;)

Buddhism, Cyanogen, and Google Analytics

Sometimes — most times — I’m incapable of doing only a single thing at once. I prefer to do a multitude of things at the same time (regardless of how poorly I end up doing each individual task).

On my list:

  • Catching up on buddhist texts
  • Staring fornlornly at my Nexus One and wondering whether I have the balls to root and flash it
  • Wondering why tech terms always sound rude
  • Trying to raise readership levels for The Antitheist Daily
  • Trying to nut out some format and questions for the Adelaide Atheists philosophy jam and the (as yet unofficially announced) panel talks
  • Trying to design the expansionware website, a new photography website, get the KinTrak site finished…
  • Finish the business plan
  • Work on my first Android app and release it to the Android Market
  • Trying to get the 4D Systems electronics to fucking work with the specified voltage

Maybe I need to change my ways and focus on one thing at a time…

4D Systems OLED + Cam

My dev board, camera, grafx processor, and 0.96″ OLED screen finally arrived on Thursday, which means I get the play around with everything over the four days of Myth Break #2.

After fucking up and uploading the wrong PmmC file to it (and spending 20 minutes wondering what I’d done and whether or not I’d killed the screen already), I’ve got the bare basics up and running. The dog is laying next to me and snoring — fairly distracting, but I’ll live.

Once I get the cam streaming video to the OLED screen, I’m one step closer to a pair of steampunk video goggles (or a mono-goggle, as the case may be).

Powered by WordPress. Theme: Motion by 85ideas.