Synopsis News App

Download as pdf or txt
Download as pdf or txt
You are on page 1of 10

News App

Submitted in partial fulfillment of the requirements for the award of degree of

BACHELOR OF ENGINEERING
IN
COMPUTER SCIENCE & ENGINEERING

Submitted to: Submitted By:

Harpreet Mam
Name : Manas Khare
Uid : 19bcs1675

Name : Sourav Sinha


Uid : 19bcs1668

Name : Satvik Rana


Uid : 19bcs1662

Mentor Signature Note: satisfactory (good),focus on


(Name & E-code) documentation while preparing report.

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

Chandigarh University, Gharuan


June 2021
Nomenclature no: Page no:

1. Introduction 3

2. Feasibility Study 6

3. Methodology/ Planning of work 8

4. Module & Team Member wise Distribution of work 9

5. Innovations in Project 9

6. Software and Hardware Requirements 10

7. Bibliography 10
Introduction

What is Android?

Android is an open source and Linux-based Operating System for mobile devices such as smartphones and
tablet computers.
Android was developed by the Open Handset Alliance, led by Google, and other companies.

Android offers a unified approach to application development for mobile devices which means developers need only
develop for Android, and their applications should be able to run on different devices powered by Android.
The first beta version of the Android Software Development Kit (SDK) was released by Google in 2007 where as the first
commercial version, Android 1.0, was released in September 2008.

On June 27, 2012, at the Google I/O conference, Google announced the next Android version, 4.1 Jelly Bean. Jelly
Bean is an incremental update, with the primary aim of improving the user interface, both in terms of functionality
and performance.

The source code for Android is available under free and open source software licenses. Google publishes most
of the code under the Apache License version 2.0 and the rest, Linux kernel changes, under the GNU General Public
License version 2.

Features of Android

Android is a powerful operating system competing with Apple 4GS and supports great features. Few
of them are listed below:

Feature Description
Beautiful UI Android OS basic screen provides a beautiful and intuitive user interface.

Connectivity GSM/EDGE, IDEN, CDMA, EV-DO, UMTS,


Bluetooth, Wi-Fi, LTE, NFC and WiMAX.
Storage SQLite, a lightweight relational database, is used for data storage purposes.

3
Media support H.263, H.264, MPEG-4 SP, AMR, AMR-
WB, AAC, AAC 5.1, MP3, MID, WAV, JPEG, PNG, GIF, and BMP.

Messaging SMS and MMS


Web browser Based on the open-source WebKit layout.
Multi-touch Android has native support for multi-touch which was initially made available in
handsets such as the HTC Hero.

Multi-tasking User can jump from one task to another and


same time various application can run simultaneously.

Resizable widgets Widgets are resizable, so users can expand them to show more content or shrink them to
save space

Multi-Language Supports single direction and bi-directional text.

GCM Google Cloud Messaging (GCM) is a service that lets developers send short message
data to their users on Android devices, without needing a proprietary sync
solution.

Wi-Fi Direct A technology that lets apps discover and


pair directly, over a high-bandwidth peer-to- peer connection.

Android Beam A popular NFC-based technology that lets users instantly share, just by touching two
NFC-enabled phones together.

Android Applications

Android applications are usually developed in the Java language using the Android Software Development
Kit. Once developed, Android applications can be packaged easily and sold out either through a store such as
Google Play or the Amazon Appstore. Android powers hundreds of millions of mobile devices in more than
190 countries around the world. It's the largest installed base of any mobile platform and growing fast. Every
day more than 1 million new Android devices are activated worldwide. This tutorial has been written with an
aim to teach you how to develop and package Android application. We will start from environment setup for
Android application programming and then drill down to look into various aspects of Android applications.

Technology Used

Front End
4
Android software development kit
The Android software development kit (SDK) includes a comprehensive set of development tools. These include
a debugger, libraries, a handset emulator based on QEMU, documentation, sample code, and tutorials. Currently
supported development platforms include computers running Linux, Mac OS X 10.5.8 or later, and Windows
XP or later. As of March 2015, the SDK is not available on Android itself, but the software development is
possible by using specialized Android applications.

Android Studio, [9] made by Google and powered by IntelliJ, is the official IDE; however, developers are
free to use others. Additionally, developers may use any text editor to edit Java and XML files, then use
command line tools ( Java Development Kit and Apache Ant are required) to create, build and debug
Android applications as well as control attached Android devices (e.g., triggering a reboot, installing
software package(s) remotely).

Develop Android apps with Kotlin

