Bug #675
Opening stegogram from email attachment (k9)
Status: | Resolved | Start date: | 02/15/2013 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | harlo | % Done: | 0% | |
Category: | - | |||
Target version: | v1 - "Sailor" | |||
Component: |
Description
I created a stegogram on one device and emailed it to another device/acct. On the receiver device, I used K9 mail to open the message. When I open the attachment, it loads directly into the Gallery with no option to send it to PixelKnot. In the Gallery view I can select "Edit" which then shows ObscuraCam and StoryMaker as options of apps for opening media, but NOT PixelKnot.
Can we add the correct intent (view? send? edit?) to PixelKnot to allow it open a stegoram from an email attachment?
History
#1 Updated by n8fr8 almost 5 years ago
More in this issue - from K9, I selected "Save" instead of "Open", and it stored it into a folder on my sdcard, and then opened the Gallery app to view it.
From Gallery, I could not share/open the image in PixelKnot either, using the standard share mechanism.
Intead I opened PixelKnot directly, selected the open image/Gallery option to find the image in Gallery, and then try to open it to decode it. However, at this point, PixelKnot thought I wanted to create a stegogram and not decode one.
What to do? :)
#2 Updated by n8fr8 almost 5 years ago
Just checked the Manifest, and found something strange/useful - see the "path pattern" below? It is .*.jpg which I think is wrong right? Don't you just want "*.jpg", or perhaps we just want mimeTYpe to be image/jpeg ? or Image/*?
<intent-filter>
<category android:name="android.intent.category.DEFAULT" />
<action android:name="android.intent.action.PICK" />
<action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.SEND" />
<action android:name="android.intent.action.GET_CONTENT" />
<data
android:host="*"
android:mimeType="*/*"
android:pathPattern=".*.jpg"
android:scheme="content" />
</intent-filter>
#3 Updated by n8fr8 almost 5 years ago
I think we need to add the EDIT intent filter:
<action android:name="android.intent.action.EDIT" />
If you look at the ObscuraCam manifest for this, it is pretty simple, and seems to handle all the necessary cases.