Giter Club home page Giter Club logo

android's Introduction

Build Status Translation Status

TrebleShot - FOSS File Sharing App for Android

Send and receive files securely without the internet. Got a question? Check the FAQ page or join the discussion group on Telegram.

[IMPORTANT] Project Deprecation

This project will no longer receive feature updates or bug fixes. Future updates will only include translation related changes. Learn more here.

Get it

An alpha version of the desktop version is also in the works. You can find it here.

Main Features

  • Secure; connections to other clients are encrypted using TLSv1.2
  • Share media files, apps, files & folders, plain texts, and URLs
  • Works without the internet; set up a hotspot and you are good to go
  • Share between multiple devices
  • Send and receive locally using a web browser
  • Uses uprotocol, and open content-sharing protocol

Build from Source

Run the following command to build the fossReliant variant in debug mode on Unix-alike OSes.

./gradlew -Dorg.gradle.jvmargs=-Xmx1536m assembleFossReliantDebug \ 
      lintFossReliantDebug testFossReliantDebugUnitTest

Localization

We are using Weblate to translate TrebleShot. Click here to go to the translation page.

Translation Status

Screenshots

Web Interface

Web Interface

License

This app is licensed under GNU Public License version 2.0 or later version.

android's People

Contributors

70h avatar balogic avatar biazzotto avatar boffire avatar cfatls avatar comradekingu avatar desdaemon avatar fenymufyd avatar g-ran-berg avatar gabm avatar k0media avatar manimaran96 avatar mohmmeddda avatar naofum avatar osoitz avatar pjammo avatar quelbs avatar rajesh-v5 avatar ramachandrajoshi avatar rellikmil avatar sak94664 avatar santossi avatar solokot avatar sr093906 avatar unbiaseduser avatar velitasali avatar vistaus avatar weblate avatar xendez avatar yarons 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

android's Issues

"You are not allowed"

Hi

When I share a file to TS (like a file commander) it says this file cant be sent you are not allowed.

I like the ability to share content from other apps to this app but this kind of sucks not sure what the problem is. I was trying to send a .pls playlist file.

thanks

Not able to share text through Instagram direct.

Expected behavior

It is expected that the app should share text through Instagram like it shares on other networks like Gmail, whatsapp, sms, etc

Actual behavior

While trying to share text through Instagram direct the app couldn't share the text and everytime popped up a message saying an unknown error occurred.

How to reproduce

  1. Open the app and press the options button at top left.
  2. Click on Text Stream.
  3. Write some text here and press the share button to share the text you have written.
  4. Choose instagram direct option to share with a friend.
  5. Can't share any text as an error occurs.
  • App: Trebleshot v1.2.5.7 on Google play it shows v1.2.5.8
  • Operating system: Android Nought (7.0) Moto g5 plus

Recording Of The Bug

https://youtu.be/Xl1NC5HOGN8

Get_it_on_F-Droid.svg.png



Posted on Utopian.io - Rewarding Open Source Contributors

LocalOnlyHotspotCallback

After i clone and build , i get this message
Failed to find byte code for android/net/wifi/WifiManager$LocalOnlyHotspotCallback

Help me

Custom storage location does not work.

HI

I set "/storage/emulated/0/download/ to be the download location. And it does not seem like it is using that location it defaults to the Treble folder.

I tried it on one lollipop and one nougat device.

thanks

Session started notification upon connecting to WiFi

After the latest update (at least the one on Google Play), whenever I connect to a WiFi network I get a notification from TrebleShot saying "TrebleShot can share files now: Tap to end session". This happens even when TrebleShot is not being used at all. Auto-start and scan devices automatically settings are disabled.

Icon/Logo Proposal

Good day ! this will be my propose design for TrebleShot Project

proposal

I am open for any suggestions

"Device name" does not always get updated in "Device list"

Hello,

I have several amazon fire tablets (same model), so I changed their "Device name" to be different from each other in Preference. The changed name shows up locally (next to the version and the green icon), however, other devices still see the old name even after I refresh the device list.

