An Android Project which was developed to give the user's a brand new chatting experience and was presented as Bachelor of Engineering Completion Project. It was successfully implemented on a local network to explore its functionality, and it has the potential to be implemented on a global scale.
Coefficient of Thermal Expansion and their Importance.pptx
Timeline Chat Android Project
1. TIMELINE CHAT
PRESENTED BY:
SOURAV AGARWAL
SWATHI KIRAN S
SOME ADITYA MANDAL
VISVESVARAYA TECHNOLOGICAL
UNIVERSITY
"Jnana Sangama", Belgaum: 590 018
Project Seminar
DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING
ACHARYA INSTITUTE OF TECHNOLOGY
Under the Guidance
Mr. RAGHUNANDAN V
Assistant Professor,
Dept. of CSE
2. Dept. of CSE,A.I.T 2013-2014
Project Description
This project is based on an android messaging application.
The idea is to make a messaging app in which you can see the other person in the
chat without paying for the costly video calls.
You can see the other person in the chat through a series of pictures taken
automatically, and forming a collage at the top of your chat thread
2
4. Project Relevance
Java IDE is a well proven industry standard and mobile applications
are the future of computing
This project will give us an exposure to the android application
development which can be selected as a career
This is an innovative way of mobile communication
For people this can be used as an alternative to costly video calls
Potential of huge commercial success in this app driven world
Potential to become a startup company
5. Software / Hardware Requirements
Software Requirements
Sl.
No.
Name of software/ OS/ tools Brief description/ Version number
1 Android Kit Ver. 4.0 or above
2 Eclipse 4.3.1
Hardware Requirements
Sl.
No.
Name of Hardware Brief description/ specification
1 Bootable Android Device 1 gh cpu, 512mb ram, 100mb hard
disk space
2 Server Linux Based
5
Dept. of CSE,A.I.T 2013-2014
9. Dept. of CSE, 2013-2014 project report
9
➢ When the UI is Active, the camera manager takes a picture
automatically from the front camera.
➢ The raw data is converted to jpeg format by the photo manager of
the device.
➢ The image is then passed through the Socket Communicator to the
receiver’s UI.
➢ The chat messages are also passed through the socket
communicator to the sender’s and the receiver’s UI.
➢ The sender’s UI triggers the audio manger to select an audio file
to be transmitted via the socket communicator.
➢ The receiver will receive the raw audio data, format it into
playable format like mp3 and play it in the audio player directly.
10. Dept. of CSE,A.I.T 2013-2014
10
System Design
Camera functionality Data Flow Diagram
11. Dept. of CSE, 2013-2014 project proposal
11
➢ When the sender’s UI becomes active then an image is clicked
from the front camera atomically by the camera manager.
➢ The raw image is then converted to the jpeg format by the photo
manager of the android device.
➢ The processed image is then transferred to the receiver’s UI via
the socket communicator.
➢ The image is received at the photo manager of the receiver
device.
➢ The image is then visible at the top of the receiver’s UI.
12. Dept. of CSE, 2013-2014 project proposal
12
The Chatting Functionality Data Flow Diagram
13. Dept. of CSE, 2013-2014 project proposal
13
➢ The chat messages are send through the socket
communicator.
➢ The receiver receives the message and is displayed on the
lower part of the screen.
14. Dept. of CSE, 2013-2014 project proposal
14
The Audio Message Data Flow Diagram
15. Dept. of CSE, 2013-2014 project proposal
15
➢ The sender triggers the audio manager of the device.
➢ It searches for the file to be transmitted to the other device.
➢ It sends the audio file through the socket communicator.
➢ The receiver receives the audio message.
➢ It triggers the audio manager.
➢ The audio manager convert the raw data into playable mp3 file
format which is supported by the device.
➢ The audio is played in the audio player of the device.
16. Pseudo code of the modules
16
Dept. of CSE,A.I.T 2013-2014
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.playerview_demo);
imageData = new ArrayList<byte[]>();
imageData.add(null);
imageData.add(null);
imageData.add(null);
imageData.add(null);
}
17. Dept. of CSE, 2013-2014 project proposal
17
timer = new Timer();
myTimerTask = new MyTimerTask();
timer.schedule(myTimerTask, 5000, 20000);
Database dat = new Database(getBaseContext());
SQLiteDatabase db = dat.getWritableDatabase();
Cursor c1 = db.rawQuery("select * from USER where
IP='"+Totalipregistration.mip+"'", null);
Capturing the Image
18. private Camera openFrontFacingCameraGingerbread() {
int cameraCount = 0;
Camera cam = null;
Camera.CameraInfo cameraInfo = new
Camera.CameraInfo();
cameraCount = Camera.getNumberOfCameras();
for ( int camIdx = 0; camIdx < cameraCount;
camIdx++ ) {
Camera.getCameraInfo( camIdx, cameraInfo );
if ( cameraInfo.facing ==
Camera.CameraInfo.CAMERA_FACING_FRONT ) {
try {
cam = Camera.open( camIdx );
} catch (RuntimeException e) {
Log.e("camera", "Camera failed to
open: " + e.getLocalizedMessage());
}
}
}
Front Camera Enabling
20. Dept. of CSE, 2013-2014 project proposal
20
Steps of communication
➢ Open a socket.
➢ Open an input stream and output stream to the socket.
➢ Read from and write to the stream according to the server's protocol.
➢ Close the streams.
➢ Close the socket
21. Future
• Global implementation of the app , remov
e the IP based local chatting system, and
make it internet based
• Buy Servers for saving the images , profile
info , passwords and username
• Deploy it to the Google Play