Code Monkey home page Code Monkey logo

martianweather's Introduction

Martian Weather

Workflow result

๐Ÿ“œ Description

This is app is created for #AndroidDevChallenge Week #4. It is a weather reporting application, but to make things more interesting I built the application that reports weather on Mars! I uses data from NASA's InSight Mars lander. The lander is located near the equator at location named - Elysium Planitia. The data is available through the
InSight: Mars Weather Service API

Unfortunately though currently the landers solar pannels are covered with dust and it is placed in power conservation mode and not all data is available. Currently only atmospheric pressure data is available. Hopefully all data will be available soon enough! For demonstration purposes missing data is generated.

๐Ÿ’ก Motivation and Context

My main motiviation for participating in these challenges was for updating my knowledge on android development. I was starting to get back into Android development and just in time the Jeptack compose went into Beta, and I decided that this is a very great time to learn this toolkit!

I had a really good time learning Jetpack Compose. Building dynamic UI, was quite enjoyable, and implementing various ideas was very intuitive.

I am happy, that I manage to draw custom composable for Compass, and also animate the compass needle, so it would look more interesting and would react to movement.

I also managed to implement SwipeToRefreshLayout like behaviour for refreshing the data. Learned a lot about gesture detection in Compose!

๐Ÿ“ธ Screenshots

โ€ƒ

The weather cards can be expanded, to show more detail. Also created swipe to refresh like behaviour for refreshing weather data list.

โ€ƒ

License

Copyright 2020 The Android Open Source Project

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

martianweather's People

Contributors

rcacurs avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.