Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 11    Views: 58

stevek
Aspiring developer
Profile
Posts: 808
Reg: Dec 24, 2011
great neck
8,080
11/22/13 10:58 AM (12 years ago)

Automatic insert of camera roll picture

Does anyone know of any way to call up the text message plug in, or Marks email a photo plugin, and have it open with the LAST entry in the camera roll already entered as the attachment? Thanks. Steve
 
tb
buzztouch Evangelist
Profile
Posts: 2050
Reg: Nov 03, 2011
Oxford
32,300
like
11/22/13 11:08 AM (12 years ago)
I may be wrong, but my gut instinct would be that this would be violating Apple's rules, as you would be selecting the user's image without informing them.
 
stevek
Aspiring developer
Profile
Posts: 808
Reg: Dec 24, 2011
great neck
8,080
like
11/22/13 11:14 AM (12 years ago)
Well, I could let them know in the app that this was going to happen, or they do not have to send the message/email once they see it included. Another way I could do what I want is to have the contents of the current screen get inserted but I see so way of doing that without taking a screen shot and then inserting from the camera roll.
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
11/22/13 12:25 PM (12 years ago)
does the app take the photo, why the last photo. It is very possible to pluck any image from the camera roll with a bit of code. If the app takes the photo it would be easier to process it to email. Unfortunately message kit does not allow attachment of photos to mms or sms.
 
stevek
Aspiring developer
Profile
Posts: 808
Reg: Dec 24, 2011
great neck
8,080
like
11/22/13 12:40 PM (12 years ago)
The app takes the photo by taking a screen shot. Then want to be able to text the shot. Right now they go to standard text message plug in and have to press the camera icon and then choose their picture. I've had a few people mention that they forgot to press the camera icon. It would be more intuitive if the text screen opened with this last taken screen shot already chosen. It will be the last entry in their camera roll unless they stop the app in the interim and take another picture. Cant' worry about that.
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
11/22/13 12:48 PM (12 years ago)
ok so how are you taking the screen shot are you asking the users to press home and power button, or doing it programatically.
 
stevek
Aspiring developer
Profile
Posts: 808
Reg: Dec 24, 2011
great neck
8,080
like
11/22/13 12:56 PM (12 years ago)
Pressing the buttons but if you know of a way to do it programatically I'd love to know it. The less they have to do themselves the better.
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
11/22/13 01:01 PM (12 years ago)
is it always the same screen that will have a snap shot. In my head there should be a button or a gesture to take the screen shot. The app takes a screen shot then pops up a alert saying do you want to email this screenshot. Click yes. Email populated with your pic and a cheeky screenshot.
 
stevek
Aspiring developer
Profile
Posts: 808
Reg: Dec 24, 2011
great neck
8,080
like
11/22/13 01:07 PM (12 years ago)
Don't understand at all. What is the code? Or is there a plug in to use?
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
11/22/13 01:09 PM (12 years ago)
before i can give you code you need to explain what it does, the work flow. what's it taking a screenshot of. will it always be the same screen/plugin?
 
stevek
Aspiring developer
Profile
Posts: 808
Reg: Dec 24, 2011
great neck
8,080
like
11/22/13 01:19 PM (12 years ago)
There is an html screen, which I manipulate through javascript to allow the user to change by adding text. Once they're done what remains showing is a div with class .words that has some text which the user entered and a background image that comes from the BT screen. They then take a screen shot of this screen by pressing the buttons. Then the user presses the NEXT button in the upper right of the navigation screen and a new screen opens which links to the BT plugins for sending text messages and sending a photo via email by Mark. With the emails, it's pretty straight forward in that the app asks you to choose you photo. In the text plugin, they have to remember that they have this screen shot in their camera roll and hit the camera icon to enter it. I'd like to streamline the process. One, I'd like a screen shot to occur automatically after they see the results of what they did, or to get a popup asking if they like it or not and if not to just hit the BACK button and try again or if they say they like it for the shot to occur automatically. I'd also love (I know I'm getting greedy) if when they choose to text it, the text dialogue would open up with the screen shot already attached instead of them having to press the camera icon and attach it themselves.
 
stevek
Aspiring developer
Profile
Posts: 808
Reg: Dec 24, 2011
great neck
8,080
like
11/22/13 01:22 PM (12 years ago)
Actually I don't really care that much if they get a chance to OK the results of their work or not. If they don't like it, they just go BACK. The "bad" screen shot can be in their camera roll - they just don't have to use it.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.