Sunday, March 15, 2009

Installing and checking the SDK 1.2

Now we can install and check the SDK
version 1.2. I use this for maximum
compatibility (at the time of this
writing it is the oldest available). I own
a Nokia 3660 so I wish to compile
programs compatible with the series 60 platform 1.x. Other SDKs have similar
installation procedures. Unzip n 6 0 _ s d k _ 1 _ 2 . z i p , and then run the contained s e t u p . e x e . Perform the following test to check if it
is working: > c d C : \ S y m b i a n \ 6 . 1 \ S e r i e s 6 0 \ S e r i e s 6 0 E x \ f o r m \ g r o u p > b l d m a k e b l d f i l e s > a b l d b u i l d w i n s u d e b You should expect NO error messages.
Unfortunately, sometimes Perl may not
be able to find an E n v 3 2 . p m file. To fix this problem I simply edited: C : \ S y m b i a n \ 6 . 1 \ S h a r e d \ E P O C 3 2 \ T o o l s \ B L D M A K E . B A T and changed p e r l - S b l d m a k e . p l % 1 % 2 % 3 % 4 % 5 % 6 % 7 % 8 % 9 into: p e r l - I c : \ s y m b i a n \ 6 . 1 \ s h a r e d \ e p o c 3 2 \ t o o l s - S b l d m a k e . p l % 1 % 2 % 3 % 4 % 5 % 6 % 7 % 8 % 9 The problem is that for some strange
reason, some Perl libraries are placed in
a different directory and not in the
default Perl search path. This way, I
simply told the Perl interpreter where
to find the missing E n v . p m. To test if the build works, launch the
emulator, using the icon installed in the
start menu for your SDK. You should see
(as one of the latest icon of the
emulated phone menu) an icon with
the name "Form". Clicking on it will launch the example (that we just
compiled) straight in the emulator.
Enjoy a demo of the available form
options for the Symbian Series 60
platform! Well, if everything is working in the
emulated environment, maybe you are
wondering if things work in the real
one, your phone. You can now check if
you are able to build an installer for a
phone. Run these commands: > a b l d b u i l d t h u m b u r e l > c d . . \ s i s > m a k e s i s You should end with a . s i s file in your directory. Send it to your phone
(by Bluetooth or other means) and if
your phone is SDK 1.2 compatible, the
installation will perform just fine and
the application will run in the same
way it worked in the emulator.