项目作者: crazyhitty

项目描述 :
Udacity android nanodegree p7
高级语言: Java
项目地址: git://github.com/crazyhitty/Capstone-Project.git
创建时间: 2016-12-23T16:50:37Z
项目社区:https://github.com/crazyhitty/Capstone-Project

开源协议:MIT License

下载


Predator for ProductHunt

Google play Production badge
Google play Beta badge
Rating badge
Build Status

Predator is a minimalistic client for ProductHunt. It shows latest products and collections fetched via ProductHunt api. It also offers other information like media and comments associated with that product.

Installation instructions

  • Clone this repository using git clone https://github.com/crazyhitty/Capstone-Project.git
  • Create api key and api secret for your project via product hunt api console. Make sure to login first on producthunt.com as the previous link will keep on redirecting you onto the main site until you log in. Also, make sure to put this in redirect uri: predator://com.crazyhitty.chdev.ks.predator/oauth2redirect
  • Add those keys in producthunt-wrapper’s build.gradle file:
  1. debug {
  2. if (!project.hasProperty("isReleaseBuild") || "$isReleaseBuild" == "false") {
  3. def apiKey = "\"your_api_key_here\""
  4. def apiSecret = "\"your_api_secret_here\""
  5. def searchUrl = "\"\""
  6. def xAngoliaAgent = "\"\""
  7. def xAngoliaApplicationId = "\"\""
  8. def xAngoliaApiKey = "\"\""
  9. buildConfigField "String", "API_KEY", apiKey
  10. buildConfigField "String", "API_SECRET", apiSecret
  11. buildConfigField "String", "SEARCH_URL", searchUrl
  12. buildConfigField "String", "X_ANGOLIA_AGENT", xAngoliaAgent
  13. buildConfigField "String", "X_ANGOLIA_APPLICATION_ID", xAngoliaApplicationId
  14. buildConfigField "String", "X_ANGOLIA_API_KEY", xAngoliaApiKey
  15. }
  16. minifyEnabled false
  17. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  18. }
  • Now, just hit the run button on your android studio or execute installDebug task to install debug variant of the application.

Features

  • Minimal and simple user interface, which user can get easily acquainted with.
  • View and search through latest posts and collections from ProductHunt.
  • Checkout the media and comments of a particular post and share them with anyone.
  • Sync data in background even if the app is not running, so you can remain up to date with the latest posts and collections (Optional, can be activated via application settings).
  • Notification support.
  • Multiple font support.
  • Delightful animations to encourage the user experience.

Screenshots

alt text alt text

alt text alt text

alt text alt text

alt text alt text

alt text

Contributing

You can contribute to the project by either finding out bugs or by requesting new features.

Community

Google plus

Reddit

License

  1. MIT License
  2. Copyright (c) 2016 Kartik Sharma
  3. Permission is hereby granted, free of charge, to any person obtaining a copy
  4. of this software and associated documentation files (the "Software"), to deal
  5. in the Software without restriction, including without limitation the rights
  6. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  7. copies of the Software, and to permit persons to whom the Software is
  8. furnished to do so, subject to the following conditions:
  9. The above copyright notice and this permission notice shall be included in all
  10. copies or substantial portions of the Software.
  11. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  12. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  13. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  14. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  15. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  16. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  17. SOFTWARE.