|Feb 2, 2013, 06:08 PM||#1|
Email "Open In" feature
I'm trying to associate my App with an image file extension. I've tried .bmp, and .png with no luck.
I've found what looks like some good info on the net:
Brad should know his stuff.
What I've noticed is that images in email seem to have a different menu
if you hold your finger on the attachment.
If I follow Brad's instructions with a made up extension (.bmx), my App does show in the stock
email app, but there is no longer any preview of the image in the email app.
Last edited by xArtx; Feb 2, 2013 at 06:37 PM.
|Feb 2, 2013, 11:23 PM||#2|
Just a follow up (although I haven't resolved the issue in the first post),
It occurs to me that if you're only dealing with importing one file at a time,
such as a file being sent to your app from the stock email app,
you can just check the existence of the Documents/Inbox directory at
startup, check it's contents, and if a file exists, deal with it, and then
move it, or delete it from Documents/Inbox.
That way you don't have to add anything to AppDelegate or check the
imported file's URL. Your App can know at startup if it was launched by
the email app just because a file exists in the Documents/Inbox.
|Feb 2, 2013, 11:28 PM||#3|
You could utilize the pasteboard... have the user tap and hold on the image, select "copy", and then when your app is launched take whatever image is on the system pasteboard...
|Feb 3, 2013, 01:05 AM||#4|
The pasteboard won't pass data.
It will pass the UIImage, but once the image data is inside that container,
it can't seem to be accessed at byte level, which is why I'm interested in bitmaps.
Since this time I'm going for a charged one. I can't have a user go through
more gestures than they know there needs to be. It would be ok for me,
but not for charging someone.
|Thread Tools||Search this Thread|
All times are GMT -5. The time now is 09:22 PM.