Näytetään tekstit, joissa on tunniste Series 80. Näytä kaikki tekstit
Näytetään tekstit, joissa on tunniste Series 80. Näytä kaikki tekstit

sunnuntai 31. toukokuuta 2009

Jaksollinen järjestelmä / Periodic Table for S80

Vaikka Nokia 9210 onkin jo vuosia vanha laite, jolle ei ole tullut lainkaan uusia ohjelmia pitkään aikaan, tein sille alkuaineiden jaksollisen järjestelmän, joka näyttää aineen merkin, moolimassan, jakson, ryhmän, sulamis-/ kiehumispisteen, olomuodon huoneenlämmössä, nimen alkuperän ja erilaisia kuriositeetteja (missä ainetta käytetään, missä sitä tavataan etc.). Ja palkaksi tuli vielä kaikkien alkuaineiden merkkien tuntemus :) Toimivuus: Nokia 9210, 9210i, 9300, 9300i, 9500.

Nappaa SIS-tiedosto: PeriodicTable.sis, v1.03



Projektin sivu sijiaitsee täällä.



I have been making this freeware app for almost a year now - and here it stands proudly after all the work :) Works on S80 v1.0 (Nokia 9210 and 9210i) and also on later S80 v2.0 (9500, 9300 and 9300i).

So, for chemistry students and enthusiasts here's the essential application for Series 80 - the periodic table of the chemical elements.
It shows some basic and advanced information on the selected element - for example the group, period, block, symbol, atomic weight, CAS number, where its name comes from, and different curiosities, such as where it's used in and where it's found. Here are some screenshots (click to enlarge):

On a Nokia 9210 (v1.03):


On a Nokia 9210 (v1.01):


On a Nokia 9210 (v1.00):





On Nokia 9300i (v1.03):


On Nokia 9300i (v1.01):


On Nokia 9300i (v1.00):





Grab the SIS file:
PeriodicTable.sis, v1.03


The project's page is located here.

maanantai 29. lokakuuta 2007

90 % 9210:stä myyty/ 90% of the 9210 has been sold

Aiemmin blogikommentissani kerroin eläkkeelle jääneestä Nokia 9210:stäni ja siitä, että voisin myydä sen osina Huuto.netissä. Päätin tehdä myös niin ja onnistuihan se - ja sain enemmän rahaa kuin odotinkaan. Tieturin näyttö ostettiin 16 €:lla ja kaikki loput, paitsi saranalliset näytön ja sisänäppäimistön raamiosat, ostettiin 9 €:lla. Vielä nuo saranaosat ovat myymättä, mutta erään ostajan pitäisi olla tulossa hakemaan ne joku päivä. 25 € on melko hyvin; tuosta olisi kokonaisena saanut ehkä jotain 10-15 euroa Huuto.netissä.

Osina myyminen edellyttää Torx-ruuvaria, taitoa ja tekniikka. Itse tunnen Nokia 9210:n läpikotaisin, eikä mikään tuottanut ongelmia tuota purettaessa. Tieturin näytön irrottaminen oli ainoa homma, jota en ollut tehnyt kertaakaan, mutta eipä se kovin vaikeaa ollut onneksi.


Earlier in a blog entry I told about my retired Nokia 9210 and about the fact that I could sell it in parts on Huuto.net. I decided to do that and it worked - and I got more money than I thought. The inner display was bought for 16 € and all the rest, except the frame parts of the display and keyboard with hinges, was bought for 9 €. Those hinged parts are yet to be sold, but one buyer should be coming to get those some day. 25 € is pretty good; probably I would have got about 10 to 15 euros for the whole phone on Huuto.net.

Selling in parts requires a Torx screw driver, skill and technique. I myself know Nokia 9210 thoroughly , and nothing turned out problematic while disassembling the phone. Taking off the inner LCD was the only thing I hadn't done before, but luckily it wasn't very hard.

perjantai 31. elokuuta 2007

OPL:n tulevaisuus/ OPL's future

