Smart Switches icon

1.1 by Satyam Kumar


Apr 14, 2018

About Smart Switches

English

This app is built for course Product Realization at NIT Uttarakhand.

• Connection to HC-05 Bluetooth module to be installed in switchboards have been established.

• The app is able to get a list of paired Bluetooth device through BluetoothAdapter’s getBondedDevices() function and display it through a dynamic adapter.

• All the different screens in android are known as activities: The following activities are present in the current version of the app.

1) DeviceListActivity – This activity presents the user with a list of paired Bluetooth devices along with their MAC addresses. A user can pick a switchboard device of their choice, and then the MAC address of that particular device is passed in with an ‘Intent’ to launch MainActivity. An ‘Intent’ in android development is used to open other activities and transmit data between activities using key-value pairs.

2) MainActivity – This activity allows the user to control various appliances wirelessly through switches displayed on the screen. In the background, this activity establishes a connection with HC-05 Bluetooth module (by making use of MAC Address passed in along with ‘Intent’) connected to Arduino. It sends letters (A/B/C/D) as commands to Arduino whenever switches on the screen are turned on or off. Moreover, it also saves the MAC Address in ‘Shared Preferences’ provided by the Android framework for storing app’s settings; so that user don’t need to pick a Switch Board each time the app is relaunched.

3) ConnectingView – This view prevents the app from lagging and shows up whenever MainActivity is busy creating sockets for Bluetooth connection in the background using AsyncTask. An ‘AsyncTask’ is used for carrying out background processes in a separate thread that take a long time for execution, which prevents the app’s user interface from lagging.

What's New in the Latest Version 1.1

Last updated on Apr 14, 2018

Minor bug fixes and improvements. Install or update to the newest version to check it out!

Translation Loading...

Additional APP Information

Latest Version

Request Smart Switches Update 1.1

Requires Android

4.0.3 and up

Show More

Smart Switches Screenshots

Comment Loading...
Languages
Searching...
Subscribe to APKPure
Be the first to get access to the early release, news, and guides of the best Android games and apps.
No thanks
Sign Up
Subscribed Successfully!
You're now subscribed to APKPure.
Subscribe to APKPure
Be the first to get access to the early release, news, and guides of the best Android games and apps.
No thanks
Sign Up
Success!
You're now subscribed to our newsletter.