Git Product home page Git Product logo

nextcloud / news-android Goto Github PK

View Code? Open in Web Editor NEW
667.0 114.0 254.0 211.31 MB

πŸ“±πŸ—žοΈ Android client for the Nextcloud news/feed reader app

Home Page: https://play.google.com/store/apps/details?id=de.luhmer.owncloudnewsreader

License: GNU Affero General Public License v3.0

Shell 0.03% Java 95.55% CSS 0.48% Ruby 0.14% Kotlin 3.81%
nextcloud nextcloud-news nextcloud-app open-source android

news-android's Introduction

Nextcloud News for Android

Android CI GitHub issues GitHub stars License: GPL v3 CHANGELOG.md PayPal this git repo

An Android client for Nextcloud News App.

▢️ Access

Latest Release F-Droid Release Beta channel

Get it on Play Store Get it on F-Droid Donate with PayPal

πŸ‘€ Screenshots

1 2 3
Feed list Articles Details

πŸ‘ͺ Join the team

How to compile the App

Requirements

  1. Android Studio

Download and install

  1. Open cmd/terminal
  2. Navigate to your workspace
  3. Then type in: git clone https://github.com/nextcloud/news-android.git
  4. Import the Project in Android Studio and start coding!

Testing with Android Auto

  1. Open Android Studio, click on "Tools" -> "SDK Manager"
  2. Select and install "Android Auto API Simulators"
  3. Open terminal, go to /extras/google/simulators (e.g. cd ~/Library/Android/sdk/extras/google/simulators)
  4. Install apk using adb (../../../platform-tools/adb install media-browser-simulator.apk)
  5. Install apk using adb (../../../platform-tools/adb install messaging-simulator.apk)

