Project 2 - ImageScour
ImageScour 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: 20 hours spent in total
User Stories
The following required functionality is completed:
- [x] 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.
- [x] User can click on "settings" which allows selection of advanced search options to filter results
- [x] User can configure advanced search filters such as:
- [x] Size (small, medium, large, extra-large)
- [x] Color filter (black, blue, brown, gray, green, etc...)
- [x] Type (faces, photo, clip art, line art)
- [x] Site (espn.com)
- [x] Subsequent searches have any filters applied to the search results
- [x] User can tap on any image in results to see the image full-screen
- [x] User can scroll down to see more images. The maximum number of images is 64 (limited by API).
The following optional features are implemented:
- [x] Used the ActionBar SearchView or custom layout as the query box instead of an EditText
- [x] User can share an image to their friends or email it to themselves
- [x] Replaced Filter Settings Activity with a lightweight modal overlay
- [x] Implements robust error handling, check if internet is available, handle error cases, network failures
- [ ] Improved the user interface and experiment with image assets and/or styling and coloring
The following bonus features are implemented:
Video Walkthrough
Here's a walkthrough of implemented user stories:
GIF created with LiceCap.
Notes
- The process of making a basic query to the API was not very difficult.
- It took a lot of time to figure out how to write the class to store the search filter
options, how to wire that up into spinners, and how to have a blank default value for
each spinner on first load.
- These projects really do take many, many hours to complete.
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 Devin Breen
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.