Yet Another Hacker News Android Client

Related tags

App yahnac
Overview

Yahnac

Get it on Google Play

Build Status

Description

Yet Another Hacker News Android Client

You can use this app to keep up to date with the latest news from Hacker News:

  • Top Stories
  • New Stories
  • Best Stories
  • Show HN
  • Ask HN
  • Jobs
  • Bookmark stories: Yahnac also allows you bookmark the stories like, so you never lose track of them.

Data source

The application is using the new HackerNews API for fetching all the stories. Unfortunately, the API is not ready yet fetching comments properly so the solution for now is to scrape the website.

Tests

Yahnac has tests around the parsing of Stories and Comments. You can execute them by using the new Unit Testing functionality added to Android Studio. You can learn more about testing and how to run them

Links

Here are a list of useful links:

  • We always welcome people to contribute new features or bug fixes, here is how
  • If you have a problem check the Issues Page first to see if we are working on it

License

Copyright 2015 David Gonzalez

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.
Comments
  • Links appear to be invisible

    Links appear to be invisible

    Can't tell if the text is white or not there at all

    This happens on my Nexus 6P, screenshot below, the hyperlink should be on the third line (where the gap followed by a slash is)

    Screenshot

    opened by peteryates 7
  • Share icons in article and comments menus too big

    Share icons in article and comments menus too big

    The menu icons in menu_comments.xml are different sizes; the share icons from action_share are bigger than the normal size for a menu icon. They should be 24dp (guidelines), but appear to be 36dp instead. The icons for action_article and action_bookmark and the up button are the correct size.

    I tried fixing the share button by adding android:icon="@drawable/ic_share" (to at least set the share icon to the correct size, as the ic_share draw able is the correct size) to the item, but I didn't see any change as a result.

    Got help from @Chainfire and tried: http://stackoverflow.com/a/24472038 & http://stackoverflow.com/a/21922282. The icon changed, but it got for some reason it scaled up and became blurry, so neither worked (I tried with your @drawable/ic_share and the built in @drawable/abc_ic_menu_share_mtrl_alpha).

    I think android.support.v7.widget.ShareActionProvider just hasn't been updated to meet the new guidelines.

    Possible solution: switch to another share implementation. I wouldn't mind attempting to handle this; it would be a good learning experience for me. Any suggestions/thoughts?

    Great client, by the way. Installed it yesterday and I've really been enjoying it. Seems very well written, too.

    opened by ethanmad 5
  • Zoom buttons display on the navigation bar

    Zoom buttons display on the navigation bar

    Don't think this one is going to require much description. In the newest update, scroll up or down in the in-app browser. (Look at the navbar). Moto G, 5.1

    2015-06-21 19 06 03

    opened by JaspervanRiet 4
  • Fixed icon inconsistencies

    Fixed icon inconsistencies

    I noticed that the icons didn't look quite right so I just wanted to fix them with the icons from the material icon pack, but that led to some other problems which in turn resulted in having to change the layout quite substantially. I want to add that I'm still very new to android development so any feedback here is welcome!

    opened by brinsche 4
  • Update Travis-CI support.

    Update Travis-CI support.

    Merry Christmas @malmstein!!!

    This PR contains the fix for #31. The fix is based on:

    • Update Travis-CI configuration. Travis-CI does not support Android Build tools 23.0.2 so I've changed the version used to the one supported: 23.0.1.
    • Update the root build.gradle file to remove some not needed dependencies.
    • Remove some code was not compiling. Please review this carefully, I don't why was not compiling.

    The problem you had with your Travis-CI configuration it's not related to the application build. The problem is in your artefacts repository hosted at http://ci.novoda.com/maven/releases which is completely down or not accesible from the Travis-CI environment. Http requests to this repository were getting timeouts continuously and that's why all your Travis-CI builds were failing.

    MerryChristmas

    opened by pedrovgs 2
  • Utilize Chrome Custom Tabs Feature

    Utilize Chrome Custom Tabs Feature

    I think it could be useful to utilize the new Chrome Custom Tabs that has come out for the in app browser. Some benefits:

    • Uses a Chrome instance, so logins and such will be used in the app.
    • Will still look like a normal WebView within the app
    • Can pre-load URLs. I think a good use case for this would be when a user reads the comments, they could pre-load the URL

    Just an idea.

    opened by AaronRietschlin 2
  • Menu icons in articles and comments don't ripple

    Menu icons in articles and comments don't ripple

    There should be a ripple on the icons when they're touched or held down. Seems like only the article and comments menu icons are problematic.

    I've had this issue in one of my own apps and I'm not sure what the solution is.

    bug 
    opened by ethanmad 2
  • Backstack lost when coming from Recents

    Backstack lost when coming from Recents

    When viewing an article and then going to recents, you can't get back to the main article list without launching it from the launcher

    Repro steps:

    • Open an article
    • Press the home button
    • Press recents and select yahnac
    • Press the back (or up) button on the article view

    Expected result: The app will go back to the list of articles

    Actual result: The app exits and you return to your previous app.

    Thanks :)

    opened by amlcurran 2
  • Copyright violation

    Copyright violation

    Hi @malmstein

    I found this app on the Google Play Store. This guy just took your source code, added some ads in it and put it on the Store, without warning this is free software...

    As you are the owner of the source code, feel free to open a request to google here to remove the false app from the Store, if it's your wish ;)

    Don't forget to tell Google that:

    • The app is licensed under Apache v2 license and this guy is violating it;
    • He is falsely claiming he made the app;
    • Provide screenshots of your app and a link to the real (yours) app.
    opened by Poussinou 1
  • Remove optional trailing newline characters from styled comments.

    Remove optional trailing newline characters from styled comments.

    This patch fixes issue #48.

    Html.fromHtml() adds newline characters to the end of the styled text if the comment consists of multiple paragraphs (<p>..</p> <p>..</p>).

    opened by pocmo 1
  • Whitespace / empty line after comments

    Whitespace / empty line after comments

    After some comments there is an empty line (see screenshot). CommentsParser already filters empty spans but maybe the markup has changed a bit (like it did in #46).

    comments-whitespace

    opened by pocmo 1
  • Improve GRADLE build Performance

    Improve GRADLE build Performance

    Incremental compilation. Gradle recompile only the classes that were affected by a change. This feature is the default since Gradle 4.10. For an older versions, we can activate it by setting options.incremental = true.

    ===================== If there are any inappropriate modifications in this PR, please give me a reply and I will change them.

    opened by shisheng-1 0
  • Be able to mark items not to be displayed in the

    Be able to mark items not to be displayed in the "best" tab

    The "best" tab is great for getting up to date with HN, but when I have been offline for four days it will also display news from eight days ago, interleaved with the rest. It would be great to be able to mark items as read (swiping or otherwise), or at least define the maximum age of a post to be considered relevant.

    An example case: the last post by PG has been there in my top three articles for an entire week. Past the first two days, it's just noise.

    opened by icoloma 0
  • Bigger scroll trigger when scrolling up in the comments

    Bigger scroll trigger when scrolling up in the comments

    When scrolling the comments view, it's not uncommon to scroll up a couple of lines to read something that you may have passed by skimming too fast. When you do that, the header will appear scrolling down and hiding the information that I wanted to see, forcing to scroll up even more. With a long post, this can happen multiple times.

    Adding a bigger amount of scroll up to trigger the display of the header would solve this. This could get tricky with the initial page of comments.

    This is not an important issue, and could just be ignored if the implementation is not trivial.

    opened by icoloma 0
  • Publish on F-Droid

    Publish on F-Droid

    Some people (myself included) have chosen not to install Google Play services on their devices. It'd be nice to have this app published on F-Droid to make it more accessible.

    question 
    opened by bandali0 2
Releases(v1.3.0)
Owner
David González
David González
Hacker News Android App - Made with Kotlin

HackerNewsApp Hacker News Android App - Made with Kotlin Simple app that request, the latests HackerNews posts and allows to delete items from the cli

Fernando Herrera 1 Dec 8, 2021
Android News App built in kotlin with implementation of MVVM architecture, android navigation components and retrofit. Displays news to users allowing them to share and save news.

News-App Android news app built in kotlin that fetches news data from news api with Retrofit and displays news to users. This App follow MVVM architec

Raj Manjrekar 16 Dec 29, 2022
A news app made using android studio in Java with features like favourite news, Location detector for local news, and especially made with HUAWEI APIs

HuaweiGlobalNewsApp A news app made using android studio in Java with features like favourite news, Location detector for local news, and especially m

Christian Imanuel Hadiwidjaja 1 Oct 30, 2021
News-App - A news app Which displays news with the help of JSON data

News-App This is a news app Which displays news with the help of JSON data

Lalith Sharma 0 Feb 16, 2022
A News Application Shows Breaking News of the Country with a feature to save News for future Use.

A News Application Shows Breaking News of the Country with a feature to save News for future Use.You can search news on any topic.Used all latest stuffs in android like Navigation Component, MVVM Architecture, Retrofit, Room DataBase, Kotlin Corutines etc

Aman Bhatt 2 Oct 20, 2022
Yet another barcode scanner for Android

Binary Eye Yet another barcode scanner for Android. As if there weren't enough. This one is free, without any ads and open source. Works in portrait a

Markus Fisch 802 Dec 31, 2022
Yet another static code analyzer for malicious Android applications

Androwarn Yet another static code analyzer for malicious Android applications Description Androwarn is a tool whose main aim is to detect and warn the

Thomas D. 422 Dec 28, 2022
Yet another ToDo app, but the UI completely written in Jetpack Compose!

Yet another ToDo app, but the UI completely written in Jetpack Compose!

Wisnu Kurniawan 134 Dec 31, 2022
This is a News Application for android mobiles, fetching news through Guardian API.

News-In-Hand This is a NEWS FEED APP which gives a user regularly-updated news from the Internet. To achieve this, I use the Guardian API. This is a w

Bhramar Virmani 1 Nov 5, 2021
NewsFeedApp - An android news-feed-app which shows latest news of various sources

NewsFeedApp An android news-feed-app which shows latest news of various sources

Srihitha Tadiparthi 4 Aug 8, 2022
Newesy is news app which uses NewsAPI to fetch news.

Newesy is news app which uses NewsAPI to fetch news.The main aim of this app was to learn Modern Android Architecture (MVVM).It uses MVVM,Kotlin-coroutines,Room,ViewModal,Retrofit,GSON and Navigation graph

SHANTANU RATHOD 7 Oct 29, 2022
The News App has been carried out within the framework of the MVVM architecture, information about news is obtained by consulting an API, it is built usisng Jetpack Copose, Coroutines, Dependency Injection with Hilt and Retrofit

Journalist The News App consists of an application that displays the latest news from EEUU from an API that provides official and updated information.

null 0 Nov 3, 2021
📱:newspaper: Android client for the Nextcloud news/feed reader app

Nextcloud News Reader – Android App The Nextcloud News Reader Android App is under AGPLv3 License terms. Bugs and enhancements can be reported under:

Nextcloud 589 Dec 31, 2022
📱:newspaper: Android client for the Nextcloud news/feed reader app

Nextcloud News Reader – Android App The Nextcloud News Reader Android App is under AGPLv3 License terms. Bugs and enhancements can be reported under:

Nextcloud 591 Jan 8, 2023
Mobile client for official Nextcloud News App written as Kotlin Multiplatform Project

Newsout Android and iOS mobile client for Nextcloud news App. The Android client is already available to download in the Play Store. F-Droid and Apple

Simon Schubert 118 Oct 3, 2022
this is a news to the client

QuickNews This is a news client, similar to netease, news headlines Set up(eclipse) QuickNews is a run project and vitamio is a library project. Downl

null 883 Dec 7, 2022
Just another Quotes app with beautiful UI which shows random quotes from the internet

RandomQuotes Just another Quotes app with beautiful UI which shows random quotes from the internet. Screenshots Libraries Volley Android Material API

Hamza Aziz 5 Mar 2, 2022
An unofficial Zerotier Android client patched from official client

An unofficial Zerotier Android client patched from official client

KAAAsS 819 Dec 29, 2022
MEGA Android Client - A fully-featured client to access your Cloud Storage provided by MEGA

A fully-featured client to access your Cloud Storage provided by MEGA. This document will guide you to build the application on a Linux machine with Android Studio.

Mega Limited 1.1k Jan 3, 2023