Implementation of Android Smart Devices
Activity An Activity is a GUI segment of the application. Each movement comprises of a design, where diverse gadgets are found (different buttons, text fields, etc.). Every operation of a client is translated to a certain action in the activity. ii)Content Provider A content provider is a part giving an interface to an organized arrangement of information. Content suppliers are the standard API for multi-process correspondence in the Android environment. In our application, a content provider will be utilized to access the phone’s contact list.Service Service component is an application that used in performing some work in the background without prompting the user. A service may run when the application itself is in the background. By default, service does not create its own thread and does not run in a separate process. Nevertheless, in our application, the core services will run separate threads. For example, we use services for routing. iv)Intent Service An intent service is a special type of service, running on its own thread. Intent services are used for handling asynchronous requests. For example, we use an intent service for neighbor discovery, as the Android API publishes asynchronous intents informing of device discovery. v)Broadcast Receiver A broadcast receiver is an application component designed to register and handle intents published in the system. The publisher for the intent may be another component in our application, or an external component from another application. The broadcast receiver uses a filtering mechanism (using “intent filers”) in order for it to be invoked only when specific interesting intents are published. For example, our application uses a broadcast receiver for the neighbor discovery mechanism. The BluetoothDiscoveryService listens to the events of Bluetooth discovery start, Bluetooth discovery end and new Bluetooth device discovered. vi)Intent Intents are the standard communication protocol between different application components. Intents may be notifications of certain events (usually called “actions”) read by broadcast receiver, a structured set of data passed to an activity when it is started/resumed/stopped or a command to perform a certain action when passed to a service. For example, when the user wants to reply to a message he read in his inbox, the inbox activity will send an intent to the compose activity with the recipients’ ID.
In Layer 2 ofAndroid Architecture in ad hoc environment include a group of libraries of different services. The developer can use these services and develop creative functionality in android architecture. This layer provides device manager class, discovery classes of Wi-Fi as well as Bluetooth services. The names of classes are Wi-FiDiscoveryService, Wi-FiBlackListedService, BluetoothDiscoveryService, BluetoothBlackListedService and DeviceManager class. The Wi-FiDiscoveryService class is used to discover all smart devices in the range of Wi-Fi. The Wi-FiBlackListedService class is used to make a list of all blacklisted smart devices. The BluetoothDiscoveryService class is used to discover all smart devices in the range of Wi-Fi. The BluetoothBlackListedService class is used to make a list of all blacklisted smart devices.3.Layer-3 Routing Layer In routing layer of Android architecture, in include methods for sending datagram using one of these, unicast, multicast and broadcast in the range of Wi-Fi. This layer also has an event that responsible for notifying of incoming messages. This layer works between network and libraries for discover. These libraries has discovered methods for discovering immediate neighbors or network contacts

https://codeshoppy.com/android-app-ideas-for-students-college-project.html