SL4A AND ITS RELATED TECHNOLOGIES

SL4A AND ITS RELATED TECHNOLOGIES

A.The Working Principle of SL4A SL4A is a program running on Android platform. SL4A can help developers write scripts that access Android services. This means that Java is no longer the only development language for the Android platform. Compared with Java language, script languagess have many characteristics, such as easy development and so on. Developers can use SL4A and script languages to improve speed of Android application development and reduce development cost. The scripting languages supported by SL4A include Python, Perl, JavaScript, PHP and shell, etc. The SL4A project has been hosted in github. The GitHub address of SL4A is https://github.com/damonkohler/sl4a. SL4A is no longer under active development. However, some forks of this project may be. Code Shoppy Google has integrated SL4A into the Android platform version N and defined the use of SL4A as testing. SL4A provides Android services for script applications based on JSON-RPC remote call. The process of a script application accessing Android service based on SL4A is that script agent first assembles Android service request of script application into JSON data and passes it to SL4A component, then SL4A component calls Android system function to complete Android service, then SL4A component assembles result of Android service into JSON data and returns it to script agent, and finally script agent forwards it to script application for processing. Any script engine can call SL4A component to share Android services as long as it is compatible with JSON-RPC interface of SL4A

B.Text-to-Speech Technology The full name of TTS is Text To Speech, which means “from text to voice”. It mainly solves the problem of how to transform text information into audible sound information. Android has been supporting TTS since the 1.6 version of Android. Pico and iFLYTEK are common TTS products. These TTS products provides a TTS engine, language packs, and TTS interfaces. The TTS interface of these products is compatible with the TTS interface of Android system. The TTS engine and language packages of these products are separated. SL4A uses the TTS function of these products by calling the TTS interface of Android system. The advantage of these TTS products is good interface compatibility and easy expansion of multi-language. However, Android applications can not dynamically adjust speech parameters, such as language selection and speed adjustment.

C.SL4A Event Physical key is a very important device in Android system. It is an important interface for human-computer interaction. Users can accomplish various functions, such as taking pictures and adjusting volume, quickly by using physical key. The Android system defines a key value for each key, and the Android system identifies the key by value of the key. When a user presses a physical key, such as a volume key, SL4A will generate an event named click. Additional data of this event named click provides a more detailed description of the event. Additional data for the event consists of the attributes of key and action. The key attribute value is the value of the key pressed. The value of the volume-up key is integer 24 and the value of the volume-down key is integer 25. The default function of the two keys is to adjust the volume. When an Android application needs to implement custom functions with the two volume keys, the application should override the default behavior of the two volume keys. If the application does not override the default behavior of the two volume keys, Android system will be disrupted. For example, when teachers use the volume-down key of an Android mobile phone to record students’ attendance, the volume of the Android mobile phone may become smaller and smaller, and students may not be able to hear the voice of the Android mobile phone.

THE CLASS ATTENDANCE SYSTEM

A.The Class Attendance System In this paper, the class attendance system reads students’ names by TTS and records attendance by physical buttons, it not only allows students to report back for class in order, but also allows teachers to quickly press or delay pressing a attendance button on hand to record attendance. When a teacher meets an unfamiliar student, the teacher can delay pressing a attendance button on his hand and spend more time observing the student so that he can know the student quickly. When the teacher meets a very familiar student, the teacher can quickly press the attendance button on his hand and record the attendance of the student quickly. The system provides two attendance buttons, and one is to record being present at classroom on time, and the other is to record being not present at classroom on time. If the system does not receive the attendance key signal within the specified time, the system will record student absenteeism. The functions of the system are shown in Fig. 1. It shows that the modules of the system consist of a module of calling the roll by voice and a module of attendance record and a module of attendance warning and a module of attendance analysis and a module of importing class data. The module of importing class data allows a teacher to import class lists and course charts. The module of calling the roll by voice can read students’ name repeatly by voice in the order of a class list. The module of attendance record can record student attendance through a attendance key. During calling the roll by voice, the module of attendance warning can alarm students according to their previous attendance and makes them know their attendance status. The module of attendance analysis reads the attendance statistics of a class with voice after the attendance is over.

