Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using Java in Android Studio. Hi, I have a working news Api connected to my app. I however need someone to add a search function

Using Java in Android Studio.

Hi, I have a working news Api connected to my app. I however need someone to add a search function at the top, add a favourite feature and if possible handling rotation just like the example given below.

You can download my app status right now from github through this link: https://github.com/B180U/Newsassignment.git

Thank you very much!

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed
Introduction In this assignment, you will be asked to write a news application. When the first time your application is launched, you need to show a list of default news (Your preference). your application should show like below: 3:21 Search Icon Assignment 5 - News Search Bar CANADA STDK LEPAGE News image News title Canadian decathlete Pierce LePage wins silver at World Athletics Championships | CBC Sports y CBC News Authors List of news Futebol | Blasting News by Blasting News Scrollable Assignment 5 - News Canadian decathlete Pierce LePage wins silver at World Athletics Championships | CBC Sports by and News utobol | Blasting News by Blasting NewsTo get these news data, you need to use the news API. (See link: https:/ewsapi.org/docs/endpoints/top-headlines ). This is a free API, but you need to register an account to get the API key. Please read the instruction to make sure you know how to use the API. Part 1 Search news (40%) The user must enter a search term (eg. "sport", "game" or "job") to see results. Delete the entered text 3:21 3:21 Assignment 5 - News Assignment 5 - News Q X game X CANADA STOK Canadian decathlete Pierce LePage wins silver at Afflicted Materials and Anomaly Quests - World Athletics Championships | CBC Sports Sunbreak Endgame Guide - Monster Hunter Rise Wiki Guide - IGN by CBC News by null Futebol | Blasting News by Blasting News Funko x 10.10 Games - Announcement Teaser Trailer - IGN by nullPart 2 Add news to favorite (40%) The user can click on any of the news and add it to the favorite list. When the user clicks on the news item, a notification alert should pop up to ask whether to add the selected item to the favorite page(See below). When the user selects yes on the alert dialog, the item is added to favorite. You must use the database we learned from the class to store these selected items. This means that your favorite items will not get deleted when you restart the application. The favorite page can be found from the navigation drawer by swiping right on your screen. Your drawer must have a header with the name of the application. Please check below for the application flow. 3:21 3:21 Assignment 5 - News Assignment 5 - News game game Add to favorite? HBO Max will begin streaming 'Game of Throw in 4K HDR next month | Engadget Do you want to add this item to favorite? by https://www.engadget.com/about/editors/igor-bonifacic NO NFL odds: Bettors back surprising team to win NFL odds: Bettors back surprising team to win Super Bowl, COY Super Bowl, COY by FOX Sports by FOX Sports Favorite fragment no search 3:21 3:21 3:21 Assignment 5 - News Assignment 5 - News Assignment 5 - News jame X X NEWS Assignment 5 HBO Max will begin streaming 'Game of Thrones' Search in 4K HDR next month | Engadget by https:/wwwengadget. com/about/edhora/igor-bonifacic HBO Max will begin streaming 'Game of Thrones' of Thrones' in 4K HDR next month | Engadget Favorite by https://www.engadget.com/about/editors/igor-bonifacic itor bonifaci Swipe Right NFL odds: Bettors back surprising team to win am to win Super Bowl, COY by FOX SportsPart 3 handle orientation (20%) You need to handle the orientation for both search and favorite pages like the following: 3:21 Assignment 5 - News job X Glenn stordes av "Vi som alskar Frankfurt airport boss blames travel 90-talet" chaos on black suitcases by Katja Palo by Huileng Tan If you wish to check the orientation status programmable, you can check the following link. https://developer.android.com/guide/topics/resources/runtime-changes

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Android 4 Application Development

Authors: Reto Meier

3rd Edition

1118223853, 9781118223857

More Books

Students also viewed these Programming questions

Question

1. What is meant by Landslide? 2.The highest peak in Land?

Answered: 1 week ago

Question

What are the impact of sand mining in rivers ?

Answered: 1 week ago

Question

What are the important Land forms in Lithosphere ?

Answered: 1 week ago

Question

What Is The Responsibility Of A Pharmacist?

Answered: 1 week ago