Our website uses necessary cookies to enable basic functions and optional cookies to help us to enhance your user experience. Learn more about our cookie policy by clicking "Learn More".
Accept All Only Necessary Cookies
Smart Switches 图标

1.1 by Satyam Kumar


2018年04月14日

关于Smart Switches

中文(简体)

智能开关可以让你无线控制通过蓝牙电器

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.

最新版本1.1更新日志

Last updated on 2018年04月14日

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

翻译中...

更多应用信息

最新版本

请求 Smart Switches 更新 1.1

系统要求

4.0.3 and up

更多

Smart Switches 屏幕截图

评论载入中...
语言
订阅APKPure
第一时间获取热门安卓游戏应用的首发体验,最新资讯和玩法教程。
不,谢谢
订阅
订阅成功!
您已订阅APKPure。
订阅APKPure
第一时间获取热门安卓游戏应用的首发体验,最新资讯和玩法教程。
不,谢谢
订阅
成功!
您已订阅我们的邮件通知。