My ongoing intenship
Quick peek what I'm up-to these days
This entry is more personally oriented, to reflect on what I'm currently up to, in comparison to my other entries in mobile development.
Back in July I received fair offer for 8 weeks internship with SourceSense, London office. Company is involved and interested in open source development, Agile methods with Extreme Programming (XP) and Scrum.
How to browse file structure of mobile device with JME
Example of simple way to browse files on mobile phone
Display - Best Practice (hopefully)
How-To manage display change from screen to screen
For some time I was happy with the way I've written the code to handle showing information on device display. This topic was not discussed at my university, I guess no one actually does it, we were just provided with sample application that did whatever task been showcased during the lecture. Same applies to books that I've read so far, in regards to mobile development ( Beginning J2ME: From Novice to Professional, Kicking Butt with MIDP and MSA - Creating Great Mobile Applications, Enterprise J2ME Wireless Applications and J2ME in a Nutshell), not one of them actually explained how display changing action should be performed. After recently starting to study for my SCJP exam (SCJP Sun Certified Programmer) I asked my self "Do I really do it the best way?".
Contact sorting - Contact List, Part 3
Simple sorting of data from RecordStore
This is the final part of my little tutorial/coursework re-do, where I will show you how easily can stored contacts be organised.
Some of you may know that RecordStore works on base of LIFO - Last In, First Out approach. For example if record has been added in the order: peter, marta, bruno, mark they will be read out of RecordStore in reversed order as: mark, bruno, marta, peter. To get contacts sorted, there are two options; either try to put contacts in order every time new contact is added or, try to put them in order once they read out from RecordStore, just before they get displayed on screen. The first option is overkill as it is just too much work for application to perform each time new record is stored and pretty much useless (read all records, add new record in correct position and overwrite previous data), so second option is the obvious choice.
GUI design - Contact List, Part 2
Use of CustomItem
First task is to come up with user interface design. As the template of what I expect to have I previously mentioned I will use component layout from Sony Ericsson W910. Traditionally once user is inside main menu, set of 3 x 4 icons, and select Contacts the screen view will presents list of all contacts plus on top of it there is "New contact" option (on real device there is also "Myself" to create personal business card, but for the moment we can ignore that).
How to add resources to IntelliJ IDEA and NetBeans
Add image, sound, video or JAR files to your project in IntelliJ IDEA or NetBeans
From my web site log files I learn that some of the visitors been looking for a way to add resources (images, videos, sounds, libraries and others) to their mobile or other projects through NetBeans and IntelliJ IDEA.Until this day, I haven't got anything in regards of this topic so here we come. I will show you how I usually do it. I'm not sure if it is correct way to do it (if it is wrong and you know more appropriate way please do let me know) so consider it as sort of hack. On the end of this entry you can find link to download an example of small mobile application created in NetBeans with Java Platform Micro Edition SDK 3.0, it will also work with Sony Ericsson SDK 2.5.0.3. It will not work under Sun Java Wireless Toolkit 2.5.2 as this does not include Mobile Media API (JSR-135) library that I used for playing MP3 files in provided example.












