SlideShare ist ein Scribd-Unternehmen logo
1 von 1
Downloaden Sie, um offline zu lesen
Create an Android application that listens for incoming SMS messages and extracts the phone
number and message details when a new message is received. The application should have a
BroadcastReceiver that listens for the android.provider.Telephony.SMS_RECEIVED intent and
extracts the phone number and message details from the message bundle. The following
requirements should be met: The app should request the RECEIVE_SMS permission in the
AndroidManifest.xml file. When a new SMS message is received, the app should display a Toast
message to the user that a new message has been received. The app should extract the phone
number and message details from the message bundle using the SmsMessage class. The
extracted phone number and message details should be displayed in a Toast

Weitere ähnliche Inhalte

Mehr von yuvarajm76

Cul de las siguientes afirmaciones sobre la hepatitis B V.pdf
Cul de las siguientes afirmaciones sobre la hepatitis B V.pdfCul de las siguientes afirmaciones sobre la hepatitis B V.pdf
Cul de las siguientes afirmaciones sobre la hepatitis B V.pdfyuvarajm76
 
Cul de las siguientes afirmaciones sobre la especiacin al.pdf
Cul de las siguientes afirmaciones sobre la especiacin al.pdfCul de las siguientes afirmaciones sobre la especiacin al.pdf
Cul de las siguientes afirmaciones sobre la especiacin al.pdfyuvarajm76
 
Cul de las siguientes afirmaciones sobre la gemacin de ve.pdf
Cul de las siguientes afirmaciones sobre la gemacin de ve.pdfCul de las siguientes afirmaciones sobre la gemacin de ve.pdf
Cul de las siguientes afirmaciones sobre la gemacin de ve.pdfyuvarajm76
 
Cul de las siguientes afirmaciones representa la fotosnte.pdf
Cul de las siguientes afirmaciones representa la fotosnte.pdfCul de las siguientes afirmaciones representa la fotosnte.pdf
Cul de las siguientes afirmaciones representa la fotosnte.pdfyuvarajm76
 
Cul de las siguientes afirmaciones sobre el efecto del pH .pdf
Cul de las siguientes afirmaciones sobre el efecto del pH .pdfCul de las siguientes afirmaciones sobre el efecto del pH .pdf
Cul de las siguientes afirmaciones sobre el efecto del pH .pdfyuvarajm76
 
Cuando no conocemos las desviaciones estndar de la poblaci.pdf
Cuando no conocemos las desviaciones estndar de la poblaci.pdfCuando no conocemos las desviaciones estndar de la poblaci.pdf
Cuando no conocemos las desviaciones estndar de la poblaci.pdfyuvarajm76
 
Cul de estos cidos grasos de 18 carbonos tendra el menor.pdf
Cul de estos cidos grasos de 18 carbonos tendra el menor.pdfCul de estos cidos grasos de 18 carbonos tendra el menor.pdf
Cul de estos cidos grasos de 18 carbonos tendra el menor.pdfyuvarajm76
 
Cul de estos componentes proporciona redundancia de datos .pdf
Cul de estos componentes proporciona redundancia de datos .pdfCul de estos componentes proporciona redundancia de datos .pdf
Cul de estos componentes proporciona redundancia de datos .pdfyuvarajm76
 
Cuestionario de comunicaciones comerciales 15 La declara.pdf
Cuestionario de comunicaciones comerciales   15   La declara.pdfCuestionario de comunicaciones comerciales   15   La declara.pdf
Cuestionario de comunicaciones comerciales 15 La declara.pdfyuvarajm76
 
Cuanto ms relacionadas estn dos especies ms similares so.pdf
Cuanto ms relacionadas estn dos especies ms similares so.pdfCuanto ms relacionadas estn dos especies ms similares so.pdf
Cuanto ms relacionadas estn dos especies ms similares so.pdfyuvarajm76
 
Critical values for quick reference during this activity In.pdf
Critical values for quick reference during this activity In.pdfCritical values for quick reference during this activity In.pdf
Critical values for quick reference during this activity In.pdfyuvarajm76
 
Cul de estas texturas ayuda al gelogo a determinar si una.pdf
Cul de estas texturas ayuda al gelogo a determinar si una.pdfCul de estas texturas ayuda al gelogo a determinar si una.pdf
Cul de estas texturas ayuda al gelogo a determinar si una.pdfyuvarajm76
 
