et_msg : edit text for typing in the message. btn_clear : button to clear the edit texts.btn_send : button used to send the message.In this layout, there are 2 buttons and 2 edit texts. When the layout is ready, it should look something like this. You can leave all the settings to default in the next screens and click ‘Finish’įor this app, a very simple layout is sufficient as shown below.Fill in all the details and click ‘Next’.In Eclipse, go to File - New - Android Application Project.For any beginners reading through this blog, here is how you create a project. I may go into retrieval of numbers from a contact list in the next blog, but for now you will have to manually key in the numbers).įirst of all, as usual, create a new Android project (I will be using Eclipse). It will also create a Toast when there is an incoming message (with the message content and the sender’s number. The task is really simple and barely requires 50 lines of code! The application which we will be developing below will take in a number and a message as inputs and sends an SMS to that number. In this post I will be skimming through the basics of sending and receiving an SMS with your Android device.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |