My first Android app

  • Posted: Feb. 5, 2013, 4:20 p.m.
  • Last updated: Feb. 8, 2013, 3:02 p.m.
  • Tags: android frontpage

I've been putting the finishing touches on my very first Android app. It's been a while since I started working on it, partly because I've been busy doing other things, and partly because I've rediscovered my hatred of Java. But here we are.

The app is a stopwatch for timing multiple things. I called it Times3, because it times three things (genius, right?). I plan to make a paid-for version at some stage that isn't limited to three timers. And not called Times3. Obviously.

You can download it to try from my website with this link. Android will give you a warning about downloading from untrusted sources and you'll have to change a setting (you can always change it back later). I will put my app on the Play Store soon so that you can avoid that step.

Tweet or email me if you like it, or if you don't like it. I'd like to hear what you think.

I made this!

  • Posted: Jan. 26, 2013, 2:13 p.m.
  • Last updated: Jan. 26, 2013, 2:19 p.m.
  • Tags: frontpage

Here's my software 'performing' in front of thousands, at a music festival I'm not at:

It's just HTML and javascript, controlled by a keyboard and some Playstation Buzz controllers.

Props to my friend Karyn for the photo and for mastering the two buttons needed to run the show.

Edit this page

  • Posted: Jan. 11, 2013, 4:37 p.m.
  • Last updated: Jan. 11, 2013, 5:17 p.m.
  • Tags: frontpage pageedit

For years I've been editing webpages using the all-singing-all-dancing TinyMCE. Frankly it's wildly over-complicated considering all I really need is the ability to decide whether a line of text is a heading or a paragraph, and maybe throw an image or two around.

With that in mind, last year I set out to replace it, using the browsers' built-in editors, and a bit of javascript. How hard could it be? (Actually, not that hard, but I made it more difficult by recreating half of my website code at the same time.)

Over the past two weeks I have been turning a proof-of-concept into a working tool, and it's reached a point where I'm happy enough to demonstrate it. So here we are.

Demo: http://www.darktrojan.net/tools/pageedit/demo/editblocks.html

It works on Firefox, Chrome or IE9. It doesn't work on IE8 (I decided supporting 8 wasn't worth the effort). I haven't tested any other browsers.

Currently it is capable of:

  • block formatting selection (ie. <h1>, <h2>, <h3>, <p>)
  • bold, italic and underline
  • text alignment
  • links (wire in your own code with a callback)
  • unordered and numeric lists
  • images (again, wire in your own callback)

I hope you like it! If you do, please tweet me (@geoff_lankow), email me (geoff@darktrojan.net) or do Githubby things on Github (https://github.com/darktrojan/pageedit).

Why I haven't replied to your email

Sorry if you've been writing to me about my add-ons or other work... these things have been on the back burner for me lately.

Oh, and I have a broken wrist and won't be writing any code for some time.

Can haz source?

Recently I've decided to make better use of my GitHub account by putting some of my work out there for others to see and contribute to, if they feel the need. It's also been a chance to read through a lot of my old code and tidying it up (plenty of WTF was I thinking? moments).

I've put some of my Mozilla add-ons up there and some javascript bits and pieces. I may later add the rest of my add-ons, some of my PHP code (although mostly that is gathering dust) and possibly the CMS that runs my website (already on BitBucket).

So here you go, DarkTrojan on GitHub.