Koodaaminen on jännää ja hauskaa puuhaa. Kun taannoin koodailin OPL:llä ohjelmia, se oli todella helppoa ja vaivatonta. Toimiva käyttöliittymä oli helppo rakentaa ja koodailu onnistui puhelimellakin. Nyt OPL on suuren kuolemisuhan alla S60 3rd Editionin binääriyhteensopimattomuuden ja projektin ylläpitäjien vähyyden (kaksi aktiivista ohjelmoijaa) vuoksi.

Itse koodailin alaani liittyvää laskinohjelmaa S80-alustalle, joka auttoi minua melkoisesti opiskelupaikassani. Ohjelmassa täytyi syöttää vain luvut dialogiboksiin ja ohjelma tulosti näytölle tuloksen (esimerkiksi ideaalikaasun lain lasku, pV = nRT). Hauskaa oli. Ja nopeaa koodaamista, kun kielenä toimi OPL. Nyt täytyy sitten alkaa vähitellen opetella Symbian C++:aa, jotta pystyy jotain tuollaista tekemään. Tai no, onhan noita Pythoneita ja muitakin kieliä, joista valita. Olisi ehkä järkevämpää opetella niitä ennen "hirviöön" siirtymistä...

Tässä kun kirjoittelen niin alkaa hirmuisesti kasvamaan taas koodailuinto. Pythonin alkeita siis opettelemaan.


Coding is exciting and fun. When I some time ago coded applications with OPL, it was very easy and painless. A working interface was easy to build and coding could be done on the phone also. Now OPL is under a threat of dying completely because of the binary uncompatibility with S60 3rd Edition and the project administrators' fewness (two active developers).

I myself coded for S80 platform a calculation application connected to my occupation, which helped me a lot in my school. In the program there was meant to enter only the figures into a dialog box and then the application printed the result onto the screen (for example the ideal gas law, pV = nRT). It was fun. And quick coding, for that matter, when the language was OPL. Now I must step by step learn Symbian C++ to be able to do that kind of applications. Well, there are these Python and other languages to choose from as well. It might be reasonable to learn them before moving onto the "monster"...

Now when I'm writing this, the coding enthusiasm begins to rise up extensively. So let's go to learn Python's ABC.

torstai 30. elokuuta 2007

Simple DirectMedia Layer (SDL)

Kyllä täytyy nostaa oikein kunnolla hattua eräälle peliohjelmoijalle - nimittäin Sam Lantingalle. Hän on helpottanut peliohjelmointia huomattavasti tuomalla vuonna 1998 SDL-nimisen ohjelmointirajapinnan julki, jossa esimerkiksi kuvan lataus on erittäin nopeaa ja helppoa, mutta silti hyvin nopeaa, kun kielenä käytetään C:tä. Itse opettelen tällä hetkellä kuumeisesti ohjelmointia SDL:llä, sillä SDL:n funktioita käytettäessä koodia voi ajaa niissä laiteissa, joille SDL on julkaistu (eli Windows, Linux, Windows CE, Mac OS, Symbian OS + monia muita).

Käytän Markus Mertaman porttaamaa SDL-versiota Symbianille (käytän S60 3rd Edition Maintenance Release -softakehityspakkausta (SDK)), ja alkukankeuksien jälkeen olen saanut ajettua mm. XFlame-, Newvox-projektit emulaattorilla. Kyllä se on mahtava tunne kun saa jotain tuloksia Symbianille. Työn hedelmiä jaksaa katsella pidemmän aikaa, kun on yrittänyt ja yrittänyt ja lopulta onnistunut. Markus on paljon auttanut minua näissä jutuissa ja jaksanut uhrata aikaansa melko paljon viime aikoina kysymyksilleni. Olen hänelle todella, todella kiitollinen. Hän on kyllä Symbian-ihmemies.

Yritin taannoin S80-ympäristössä (v2 eli Nokia 9500, 9300 ja 9300i) saada SDL:ää toimimaan. Kokeilin peräti neljää SDL:n versiota, jotka ovat portattu Symbianille mutta eipä syntynyt tuloksia. Tai no, tuloksina olivat musta ruutu kännykässä tai koko projektia ei pystynyt kokoamaan Series 80-alustalle virheiden vuoksi (joita minä en ymmärtänyt ainakaan). Päätin luopua yrittämisestä ja myin Nokia 9500:ni pois, koska en enää yritä tehdä sille ohjelmia. S80 on niin epätuettu käyttöliittymä verattuna S60 v3:een. Jälkimmäinen on tulevaisuus. All roads lead to S60 3rd edition. Antaa S80:n kuolla rauhassa. Itse ajattelin, että olisin vielä aktiivinen S80-koodaaja vuosienkin päästä (ja loistokkaasti nimeni näkyisi my-symbian.comin S80-osaston uutissivulla monen monta kertaa, heh), mutta tähän on nyt tultu. S60 vei minut mennessään.


