Skip to main content

eloijr's Blog

DateField for LWUIT

Posted by eloijr on October 26, 2009 at 7:40 AM EDT

Yes, there is a DateField component for LWUIT and it is ready for use! It is localized too! It was created by Marlon Luz from IndT, Manaus, Brazil, and the Tranqueira Project is using it.

With this DateField it is very easy to configure date formats and check for a valid day, month and year and fix these values, if there is something wrong with them. Because I guess it is not interesting to show the input mode (“123”) for this component, I decided to unable this resource on Tranqueira Project.

DateField is using a great characteristics of LWUIT: its similarity with Swing. It is using a descendant class of DefaulLookAndFeel (DateFieldLookandFeel) to draw some graphics difference between DateField and TextField (its ancestor).

It can be enhanced and become even better. Try Tranqueira Project but try the DateField used in this project too.

Comments

Tranqueira? haha English

Tranqueira? haha English speakers will laugh when they translate this word. Nice app.

Hi Helio, It is just one of

Hi Helio, It is just one of the reasons that gringos like the Brazilians! We do everything with creativity and fun! Thanks, Eloi Jr

Where can I get the component?

Hi, Great news, but could you provide some links where I can actually find the component, the mentioned project and related information? Iwan

Sorry...

Sorry, The link of the Tranqueira project is https://tranqueira.dev.java.net. Take a look on it and check out the DateField class! The Devolvido class is one of the class of the project that is using the DateField! Thanks for your interest! Anything else, I'm here! Eloi Jr

Hi, I have tried to implement

Hi,
I have tried to implement your date picker but I am having some issues. It shows the date picker well but when you type the date/month you want it doesnt pick the correct data you typed. I have included two classes in my project; DateField and DateFieldLookAndFeel, do I need any other? Please guide me on how to achieve this as Lwuit's native calendar is not suited at all for what am trying to achieve.
Thanks in advance.

Loans, loans and loans...

Posted by eloijr on September 10, 2009 at 8:04 AM EDT

It was a Sunday morning when finally I decided to organize some books that had been scattered in cartons for a long time. I wanted to put them on the bookshelf, when I saw three books that were not mine. I was surprised! Those books brought back memories when I was a boy in high school. I was remembering that I had borrowed those books a long time ago and never returned to their owner. Sure, the owner of the books forgot about loaning them to me. Can you imagine a book loaned for over 10 years?

That situation brought back memories of the previous day: one of my ubuntu installation cds was damaged and the other was on loaned to someone and I couldn't remember who. My Internet was down and I was forced to stop what I was doing. I could not download ubuntu.

So, I thought, “We often loan small yet important things to friends, but simply don't  remember to whon and often our friends don't remember to return our stuff.”

The Tranqueira project initiate to meet this need. Normally our cell phone is closer to us than desktop computer. So, it would be great to have a small software to solve a little problem with loans that runs on mobile devices. That would be a great idea!

If you have already had this kind of problem or need, I invite you to try the Tranqueira project.

The Tranqueira project is based on LWUIT (for defining the user interface) and Floggy (persistence manager) and works in any device with CLDC 1.1 and MIDP 2.0.

To get more information about the Tranqueira project or download it, please take a look at: tranqueira.dev.java.net

Related Topics >>

Comments

Congratulations

I congratulate you for this project.

Thanks a lot

Thanks Emmanuel, I am sorry about the delay to answer you! Eloi Jr