1
0
mirror of https://gitlab.com/timvisee/send.git synced 2024-11-10 05:02:45 +01:00
send/android
Christoph Kührer 48b5d85904 Cleanup Android project (Minor refactorings, etc.) (#1244)
* (Android) Get rid of double bangs by using Kotlin view binding

Instead of holding a nullable reference to the WebView, we are now
accessing the WebView using the view binding utility of Kotlin's
Android Extensions.

Further reading:
https://kotlinlang.org/docs/tutorials/android-plugin.html

* (Android) Enable WebView debugging in debug builds

This enables debugging the app's WebView using Chrome's DevTools.
https://developers.google.com/web/tools/chrome-devtools/remote-debugging/webviews

* (Android) Make MainActivity.kt adhere to common Kotlin conventions

* (Android) Update dependencies and improve formatting of Gradle files

This updates the Kotlin plugin to 1.3.21 and the Gradle plugin to 3.3.2

* (Android) Remove unnecessary ConstraintLayout container

Layout files should generally have as few nested layers as possible,
because every layer affects the performance.

* (Android) Use JSONObject class to construct a JSON string

It is way safer to construct a JSON string using classes that are
meant for doing that, instead of concatenating raw strings.

* (Android) Suppress JavaScript lint warning

* (Android) Use Kotlin string templates instead of concatenating strings

* (Android) Add missing SuppressLint import
2019-04-04 15:25:25 -04:00
..
app Cleanup Android project (Minor refactorings, etc.) (#1244) 2019-04-04 15:25:25 -04:00
gradle/wrapper Fix #1145 Fix the back button after logging in. (#1158) 2019-02-19 09:35:37 -08:00
pages no-op startAuthFlow on android 2019-03-08 16:13:15 -08:00
stores Implement the mechanics of fxa login on android, but don't show ui fo… (#1000) 2018-11-08 16:35:19 -05:00
.eslintrc.yaml Implement the mechanics of fxa login on android, but don't show ui fo… (#1000) 2018-11-08 16:35:19 -05:00
.gitignore Initial working proof-of-concept for android. 2018-05-23 21:37:31 -04:00
android.js Call setTranslate on android. 2019-04-04 14:49:01 -04:00
build.gradle Cleanup Android project (Minor refactorings, etc.) (#1244) 2019-04-04 15:25:25 -04:00
gradle.properties Initial working proof-of-concept for android. 2018-05-23 21:37:31 -04:00
gradlew Initial working proof-of-concept for android. 2018-05-23 21:37:31 -04:00
gradlew.bat Initial working proof-of-concept for android. 2018-05-23 21:37:31 -04:00
README.md Add a readme 2018-05-24 11:47:13 -04:00
SendAndroid.iml Initial working proof-of-concept for android. 2018-05-23 21:37:31 -04:00
settings.gradle Initial working proof-of-concept for android. 2018-05-23 21:37:31 -04:00
user.js no-op startAuthFlow on android 2019-03-08 16:13:15 -08:00

Readme

The Send Android app allows you to choose any file from your android device, encrypt it with a password, and get a URL which will allow secure download of the file. By default, this URL will expire after one download or 24 hours.

Building the Send Android app.

First, install Android Studio. Open the android directory in Android Studio, plug in your android phone, and press the run button.