2,215 views

Loading ...
31.10.11
Posted in Blogroll, Tech at 12:28 pm by Liv 
It’s more and more common with the new generation of mobiles nowadays to have a megapixel camera built in the mobile itself. And with that comes the fact that if you ever want to allow your user to select one of the images s/he has captured with this camera (see above) you are dealing with very large images. So if at some point all you want to do is to allow your user to browse through these images one at a time (so you will have to scale the image such that it fits the screen), you will be using a lot of memory for the purpose of showing the user just a 320×240 image!
In such cases, it is good to have a “scaling” function, that reduces the image to just the size of screen, thus reducing the memory consumption and also improving the “painting” time (the time it takes your application to draw the image onto the scren/canvas).
Read the rest of this entry »
Permalink
Disclaimer
1,232 views

Loading ...
Posted in Blogroll, Tech at 11:17 am by Liv 
As you’ve seen with previous posts, I’m trying to make sure that all the stuff that used to be on my old website and people are still looking for is being brought back to light; and one of the search terms that I see redirecting people to my website is “J2ME read file” — for which there used to be this article on my old website, so here it is again:
Quite often in your mobile application you might need to allow the user to specify an image that s/he has already stored in the device filesystem (e.g. mobile memory, memory stick etc). This piece of code shows you how to read the image from the filesystem assuming you already have the file name.
Read the rest of this entry »
Permalink
Disclaimer
3,778 views

Loading ...
29.10.11
Posted in Blogroll, Tech at 2:15 pm by Liv 
Yet another resurrected (old) J2ME application from my old website. I couldn’t actually find the original page for this, just the zip file with all the sources for this and the compiled version.So you might have to figure this one by yourself I’m afraid! If (and that is a big “if” at the moment unfortunately!) I find the time to look at this code again, I will add more details here about what’s what — for now though, as I said, you will have to download the zip and if you want to install the app, I think it’s best if you just copy the .jar file onto your phone (most mobiles support USB or similar transfer of files so I would recommend that as the best way of installing the application).
From what I recall, this app was developed using Eclipse and Sun’s WTK — as such it should still work if you just download the zip, unpack it and open the project in Eclipse. From there on, you should be able to compile it easily and package it (into a jar) and also generate the jad file for over-the-wire deployment. Once you’ve done that you’re ready to install your app over-the-wire (if your phone doesn’t support simply copying the jar file over via a USB connection) — though be aware that you will have to copy the jad and jar onto a webserver and modify the URL’s accordingly so the jar referenced in the jad files is on the webserver you use!
Read the rest of this entry »
Permalink
Disclaimer
3,241 views

Loading ...
Posted in Blogroll, Tech at 1:49 pm by Liv 
This is another resurrect from my old website — again, it seems people are visiting my site looking for this (old) J2ME application. Please be aware that I haven’t updated this application in ages — it was known to run last time I checked, but that was a while back. I suspect as such it’s still working, but even if it isn’t, perhaps it has still some good points. If not, well, at least I’m no longer showing a 404 to people (desperately) looking for this application. So here it is below, the original post, together with the downloadable(s).
This application is currently at version 1.1.0 — last update 14/Aug/2006.
A couple of years ago when I got my Nokia 6600 mobile, I was initially over the moon with the facilities the phone was oferring and also the fact that it was programmable in Java (J2ME). Like all the other enthusiasts (read geeks
) of the J2ME platform I found myself soon writing all sorts of useless mobile applications that I would then try on my mobile. Soon though I discovered that my mobile was missing one utility that I did occasionally need — a stopwatch! So having realized that, I started writing this application which I still use on my Nokia from time to time.
I heard that the new models (Nokia N-series) do actually include such a tool, but I cannot confirm it yet as in the meanwhile I switched to a Sony Ericsson mobile and kind of postponed the idea of trying the N-series Nokia’s for later on. (As you probably are aware, the Sony Ericsson mobiles have such a stopwatch utility built-in.) Even if they do have such an utility, you might still want a stopwatch that’s customizable (see below) or maybe you just want an alternative to the standard ones — either way, feel free to use (and adapt) this application to your liking.
Read the rest of this entry »
Permalink
Disclaimer
634 views

Loading ...
31.08.11
Posted in Blogroll, Fun Time, Random Thoughts at 2:42 pm by Liv 
Is this what your living room table looks like? 

Permalink
Disclaimer
« Previous entries Next Page » Next Page »