Signal-Android icon indicating copy to clipboard operation
Signal-Android copied to clipboard

Feature: Direct Photo/Video/Audio attachments while staying in app (API calls to camera, sound recorder, video camera) instead of multistep separate apps

Open travisnj opened this issue 12 years ago • 40 comments

I love the app... I want to replace it full time from Textra, BUT there is a big draw back, why don't you allow for direct photos, video and sounds to be taken. So you don't have to use two apps to get the file to send.

Example: My wife takes a photo of something she wants my opinion on buying, (in textra or native) presses add, camera comes up, takes photo and sends

Example: Same situation, but with Text Secure you have to take the photo first and save image, then goto app and add via the menu of "where" the documents are to attach and send

So, as you can imagine carrying on a conversation and needing to send several photos during that conversation it would be a bit frustrating and very time consuming using Text Secure.

Native, Textra and about all others I have used use API's and directly use the photo/audio to send.

travisnj avatar Jan 01 '14 21:01 travisnj

+1

virtualritz avatar Feb 25 '14 10:02 virtualritz

Yes, would be great if I could take a photo/video directly from within TextSecure and send it. Are there any plans for it?

schiessle avatar Feb 25 '14 11:02 schiessle

Hey all, it's in the plans to revamp that entire attachment flow. This will pretty certainly include allowing users to capture media directly. If anybody wants it done even more quickly, pull requests are appreciated and I hear the payout is pretty nice now ;).

mcginty avatar Feb 25 '14 19:02 mcginty

+1

hunleyd avatar Feb 26 '14 19:02 hunleyd

+1

SchwarzwaldFalke avatar Feb 27 '14 18:02 SchwarzwaldFalke

If we're going to add photo-taking capabilities, I think it would be a good idea to add some features from ObscuraCam. The source is GPLv3 and found at GuardianProject/SecureSmartCam.

ghost avatar Feb 27 '14 18:02 ghost

+1. ObscuraCam looks nice as well, but please make the alterations optional. Not everyone is (cf. their user stories) in an "activist group", a "rights defender", in "protest of human rights abuses", or "compromised" ;-) Some of us just want a secure and FOSS replacement for WhatsApp.

lablans avatar Feb 28 '14 10:02 lablans

would be cool to add pixelknot functionality as well

jeremymasters avatar Feb 28 '14 19:02 jeremymasters

Wouldn't it be the easiest to use intents, this way everyone can use his default camera app? Similar to: https://github.com/guardianproject/ChatSecureAndroid/blob/24a447d0ee0807b75a45a385b870f6f532328480/src/info/guardianproject/otr/app/im/app/NewChatActivity.java

JavaJens avatar Mar 01 '14 09:03 JavaJens

@mcginty I've created a pull request for this. Could you and others of course check if this is the right direction? However I believe this might be a privacy leak, as the image is stored on the sdcard!

What is this Bithub thing about? I don't want anything from you, you give enough by providing the software!

JavaJens avatar Mar 01 '14 11:03 JavaJens

However I believe this might be a privacy leak, as the image is stored on the sdcard!

So maybe we should make it possible to turn this off, hide this in the advanced settings and activate it depending on the user's need for security (#838)

generalmanager avatar Mar 02 '14 22:03 generalmanager

Yes, that's what I thought as well. Same goes for audio/video, although no file is present on the users file system, but somewhere this is stored.

I'd second the possibility to turn this off and have it on per default, because as said in #838 those who worry about their privacy will accept digging deeper :) But I guess this decision will depend on the outcome of issue #838

JavaJens avatar Mar 03 '14 08:03 JavaJens

Wouldn't you have the same privacy leak if you just take the picture and send it? (like now)

"those who worry about their privacy will accept digging deeper" - well said. If we want TS to be a [insert privacy-agnostic messenger here] replacement (which it is very close to!), we need presets fit for everday life (i.e. my mother). She'd second your opinions, because you allow her to "stay on the surface" and to just take pictures.

lablans avatar Mar 03 '14 11:03 lablans

@vascorppor

Wouldn't you have the same privacy leak if you just take the picture and send it? (like now)

That depends where your camera stores the pictures. You can usually force it to store them on the (hopefully encrypted) internal memory.

we need presets fit for everday life (i.e. my mother)

Feel free to contribute your ideas how that should be communicated and what those settings should be over at #838

generalmanager avatar Mar 03 '14 11:03 generalmanager

@lindworm

So you say that using the internal memory is safe? I can easily change the location of where the image is stored, e.g. using ContextWrapper's getDir() method.

JavaJens avatar Mar 03 '14 12:03 JavaJens

@JavaJens I don't know about the low-level stuff and malicious apps can of course still access the internal memory. But if it's encrypted, it should be a bit safer than the sd card.

I guess something like a ramdisk would be asked to much? ;-) Even then it would probably only work on rooted devices.

generalmanager avatar Mar 03 '14 12:03 generalmanager

I have to correct myself. Writing to the internal memory is not that simple, due to Permissions. Maybe this can be done using a ContentProvider? But the question is, is it worth the effort and wouldn't a simple checkbox be the better/safer option?

JavaJens avatar Mar 03 '14 13:03 JavaJens

Is it possible to maybe use an intent to capture the image, then overwrite the file contents after it's been added to TS, so that if it is on the disk there is a maximum window of storage?

aprescott avatar Mar 10 '14 21:03 aprescott

There is no such thing as 'overwriting' with flash storage (which is the kind of storage all phones rely on)...

tinloaf avatar Mar 10 '14 21:03 tinloaf

Another issue is the gallery app, it makes copies and thumbnails and therefore introduces a security issue the user should be warned about.

That's why I think the warning dialog is the safest bet for not, until someone implements their own camera activity...

JavaJens avatar Mar 11 '14 07:03 JavaJens