Mobile

May
03
Posted by wubbahed at 9:09 pm

Recently, I’ve been playing around with Minify. For those who’ve never heard of it, Minify is a simple HTTP content server built as a PHP5 application. It’s placed in a folder on your server, and then either using a querystring or mod_rewrite, it will dynamically merge and minify CSS and JS files as they are served up to a user’s browser. This allows you to develop using multiple CSS or JS files with comments and clear visual formatting, but when they are delivered to your users via a browser, they get minified and optionally merged making your site load and render faster in the user’s browser.

While Minify is meant to run on a webserver, I thought it could also work as a handy offline tool for optimizing Nokia WRT widgets. Since WRT widgets are just zipped folders of Javascript, HTML and CSS, Minify seems like a simple step you could include in the widget packaging process of your workflow before testing and deploying.

I wasn’t sure how much savings Minify would give the average WRT widget, so as a quick test I batch processed the contents of the STEW sample widget from Forum Nokia using Minify running on a local webserver. The resulting files were bundled as a new widget, and here’s a comparison of the two.

  Size of all Files WGZ size
Forum Nokia version 122.4K 83.0K
Minified version 106.3K 78.2K
Difference 13.2% smaller 5.8% smaller

The savings aren’t gigantic, but they’re significant enough that you should seriously consider adding this step before deploying a widget. I’d also be curious to see if anyone has done comparisons about whether or not Minify affects how much memory is consumed at run-time in the browser.

I might do some more work on automating this process or creating a tool that minifies widgets automatically for you, but ideally, I think this should be something automatically built into widget IDEs like Aptana.

How are other developers out there currently optimizing their widgets for release on Ovi Store?

I spent the past two days at the Gilbane 2008 conference in Boston, and while I came away with some good information and had some good conversations with people, these conferences remind me how frustrated I get when people talk and talk and talk instead of demonstrating, showing, and using specific examples. I heard too many people say “well, that’s what young people are doing on Facebook,” when I would have found it much more useful if they’d opened up a browser and shown me real content, real people, real applications and real usage patterns.

Better yet, just make the whole thing a BarCamp.

But for all the talk in the sessions about the importance of Social Media, I’m curious why more sites aren’t doing mashups that integrate general web search results with search results from your own social network. Someone should build an OpenSocial container with a Google search bar in it, and in the results you could include recent status updates from your friends that include similar search terms.

Here’s an example. At the conference, FatWire was presenting a demo of its software during a keynote and thought it would be funny if they used “sanitized” images from Playboy. The audience was not amused and promptly let them know about it.

So how does this incident show up in search results? Below are some dynamic AJAX results comparing Google News and Google Blog search results for “gilbane fatwire” with the exact same search results from Twitter. I’m sure these results will change over time, but for now it’s a concrete example of how integrated search results can help you connect with the right information AND the right people.

[raw_html]

Searching for the term ‘gilbane fatwire’…

 

[/raw_html]

Nov
06
Posted by wubbahed at 8:24 am

Yesterday I was riding the subway in NYC and saw something I had never seen before — a print advertisement for Google maps.

11/06/2008

In true Google fashion it was a simple ad with a clear message saying you could use Google Maps on your phone. BUT THERE WAS NO QR CODE. C’mon Google, you clearly missed an opportunity here to show people the power of bar codes and you just dropped the ball entirely. There are so many other aspects of your business that are promoting bar codes — the launch of Android and the G1, your own open source bar code reader, and your in depth education about bar codes when trying to sell print advertisement.

Yet when you’ve finally given the opportunity to demonstrate the power of bar codes, test them in a public mass market environment and start collecting real data about how people are or are not using them, you just didn’t even take the chance.

I’m really disappointed.

Aug
29

I always liked the website Muxtape, and right around the time that the site went offline, a group launched an open source web application that allows you to run and share a mix tape on your own server. It’s called OpenTape, and while the idea is similar, they are NOT related to Muxtape.

OpenTape is amazingly easy to use. Just download the files, unzip, and upload them to your own webserver. From there you can use the web interface to set up and configure the mix tape you want to share.

But what I want to know is can I run OpenTape on my mobile phone? Specifically, my N95? If you want to try this yourself, here are the steps.

  1. Register and install the Mobile Web Server to your S60 compatible device.
  2. Download and install the PAMP package for S60 and install it on your compatible device.
  3. Download OpenTape and copy it to the htdocs folder of your Mobile Web Server installation.

Once that’s done, just go to the directory on your webserver, and voila, it works!

Notice that the URL is actually from my Mobile web site…

Once I set up the password, then it was still working just fine.

And after I added songs, i thought it was looking so good.

But then it never displayed any of my songs. Hmmm…

