GTU Android Program 13 Read all Message (SMS)

GTU Android Program 13 Read all Message (SMS)

GTU Android Program 13

Read Message is very easy task in Android. Here I have explained how you can read all message which is available in the message inbox. After Social messenger apps like whatsapp or hike has launched we are mostly using this apps instead of normal message, but still if you would like to do something with message you can use this code to read all message and use it.

Questions Related with Android Message API

  • Explain sending and Receiving SMS programmatically with example.
  • What XML should be placed with AndroidManifest.xml to give
    permission for send and receive SMS?
  • What is needed by the application to send an SMS?
  • Write code snippet for following… Sending an SMS


Step 1 : Crete android project.

Step 2 : Write code as i have explained here.

Step 3 : How to Send SMS to Emulator for Testing ?

  • 3.1 Go to DDMS
  • 3.2 Select Current Running Emulator from left Pane.
  • 3.3 Select Emulator option from right Pane
  • 3.4 Write down incoming number as 123
  • 3.5 Select SMS and write down your message
  • 3.6 Hit send button.

Location : res\layout

FileName: activity_main.xml

 

Location : src\package

FileName: ActivityMain.java

 

Output

GTU Android Program 13

Download Complete Code

Download Few Popular Android Apps

  1. Bank IFSC Code : Now easily get bank ifsc code which you need while online transfer.
  2. All India PIN Code : Get all india PIN Code Numbers on 1 Android App.
  3. RTO Code : Get all India RTO Code on 1 Android App.
  4. Google 2 Step Code Speak : Now app will speak your google 2 step code, so no need to check mobile, code will reach you.
  5. All Gujarat ST Bus Stand Helpline Numbers (GSRTC Helpline Numbers)
  6. Mumbai City Bus Numbers (MSRTC Helpline Numbers)

  7. Andhra Pradesh City Bus Helpline Numbers (APSRTC Helpline Numbers)

  8. Bhavnagar Diary (Bhavnagar Business Directory)

  9. Baroda Diary (Baroda Business Directory)
  10. Surat Diary (Surat Business Directory)
  11. Ahmedabad Diary (Ahmedabad Business Directory)
  12. Rajkot Diary (Rajkot Business Directory)

Adarsh Patel

My Self Adarsh Suryakant Patel. Currently I am working as Assistant Professor at Parul Instiute of Engineering and Technology, MCA Department, Limda, Vadodara. Major Responsibility : * Lectures * Organizing Training and Expert Sessions for * Placement and Recruitment * Faculty Representative