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

torstai 1. marraskuuta 2007

Nokia E90:n SDK kansalle!/ Nokia E90's SDK for the people!

Mielialani nousi tavallista korkeammalle, kun My-Symbian.com-foorumin jäsen bigc raportoi uutisen, jossa kerrottiin, että Nokia E90:n SDK:ta saadakseen ei enää tarvitse ottaa osaa Forum Nokia S60 API Partnering Programiin, vaan nyt se on kaikelle kansalle ladattavissa Forum Nokian sivulta. Samalla sivulla on myös muita E-sarjan API:ja, ja nekin täysin maksutta ladattavissa. Parhain ohjelmointiin ja ohjelmien kehittämiseen liittyvä uutinen OpenC-pluginin jälkeen omasta mielestäni. Hienoa, Nokia!


My mood elevated onto higher levels than usual, when a member of My-Symbian.com forum, bigc, reported a news which told that in order to obtain Nokia E90's SDK one doesn't have to participate to the Forum Nokia S60 API Partnering Program, but now it's downloadable for all the people on a Forum Nokia page. On the same page there is also other E-series APIs, and they are also there just waiting to be downloaded with no kind of payments needed. I think this is the best news concerning programming and application development after the OpenC plugin. Bravo, Nokia!

maanantai 10. syyskuuta 2007

Nokia E90:n emulaattori PC:lle?/ Nokia E90's emulator for PC?

Latasin S60 3rd Edition FP1 SDK:n ja käynnistin emulaattorin ja ihmetyksekseni huomasin, että Nokia E90:n näytön kokoista tilaa ei ollut saatavilla (800 x 352 pikseliä). Etsin tietoa netistä ja sain selville, että sellainen täytyy ostaa Forum Nokia S60 API Partnering Programin kautta.

Onnekseni SDL-peliohjelmoinnissa ei tarvitse E90:n APIa, koska pelin testaamisen voi hoitaa myös PC:n kautta (kiitos SDL-koodin alustariippumattomuuden).


I downloaded the S60 3rd Edition FP1 SDK and started the emulator and for my amazement I noticed, that there were no screen size available equal to the Nokia E90's (800 x 352 pixels). I searched the internet and found out that you have to buy one via Forum Nokia S60 API Partnering Program.

For my fortune, programming a game with SDL doesn't need the E90 API, as the testing can be done on the computer (thanks to SDL code's platform independency).

maanantai 3. syyskuuta 2007

S60 SDL toiminnassa!/ S60 SDL working!

On kyllä syytä juhlia nyt, kun viimeinkin sain SDL:stä kaiken haluamani toimimaan S60-ympäristössä emulaattorille. Viimeinen ongelmani oli kuvan lataus, joka ei millään onnistunut. Yritin ladata sitä ohjelmassani komennolla:

  kuva = SDL_LoadBMP("kuva.bmp");

Tällöin kuva olisi ladattu oletushakemistosta eli SDK:n \epoc32\release\winscw\udeb\z\private\[UID] -kansion sisältä. Täältä se ei siis millään ilveellä latautunut, mutta kun muutin hieman polkua koodissa ja kopioin kuvan ko. kansioon:

  kuva = SDL_LoadBMP("C:\\kuva.bmp");

...niin johan alkoi tapahtua! Kuva näkyi hienosti näytöllä, eikä mitään virheellistä ollut havaittavissa. Kansio on tuossa tapauksessa \epoc32\winscw\c\.
Jotain ongelmaa sen kanssa tosiaan on silloin, kun tuolta UID-hakemistosta yritetään kuvaa ladata. Tulokseksi tulee siis tuolloin pelkkä musta ruutu. Nyt on kuitenkin kaikki hyvin ja voisi jotain peliä alkaa väsäämään SDL:llä.

Symbian-guru Markus Mertamalle vielä julkinen kiitos siitä hyvästä, että hän on auttanut minua paljon saadakseni tämän SDL:n toimimaan S60 3rd Edition -ympäristössä. Ja suuri kiitos siitä, että hän on portannut SDL:n Symbianille!


It's time to celebrate now when I finally got everything in SDL working on the S60 environment for the emulator. The last problem was loading the image, which didn't work at all. I tried to load it with the command:

  kuva = SDL_LoadBMP("kuva.bmp");

This way the image file would be loaded from the default directory, that is inside the SDK's \epoc32\release\winscw\udeb\z\private\[UID] folder. From there it didn't get loaded in any way, but when I changed the code a little bit and copied the image file into the folder:

  kuva = SDL_LoadBMP("C:\\kuva.bmp");

...something really started happening! The image showed up brilliantly on the screen, and nothing erroneus was in sight. The folder in that case is \epoc32\winscw\c\.
Some problems I had with it, when the image is tried to be loaded from the UID folder. The result will then be just a black screen. But, now it's all right and I could start to make some kind of game with SDL.

For the Symbian guru Markus Mertama I'd like to give a public acknowledgement for the good he has given to me by helping to get this SDL working on S60 3rd Edition environment. And a huge thank you for porting SDL onto Symbian!