Not to give in so quickly, I started digging through the source code, and it turns out that the problem might be with the PHP package on my mobile. First, the /code/xspf.php XML file wasn’t returning any tracks even though they were uploaded in the folder and the permissions were set correctly. Digging further, it looks like the code is using an ID3 library to read all of the metadata about the Mp3 files, so maybe that’s not included in the PAMP package?

Anyway, I’m so close, but I’ll keep looking into this and see what kind of fix I can come up with.

Aug
22
Posted by wubbahed at 1:34 pm

I read a lot of blogs many of which are heavily devoted to technology, mobile, and the developers who love them.

This week I came across a new video series for N-Gage targeting developers and it’s strangely brilliant in a Finnish way. It’s called Sauna Talk because all the interviews, well, take place in a sauna. Beware though, clicking this link will force you to watch a lot of video content starring this guy.

The only thing that’s really lame about it is that there’s no RSS feed and there’s no way to easily share/embed the video. If there were RSS, I’d probably go back to the site more. And this totally needs to be on YouTube.

I’ve been doing some pro bono web work recently for Children’s Pressline, a youth news service that trains kids to be reporters and editors who write articles for mainstream media partners. It’s a non-profit open to any child in NYC, and currently their news stories are being run in the NY Daily News, Metro, and the Amsterdam News.

The work I’ve done involves some basic tweaks to their website, setting up a Children’s PressLine Facebook page and creating a Children’s PressLine RSS feed that shows you their latest stories and links to the major media outlet running the story.

There’s not a mobile website, but just by having an RSS feed, that’s all you really need to get started reading the content on your mobile. If you’re reading this on your S60 device, you can just click on the RSS feed, and automatically subscribe to the latest news articles.

If you’ve got one of the newer S60 devices, though, then you can get a richer experience using this widget I made which pulls in the RSS feed and displays the latest news stories directly on your phone.

S60 widget (WRT)

You can download the Children’s PressLine widget directly, or scan in this QR code to get it straight to your mobile:

Get the widget

Total development time for this widget was less than an hour, and most of that time was just deciding which colors to use in the CSS. If you haven’t seen the Nokia Web Run Time, then I’d recommend checking it out as it’s going to be a great way to build quick applications for S60 devices. Right now, it’s only drawback is that it has almost no access to the device itself (e.g. GPS, Contacts), but Nokia has already announced these features will be included in the next major release.

If you want to see the source code of the widget, then just download the file to your PC and change the file extension from .wgz to .zip. Then open the zip file and all of the source code is there. It’s a very simple setup with one HTML page, and one XMLHttpRequest call to retrieve the RSS feed.

Let me know if you have any questions about how the widget was built, and I’m also interested to see how other people are using widgets not just for their personal use, but also to help promote causes they believe in.

Aug
07
Posted by wubbahed at 8:15 pm

So I’ve read a couple of articles lately about the new Google Maps that’s available for the Nokia N95. This is particularly exciting because they now offer Transit directions in some cities. Being able to get this type of information on your mobile is wonderful.

So I installed the app, and noticed that this updated version of Google Maps has a new icon. One that looks surprisingly like the Nokia Maps icon. Here’s some screenshots:

nokia maps icon Nokia Maps icon
old Google Maps icon (compass)
new Google Maps icon (ripoff)

I have a hard time believing that this new icon is just a coincidence… Thoughts? Is Google trying to intentionally confuse users so that they run Google Maps on their phones instead of Nokia Maps?

If you happen to be in the SF area on Saturday June 14th, be sure and check out MobileCampSF at the Swedish American Hall. If you’ve never been to a BarCamp before they’re lots of fun. It’s completely free, and as of this post, it’s already around 70% full so RSVP now if you’re going to come. I’m hoping to talk some about this simple little project I’ve been working on lately. If you want a sneak peek at it, just scan the QR code below. Otherwise, wait until after BarCamp when I’ll post a full writeup of the project.

qrcode

May
20

So I recently purchased a Chumby. According to UPS, it’s on its way here, and in anticipation of its arrival I’ve started reading about how to make your own Chumby widgets. Turns out, the widgets are all just 320×240 FlashLite 3.0 movies.

This is wonderful news.

Why? Because my phone also runs Flash Lite 3.0. So now if I’m going to go to the trouble to make a Chumby widget, I can design it to work on the Chumby and on my Nokia device. As a quick test, I grabbed some of the existing Chumby widgets and tried to see if they would run on an N82.

Out of the box, two widgets worked great — the MTV News widget and the Chuck Norris Facts widget. Some of the other widgets like weather and NY Times launched correctly, but I need to pass them some configuration details so they know what content to download from the web. That’s the next step.

Bottom line is that if you have an Nseries device that runs FlashLite 3.0, then check out Chumby as a source for games and things that you can load straight on your device. And in case you need proof, here’s Chuck Norris Facts running on an N82.

Yeah, yeah the video is kind of fuzzy, so here’s what it looks like on a real Chumby.