iPhone Simple submit form - iphone

how can i create a simple submit form with some UITextfield and button , when user tabs the button then the textfield information sends into an email (without email application) ?

For your first question, use a grouped table view, with a cell that contains a text field and a button.
For your second question, take a look at the skpsmtpmessage project on Google Code, which "implements a quick class for sending one off messages via SMTP on the iPhone".

Related

Select phone number and e-mail ID in UITextView

I have a UITextView object. The text in UITextView has a phone number, mail link, a website link and also normal text messages.
I used dataDetectorTypes to detect links and number. Links and number are detected using this method but I was only able to click website link. I want to click number and mail link also.
Note: I don't want to use webview for this.
Thanxs in advance,
Mayur
If you are creating UITextView using UI then in property window -> detection section there is options available are
Links ,Addresses,Phone Numbers and Events
select whatever you want
P.S if you want to enable this detection then do the following in property window -> Behavior section uncheck Editable option otherwise it will not detect

How to customize a message compose screen in iphone?

Now i'm working in iPhone application, Using Label to set a text like (To:), Textfield for enter the text or number and add a plus button for add a contacts.
When i entered the name in textfield then press a plus button, the contact name display in the textfield but the background image are not visible in the textfield like below i mentioned the picture, Field To: (yuvaraj) contact background image is lightblue.
please any one help me.
Thanks in Advance
You can not customize MFMailComposeViewController to avoid editing. Apple forbids this, and the reason is quite simple: it is the user and not you that must decide exactly what to send, to whom etc. The same applies for the UI controller allowing to send SMS (text) messages. And, of course, Apple does not allows sending an email or SMS without explicit interaction with the user. It is the user that must validate and send the email or SMS message. The validation process include the ability to cancel the message or to change any single property at will, including the "to" recipients. from How to customize MFMailComposeViewController so that i can make the "to" field as non-editable? However you can try with this link http://sugartin.info/2011/10/13/sending-a-mail-useing-gmail/

Iphone Phonebook in my application

I have application that send sms. I have texfield for nuber of receiver. I want to add button and when this button is clicked user phonebook to appear and select number from contact list. This number should appear in text field. How can I do that?
Best regards,
Nikolay
You can leverage stuff out of the AddressBook framework, including existing view controllers.
See http://developer.apple.com/library/ios/#documentation/AddressBookUI/Reference/AddressBookUI_Framework/_index.html

custom keyboard - how to dispatch event which signals the UITextField to update the text accordingaly

I am trying to create a custom keypad through a collection of buttons, which function like a regular keypad provided in iphone.
Now series of action that should occur
-text field is selected
-user presses the button
-text field is designated as first responder
-something like key event is launched so that text field is updated according to the character associated with the button.
If above supposition of flow is correct, please guide me how to get around the last step. I am newbie to iphone, so please let me know if am missing any of the basic.
Found an other way which did the needed by simulating the behaviour of keyEvent( which i doubt if exist in iphone sdk).
Basic outline of the procedure is like
-push the content to pasteboard
-call the paste function on UITextField
so when button is pressed, content corresponding to the button is copied to pasteboard and then paste function is called on the UITextField, so that the content get inserted into it.
Detailed description of steps can be found here:
http://dev.ragfield.com/2009/09/insert-text-at-current-cursor-location.html

iphone Feed Type Text with Hyperlinks

Im creating a tableview that displays a feed similar to the facebook iphone app news feed. Im just wondering what control i should use in my custom table cell that will allow me to show a mixture of text and hyperlinks. e.g. UserA has just sent you a message. Where "UserA" is a hyperlink and when the user clicks on it I need to be able to catch that event and send them to UserA's details.
Thanks in Advance
You should probably avoid putting individual touchable elements into the cells. It can become confusing if there is different functionality depending on where the user taps.
Can you just catch the selection of the cell and perform the appropriate action then?