Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 18

(Approved by AICTE |Affiliated to VTU | Recognized by UGC with 2(f) & 12(B) status |Accredited by NBA and NAAC)

Mobile Application Development


MINI PROJECT PRESENTATION
18CSMP68
SMS Receiver App
Prepared by:
Swapnil (1MJ18IS046)
Ameer (1MJ18IS400)
Raghavendra
Approved by AICTE |Affiliated to VTU | Recognized by UGC with 2(f) & 12(B) status |Accredited by NBA and NAAC 1
Introduction :
Android devices can send and receive messages to or from any
other phone that supports Short Message Service (SMS). Android
offers the Messenger app that can send and receive SMS messages.
A host of third-party apps for sending and receiving SMS
messages are also available in Google Play.
This also app does the exact same part but only as an receiver app

2
Features

 Real Time SMS viewer.


 Displays Phone number of the sender.
 Displays the message sent by the sender.

3
MVP Architecture

MVP (Model-View-Presenter) comes into


picture as an alternative to the traditional
MVC (Model-View-Controller) architecture
pattern.

4
Using MVC as the software architecture, developer end up with the
following difficulties:

Most of the core business logic resides in Controller. During the lifetime of an
application, this File grows bigger and bigger and becomes difficult to maintain
the code. Because of the tightly-coupled UI and data access mechanisms, both
Controller and View layer falls in the same activity or fragment. This causes
problem in making changes in the features of the application. It becomes hard to
carry out Unit Testing of the different layers as most of the part which are under
testing needs Android SDK Components.

5
Receive SMS from Broad Cast Server

To receive SMS messages, use the onReceive() method of the 


BroadcastReceiver class.The Android framework sends
out system broadcasts of events such as receiving an SMS
message, containing intents that are meant to be received
using a BroadcastReceiver. You need to add
the RECEIVE_SMS permission to your app's AndroidManifest.xml file.

6
Layouts Used
Linear Layout

Aligns all children in a single direction, vertically or horizontally.


Specify the layout direction with the android: orientation attribute.
All children are stacked one after the other, so a vertical list will only
have one child per row, no matter how wide they are, and a horizontal
list will only be one row .
Respects margins between children and the of each child.

7
Relative layout

View group that displays child views in relative positions.

The position of each view can be specified as relative to


sibling elements or in positions relative to the parent
Relative Layout area.

8
Frame Layout 
Designed to block out an area on the screen to display a single item.

Generally, Frame Layout should be used to hold a single child view,


because it can be difficult to organize child views in a way that's
scalable to different screen sizes without the children overlapping
each other.

9
Constraint Layout
Connect all the view components to each other and place them on screen.

Built entirely by drag-and-drop instead of XML or Java code with the help
of great Layout Editor.

Layout Editor has this amazing feature known as Inspector.

10
11
12
Implementation
Homepage

16
SMS Received

17
Thank You

18

You might also like