📱 Nextcloud Android app
Find a file
Álvaro Brey 37a9c438cd
PreviewImageFragment: prevent crash when redrawing menu after file deletion
For some reason this is called again after deleting the file (probably a fragment-ktx update or something).
However at this point getFileById will return null and crash the rest of the method.

This adds some checks to prevent that.

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-09-02 16:25:15 +02:00
.devcontainer Use openjdk-11 in Devcontainer 2022-07-19 14:41:31 +02:00
.github Bump hmarr/auto-approve-action from 2.2.1 to 2.4.0 2022-08-22 12:39:27 +00:00
.idea Update codeStyles/Project.xml 2022-03-03 11:54:50 +01:00
.tx Update transifex config 2022-03-11 11:15:19 +01:00
app PreviewImageFragment: prevent crash when redrawing menu after file deletion 2022-09-02 16:25:15 +02:00
doc Android screenshot 2017-10-20 13:06:57 +02:00
drawable_resources Add scan document feature 2022-02-17 10:10:36 +01:00
fastlane fastlane: huawei: Add delay before review 2022-05-03 12:48:11 +02:00
gradle/wrapper Bump Gradle for Log4j 2021-12-23 08:46:36 +01:00
scripts runCombinedTest: ensure entire logcat is recorded 2022-07-18 12:01:40 +02:00
user_manual fix image dimensions 2021-10-21 16:06:49 +02:00
.codecov.yml Fix .codecov.yml after src path change 2022-03-11 11:17:23 +01:00
.drone.yml Merge pull request #10279 from nextcloud/chore/analysis-github-token 2022-05-31 10:07:03 +02:00
.editorconfig Change max line length 2021-02-25 07:05:45 +01:00
.gitignore Use defusedxml for xml parsing instead of etree 2022-04-27 11:03:59 +02:00
.pullapprove.yml only one review 2019-01-21 13:23:58 +01:00
build.gradle Bump mockitoVersion from 4.6.1 to 4.7.0 2022-08-17 10:51:13 +00:00
CHANGELOG.md Add changelog for 3.21.2 2022-09-01 16:35:20 +02:00
checkstyle.xml Incorporated Checkstyle, findbugs, pmd and lint 2016-10-09 00:33:12 +01:00
CODE_OF_CONDUCT.md add code of conduct 2018-01-11 15:49:37 +01:00
CONTRIBUTING.md Remove IRC info from app and docs 2022-01-18 16:26:58 +01:00
Gemfile Add huawei upload 2020-07-22 14:43:44 +02:00
Gemfile.lock Update fastlane plugins 2022-07-12 16:31:08 +02:00
gradle.properties Disable debugging obsolete apis 2020-11-20 11:27:01 +01:00
gradlew Bump Gradle for Log4j 2021-12-23 08:46:36 +01:00
gradlew.bat Gradle 6.7 2021-05-14 10:57:16 +02:00
ICONS.txt #781 add icons to website/twitter on user info screen, cleanup 2017-03-27 17:45:00 +02:00
LICENSE.txt Copyright note fixes 2013-04-17 12:26:13 +02:00
ndk.env Centralize NDK and CMAKE versions 2022-03-15 14:43:05 +01:00
README.md Update README.md 2022-07-28 22:29:30 -05:00
ruleset.xml - rename ruleset 2019-04-12 07:44:25 +02:00
SECURITY.md Create SECURITY.md 2021-06-14 11:52:33 +02:00
settings.gradle Move app source to subproject 2022-03-11 11:10:51 +01:00
SETUP.md SETUP: update local library linking instructions with composite builds 2022-03-22 14:31:59 +01:00
spotbugs-filter.xml Group media by month 2022-04-18 18:18:19 +02:00
suppressions.xml Incorporated Checkstyle, findbugs, pmd and lint 2016-10-09 00:33:12 +01:00
THIRD_PARTY.txt Remove third party licenses for libs we don't use (anymore) 2022-02-24 16:53:29 +01:00

Nextcloud Android app 📱

Build Status Codacy Badge Releases

Download from Google Play Get it on F-Droid

The Android client for Nextcloud. Easily work with your data on your Nextcloud.

App screenshots

How to contribute 🚀

If you want to contribute to Nextcloud, you are very welcome:

Contribution Guidelines & License 📜

GPLv2. All contributions to this repository from June, 16 2016 on are considered to be licensed under the AGPLv3 or any later version.

Nextcloud doesn't require a CLA (Contributor License Agreement). The copyright belongs to all the individual contributors. Therefore we recommend that every contributor adds following line to the header of a file, if they changed it substantially:

@copyright Copyright (c) <year>, <your name> (<your email address>)

Please read the Code of Conduct. This document offers some guidance to ensure Nextcloud participants can cooperate effectively in a positive and inspiring atmosphere, and to explain how together we can strengthen and support each other.

Please review the guidelines for contributing to this repository.

More information on how to contribute: https://nextcloud.com/contribute/

Start contributing 🛠️

Make sure you read SETUP.md and CONTRIBUTING.md before you start working on this project. But basically: fork this repository and contribute back using pull requests to the master branch. Easy starting points are also reviewing pull requests and working on starter issues.

Getting debug info via logcat 🔍

With a linux computer:

  • enable USB-Debugging in your smartphones developer settings and connect it via USB
  • open command prompt/terminal
  • enter adb logcat --pid=$(adb shell pidof -s 'com.nextcloud.client') > logcatOutput.txt to save the output to this file

Note: You must have adb installed first!

On Windows:

  • download and install Minimal ADB and fastboot
  • enable USB-Debugging in your smartphones developer settings and connect it via USB
  • launch Minimal ADB and fastboot
  • enter adb shell pidof -s 'com.nextcloud.client and use the output as <processID> in the following command:
  • adb logcat --pid=<processID> > %HOMEPATH%\Downloads\logcatOutput.txt (This will produce a logcatOutput.txt file in your downloads)
  • if the processID is 18841, an example command is: adb logcat --pid=18841 > %HOMEPATH%\Downloads\logcatOutput.txt (You might cancel the process after a while manually: it will not be exited automatically.)

On a device (with root) 🔧

  • open terminal app (can be enabled in developer options)
  • get root access via "su"
  • enter logcat -d --pid $(pidof -s com.nextcloud.client) -f /sdcard/logcatOutput.txt

or

Note: Your device needs to be rooted for this approach!

Development version 🔨

Support ⛑️

If you need assistance or want to ask a question about the Android app, you are welcome to ask for support in our Forums. If you have found a bug, feel free to open a new Issue on GitHub. Keep in mind, that this repository only manages the Android app. If you find bugs or have problems with the server/backend, you should ask the Nextcloud server team for help!

Remarks 📜

Google Play and the Google Play logo are trademarks of Google Inc.