Showing posts with label meteolecce. Show all posts
Showing posts with label meteolecce. Show all posts

Sunday, 21 January 2018

MeteoLecce (10): It's online!

In the night between January the 20th and 21th I finally published my first app "MeteoLecce" on Google Play!
We have to celebrate... with water! (I'm almost abstemious...)



Icons made by Freepik from www.flaticon.com is licensed by CC 3.0 BY

You can find it on Google Play 

My first app on Google Play!

Rate me if you want (above all if you come from Lecce :D )

Tuesday, 2 January 2018

MeteoLecce (9): new design!

I want to update the development of my app MeteoLecce. I'll start we the two following pictures:

The main activity of MeteoLecce
Do you see some changes?
I reduced the information on the first activity and I compacted them; in this way we have a much simpler reading of them (I also introduced the colors).

The activity related to the next 3 days weather forecast

Relating to second activity's infos I added 4 icons for each day (at the times: 0 - 6 - 12 and 6 P.M.). Tempeatures are two: high/low.

I hope to share my app on Google Play soon.

Tuesday, 12 September 2017

MeteoLecce (8): added some further informations and improved UI.

Little steps, but I'm glad I got here. I added informations about temperature and humidity for the next three days and improved the alignment of textView in both of the activities.
This is the restult:

MeteoLecce main UI 
MeteoLecce secondary UI 


Friday, 8 September 2017

MeteoLecce (6): To-Do List

I try to make a to-do list for next things I want to insert in the app:


  1. weather forecast for the next 3 days;
  2. possibility to take pictures and send to the official email account;
  3. re-call infos from a remote database (past weather: saving day-by-day actual weather situation);
  4. ...and so on

MeteoLecce (5): how to manage a json array

Extract a parameter from the json array.
Below the json string:

{"coord":{"lon":18.17,"lat":40.36},"weather":[{"id":801,"main":"Clouds","description":"few clouds","icon":"02d"}],"base":"stations","main":{"temp":299.93,"pressure":1013,"humidity":69,"temp_min":299.15,"temp_max":301.15},"visibility":10000,"wind":{"speed":8.7,"deg":120},"clouds":{"all":20},"dt":1504862100,"sys":{"type":1,"id":5749,"message":0.0227,"country":"IT","sunrise":1504844509,"sunset":1504890427},"id":6542124,"name":"Lecce","cod":200}

If I want to obtain the weather "description" I have to use array method on the previous string like this:

Extraction of the weather descprition from the json array.

MeteoLecce (4): wind and sky

I'm arrived to insert wind infos by conversion of the string in degree to string, i.e.: 170 >> "Sud".

The function to convert degree in string human comprehensible (wind).

And the sky situation. This is how the application looks like at the last update:

Screenshot of the last update.

Wednesday, 6 September 2017

MeteoLecce (3)

At this point of the opera I met a problem. In a mix of reasearches I read something on stackoverflow.com, but the best solution to my situation was on YouTube so I decided to write a post on stackoverflow.com, this is the link:

Android - android.os.NetworkOnMainThreadException

and this was my post:

My post on stackoverflow.com

Tuesday, 5 September 2017

My first app comes to life (MeteoLecce 1)

I have the idea to create a new app starting from the data about the weather of Lecce.
I can start from some information of the actual situation:

  • temperature
  • humidity
  • wind: direction and power
I have the intenction to create a very simple interface and a few parameters inside. I want to show you an handmade preview:

What do you think?