You are on page 1of 21

CHAPTER 1: INTRODUCTION

1.1 BACKGROUND
Passkey-a multipurpose application is an application based on android and is made on android
studio with core java and online database (SQL-Firebase). In this application we can access
multiple app and features
Within one application.

1.2 OBJECTIVE
The main objective of this internship is to successfully develop my skills in the web
development ,Android Development and network management technologies. I have learned a
lot in this internship and make the codes in efficient way.

1.3 SCOPE OF THE PROJECT

In recent years, with the development of mobile communication and Mobile terminal,
especially the release of Android smart phone platform has injected new vitality to the mobile
space. Android platform consists of the operating system, middleware and user interface and
application software.

Passkey-a multipurpose application is an application based on android and is made on android


studio with core java and online database (SQL-Firebase). In this application we can access
multiple app and features Within one
application.

Bluetooth technology is a mature short- range wireless communication technology. The


working frequency band of Bluetooth does not need a license around the globe. The advantage
of Bluetooth technology is reflected in the low price, easy to control and non-visual distance
limitations. Bluetooth is an important feature of the smart phone, which is integrated into the
Android platform, as the Android mobile network communication module. The Android

1
system provides many Bluetooth APIs for developers to call.

SCOPE OF THIS MULTIPURPOSE APPLICATION IS:


• Reduces the storage of device
• One hub spot application .
• Messaging
• Camera
• Bluetooth
• Wifi
• Music player
• Flashlight
• Can increase security and privacy

1.4 CONCLUSION
In this application we try to save the storage and privacy or the user.A user can access many
applications and features at on place without installing different applications.
When user login’s the application he/she can access all the feature successfully without any
interruption. This is how are application will work primarily.
Bluetooth chatting is an innovative approach to the mobile world. This application shows
use of Bluetooth in terms of chatting. Means persons can chat via Bluetooth. The main
midlet has just a list which has two values server and client. By selecting one of these two
values, the corresponding instance is created. Midlet is used to initialize the connection. It
does following thing at here. First, it starts the application and search the Bluetooth device.
It sends the signal to the server class. Second, it can run, pause and stop the application.

Third, it shows alert using setAlert function on every changing. Server class goes active
when it go signal from the midlet class. It sends the hello world string with the string to the
other devices. Client class works to respond the other Bluetooth device server.

2
CHAPTER 2: METHODOLOGY

2.1 Problem Definition


I have to develop one project which is an android application design user friendly environment
connecting with the database adding pictures in the application working with the android
studio , Xml, java and database named firebase .

2.2 Tools and Technology Used

• Android Studio
• Xml
• Core Java
• Firebase

Android Studio is the official integrated development environment (IDE) for Google's Android
operating system, built on JetBrains' IntelliJ IDEA software and designed specifically for
Android development. It is available for download on Windows, macOS and Linux based
operating systems or as a subscription-based service in 2020.It is a replacement for the Eclipse
Android Development Tools (E-ADT) as the primary IDE for native Android application
development.

2.3 Preliminary Product Description

Android Studio was announced on May 16, 2013 at the Google I/O conference. It was in early
access preview stage starting from version 0.1 in May 2013. On May 7, 2019, Kotlin replaced
Java as Google's preferred language for Android app development. Java is still supported, C++
CORE JAVA: Core Java is the part of Java programming language that is used for creating
developing a general-purpose application. Without Core Java no one can develop any
advanced java applications .It uses only one tier architecture that is why it is called as ‘stand-
alone’ application. Firebase is a platform developed by Google for creating mobile and web
3
applications. It was originally an independent company founded in 2011. In 2014, Google
acquired the platform and it is now their flagship offering for app development. Firebase is a
mobile- and web application development platform, backed by Google, to help developers
deliver richer app experiences.

4
CHAPTER 3: SYSTEM DESIGN

The complex activity of system development is divided into several smaller sub-activities,
which coordinate with each other to achieve the main objective of system development.

3.1 Design of Android Bluetooth communication


This is to use the Bluetooth API provided by the Android platform to implement
communication between Blue- tooth devices. Bluetooth communication is based on unique
MAC. Taking into account the security issues, the Bluetooth device must been paired before
using Bluetooth communication. The connected devices will be shared with a RFCOMM
channel to transmit data. Therefore, the process of Bluetooth communication includes Query
Bluetooth, we can use Bluetooth Adapter to get the Bluetooth Activity and the method of
onActivityResult() to get the Bluetooth connection intent. Figure 3.1 shows the query pairing
process. Finding Devices, we need to open the Bluetooth user name and MAC address to pair
the Bluetooth. Connecting Bluetooth. Bluetooth communication to achieve the following.
Following is the detailed design of the Bluetooth communication.

