An Android application that uses Zappos API and lets a user pick their desired product(s) and then notifies them when the price hit at least 20% off the original price
This portfolio contains the screenshots of the app : https://www.behance.net/ykh015
Description of the Files:
- DiscountChecker.java It is the first activity which starts whenever the app is started. It checks for the discount of the favorited products (products in the database). Checks the percentoff for every favorited item matching the ProductId and StyleId. If the discount is greater than or equal to 20%, the user gets a notification.
- Category.java After sending notifications, the categories of the products are shown. In this app only 5 categories are being used : Boots, Kettles, Lipsticks, Shoes and Jeans.
- Product_List.java When the user selects a category, all products are shown in that category.
- SingleProduct.java When a user clicks on a particular product, the name, brand name, price, original price, discount and image are shown. The user ha an option to "Mark as Favorite" an item. When he clicks on that, the item is stored in the database. If the item was previously marked as favorite, then the user can "Remove as Favorite" an item. After clicking that, that particular product is removed from the database.
- DiscountProduct.java It is similar to SingleProduct.java. It is called when the user clicks on a particular notification.
- DatabaseHandler.java It contains all the database related operations.
Furure Improvements:
- Currently the app checks the discount when it is started. Later, we can create a service in the background which will periodically check the dicounts of the items and then send notifications.
- The API key is present in DiscountCheker.java and Product_List.java. We can create a string resource for the API key.
- The user interface can be vastly improved.
Extras
- Add Gson and android-support-v4 jar files
- APK file can be downloaded from the link