Question
For this homework you will build an application that catches SMS intents and searches them for several keywords. Using Android Studio REQUIREMENTS Version your app
For this homework you will build an application that catches SMS intents and searches them for several keywords. Using Android Studio
REQUIREMENTS Version your app should work for Android 4.0.3 or above (Minimum API 15) You will need 1 Activity (in landscape orientation) MainActivity A fragment which contains a list view (on the left of screen) A web view (on the right of the screen) The List View Fragment UrlList It will show a list of URLs it should have at least 3 default entries in the list, e.g. https://www.yahoo.com https://www.google.com https://my-favoriate-website.com clicking on an item in the List should open up the website in the Web View 1 BroadcastReceiver SmsReceiver use an intent filter to listen for SMS_RECEIVED, register the receiver inside of the Android Manifest file, not dynamically when an SMS is received, your code should get the message from the SMS We will assume that you will only receive messages containing URLs your receiver should then launch a new instance of your Activity, which will add the new URL to the default list in the fragment AND open the website immediately in the WebView. all entries (including the new one) should still be clickable Your app should support SMS messages with URLs in any valid format, i.e. https://www.example.com (Dont need to modify) https://example.com (Dont need to modify) www.example.com (Need to prepend https://) example.com (Need to prepend only https:// , NOT www)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started