B.The Architecture of the System The architecture of the system is shown in Fig. 2. It shows that the system consists of Android phones and a PC Computer. The PC computer is a server. Android phone are clients. Clients communicate with the server over the network. The modules of the system run on the PC computer and a database is also deployed on the computer. The SL4A component and a TTS application are installed and run on Android phones. One function of SL4A is to receive students’ names transferred by the PC computer and transfer the names to the TTS application that will read the names by voice. Another function of SL4A is to receive a attendance key signal in real time and pass the signal to the PC computer that will record attendance of a student.

C.Database Design The system uses excel files as a database, and the database consists of two excel files, a excel file contains only one data sheet. One is a teaching week calendar data sheet and the other is a students’ attendance data sheet. The first row of a data sheet is fields row, and the other rows are data rows. The teaching week calendar data sheet is used to describe start date, end date and teaching week number of each week. Table I shows the structure of the teaching week calendar data sheet . The cell named “A1” is start date, and the cell named “B1” is end date, and the cell named “C1” is teaching week number. The students’ attendance data sheet is used to record weekly attendance for each student. Table II shows the structure of the students’ attendance data sheet. It consists of a student name field and the weekly number fields. The weekly number fields is used to indicate a student’s weekly attendance status. The value of 0 means that a student is at present in classroom, negative numbers indicate levels of truancy.

D.The System Implementation The main code of the system is given in this paper. The system is composed of a framework [7][8] named PHPExcel 1.8, the SL4A component, a attendance database, a main program file named StudentVoiceAttendanceSys.php. The database consists of two excel files which are 2017-2018-1.xlsx and AttendanceTable.xlsx. The file named 2017-2018-1.xlsx includes the teaching week calendar data sheet, and the file named AttendanceTable.xlsx includes the students’ attendance data sheet. The main program file is to automate the process to input attendance based on PHP scripting language, and is to read or write the attendance database based on PHPExcel, and is to access mobile TTS and key signal services based on SL4A.

.net 2019 2019 android apps 2019-2020 2020 Android android (operating system) android (software) android 10 android 10 features android 2019 android 6.0 sdk android app android app bundle android app development android app development kit android app development tutorial Android app ideas Android app ideas 2019 Android app ideas 2020 Android app ideas for beginners Android app ideas for college project Android app ideas for students android app making Android app project Android app project ideas Android app projects android app tutorial android apps android apps 2019 android based os Android based projects android development android lollipop Android mini project topics Android Mini Projects android nougat android on pc android oreo android os android os on pc android phone android platform architecture Android Project Android Project Ideas Android project ideas 2019 Android project ideas for beginners Android project ideas for computer science Android project ideas for students Android Project Ideas Of 2019 Android Project Ideas Of 2020 Android project ideas with source code Android Project Titles Android project topics Android project with source code Android project with source code for students Android Projects Android Projects For Final Year Android Projects Ideas Android projects list Android Projects Topics Android Projects With Source Code android q beta android sdk android studio android studio app development Android Studio Project Android Studio Tutorial android tutorial android versions android vs android vs apple android vs ios android vs iphone android x86 app app development apps for android best android best android apps best android apps 2019 best android os best android os for pc best apps for android best free android apps Capstone Project Titles Create Android Project EEE Final Year Android Project Titles Final Year Android Projects free android app free android apps free php projects Hosur How To Create New Android Studio Project 2019 2020 how to make an app how to make android apps how to make android apps for beginners Ieee Projects Ieee Projects Php In Your Android Project ios vs android iphone vs android Java Kumbakonam learn android development learn php learning android app development make android app Mannargudi Mayiladuthurai Mca Android Projects Mca final year projects Mca final year projects titles Mca mini project titles with abstract Mca project ideas Mca project titles Mca project topics Mca projects in android Mca projects in php Mca Projects Titles migliori app android Mini project topics for mca Mini projects for mca 5th sem new android apps new php project ideas nodejs vs php os php php 2019 php 7 php agency php books php college project php first project php for beginners php in 2019 php language php mysql php programming php project php project code php project ideas php project ideas 2018 php project source code Php Project Titles Php project topics Php project topics for mca php project tutorial php projects php projects download php projects for students php projects with source code php school project php tutorial php tutorial for beginners php tutorial for beginners full php website project php7 project Project center in hosur Project center in kumbakonam Project center in mannargudi Project center in mayiladuthurai Project center in thanjavur Project center in trichy Project Ideas projects projects on php Thanjavur top 10 android top android apps top android apps 2019 Trichy

Leave a Reply

Your email address will not be published. Required fields are marked *