Mobile

Comments and projects about mobile device technologies.

Oh, Smashing Magazine, what hast thou done?

4

PHP QR Code Generator page was posted on the twitter account of Smashing Magazine, and the traffic of this humble blog has risen twenty-fold! Not that I am complaining… ;)

The page seems to be useful to a lot of people, so I will probably add new features to it when I find spare time.

New PHP QR Code Generator Page

0

Checking my blog stats, I saw that most people come to my Real Time QR Code Generator PHP Function post. So, I decided to create a decent page for QR Code generation instead of linking to a URL which accepts only base64 encoded variables. The new page is PHP QR Code Generator page, and now you can, not only create an image that redirects you to a web address, but also can call a phone number, send an sms and send an e-mail. Also you can just encode plain text into a QR Code image.

UPDATE: vCard and bookmarks creation added.

Hope it proves to be useful for some people out there.

To all who sent mails and I did not answer

I have received a lot of mails about both PHP DRM Packager class and Check Quota plugin for SquirrelMail. For the last months, I have not been able to concentrate on anything and I could not reply your mails. I apologize for that from all of you.

For the PHP DRM Packager, while I would love to share the code with the rest of the world as open source, I am not able to do that for the time being. Sorry. I hope in the future, I will be able to do it.

For the Check Quota plugin for SquirrelMail, I will be working on the plugin. I still need some time to get fully back on, but I will, eventually.

Thanks to all who sent support mails to me in this period. It means a lot to me.

Real Time QR Code Generator PHP Function

UPDATE: Please read this post. You will be able to create more different images now!

If you have read my earlier posts, you must have seen that I am excited about implementing QR Code to my projects. These mostly include my work projects.

Today I have discovered that Fukuchi Kentaro, who is an assistant professor has written a very useful QR Code library to use on UNIX based systems. I have immediately downloaded the library and compiled it. It ran smoothly on my server, so I created a little PHP function to use with this library, for real time QR Code generation.

I have put a page on my server for you to use the function. You can call that page supplying a base64 encoded URL and it will create a QR Code PNG on the fly.

This is a demonstration of calling the page:

http://www.keremerkan.net/qrcode/qr.php?c=aHR0cDovL2tlcmVtZXJrYW4ubmV0Lwo=

UPDATE: The page gets redirected to PHP QR Code Generator page on this blog now.

aHR0cDovL2tlcmVtZXJrYW4ubmV0Lwo= is Base64 encoded presentation of my blog URL, http://keremerkan.net/

You can easily Base64 encode this string by executing the command below from a UNIX shell:

echo http://keremerkan.net/ | openssl enc -base64

OMA DRM 1.0 PHP Packager Demo Page

UPDATE: I had to remove the demo page for reasons I cannot specify here. I hope that I can put it back online in the future.

I have set up a demo page for my packager class. You will be able to give the URL of a content file and get it DRM packed to your phone. As this is a demo, it has some limitations. You will only be able to pack video/3gpp, audio/3gpp, image/gif and image/jpeg files. That is, you will be able to pack 3GP audio and video files and GIF or JPEG images.

You can test the class at the following page:

http://www.keremerkan.net/drm

If you have questions, you can contact me via my contact page.

OMA DRM 1.0 Packager PHP Class

5

I have been searching for a command line tool to use as a DRM Packager for OMA (Open Mobile Alliance) DRM 1.0 compliant devices. My main concern was to create the DRM files without human interaction, so that I would have the content repository in some place and add real-time digital rights to the files when they were downloaded.

I found a useful Packager from Sony Ericsson, but it has no command line packager to use with Linux or Mac OS X. I also found some scripts written with Java SDK, but I did not want Java involved in this.

So I wrote my own DRM Packager class in PHP. It only calls OpenSSL as an external application when needed, other than that it is a pure PHP class. It can be used from command line as an application, or it can be used via the webserver to serve real-time DRM packed files.

The advantages of the class:

  • Can create real-time DRM packed files
  • Fully compliant with OMA DRM 1.0
  • Can create DRM files for forward-lock, combined or seperate delivery (.dm and .dcf)
  • Can create rights files compatible with XML and WBXML format (.dr and .drc files)

QR Code of Inferno used for the first time!

OK, this may not be a very important news, but it seems like someone has used the QR Code of Inferno to download the theme to his/her phone for the first time. I hope he/she liked the shortcut! :)

You can find the QR Code in this page.

QR Code for Inferno

QR Code for Inferno

What is that puzzle above?

Let me explain… I have been reading about the QR Code madness in east Asia for some time. While there are other alternatives to this coding system, it seems like QR Code is the best one to use for free.

So what is QR Code anyway? It is a two dimensional bar code system developed by Denso-Wave in 1994. Now this system has started being used everywhere for marketing. You can read more about QR Code on Wikipedia.

That puzzle above, is the QR Code of my Symbian S60 theme, Inferno. If your phone has a camera (sorry for E61 users ;) ) and it is a Symbian S60 3rd edition device, you can fire up your QR Code reader software, point your camera to the QR Code above and install the theme immediately! No address writing hassle on your phone… We call this, “technology”! :D

If you don’t have QR Code reader software on your phone, you can download it from QuickMark. Nokia 3250 version works perfectly on my E70.

Now, let’s start thinking about implementing this to my work projects. Hmmm… :idea:

Inferno v1.0 for Symbian S60 3rd Edition

I have downloaded a theme named Fire some time ago. It was a good theme with good contrast and warm feeling. But it was not fully compatible with S60 3rd edition, so I decided to make a theme for my E70 and was inspired from Fire. So was created Inferno.

Here are two screenshots:

Inferno Screenshot 1 Inferno Screenshot 2

You can download the theme from this link: Inferno v1.0

By the way, this theme has been selected as a winner in Theme Contest 2006 from e61life.com with 2 other themes. You can find the theme contest page here.

Update: e61life.com is discontinued now, so the links towards that site are gone.

 

Go to Top