Kotlin's modern language features allow you to focus on expressing your ideas and write less boilerplate code.
With @Nullable and @NonNull included in its type system, Kotlin helps you avoid NullPointerExceptions.
andrioid apps that use Kotlin are 20% less likely to crash.
Kotlin is 100% interoperable with the Java programming language, so you can have as little or as much of Kotlin
in your project as you want.
Kotlin coroutines streamline asynchronous programming, making common tasks like network calls and database
updates simple and performant.

Tools used for project


Android Studio
Android Studio is the official Integrated development environment (IDE) for Android platform
development.

It was announced on May 16, 2013 at the Google I/O conference. Android Studio is freely available under the
Apache License 2.0 .

Android Studio was in early access preview stage starting from version 0.1 in May 2013, then entered beta
stage starting from version 0.8 which was released in June 2014.

The first stable build was released in December 2014, starting from version 1.0.

5
Based on JetBrains' IntelliJ IDEA software, Android Studio is designed specifically for Android development. It
is available for download on Windows , Mac OS X and Linux ,

and replaced Eclipse Android Development Tools (ADT) as Google's primary IDE for native Android
application development.

Android Tool 1: Eclipse w/ADT

Although Eclipse is not the only Java development environment that can be used to develop Android
applications, it is by far the most popular. This is partially due to its cost (free!) but mostly due the strong
integration of the Android tools with Eclipse. This integration is achieved with the Android Development
Tools (ADT) plug-in for Eclipse, which can be downloaded from the Android website.

Android Tool 2: The SDK and AVD Manager

This tool serves a number of important functions. It manages the different versions of the Android SDKs (build
targets)( build targets) that you can develop for, as well as third-party add- ons, tools devices drivers, and
documentation, devices drivers, and documentation. Its second function is to manage the Android Virtual Device
configurations (AVDs) you use to configure emulator instances.

Android Tool 3: Android Debug Bridge

The Android Debug Bridge (ADB) connects other tools with the emulator and devices. Besides being critical
for the other tools (most especially the Eclipse ADT plug-in) to function, you can use it yourself from the
command line to upload and download files, install and uninstall packages, and access many other features via
the shell on the device or emulator.

Feasibility Study
After doing the project new system, study and analyzing all the existing o required functionality of the system,
the next task is to do the feasibility study for the project .All the projects are feasible – given unlimited
resources and infinite time.
Feasibility study includes consideration of all possible ways to provide a solution to the given problem,The
proposed solution should satisfy all the user requirements and should be flexible enough so that future changes
can be easily done on the future upcoming requirements.

A. Economical feasibility:-
This is a very important aspect to be considered while developing a project .we decide a technology based on
minimum possible cost factor.
• Hardware and software cost has to be borne by the organization.

6
• Overall we have estimated that the benefits the organization is going to receive from the proposed system
will surely work on the initial cost and later on the Running cost for the system.

B. Technical feasibility:-
This includes the study of function performance and constrained that may affect the ability to achieve an
acceptable system. For this feasibility study we studies the complete functionalities to be provided in the system
as described in the system requirement specification (SRS) and checked if everything was possible using
different type of fronted and backend platform.

C. Operational Feasibility:-
No doubt the proposed system is fully GUI based that is very user-friendly and all inputs to be taken all self
explanatory even to layman, besides a proper training has been conducted to let you know the essence of the
system to the user so that they feel comfortable with the new system. as far as our studies is concerned the
clients are comfortable and happy as a system has cut down their loads and doing

Future scope of the project

In a nutshell it can be summarized that the future scope of the project circles around maintaining information
regarding:-
• We can give more advanced software for news system including more facilities.
• We will host the platform one online servers to make it accessible worldwide.
• Integrate multiple load balancers to distribute the load of the system.
• Create the master and slave database structure to deduce the overload of the database query.
• Implement the backup mechanism for taking backup of code base and database on regular basis on different
servers.

The above mention points are the enhancement which can be done to increase the applicability and usage of this
project. here we can maintain the record of news and types. Also as it can be seen that now-a-days players are
versatile, i.e. so there is a scope for introducing a method to maintain the news system .Enhancements can be
done to maintain all the news, Types, contents, Media ,advertisements.

We have left all the options so that there is any other future requirements in the system by user for the
advancement of the system then it is possible to implement them in the last we would like to thank all the
person involved in the development of the system directly or indirectly.We hope that the project will serve its
purpose for which it is develop there by underlining success of process.

Limitation of project