I must give some big credits for one particular game programmer - Sam Lantinga that is. He has made game programming way easier by bringing in the year 1998 to publicity an application programming interface named SDL, where, for example loading an image is very fast and easy, but still very efficient when the used language is C. I'm currently learning hectically programming with SDL, because when its functions are used, the code can be driven in all the devices that SDL has been published (Windows, Linux, Windows CE, Mac OS, Symbian OS + many others).

I'm using the SDL version that Markus Mertama has ported onto Symbian (I use S60 3rd Edition Maintenance Release software development kit (SDK)), and after some troubles at the beginning I have successfully driven XFlame and Newvox projects on the emulator. It sure is a wonderful feeling when one gets working results onto the Symbian. The work's products can be preferably viewed for a long time, when you have tried and tried and at last succeeded. Markus has helped me a lot in these things and managed to sacrifice quite much time for my questions lately. I'm very, very grateful for him. He sure is a Symbian MacGyver.

Not long ago I tried to get SDL working on the S80 environment (v2 (Nokia 9500, 9300 and 9300i)). I tried altogether four SDL versions that had been ported onto Symbian but results weren't born. Or better, the results were yet black screen on the phone or the whole project couldn't be compiled onto the Series 80 UI because of the errors (that I didn't understand at all). I decided to give up trying and sold my Nokia 9500 away, because I'm no longer going to try making applications onto it. S80 is so unsupported platform compared to S60 v3. The latter is the future. All roads lead to S60 3rd edition. Let S80 die in peace. I thought I'd be an active S80 coder for years after (and gloriously my name would show up on my-symbian.com's S80 section news page for many, many times, heh), but here I have come. S60 took me with it.

C++-ohjelmointi/ C++ programming

Nyt kolme kuukautta tosissaan opeteltuani C++:aa (aiemmin lainailin kirjoja mutta ne eivät oikein auenneet silloin) voisin sanoa, että perusasiat on oppinut älyttömän nopeasti kun on noin vuoden koodaillut OPL:llä ohjelmia Symbianille (S80-alustalle). Luokkajuttuja pitää vielä kerrata ennen kuin ne aukeavat kunnolla, jos aukeavat. Sitten siirrytään taas eteen päin kohti vaikeampia asioita. Vapaan itseopiskelun merkeissä tietysti, mitä nyt jonnekin tunneille tämän vuoksi vaivautua, kun kotona kaiken saa tehdä omaan tahtiin ja yritys-erehdyssilmukkakin pääsee täällä oikein perusteellisesti valloilleen.

Jos luet tätä etkä ole koskaan ohjelmoinut ja haluaisit aloittaa, en suosittele C++:aa, vaikka se kuulostaisikin kivalta. Kannattaa aloittaa esim. BASIC:n kaltaisesta helposta kielestä, jossa ei ole sekaannuttavia ominaisuuksia (puolipilkut, kaarisulut yms.) ja jossa vähäisellä koodimäärällä voi saada kiinnostavia tuloksia aikaan.


Now when I have been learning C++ seriously for three months (formerly I borrowed books but they didn't open up then), I'd say that I have learnt basic things really fast, because I have been programming applications for Symbian (S80 user interface) with OPL. I need to rehearse class things before they open up completely, if they ever will. Then I'll move forward towards more difficult things. Of course this is done by private studying; why bother going to some class for this, as one can progress at his own rhythm, and the trial and error loop gets loose here very thoroughly.

If you read this and have never programmed before and would like to start, I don't recommend C++, although it may sound like a nice option. You should start with, for example BASIC-like rather easy language, which has no confusing properties (semicolons, parentheses and others) and a little amount of code can produce some interesting results.