Skip to content

sushmatn/ImageFinder

Repository files navigation

Project 2 - Image Finder

Image Finder is an android app that allows a user to search for images on web using simple filters. The app utilizes Google Image Search API. Please note that API has been officially deprecated as of May 26, 2011.

Time spent: 9 hours spent in total

User Stories

The following required functionality is completed:

  • User can search for images by specifying a query and launching a search. Search displays a grid of image results from the Google Image API.
  • User can click on "settings" which allows selection of advanced search options to filter results
  • User can configure advanced search filters such as:
    • Size (small, medium, large, extra-large)
    • Color filter (black, blue, brown, gray, green, etc...) -> does not seem to work
    • Type (faces, photo, clip art, line art) -> does not seem to work
    • Site (espn.com)
  • Subsequent searches have any filters applied to the search results
  • User can tap on any image in results to see the image full-screen
  • User can scroll down to see more images. The maximum number of images is 64 (limited by API).

The following optional features are implemented:

  • Implements robust error handling, check if internet is available, handle error cases, network failures
  • Used the ActionBar SearchView or custom layout as the query box instead of an EditText
  • User can share an image to their friends or email it to themselves
  • Replaced Filter Settings Activity with a lightweight modal overlay
  • Improved the user interface and experiment with image assets and/or styling and coloring

The following bonus features are implemented:

The following additional features are implemented:

  • Added shared element transition
  • Added a cardview with rounded corners and display of image dimensions
  • Saving the results into Parcelable array in Save/Restore instance state when device is rotated instead of re-fetching data.
  • Added enter and exit window animation for filter settings dialog.
  • Added 'Visit page' icon on the detail page that takes the user to the webpage where the image was found.
  • Added a progress bar in the actionbar that is displayed when data is being fetched.

Video Walkthrough

Here's a walkthrough of implemented user stories:

imgsearch2.gif

GIF created with LiceCap.

Empty View:

EmptyView.png

Landscape mode:

landscape.png

Portrait mode:

portrait.png

Notes

Describe any challenges encountered while building the app.

Open-source libraries used

  • Android Async HTTP - Simple asynchronous HTTP requests with JSON parsing
  • Picasso - Image loading and caching library for Android

License

Copyright [2015] [Sushma Nayak]

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

    http://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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages