You are here

leelight's blog

Get the right amount number of rows and columns in MySQL with Java

It is strange that there is no direct way to get the amount number of rows of records, when you programming with Java and MySql.  For example, now I get one result from one Sql quering, I can use this way to get the number of records:

One stupid code to tranfer the time String( such as 21.6.2007) to millisecond in J2ME

In one task I need parse one time string just like 21.6.2007 to millisecond, and I found the Date API in J2ME is so poor that I can take milliseconds to Date easily but no way to do that conversly. And I write one stupid code to do that, but please notice,  this will return one inaccurate result because I have not taken care of leap year(too complex algrithmInnocent).

Here is the code:

 

Blog: 

Display Jpeg Image on Non-Jpeg-Supported Mobile Phone--Jpeg Decode and Encode

If mobile phone does not support JPEG format image, how to display one jpeg image in it? It that possible?

Blog: 

Transfer Special Characters (Unicode) From Mobile Browser to Server

Currently I took one project, it is one POI search service, the user will visit the website of city guide in the mobile phone and search the POIs which are in some distance of his stand position, or he can find the special POIs, this search function could tell the user the direction and the distance from his position.

mobil.FRANKFURT.de

My work project -- Genis

I am very busy currently for the projects in the company, I have no time to write my blog here in the past 2 months and to update the SUAS MapServer project. Here just recorded the my work projects what I have done in the company.

Genis--

This is one GIS mobile management system for one city transport system. This company has already one desktop managerment system, they wanted to transit this system to the mobile device as the extension for the desktop system, so that their employees could use this system to manage and get the required information outdoor.

Blog: 

Carbide.j not found Problem after installed and integrated Carbide.j with Eclipse

Last week I installed Carbide.j (1.5) and integrated with Eclipse (3.2), everything goes fine during the installation and I selected the right path for Eclipse. But after restarting the pc, and tried to run Eclipse that "Carbide.j not found..." popsup inevitably--
that in a small java window with that message alone and an Exit button..

Carbide.j not found from: C:/Carbide/Carbid

And nothing appears under Tools->Carbide.j appart from an "NDSAction" which doesnt do anything anyway if selected. The standalone Carbide can be run.

Blog: 

SUAS MapServer with Mobile Client IV

WMS Tiling Client Recommendation from OSGEO details extensions to and constraints on the OGC WMS 1.1.1 specification for the
purpose of (a) improving the quality and scalability of tiled maps, particularly
on the Web, and (b) making it possible to cache the results of tiled WMS
requests.

Blog: 

Write J2ME Application by using Javascript?

Do you have interest on developing J2ME application? But you have only some basic javascript and XML knowledge, How? Mojax could help you to develop J2ME applicaiton with javascript and XML, without any Java language.

SUAS MapServer with Mobile Client III

10, WMS Browser
Developed by Tom Vijlbrief, you can download this application from http://www.v7f.eu/
It is one OGC WMS map browser client with bluetooth and internal GPS support, if you have no GPS, it is a nice WMS client. You could give the WMS GetMap request url and browse the WMS map.

Blog: 

Pages

Subscribe to RSS - leelight's blog