Although I put my best effort to make the software flexible ,easy to operate but limitations cannot be ruled out
even by me. Though the software present a broad range of options to its users some intricate option could not be
covered into it; partly because of logistic and partly due to lack of sophistication. Paucity of time was also
major constraints ,thus it was not possible to make the software fool proof and dynamic .
7
considerable efforts have made the software easy to operate even for the people not related to the field of
computers but it is acknowledged that a layman may find it a bit problematic at first instance. The user is
provided help at each step for his convenience in working with the software.

List of limitation of my news app:-


• Off-line reports of news ,advertisement ,Contents cannot be generated due to batch mode execution.
• the transaction are executed in offline mode, hence online data for Content media capture and

modification is not possible.

Methodology/ Planning of work

There are more popular news channel will be there but here you can also develop the updated news application
in your android platform using API key.
I have used New York Times API key to get latest news updates, it’s regularly update all topic like social,
sports, entertainment news and more. So you have just get the API key and insert from our android news
application project. After that the API key automatically fetch all news and show from android application feed.

Create News Application Android Studio


Let’s start to develop android news application. First very important to get API key from New York Times
websites. So in below i give link for how to get API key for your project. Open the link and just register your
account via enter email. After that they send API key from your registered email-id. Copy the API key and paste
from your project (build.gradle file).

Get API key


Click here to Get NYT API Key – New York Times APIs. Just fill that details in the link they ask your Name
and Email-id after fill the SignUP form you get API key.

Create New Project


As usual File=>create new project and choose Empty Activity, after creating the project open the default class of
MainActivity.kt file.

MainActivity.kt
In this project we need to create more Kotlin classes and XML files to create perfect android news application in
android studio.
Activity Layouts
Need to integrate XML files into Kotlin classes to make android news application. Open under the path of res
=>layout =>activity_main.xml file and add the following code.

8
Introduction to App

Our project is on android Application name is News App.

The objective of this News App android application is to provide quality news to user, according to their choices,
so the question is arises how this app will going to work, basically what this app does, Firstly it will going to
collect some preferences from user, example what kind of news user want like it will be political, social, sports,
or lifestyle related. After user will be going to fill some sort preferences according to their needs. Then this app
will going to show that kind of specific news only. After that, if user will be seeing news on the daily basis, then
AI of the app comes into play, it will going to analyze , how many time user takes to read any specific news,
what kind of news user like the most. Hence the AI of the app will be showing that particular news on the top of
the news app.

Module and team members

1. News Management Module :- Used for making the news details.


2. Advertisement Module :- used for making the details of the advertisement.
3. Latest Post Module :- used for making the details of the latest post.
4. Content Module :- used for making the content details.
5. Media Module :- used for making the media details.
6. Login Module :- used for making the login details.
7. Users Module :- used for making the users details.

Our group contains 3 individuals whose names are Manas Khare(19bcs1675), Sourav Sinha(19bcs1668), Satvik
Rana(19bcs1662).
All the stuffs related to frontend and backend of our news app is done by Manas Khare and Satvik Rana.
Work related to the artificial intelligence of news app is done by Sourav Sinha.

INNOVATION IN PROJECT

The news app identifies users interest and shows him what users want with the help of artificial intelligence (AI).
This news app will help user to keep himself / herself updated by showing all the top-notch channel’s news
going through around the world. This app will provide links to users in the app by clicking on that user can
easily jump to the news. This news app would also give you a notification if some incident has happened around
your location. The news app also offers a feature to the user where they can download certain part offline and
then they can access it at any time they want. Many small town business man would be able to promote and
advertise their products through our news app which can surely give them huge boost in their sales and profit
margin because we support MADE IN INDIA.
In future after some updates there would be a feature where people can publish their ideas and any content
relevant to the technology, environment etc. after being checked by the admins, they get featured by our news

9
app.

Software and Hardware Requirements

System specification

Mobile Version : Android 2.3 or upper version

The Android SDK ships with numerous other tools. Many of which are used for special development cases.
However, the tools listed above will be used with just about every project, regardless of the type of app being
developed. For more information on these and other tools available, check out the Android Tools section of the
Android website. Also, new tools and improved tools are released on a fairly regular basis, so make sure you keep all
of the packages updated with the AVD and SDK Manager. Finally, above and beyond the Android tools we've
discussed, your best resource is the Android Developer website. Complete with up-to-date SDK downloads,
source documentation, tutorials, technical articles, and the Android blog with the latest news, this website
provides critical knowledge and support for Android developers.

Bibliography

www.google.com
Wikipedia
Developer.android.com

10

You might also like