Cuestionario de prctica de OPS 2 Los beneficios de la agr.pdf
Cuestionario de prctica de OPS  2 Los beneficios de la agr.pdfCuestionario de prctica de OPS  2 Los beneficios de la agr.pdf
Cuestionario de prctica de OPS 2 Los beneficios de la agr.pdfyuvarajm76
 
Cuando un gran nmero de especies a veces taxones principal.pdf
Cuando un gran nmero de especies a veces taxones principal.pdfCuando un gran nmero de especies a veces taxones principal.pdf
Cuando un gran nmero de especies a veces taxones principal.pdfyuvarajm76
 
Cub Foods grocery stores have more than one location in Mank.pdf
Cub Foods grocery stores have more than one location in Mank.pdfCub Foods grocery stores have more than one location in Mank.pdf
Cub Foods grocery stores have more than one location in Mank.pdfyuvarajm76
 
Creeping commitment refers to an approach to systems develop.pdf
Creeping commitment refers to an approach to systems develop.pdfCreeping commitment refers to an approach to systems develop.pdf
Creeping commitment refers to an approach to systems develop.pdfyuvarajm76
 
Cuckoo Egg LengthsCuckoos lay their eggs in the nests of .pdf
Cuckoo Egg LengthsCuckoos lay their eggs in the nests of .pdfCuckoo Egg LengthsCuckoos lay their eggs in the nests of .pdf
Cuckoo Egg LengthsCuckoos lay their eggs in the nests of .pdfyuvarajm76
 
Cuando se transfiere un grupo fosfato del ATP el transporte.pdf
Cuando se transfiere un grupo fosfato del ATP el transporte.pdfCuando se transfiere un grupo fosfato del ATP el transporte.pdf
Cuando se transfiere un grupo fosfato del ATP el transporte.pdfyuvarajm76
 
Cuando Noruega Islandia Liechtenstein y Suiza se unieron a.pdf
Cuando Noruega Islandia Liechtenstein y Suiza se unieron a.pdfCuando Noruega Islandia Liechtenstein y Suiza se unieron a.pdf
Cuando Noruega Islandia Liechtenstein y Suiza se unieron a.pdfyuvarajm76
 
Cuando las empresas son contratadas por otras empresas para .pdf
Cuando las empresas son contratadas por otras empresas para .pdfCuando las empresas son contratadas por otras empresas para .pdf
Cuando las empresas son contratadas por otras empresas para .pdfyuvarajm76
 

Mehr von yuvarajm76 (20)

Cul de las siguientes afirmaciones sobre la hepatitis B V.pdf
Cul de las siguientes afirmaciones sobre la hepatitis B V.pdfCul de las siguientes afirmaciones sobre la hepatitis B V.pdf
Cul de las siguientes afirmaciones sobre la hepatitis B V.pdf
 
Cul de las siguientes afirmaciones sobre la especiacin al.pdf
Cul de las siguientes afirmaciones sobre la especiacin al.pdfCul de las siguientes afirmaciones sobre la especiacin al.pdf
Cul de las siguientes afirmaciones sobre la especiacin al.pdf
 
Cul de las siguientes afirmaciones sobre la gemacin de ve.pdf
Cul de las siguientes afirmaciones sobre la gemacin de ve.pdfCul de las siguientes afirmaciones sobre la gemacin de ve.pdf
Cul de las siguientes afirmaciones sobre la gemacin de ve.pdf
 
Cul de las siguientes afirmaciones representa la fotosnte.pdf
Cul de las siguientes afirmaciones representa la fotosnte.pdfCul de las siguientes afirmaciones representa la fotosnte.pdf
Cul de las siguientes afirmaciones representa la fotosnte.pdf
 
Cul de las siguientes afirmaciones sobre el efecto del pH .pdf
Cul de las siguientes afirmaciones sobre el efecto del pH .pdfCul de las siguientes afirmaciones sobre el efecto del pH .pdf
Cul de las siguientes afirmaciones sobre el efecto del pH .pdf
 
Cuando no conocemos las desviaciones estndar de la poblaci.pdf
Cuando no conocemos las desviaciones estndar de la poblaci.pdfCuando no conocemos las desviaciones estndar de la poblaci.pdf
Cuando no conocemos las desviaciones estndar de la poblaci.pdf
 
Cul de estos cidos grasos de 18 carbonos tendra el menor.pdf
Cul de estos cidos grasos de 18 carbonos tendra el menor.pdfCul de estos cidos grasos de 18 carbonos tendra el menor.pdf
Cul de estos cidos grasos de 18 carbonos tendra el menor.pdf
 
