Debasis56 / My-Garden-Widget-App

My Garden is a simple app that allows you to add plants to your garden and keep them alive by watering them on time. The app illustrates the power of widgets and collection widgets by making it easier for the user to monitor and water their plants from the home screen. It makes use of a widget provider which defines the customized widget screen and actions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

My Garden

The app

My Garden is a simple game that allows you to add plants to your garden and keep them alive by watering them on time. The app illustrates the power of widgets and collection widgets by making it easier for the user to monitor and water their plants from the home screen. It makes use of a widget provider which defines the customized widget screen and actions. We use the widget as a Broadcast Receiver to provide services for watering plants that haven't been watered. The plants with the longest last_Watered time is shown in order to be watered first. Once the plant exceeds the maximum_watered time, the plant dies, after which it could no longer be watered. The widget screen also changes from the simple linear layout to grid layout once the width of the widget exceeds 300dp. In the grid layout all the plants in the garden are shown. Each plant is associated with a fillInIntent which tends to store the id of each plant and open that respective plant when clicked. The Grid Layout automatically refreshes when it notices any changes with the plant in garden. This is a dynamic app and the app keeps updating the image of the plants as it gets on growing older.

Screenshots

Screenshot 2022-01-20 at 7 40 22 PM Screenshot 2022-01-20 at 7 39 05 PM Screenshot 2022-01-20 at 7 38 26 PM Screenshot 2022-01-20 at 7 36 52 PM

About

My Garden is a simple app that allows you to add plants to your garden and keep them alive by watering them on time. The app illustrates the power of widgets and collection widgets by making it easier for the user to monitor and water their plants from the home screen. It makes use of a widget provider which defines the customized widget screen and actions.


Languages

Language:Java 100.0%