Advanced Testing Android Auto (e.g. Voice Features) Link

  1. Install Android 9 in an Emulator (Android 10 didn't work with the Android Auto App)
  2. Install Android Auto from PlayStore
  3. Follow instructions on training website (see link above)
  4. `~/Library/Android/sdk/platform-tools/adb forward tcp:5277 tcp:5277
  5. cd ~/Library/Android/sdk/extras/google/auto
  6. ./desktop-head-unit
  7. From inside the terminal type: mic play ./voice/pause.wav

That's all. I hope it works for you! If something is not working, please send me an email to [email protected]

Updating the database schema

  • Edit Database Schema in LastestVersion.java - Make sure to increase version number inside getVersionNumber function
  • Open build.gradle and uncomment imports annotated with // Required for DAO generation
  • In Android Studio - choose "DatabaseOrmGenerator" configuration
  • Hit the "Run" Button

Contributors

news-android's People

Contributors

anagno avatar andyscherzinger avatar anotherdaniel avatar b3nson avatar cemrich avatar david-development avatar deepdiver1975 avatar dependabot[bot] avatar dlwetteronline avatar emasty avatar fabienli avatar innerand avatar john2020star avatar jwaghetti avatar mentalinc avatar mkanilsson avatar morrisjobke avatar nextcloud-bot avatar nilsgriebner avatar poussinou avatar proninyaroslav avatar rakekniven avatar schaal avatar stefan-niedermann avatar thebaztet avatar tobiaskaminsky avatar unpublished avatar valdnet avatar wakeup avatar wbrawner avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

news-android's Issues

add some more info

can you set the license on the play store that it is visible?
and add in the description, that it is free software and everyone can contribute.
and that buying the app over the appstore is more comftable than downloading the apk (i think so, dont have an android) and support the developer. (like you have right now, but in a more positive way. now its like you saying: you can download it direct, but than you are a bad person)

add a link to google play store to the readme in this repo

maybe more info in the readme

Only one-way sync?

Hi,

when I read feeds in the Owncloud backend those arenΒ΄t marked read in the android app.
In the other direction (reading feeds in the Android Reader) those feeds are marked as read in the Owncloud backend.
That is particularly unfortunate because of hundreds of unread feeds on the mobile....

Latest version of Owncloud, News App, Framework und Andorid Reader installed.

Bug or feature?

greetings
meiro

Built-in-Browser quirks

Following a link inside the app still has some quirks:

  1. Switching display orientation (i.e. rotating the phone) jumps back to the news-article
  2. Pressing back in browser view jumps back to the list of articles, not to the news-article
  3. When starting an embedded video in the browser view, the video keeps playing even after the browser view is closed.

!) and 3) combined are quite annoying - after pressing play on a video and accidently auto-rotating, there is no way to get back to the video and stop it. Re-navigating to the browser view opens a new browser view that is not connected to the original one.

Precondition failed

Hi!
I have Owncloud 5.0.7 with the news app from git (1.101). The Android app is
0.3.4 (apk from git). When trying to connect I get an "Precondition failed" error
on Android.

app only does one way sync

i noticed that i have to login to the web interface to get feed updates. would be great if there was a way to update from the app itself.

Widget

Hi!
A widget would be great!

Share Feed links from an article

Hello,

Is it possible to integrate an option to share feed article directly with other 3rd Party Apps like WordPress for Android, Facebook or Google+ and other Messenger Apps.

Would be great.

too much unread

I was not able to sync more feeds, when i had 200 unread items.

Link to the full article (e.g. headline)

On some feeds like heise.de you only get a teaser. If I want to read the full article I have to go to the website. But at the moment there is no link to go to the full article (or I didn't find this possibility in the app).

Please add this important feature!!

"mark as read" on scroll

toggle option for user setting

News are marked as read when scrolled up to the top of the newslist.
So after reading abstracts in my newslist (0) unread articles are left.

Name Based SSL Vhost is not working

Ive discovered that the app does not support name based vitual hosting currently.
When i try to access my OwnCloud via ssl i get an error about a incorrect SSL certificate (diffrent vhost)

when i access the vhost via my browser i get the correct ssl certificate offered and the browser isnt complaining.

nginx-version: nginx/1.4.1 (Name Based SSL Vhosting + SPDY Enabled)

can't connect to my ownCloud

I'm running my ownCloud (stable5 git branch) over a SSL connection and have the latest news app from the Google Play Store. The certificate is signed by CACert.

If I disable "allow all SSL Certificates" in the app settings I get this error message:

hostname in certificate didn't match: <wolke.schiessle.org> != <*.schokokeks.org> or <schokokes.org> or <*.schokokeks.org

If I look at the certificate in my browser everything seems to be fine, the domain is wolke.schiessle.org and the certificate is issued for *.schiessle.org.

If I enable "allow all SSL Certificates" sync still doesn't work, it just shows an empty black rectangle where the error message was before.

Disabled hostname verification breaks SSL/TLS connections

From a quick review of your SSLHttpClient implementation I can see that you have disabled hostname verification for the SSL context [1]. What that means is as long as an attacker has a valid SSL certificate for any domain, he can pose as a mitm to your app without being detected, this gaining access to all traffic transferred between your app and the server, including but not limited to login credentials.
I advise you to switch to STRICT_HOSTNAME_VERIFIER [2] immediately and you should also inform your user that their current credentials may have been compromised when relying on SSL as their only protection.
I would also recommend reading this paper about properly dealing with SSL certificates on the client side, especially section 7.5

[1] https://github.com/owncloud/News-Android-App/blob/master/src/de/luhmer/owncloudnewsreader/helper/SSLHttpClient.java#L68
[2] https://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/conn/ssl/StrictHostnameVerifier.html

Can't fetch new articles when located in one feed

When I'm for instance in 'All unread items' I can't update my client.
I need to be in the 'Root' directory to get to sync button.
It would be very usefull to be able to sync from one of the directory.
Maybe when draging the list down (like tinytinyrss application) ?

Android 2.3.6 support

I have several phones in the household with Android 2.3.6 but the News app requires at least Android 4.0 so I can't use it everywhere which kind of defeats the purpose of having RSS feeds in sync. Is there a specific reason for that requirement and would it be possible to support 2.3.6?

Confusing counters

Hello David,

the counters are a little confusing.

Case 1: If I have 10 unread articles it shows 10/10. That's fine.

Case 2: 10 unread articles and one unread article is marked. The counter shows: 10/9 unread, 0/1 marked.

Case 3: 9 articles unread, 1 articel marked and read. The counter shows 9/9 unread, 0/1 marked.

Case 4: 1 article unread and marked. The counter shows 1/0 unread, 0/1 marked.

Case 2, 3 and 4 are a little confusing.

In case 2 I think the correct display should be 10/10 and 1/1.

In case 3 I doesn't understand the correct meaning of the counter for the unread articles. The first number stands for the unread marked articles? And the second number for all marked articles?

In case 4 I think it's the same counting problem like in case 2.

Can you dissolve my confusion?

Thanks Pantos

OAuth Support

Please add OAuth support.
Using the same password for files and news seems like a bad idea to me.

app does not sync

I just geht an empty toast message in the APP.
Running v3.0

Server log of 2 attempts attached, third request is made manually using my Browser:
109.42.0.41 - - [04/Jun/2013:09:13:17 +0200] "GET /ocs/v1.php/apps/news/folders?format=json HTTP/1.1" 200 406 "-" "Apache-HttpClient/UNAVAILABLE (java 1.4)"
109.42.0.41 - - [04/Jun/2013:09:13:18 +0200] "GET /ocs/v1.php/apps/news/folders?format=json HTTP/1.1" 200 406 "-" "Apache-HttpClient/UNAVAILABLE (java 1.4)" 109.42.0.41 - - [04/Jun/2013:09:13:28 +0200] "GET /index.php/settings/ajax/getlog.php?offset=3&count=10 HTTP/1.1" 200 395 "https://file-cloud.eu/index.php/settings/admin" "Mozilla/5.0 (Linux; Android 4.2.2; HTC One X Build/4.60) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.90 Mobile Safari/537.36"
109.42.0.41 - - [04/Jun/2013:09:21:22 +0200] "GET /ocs/v1.php/apps/news/folders?format=json HTTP/1.1" 200 292 "-" "Mozilla/5.0 (Linux; Android 4.2.2; HTC One X Build/4.60)

I geht an undefined index im my admin logs oft owncloud aswell pointing Tod the Server Path variable in line 29 oft v1.PHP

An help is greatly appreciated

Read entries

Lacking the possibility of browsing read entries

Offline support

Support for offline reading would be fine. At the moment you need an internet connection to read the feeds. Or is this a bug?

Folders visible multiple times

Hi!
I can see the folders appearing multiple times in the list.
They are not expandable like the "original" folders, they are
just visible. Happens with 0.3.3 from the apps page and
0.3.4 from git.

Add to F-Doid

Hi!
How about adding the app to the F-Doid repository?

Feed list grows with duplicate entries

After switching to the paid version, every time i refresh the feeds, the feed-list grows by one duplicate of my feed folders.

Deleting all app data removes (of course) the duplicates, but when I refresh again, the same behaviour occurs.

Wish: UI for viewing articles could use less screenspace

When viewing a news article, the headline contains:

Title...

Since the menu only contains "Send feed to developer" and only 3-4 Characters are displayed of the title, it would be great if all 3 icons were moved to the context menu (maybe with a text label).

items are sorted incorrectly

my engadget feed now has over 200 items and now the sorting is not working correctly. oder entries are in front oft newer ones

Allow but pin self signed certificates / CACert

My owncloud uses a certificate by CACert. (I know I could import their cert on a rooted phone but I may not have one).
At the moment my only option to connect is to "Allow any SSL Certificate".
Could you add an option to acknowledge or deny the certificate when it changes? Atm I would send my credentials to anyone doing MitM.

Would be great!

java error on login

I have downloaded the apk by this repo (0.3.4) now when i try to connect or refresh i get this error:
Value <!DOCTYPE of type java.lang.String cannot be converted to JSONObject
I'm using android 4.2 with italian language

Cannot sync news from owncube.com (single user)

I have a single user account on a hoster without backend/admin access.
Is it regardless possible to use the news app? I get the attached toast message when trying to sync my news.
Probably there is a connection to Issue #27: Name Based SSL Vhost is not working and Issue #25 app does not sync

owncloudnewsreader error

owncube sync does not work

This issue wont be fixed until owncube offer me a test account. Due problems with the support it's currently not possible.

Android 3.2.1 crash

I downloaded 3.2, 3.1 and 3.0 apk and all of them crash immeadiately after start on my Lenovo Ideapad K1. It's Android 3.2.1. I could not test older versions, apk are corrupted (at least what is says...), let me know if I can help you reproducing a problem somehow.

Support animated GIFs

As I paid money for the app I would love to also watch animated gifs in some tumblogs I subscribed. At the same time I see it is not really critical ;)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.