Cul de estos componentes proporciona redundancia de datos .pdf
Cul de estos componentes proporciona redundancia de datos .pdfCul de estos componentes proporciona redundancia de datos .pdf
Cul de estos componentes proporciona redundancia de datos .pdf
 
Cuestionario de comunicaciones comerciales 15 La declara.pdf
Cuestionario de comunicaciones comerciales   15   La declara.pdfCuestionario de comunicaciones comerciales   15   La declara.pdf
Cuestionario de comunicaciones comerciales 15 La declara.pdf
 
Cuanto ms relacionadas estn dos especies ms similares so.pdf
Cuanto ms relacionadas estn dos especies ms similares so.pdfCuanto ms relacionadas estn dos especies ms similares so.pdf
Cuanto ms relacionadas estn dos especies ms similares so.pdf
 
Critical values for quick reference during this activity In.pdf
Critical values for quick reference during this activity In.pdfCritical values for quick reference during this activity In.pdf
Critical values for quick reference during this activity In.pdf
 
Cul de estas texturas ayuda al gelogo a determinar si una.pdf
Cul de estas texturas ayuda al gelogo a determinar si una.pdfCul de estas texturas ayuda al gelogo a determinar si una.pdf
Cul de estas texturas ayuda al gelogo a determinar si una.pdf
 
Cuestionario de prctica de OPS 2 Los beneficios de la agr.pdf
Cuestionario de prctica de OPS  2 Los beneficios de la agr.pdfCuestionario de prctica de OPS  2 Los beneficios de la agr.pdf
Cuestionario de prctica de OPS 2 Los beneficios de la agr.pdf
 
Cuando un gran nmero de especies a veces taxones principal.pdf
Cuando un gran nmero de especies a veces taxones principal.pdfCuando un gran nmero de especies a veces taxones principal.pdf
Cuando un gran nmero de especies a veces taxones principal.pdf
 
Cub Foods grocery stores have more than one location in Mank.pdf
Cub Foods grocery stores have more than one location in Mank.pdfCub Foods grocery stores have more than one location in Mank.pdf
Cub Foods grocery stores have more than one location in Mank.pdf
 
Creeping commitment refers to an approach to systems develop.pdf
Creeping commitment refers to an approach to systems develop.pdfCreeping commitment refers to an approach to systems develop.pdf
Creeping commitment refers to an approach to systems develop.pdf
 
Cuckoo Egg LengthsCuckoos lay their eggs in the nests of .pdf
Cuckoo Egg LengthsCuckoos lay their eggs in the nests of .pdfCuckoo Egg LengthsCuckoos lay their eggs in the nests of .pdf
Cuckoo Egg LengthsCuckoos lay their eggs in the nests of .pdf
 
Cuando se transfiere un grupo fosfato del ATP el transporte.pdf
Cuando se transfiere un grupo fosfato del ATP el transporte.pdfCuando se transfiere un grupo fosfato del ATP el transporte.pdf
Cuando se transfiere un grupo fosfato del ATP el transporte.pdf
 
Cuando Noruega Islandia Liechtenstein y Suiza se unieron a.pdf
Cuando Noruega Islandia Liechtenstein y Suiza se unieron a.pdfCuando Noruega Islandia Liechtenstein y Suiza se unieron a.pdf
Cuando Noruega Islandia Liechtenstein y Suiza se unieron a.pdf
 
Cuando las empresas son contratadas por otras empresas para .pdf
Cuando las empresas son contratadas por otras empresas para .pdfCuando las empresas son contratadas por otras empresas para .pdf
Cuando las empresas son contratadas por otras empresas para .pdf
 

Kürzlich hochgeladen

Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterMateoGardella
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 

Kürzlich hochgeladen (20)

Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 

Create an Android application that listens for incoming SMS .pdf

  • 1. Create an Android application that listens for incoming SMS messages and extracts the phone number and message details when a new message is received. The application should have a BroadcastReceiver that listens for the android.provider.Telephony.SMS_RECEIVED intent and extracts the phone number and message details from the message bundle. The following requirements should be met: The app should request the RECEIVE_SMS permission in the AndroidManifest.xml file. When a new SMS message is received, the app should display a Toast message to the user that a new message has been received. The app should extract the phone number and message details from the message bundle using the SmsMessage class. The extracted phone number and message details should be displayed in a Toast