So far, my phone (Android 7) is the only one that successfully updates its name in the device list; my other Android 4 and Android 5 phones/tablets still have their old names displayed in the device list.

TrebleShot version: 1.2.5.12, installed from Google Play Store.

Hotspot/wifi-direct

Unless I missed it somewhere in the app there isn't a function to automatically create a hotspot or use Wi-Fi direct to send files to another device, you have to be on the same network already.

This would be extremely useful in making transferring just a couple files to another device quickly, by, for example, scanning a QR code with the information to connect to the access point / Wi-Fi direct.

File Explorer Default Path Set to Home

Currently the default path when we open file explorer is STORAGE > EMULATED > 0 > TREBLESHOT

Instead of that path , change it to HOME (the page in the below screenshot).

When we open file explorer it should display like the below screenshot

So that we can easily go to sd card or phone memory or trebleshot folder. Otherwise people with less knowledge will get confuse . Maybe they will feel difficulty in finding sd card or phone memory folders.

Alternative themes.

hi,
it would be great to have a dark mode & pure black amoled mode because too much white depletes more battery on my device because of the amoled screen.

One to many transfers

is it feasible to add a "send to many" option where more than one device can be connected to sender and all receive file simultaneously?

TrebleShot stopped While Click on Image folder.

Expected behavior

The app should be able to open image folder.

Actual behavior

The app is not able to share images as the image folder does not open in TrebleShot.

How to reproduce

  • Launch the app.

  • Click on the menu icon left at the top corner of app, you see different options there.

  • Click on the image icon.

  • You would not able to share image as the image icon does not work, TrebleShot crashes and app does not work.

  • Browser: TrebleShot

  • Operating system:Android 7.0 (Nought)

Recording Of The Bug

https://youtu.be/CvtnEEcHeWs



Posted on Utopian.io - Rewarding Open Source Contributors

API Documentation

It would be great if there's documentation on how TrebleShot sending works. I am interested in developing a desktop app for TrebleShot ? It would be great if there's docs on how sending, discovering and receiving works.

Is my data secure "on the wire"?

Hi - Is the data transmission across the network in a plain format? I.e. un-encrypted?
Would I need to encrypt a file before sending to keep data secure?

Thanks

#feature request: Add 'How to use/Requirements/Intro'.

