Skip to content

Neos, Native Android Application for retrieving news from Google News API

Notifications You must be signed in to change notification settings

mahmoudmagdi/neos

Repository files navigation

Neos logo

Neos is an Android Project uses Google News API, it displays all news that published by US Today in English.

The project contains only one activity MainActivity.java and it loads Headlines getTodayNews(); & Favorite Article getFavorite(); if user has in the local database of the smartphone, Feel free to try them and provide any feedback.

Neos main activity consists of two parts:

  • Favorite Articles: and this is displayed in the upper side of the layout, it will appear only if user liked any articles;
  • Headlines: and this shows all articles from US Today source;
  • Neos SQLite: this DB stores favorite articles for the user;

Neos dependencies

Neos dependencies it uses more than one UI/UX dependencies:

Neos Shotscreens

MainActivity.java:

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
initView();
initActions();
getFavorites();
getTodayNews();
}

The code above initiates the mainView and initiates all actions, then get favorite articles if founded plus the main headlines!

Note that there are three kinds of items are displayed in the main screen, one for the favorite articles, one for the article of headlines, and the last one is the item of section which appears each day, to separate between days and each other.

Screenshot

About

Neos, Native Android Application for retrieving news from Google News API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages