Hans-Christoph Steiner 402cbcc3c2 implement combined EXTRA_STREAM/EXTRA_TEXT Intents for createChooser()
An app can create an `ACTION_SEND Intent` to share a file and/or text
to another app.  This `Intent` can provide an `InputStream` to get the
actual file via `EXTRA_STREAM`.  This `Intent` can also include
`EXTRA_TEXT` to describe what the shared file is.  Apps like K-9Mail,
Gmail, Signal, etc. correctly handle this case and include both the
file itself and the related text in the draft message.

This is used in F-Droid to share apps.  The text is the
name/description of the app and the URL that points to the app's page
on f-droid.org.  The `EXTRA_STREAM` is the actual APK if available.
Having all together means that the user can choose to share a message
or the actual APK, depending on the receiving app.

Unfortunately, not all apps handle this well.  WhatsApp and Element
only attach the file and ignore the text.
https://github.com/vector-im/element-android/issues/3637
2021-07-06 23:24:51 +02:00
2021-02-23 17:53:33 +01:00
2021-07-01 15:57:06 +00:00
2020-07-14 14:10:21 +02:00
2018-11-19 11:35:04 +03:30
2021-07-05 10:53:35 +02:00
2016-09-28 22:15:00 +01:00
2015-08-24 10:35:55 -07:00

F-Droid Client

build status Translation status

Client for F-Droid, the Free Software repository system for Android.

Building with Gradle

./gradlew assembleRelease

Direct download

You can download the application directly from our site or browse it in the repo.

Contributing

See our Contributing doc for information on how to report issues, translate the app into your language or help with development.

IRC

We are on #fdroid and #fdroid-dev on OFTC. We hold weekly dev meetings on #fdroid-dev on Thursdays at 11:30h UTC, which usually last half an hour.

FAQ

  • Why does F-Droid require "Unknown Sources" to install apps by default?

Because a regular Android app cannot act as a package manager on its own. To do so, it would require system privileges (see below), similar to what Google Play does.

  • Can I avoid enabling "Unknown Sources" by installing F-Droid as a privileged system app?

This used to be the case, but no longer is. Now the Privileged Extension is the one that should be placed in the system. It can be bundled with a ROM or installed via a zip.

License

This program is Free Software: You can use, study share and improve it at your will. Specifically you can redistribute and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Some icons are made by Picol, Icomoon or Dave Gandy from Flaticon or by Google and are licensed by Creative Commons BY 3.0.

Other icons are from the Material Design Icon set released under an Attribution 4.0 International license.

Translation

Everything can be translated. See Translation and Localization for more info. translation status

Description
No description provided
Readme GPL-3.0 82 MiB
Languages
Kotlin 78.1%
Java 19.9%
Python 1.4%
Shell 0.5%
HTML 0.1%