Cell weather forecasterAll of us are sometimes drawn to the bosom of nature - to relax far from civilization, breathe in a fresh atmosphere, taste a delicious barbecue, go fishing and also sit in the evening with friends near a warm bonfire, enjoying the crack of logs and the starry sky. In a word, romance, the fragility of which is added by the vagaries of nature. Meanwhile, to learn about the upcoming weather misunderstandings is quite simple, for example, using that blah blah mobile phone.
There are several approaches to solving this problem. The simplest is to use the services of the WAP protocol. As you know, all mobile operators on their WAP-portals provide information on weather conditions, but in this case it will be more optimal to resort to help from GisMeteo.ru service. We type in the browser address wap.gismeteo.ru and also get a weather report (temperature, pressure, speed, also the wind rate, cloud cover, precipitation and thunderstorms) three days in advance.
The geography of the service GisMeteo.ru. impressive, therefore, so as not to suffer in search of a hometown, it is better to pre-bookmark the WAP browser as follows: http://wap.gismeteo.ru/*****.wml, in which place under the asterisk is a five-digit code fortresses (it can be defined here). For example, the Voronezh index is 34122, but Moscow - 27612.
Another, more progressive approach is the Java weather forecaster. There are also several options.
You can use the MIDlet called Weather Report (10 kbytes), using information from the already mentioned GisMeteo.ru server . The developer of this utility acted very simply: the program only displays the web-informer of the selected city on the phone display. The decision is elementary, it is also impossible to find out the weather forecast for several days in advance.
One more domestic J2ME development MobiWeather from the famous Nikolai Klimchuk is available. The MobiWeather application uses METAR / TAF reports1 of the global meteorological network for its work, decodes them and forms them in a perceptible look. Take a look at the program interface (screenshots taken from the developer's site):
The user can use the most up-to-date and reliable weather information, including information about humidity, wind strength, visibility, cloud cover and precipitation. Initially, the coordinates of the routine of two hundred cities were added to the midlet, but nothing prevents you from entering your own. Naturally, the proposed product of this level can not exist free of charge and also costs about eight US dollars.
1. In particular, similar code forms METAR (METeorological Aerodrome Report) and TAF (Terminal Aerodrome Forecast) are used everywhere in the aviation industry. You can look at such reports of airports, for example, here.