So being a college student.We often don't have enough time to look up the weather forecast and dress according to it while rushing to an early morning class.The weather is so unpredictable that we may go out wearing a nike jersey and come back shivering and drenched in rain.This affects ones health and daily routine.So after many unfortunate experiences ,I had this idea of how an program could help me tell what to wear depending on the average weather of the day.

So the program has the database of the clothes a person has.Whenever the program is run, it receives the meteorological data from an online weather forecast website and decides the clothing a person must wear.It then asks the person for a color of his choice for each clothing article which would then be used to select a random clothing article from his inventory which also satisfies the weather conditions.It then displays the pictures of the chosen clothes.

I built it using java.I used an API and an inbuilt library to display the images.I have an inventory which has many arraylists containing the different clothing articles which are objects of different classes.

The main challenge I ran into was trying to import the weather data from the website and displaying the images.The logic to choose the clothing were also quite lengthy.

I am proud that my program could actually help college students.I also feel proud about the fact that I learnt how to display images in java and also learn a lot about JSON and how to use urls in java.

I learned that coding requires methodical procedures and needs careful debugging .Also coding is even more fun when required to do in a tight time constraint.Also I learnt a lot about JSON and using images in java.

The next step for this project would be to make it a mobile app where you can directly use the photos taken through your mobile as the inventory.Also make it even more efficient by taking the weather forecast for shorter periods then the present 12 hours.

Built With

Share this project:

Updates