Facing new challenges everyday

Fetching a Daily Opennms Hardware Report

June 27th, 2008

The code below shows how can you retrieve a daily hardware report from opennms server, you can change this script to fetch the hardware report of several days without care if the current day is the first os last day of month because the date range is calculated in seconds and not based on math operations in day of month.
(more…)

Post to Twitter

How to add an JSF action for event handling to Chartcreator charts

June 24th, 2008

Chartcreator is a very cool charting component for JSF, it uses JFreeChart as rendering engine, chartcreator can render many kinds of charts, including 3D charts, but there are some circunstances where just render charts isn’t enougth and you need some interaction too, I’ll show in this article how can you and some user interaction with Chartcreator generated charts.

Our example is a small piece of JSF code where we have a chart, a script block and a form with a inputText and a commandLink, our idea is simple, the user clicks on any portion of chart image, a imagemap click event is triggered and in javascript code we collect the information about the imagemap portion that we clicked and then pass this data to our inputText, a click is fired on commandLink and the data stored on inputText is set on managedbean property, the managedbean action is called performing some aplication navigation of something else.

(more…)

Post to Twitter

Working a little with FAST ESP

June 22nd, 2008

I’ve been stopped my work on mobile and web development for a couple days because now I’m working on a search engine backend project, this isn’t a easy task because you must try some different configuration settings in order to get the search engine components working properly.

I hope post good information about this work very soon and maybe I can help you someday with this, who knows? :D

Post to Twitter

RSocket bug in S60 SDK third edition

June 14th, 2008

I’m just wondering if this bug will have a solution in future versions of Nokia S60 SDK, this is a very bad bug where the symbian application can’t connect more than 400 times without reboot. How can I create a mobile applications for this platform if I know this will stop because of platform bug? What about stop the development of applications to this platform?

The worst part is, Nokia doesn’t care about bug severity and the only thing that Nokia can say is “this bug will be fixed in future releases of S60 SDK”, terrible!

Nokia really cares with your costumers and how much he can help your costumers? The answer is simple: NO!!!!

Post to Twitter

Hello World with Qtopia (Part 4 – Application Code)

June 3rd, 2008

In my previous articles about Qtopia application development I showed the directory structure for a Qtopia project, the contents of basic Qtopia project file (helloworld.pro) and how to create the application interface with user interface files (helloworld.ui), in this article I’ll talk about the classes to be used in our helloworld application and how we can integrate the user interface files in our applications.

Every Qtopia application requires a initialization code like we have in the code block below:

main.cpp

1
2
3
4
5
6
7
8
9
10
11
/*
We must include the header file below since it contains
the HelloWorld class definition.
*/

#include "helloworld.h"
#include <qtopia /qtopiaapplication.h>

//Set the HelloWorld class as the main class of helloworld application.
QTOPIA_ADD_APPLICATION("helloworld", HelloWorld)
//Add initialization code to this application
QTOPIA_MAIN

In the example above we are using to macros QTOPIA_ADD_APPLICATION and QTOPIA_MAIN, both are only available if qtopia_main is set in CONFIG variable of application project file (helloworld.pro) as described in this article.

(more…)

Post to Twitter

Visitors Around the World

Polls

How Is My Site?

View Results

Loading ... Loading ...

Categories

Meta

Links

hosted by easy2use.net