Figure 3.1 . Bluetooth inquiries, the pairing process

5
3.2 Software Cofiguration

Bluetooth communication, similar to TCP traffic, we need to have the server and client. In
this chat system, an Android phone as a Bluetooth server-side, the other Android phone as a
Bluetooth client. Client connected to the server and receives message txt from server, also
send message text to the server. The server also able to send and receive text messages.

3.3 Hardware configuration


This system mainly used the Android system components is the Activity and Service. In the
Android system each Activity is an independent process, each Service is an independent
process, while the Activity and Service must be communicate with each other, then you need
to use the Binder mechanism. Figure 3.2 shows the process of pairing connection Android
Binder mechanism abstract defined by Binder interface. In the upper, its concrete
implementation is complete by AIDL. The main program of this system includes three files:
BluetoothChat.java BluetoothChatService.java and DeviceListActivity.java, detailed features
can be seen below the description shown in Figure

Figure 3.2. The system as call sequence diagram

6
CHAPTER 4: IMPLEMENTATION AND
TESTING
4.1 Implementation

Figure 4.1. Flowchart

This research and design of chatting application using android Bluetooth contains the text
messaging through Bluetooth between the two android smartphones. As shown in Figure 4.1
the components of application Following window result shows the server window containing
issues like Send Message, Start server, Clear message and Close App.

7
Figure 4.2 Server Bluetooth chat window1 showing all features

The Second window result is for the client window side which shows the connection with
device properly means connection is established between both the android smart phones.
Figure 4.2 shows the Server Bluetooth chat window1 showing all features Consisting of stat
client, receive, clear message and close App. Some of which the functionalities are same as
the server side.
Start client will enable the Bluetooth on client side if not enable Receive will receive the
message coming from the server side.
Close The client receives the message as soon as the connection is established between the
two devices. As shown in Figure 4.3 Server sends message to the client window2. The client
can also send message to the server or another device after the establishment of the connection.
Bluetooth enables or provides the better improvement over the android devices.
By receiving message from the server the similar connection can also be established within
the same range. Area to be covered into the Bluetooth range is limited.

8
Figure 4.3 Server sends message to the client window2

4.2 Coding and testing of Android Application

Bluetooth chatting is an innovative approach to the mobile world. Figure 4.4 contains the code
configuration using android Studio. This application shows use of Bluetooth in terms of
chatting. Means persons can chat via Bluetooth. The main mid has just a list which has two
values server and client. By selecting one of these two values, the corresponding instance is
created. Midlet is used to initialize the connection. It does following thing at here. First, it starts
the application and search the Bluetooth device. It sends the signal to the server class. Second,
it can run, pause and stop the application. Third, it shows alert using set Alert function on every
changing.

9
Figure 4.4 Code configuration

4.3 connecting with the database


This uses the method of start Discover int the class Bluetooth Adapter to execute
asynchronous way to get around the Bluetooth device, Because it is an asynchronous method
so we do not need to consider the thread is blocked. The whole process takes about 12 seconds
[3]. Then we register a Broadcast Receiver object to receive the Bluetooth de vice information.
We filter ACTION FOUND Intent action to obtained tailed information for each remote
device. Additional parameters in the Intent field EXTRA DEVICE an EXT RA CLASS,
which contains the device type of the object and the object of Bluetooth Device. Figure 4.5
shows the connection with the database. Pairing a Bluetooth device we can call the method of
in the class Bluetooth Adapter to obtain a paired device. The method will return Bluetooth
device array to distinguish between each paired device.

10
Figure 4.5 firebase connectivity

11
CHAPTER 5: RESULTS AND DISCUSSION

5.1 Test Reports

In this application we try to save the storage and privacy or the user. A user can access many
applications and features at on place without installing different applications.

5.2 Login and registration page

When user login’s the application he/she can access all the feature successfully without any
interruption. This is how are application will work primarily. Figure 5.1 shows the Login and
Registration page of Application on which user can create account and benefits of various
features.

Figure 5.1 Log in and Registration page

12
5.3 Details Page And Features Available

A passkey can replace a password and a second factor in a single step. The user experience
can be as simple as autofilling a password form. Passkeys provide robust protection against
phishing attacks, unlike SMS or an app based one-time passwords. Since passkeys are
standardized, a single implementation enables a passwordless experience across different
browsers and operating systems. Figure 5.2 shows the details page and Features available. User
can enter details and get access to these features inside a single application .

Figure 5.2 Details Page And Features Available

13
5.4 App Gallery and camera