I was having trouble learning about how to use this app. I learned most reading through the 'Issues' here (#15 f.x.).

Some questions were:

  • How does it find devices?
    -What do they need to be 'seen'?
    -Do they also need the same app?
    -What interfaces are utilized?
    -Why aren't any devices 'seen' when I scan?
    -etc.

Good luck, and thanks for the effort!

iOS Options

I know this is not the right place to ask, but I've really run out of options, so bare with me ...
TrebleShot is just AMAZING and I loved it so hard while only running Android.
Now I've introduced and iPad to my ecosystem, as the new hardware is just superb.

With the current setup I record 4k HDR videos on my Android phone and need to move them over to the iPad for editing. I don't want me no cloud provider to get his hands on them and want the transmission to be fast and hassle free. Exactly what TrebleShot would do x_x

I understand the reasons for not supporting iOS, but I still figured here might be the best community to ask: Is there anything even remotely close to TrebleShot that would work for Android <> iOS ?

  • Support large files (~ 10GB)
  • Keep the data local (no Cloud)
  • Open Source
  • Work at least halfway reliable

Can't see other devices on LAN

When two devices are connected to the same WiFi network (i.e. one with a router, not a hotspot), neither device can see the other on the nearby devices list, even after scan is completed a couple of times. I have seen this happen on more than one WiFi network, even home networks (which do not have restrictions on the LAN).

Bug found while sharing an image on Trebleshot.

Expected behavior

App should be able to share images on instagram direct just as it shares them on other platforms like whatsapp.

Actual behavior

We are not able to share an image through Instagram direct as it shows some unknown error occurred.

How to reproduce

Launch the app.
Press the options menu.
Now click on images.
Select an image by long pressing it.
Now click on the share button and try to share via Instagram direct.
A message will pop up saying an unknown error occurred.

  • App: TrebleShot-FileShare v1.2.5.6
  • Operating system: Android Nought.
    Moto g5 plus

Recording Of The Bug

20180218_003312.gif



Posted on Utopian.io - Rewarding Open Source Contributors

Data sent to developer

after first install the app sends packets to the developer. May we know what info does it send?

Feature request: share directories

Good day.

I recently started to use this app, and I noticed that the possibility to send whole folders seem to be missing. Upon trying to send a folder, the sender says You are not allowed, and the list of files to be sent appears as empty. Could you troubleshoot this?

CursorWindow: Failed to read row 0, column -1

Every time I try to share a file via TrebleShot it crashes. I'm on Android 7.1.2.

Steps to reproduce (all on the same device):

  1. Start TrebleShot 1.2.1 and add a remote device.
  2. Download a file from Internet using a browser.
  3. Open the Android's Downloads app.
  4. Long press the file and tap Share.
  5. Select TrebleShot in the sharing dialog. TrebleShot crashes.

Logcat:

05-30 22:04:18.062  5080  5100 E CursorWindow: Failed to read row 0, column -1 from a CursorWindow which has 1 rows, 6 columns.
05-30 22:04:18.063  5080  5100 E AndroidRuntime: FATAL EXCEPTION: Thread-2
05-30 22:04:18.063  5080  5100 E AndroidRuntime: Process: com.genonbeta.TrebleShot, PID: 5080
05-30 22:04:18.063  5080  5100 E AndroidRuntime: java.lang.IllegalStateException: Couldn't read row 0, col -1 from CursorWindow.  Make sure the Cursor is initialized correctly before accessing data from it.
05-30 22:04:18.063  5080  5100 E AndroidRuntime: 	at android.database.CursorWindow.nativeGetString(Native Method)
05-30 22:04:18.063  5080  5100 E AndroidRuntime: 	at android.database.CursorWindow.getString(CursorWindow.java:438)
05-30 22:04:18.063  5080  5100 E AndroidRuntime: 	at android.database.AbstractWindowedCursor.getString(AbstractWindowedCursor.java:51)
05-30 22:04:18.063  5080  5100 E AndroidRuntime: 	at android.database.CursorWrapper.getString(CursorWrapper.java:137)
05-30 22:04:18.063  5080  5100 E AndroidRuntime: 	at com.genonbeta.TrebleShot.helper.ApplicationHelper.getFileFromUri(ApplicationHelper.java:54)
05-30 22:04:18.063  5080  5100 E AndroidRuntime: 	at com.genonbeta.TrebleShot.activity.ShareActivity$4.run(ShareActivity.java:230)

The code assumes that each MediaStore entry has a DATA field:

        Cursor cursor = context.getContentResolver().query(fileUri, null, null, null, null);

        if (cursor != null)
        {
            if (cursor.moveToFirst())
            {
                int dataIndex = cursor.getColumnIndex(MediaStore.MediaColumns.DATA);
                String dataPath = cursor.getString(dataIndex);

                file = new File(dataPath);
            }

            cursor.close();
        }

This is not the case on recent Android versions. In general, you cannot convert a content:// URI into a file:// URI.

TrebleShot is not able to share text on text stream option via messenger lite on Android 7.0

Expected behavior

The app is expected to share the text written on text stream option of the app through messenger lite as it shares on other applications like Instagram direct and whatsapp.

Actual behavior

The app is not able to share text in stream text option of the app via messenger lite. While selecting the messenger lite option the app selects the Facebook messenger lite and then gets back to the stream text option without sharing the text.

How to reproduce

  1. Launch the app.
  2. Go to options menu.
  3. Select text stream option and writes something.
  4. Select the share option on the top right corner of the screen.
  5. Select the messenger lite app to share the written text.
  6. Error occurs, the text isn't shared through messenger lite.
  • App: TrebleShot v1.2.5.12
  • Operating system: Android Nought 7.0
  • Device: Motorola Moto g5 plus

Recording Of The Bug

20180403_094233.gif



Posted on Utopian.io - Rewarding Open Source Contributors

Privacy Policy.

Hello.
I noticed that Treble Shot has no privacy policy and for a software that deals with certain kinds of connectivity, having a developer's privacy policy or just a privacy policy will give end users a deeper sense of personal information security. That's if there's a slightest chance you collect any sort of information when people utilize Treble Shot.
I contribute to Open source projects in documentation aspects, meaning if you see the need to have a Privacy Policy document, I could do that for you.

I'll love to know your thoughts about this.

How does it work ?

While both (or more) devices are connected to the same router one can share data between devices, please kindly explain few of my questions:

  1. By using main router with internet access (where 10+ people are connected to it) and sending 1GB of data between devices using this app, do I impact/overload connection speed for others. Making their internet connection slower ?

  2. Can I use it on access point/ repeater that's connected to main router, do I overload network capacity ?

  3. Can I use it through Bluetooth ?

  4. Can I make direct connection between devices ?

Http Web Share feature

It will be great if we have http Web Share feature. Then we can share files to others, those who don't have trebleshot installed on their phones. This helps users to sent files to Windows Phone, IOS and PC also .

You may think what feature is I'm telling about , so for more reference check this open source app called "share via http" https://github.com/marcosdiez/shareviahttp
Then you will get what feature iam telling about ๐Ÿ˜€

If we implement this feature we can sent files to Windows phone and IOS . Trebleshot is not available for this 2 platforms so it's a great plus point.

But what about receiving files from users those who don't have trebleshot installed on their phones or how Windows Phone and IOS users sent files to trebleshot user? Then I found this app called "fast file transfer" https://play.google.com/store/apps/details?id=com.floriandraschbacher.fastfiletransfer this app has the ability to receive files from the users, whom don't have the same app installed on his phone.

Unable to share Trebleshot app.

Expected behaviour

After downloading the app ,i tried to share the app by its own feature, it must be able to share .

Actual behavior

After opening the app, want to share the app by its own feature available in its toolbar by sliding it from left to right. It is not working.

How to reproduce

Install app from f droid

Open the app

Slide screen from left to right to open its toolbar.

Scroll down to see share this app feature.

Click on it to reproduce the bug.

  • Browser: Trebleshot
  • Version:1.2.5.12
  • Operating system:5.1.1

Recording Of The Bug

https://youtu.be/nKiZ1ePxq6k



Posted on Utopian.io - Rewarding Open Source Contributors

FR: Auto accept files

Hi

It would be great if the devices set to be auto accept files from the devices in the list. It is easy to miss the tray notification and it can get tedious when sharing many things.

thanks

Sharing Images

I would like to share images primarily.. Do I overlook this option or is it currently not available?

Thanks a lot for this app, looks very promising!

Development is Abandoned

/Update/

I would like to give one more "shot" to this project to see how it goes with a refreshed mind.

"The development of TrebleShot has been ceased"

I can no longer maintain development of this app because I don't have the enough resources >and I don' t think any further development is required either (at least for the Android version).

Pull requests made on main repository will not be reviewed or accepted. Emails sent to >[email protected] will not be responded. If you want to improve the app you can fork >and release it on any channel TrebleShot was released previously.

I will be only merging translations from Weblate

Selected files are Unselected on Rotating the Screen In Trebleshot

Expected behavior

When you select some files to share and then rotate the screen, the files should be shown selected in the rotated screen.

Actual behavior

But when you select some files and then rotate the screen then the files will be unselected in Trebleshot and you'll have to select the files again to share them.

How to reproduce

  1. Download Trebleshot android app from Playstore.
  2. Launch it.
  3. Select some files to share .
  4. Switch the orientation of your screen to landscape mode and rotate the screen.

    All the selected files will be unselected and you'll have to select them again to share the files.

    This bug is reported in Samsung Galaxy J5 Android 6.0.1 and in app version 1.2.5.12 .
  • App Version : 1.2.5.12
  • Operating system: Android 6.0.1

Recording Of The Bug

Here's the recording of the bug.

<iframe width="560" height="315" src="https://www.youtube.com/embed/Cl7iVWszYcU" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>



Posted on Utopian.io - Rewarding Open Source Contributors

i18n: needs more plurals

Android developer's guide suggests using plurals for "quantity strings" to make UI that looks and feels good in all languages.

Some of the strings in project's UI count something, like files or connections. Here are some that I've found:

<string name="multi_transfer_que">Receive %s file(s)?</string>
<string name="multiple_receive_done_summary">%s files received</string>
<string name="delete_warning">Do you want to delete %d file(s)</string>
<string name="delete_completed">%d file(s) is deleted</string>
<string name="file_count">%d file(s)</string>
<string name="dialog_msg_remove_queue_job">%d pending transfer(s) will be removed</string>
<string name="available_connections">%d connections</string>

To follow the guide, they need to be changed (at least some of them). For example, the first string would need to look like this:

<plurals name="multi_transfer_que">
    <item quantity="one">Receive %s file?</item>
    <item quantity="other">Receive %s files?</item>
</plurals>

The second string is only ever used for >1 files though, so it doesn't need to be changed, right? But it does! Many languages have non-trivial rules concerning plurals where correct spelling depends on the actual number (there are some examples in the quantity keyword table in the guide linked above). So this string also needs to be converted into <plurals /> element and to include "one" and "other", even though it's used only for multiple files, otherwise it wouldn't look right in some languages.

This project is almost ready to receive translations, but not using plurals is something that can really prevent these translations from being complete.

[Q] Possibility of Sending/Receiving files from Other Similar apps (Shareit, xender)

Is it possible to create a feature to send and receive files from Other Similar apps like Shareit , xender and sendanywhere etc . ?
Iam asking this question because most of the people are using Shareit , xender etc , only few of us is using trebleshot. So that we are forced to use Shareit . If I tell someone to use trebleshot then they will ask me 'for what' ? And they will tell that everyone is using Shareit then what is the use of this app in my phone .

So if we have a feature to send files to other similar apps and also have the feature to receive files from Other similar apps will be game changer .:grinning:

share button does not work.

Expected behavior

The user can share the application directly through other messaging media.

Actual behavior

The user cannot share the application directly through other messaging media because it is shared as a non-device-readable file.

How to reproduce

It is an application skill to be able to share them directly from the mobile device, but this is not the case with Trebleshot. Since when trying to share the application with other contacts, instead of sharing the link of the direct download for the application, this is received as a file not readable by the mobile device. In the video below, he provided evidence of how it looks, and how it should look when sharing a sample application.

  • Browser: Trebleshot V 1.2.5.7
  • Operating system: android 5.1.1

Recording Of The Bug

https://youtu.be/nM6SRVYBiuE



Posted on Utopian.io - Rewarding Open Source Contributors

WiFi direct automatic connection

The automatic hotspot feature works quite well and is a very good solution to not have to manually create a hotspot every time. However, I find that an automatic WiFi direct connection would be a great addition to this app, especially in terms of quick transfer of files and ease of use.
I don't mean for this to be an absolute priority, because there is already the automatic hotspot feature.
However, being able to select a file to send and then have a friend scan a QR code/(other ways) and immediately begin the download would make the operation of transferring just a couple file quite a lot quicker and more hassle-free.

Stuck at 'Obtaining IP address'

I was not able to connect to a TrebleShot, it's stuck at Obtaining IP address, what am I doing wrong?

Edit:

All permissions are given to the app. Device is running on Android 7.1.2

screenshot_20180409-163857

needs some promotion.

this app definitely deserves some promotion in reddit! i would like to suggest you to promote the app here

French support

Hi,

Awesome app!

I would like to contribute French support. Can you point me to what file I should create/translate?

Regards,

Boyd

About Future Releases

Hi,

As you may have noticed, I haven't release any update or made commits since May. The problem is my computer is broken since then. As I'm a college student, I still saving money to buy a new one and I want you to know that I did not abandon the project.

Thanks :)

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.