Java
Switch branches/tags
Nothing to show
Latest commit 0afa2d4 Mar 2, 2017 @crazyhitty fix: Fixed bug related with viewpager and orientation changes.
Fixed a bug where application was crashing on PostDetails and UserProfile screens due to NullPointerException. This exception was being thrown because accessing some elements of fragments of a viewpager after orientation changes  would be null, thus the application would crash with NullPointerException. So, from now on the viewpager fragments are accessed via fragment manager instead.
Permalink
Failed to load latest commit information.
.idea
app
gradle/wrapper feat: Initialized product hunt wrapper. Jan 1, 2017
producthunt-wrapper feat: Added User Profile support. Feb 26, 2017
screenshots
.gitignore feat: Initialized product hunt wrapper. Jan 1, 2017
Capstone_Stage1.pdf
LICENSE Initial commit Dec 23, 2016
README.md fix: Fixed categories bug. Feb 27, 2017
build.gradle feat: Generated signed config and added release keystore. Jan 27, 2017
gradle.properties feat: Initialized product hunt wrapper. Jan 1, 2017
gradlew feat: Initialized product hunt wrapper. Jan 1, 2017
gradlew.bat feat: Initialized product hunt wrapper. Jan 1, 2017
settings.gradle feat: Initialized product hunt wrapper. Jan 1, 2017

README.md

Predator for ProductHunt

Get it on Google Play

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.

Permissions required

  • CONTACTS: This permission is added due to the usage of android.permission.GET_ACCOUNTS as the application uses android's account manager to store the auth token securely (token which is required while communicating with the server).

Installation instructions

  • Clone this repository using git clone https://github.com/crazyhitty/Capstone-Project.git
  • Download Authorization.java and paste it in producthunt-wrapper\src\main\java\com\crazyhitty\chdev\ks\producthunt_wrapper\rest\
  • Add appropriate API_KEY and API_SECRET into the Authorization.java file. You can generate these from here. 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
  • Now, from the root directory of the project run gradlew installRelease (windows) or ./gradlew installRelease (linux) as this will install the release build of the application in your device.

Features

  • Minimal and simple user interface, which user can get easily acquainted with.
  • View 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).
  • Delightful animations to encourage the user experience.

Screenshots

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

MIT License

Copyright (c) 2016 Kartik Sharma

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.