Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 5    Views: 80

Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
06/15/13 12:20 PM (12 years ago)

Attach Notepad .txt to email

Hi All, Is it possible to email someone's notepad feature? Jake
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
06/15/13 01:33 PM (12 years ago)
I'm sure it's very simple. I don't own the plugin but I am guessing it consists of a UiTextView. To get the string from the textview NSString *whatText = self.textViewName.text; Add another button somewhere nav bar or toolbar or a cheeky little floating button. Link it to an email/facebook/twitter view controller pass the whatText sting to the body message and bam. or you could use nsdata to copy the .txt file if one is created and attach it to the email using NSData. Anything is possible in the world of Buzztouch lol
 
ictguy
Aspiring developer
Profile
Posts: 564
Reg: Jun 17, 2011
Mildura, Austra...
15,840
like
06/15/13 10:36 PM (12 years ago)
This would be a great feature to add to the existing NotePad plugin. Perhaps Mark my be up for some collaboration Kittsy? Cheers Darrel
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
06/16/13 03:49 AM (12 years ago)
I believe, not positive, you can do this with the email with image plugin. LA
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
06/16/13 03:04 PM (12 years ago)
I got it working. It works perfectly. It attaches the notes to an email. Who knows, I may make this into a plugin... Jake
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
06/16/13 03:07 PM (12 years ago)
Well done
 

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.