The Second window result is for the client window side which shows the connection with
device properly means connection is established between both the android smart phones.
Consisting of stat client, receive, clear message and close App. Some of which the
functionalities are same as the server side. Figure 5.3 shows the App gallery and camera
features of application.Start client will enable the Bluetooth on client side if not enable Receive
will receive the message coming from the server side. Close the camera.

Figure 5.3. App Gallery Figure 5. 4 Camera

14
5.5 Quiz And Other Features

The client can also give quizs after the establishment of the connection. Bluetooth enables or
provides the better improvement over the android devices. Figure 5.5 shows the Quiz page.
Client can access to other features like playlist, flashlight, Bluetooth/WiFi, vibration , text to
speech and dJ. Figure 5.6 shows other features of application.

Figure 5.5. Quiz Figure 5.6. Other Features

15
5.6 Playlist and Songs
User can get a variety of songs and playlist at a single hub application. It gives you access to
a world of free music, curated playlists, artists, and podcasts you love. Discover podcasts, new
music, top songs or listen to your favorite artists and albums. Figure 5.7 shows the playlist.
User can have more features like play with light sensor , play using gravity sensor,play using
Accelerometer As shown in Figure 5.8.

Figure 5.7 Playlist Figure 5.8 songs

16
5.7 Flashlight and wifi Bluetooth

This software package is developed using java as front end which is supported by android
system and is made on android studio. Sqlite the back end to store the database. Figure 5.9
shows Flashlight feature . user can have two options either turn on or turn off the flashlight.

User can have wifi and Bluetooth at a single page . as shown in Figure 5.10 user can directly
turn on/off Bluetooth and wifi.

Figure 5.9. FlashLight Figure 5.10. Wifi/ Bluetooth


17
5.8 Text to Speech and DJ

The Android text-to-speech feature works in the Google Docs app, but on a computer the user
can get various facilities at a single platform or android application names passkey a
multipurpose android application As shown in Figure 5.11 shows user can directly convert
human language to machine input and get access to data.
DJ Music Mixer is a special software that allows users to mix and create tunes.
The software comes with a large number of different types of sound as shown in Figure 5.12.

Figure 5.11 Text to Speech Figure 5.12 DJ

18
CHAPTER 6: CONCLUSIONS

6.1 Limitations of the System

To make it simple for the developer, Java needs a lot of memory space; this can be a tad
problematic if you want to develop apps where you need to optimize memory. After the
high memory usage, it’s lack of speed is one of the biggest disadvantages of java. As it
executes the code one line at a time,the speed of execution often is hampered. Where speed
is important for the project, Java can be used for coding. Though it is easy to program with
mobile app development. Bluetooth chatting is an innovative approach to the mobile world.
This application shows use of Bluetooth in terms of chatting. Means persons can chat via
Bluetooth. The main midlet has just a list which has two values server and client. By selecting
one of these two values, the corresponding instance is created. Midlet is used to initialize the
connection. It does following thing at here. First, it starts the application and search the
Bluetooth device. It sends the signal to the server class. Second, it can run, pause and stop the
application. Third, it shows alert using setAlert function on every changing. Server class goes
active when it go signal from the midlet class. It sends the hello world string with the string to
the other.

6.3 Future Scope of the Projects


Can increase security and privacy
Can include more features such as:
• Calling
• Messaging

• And many more applications


Reduces the storage of device
One Hub Spot application 19
CERTIFICATE

20
REFERENCES

[1] “Setting up An Android Application, Getting the Last Few Tweets.” Stack Overflow,
11 June 2013, stackoverflow.com/questions/17049821/setting-up-twitter-api-getting-the-
last-few-tweets.

[2] “How to Create Log in and Registration page (Client ID and Secret).” YouTube, 1
Sept. 2020, www.youtube.com/watch?v=xH6hAW3EqLk.

[3] “Get Started With Android Studio Code.” Get Started With Android Studio Code,
code.visualstudio.com/learn/overview. Accessed 17 Jan. 2023.

[4] Android API “how to Create interfaces


,http://developer.android.com/reference/packages.html

[5] Microsoft . “GitHub - Microsoft/Vscode: Visual Studio Code.” GitHub, 17 Jan. 2023,
github.com/Microsoft/vscode .

[6] Journal, IJSREM. “BIG DATA ANALYTICS: A LITERATURE REVIEW


PAPER.” INTERANTIONAL JOURNAL OF SCIENTIFIC RESEARCH IN
ENGINEERING AND MANAGEMENT, vol. 06, no. 06, Indospace Publications, June
2022. https://doi.org/10.55041/ijsrem14243.

[7] “API Archives - NGINX.” NGINX, 8 Sept. 2022, www.nginx.com/blog/tag/api.

[8] Java 6 API: http://docs.oracle.com/jav ase/6/docs/api/.

21

You might also like