This document describes SurveyAnywhere, a field data collection and synchronization system for portable devices. The system allows users to design survey forms on a web interface, distribute those forms to mobile devices via an Android app, and collect and synchronize survey response data. The system has a server component that stores form and response data, a web interface for form design, and an Android app for mobile data collection. Forms are dynamically generated in the app based on their definitions. Responses are uploaded from the app and stored in the server database.
The main objective of this project is to build a website which will help farmers from Indian villages to sell their products. Here if suppose some village farmers want to use this facility and want to learn how is it possible and how they can use e-farming to sell their products
The main objective of this project is to build a website which will help farmers from Indian villages to sell their products. Here if suppose some village farmers want to use this facility and want to learn how is it possible and how they can use e-farming to sell their products
IJRET : International Journal of Research in Engineering and Technology is an international peer reviewed, online journal published by eSAT Publishing House for the enhancement of research in various disciplines of Engineering and Technology. The aim and scope of the journal is to provide an academic medium and an important reference for the advancement and dissemination of research results that support high-level learning, teaching and research in the fields of Engineering and Technology. We bring together Scientists, Academician, Field Engineers, Scholars and Students of related fields of Engineering and Technology.
Cognitive Approach Towards the Maintenance of Web-Sites Through Quality Evalu...Waqas Tariq
It is a well established fact that the Web-Applications require frequent maintenance because of cutting– edge business competitions. The authors have worked on quality evaluation of web-site of Indian ecommerce domain. As a result of that work they have made a quality-wise ranking of these sites. According to their work and also the survey done by various other groups Futurebazaar web-site is considered to be one of the best Indian e-shopping sites. In this research paper the authors are assessing the maintenance of the same site by incorporating the problems incurred during this evaluation. This exercise gives a real world maintainability problem of web-sites. This work will give a clear picture of all the quality metrics which are directly or indirectly related with the maintainability of the web-site.
IJRET : International Journal of Research in Engineering and Technology is an international peer reviewed, online journal published by eSAT Publishing House for the enhancement of research in various disciplines of Engineering and Technology. The aim and scope of the journal is to provide an academic medium and an important reference for the advancement and dissemination of research results that support high-level learning, teaching and research in the fields of Engineering and Technology. We bring together Scientists, Academician, Field Engineers, Scholars and Students of related fields of Engineering and Technology.
Cognitive Approach Towards the Maintenance of Web-Sites Through Quality Evalu...Waqas Tariq
It is a well established fact that the Web-Applications require frequent maintenance because of cutting– edge business competitions. The authors have worked on quality evaluation of web-site of Indian ecommerce domain. As a result of that work they have made a quality-wise ranking of these sites. According to their work and also the survey done by various other groups Futurebazaar web-site is considered to be one of the best Indian e-shopping sites. In this research paper the authors are assessing the maintenance of the same site by incorporating the problems incurred during this evaluation. This exercise gives a real world maintainability problem of web-sites. This work will give a clear picture of all the quality metrics which are directly or indirectly related with the maintainability of the web-site.
With quick advancement of investigative databases and web data databases are turning out to be exceptionally colossal in size and complex in nature. These databases hold extensive and heterogeneous information, with huge number of relations and qualities. So it is exceptionally hard to outline an arrangement of static inquiry structures to answer different specially appointed database inquirieson these cutting edge databases. Along these lines there is need of such framework which create Query Forms powerfully as indicated by the clients need at run time. The proposed framework Dynamic Query Form i.e.DQF framework going to give an answer by the inquiry interface in extensive and complex databases. In proposed framework, the center idea is to catch client intrigues all through client associations and to adjust the inquiry sort iteratively. Each cycle comprises of 2 sorts of client collaborations: Query Form Enrichment and Query Execution. In Query Form Enrichment DQF would prescribe a positioned rundown of question structure part to client so he/she can choose sought structure segments into current inquiry structure. In Query Execution client fills current inquiry shape and submit question, DQF going to show result and take input from client on gave question results. A client would have office to fill the inquiry frame and submit questions to see the inquiry result at every cycle. So that a question structure could be progressively refined till the client fulfills with the inquiry results.
SOFTWARE DESIGN 1
SOFTWARE DESIGN 5
SOFTWARE DESIGN
Charles Williams
CS457 Unit 4 IP
Juan Echeverria
6/12/2019
Table of Contents
Title Page 1
Table of Contents 2
Introduction 3
System Operation 4
Project Client 5
Software Design Specification 6
Case Diagram……………………………..……………………………………………………………………………………………………………7
Precondition………………………………………………………………………………………………………………………………………….12
Three Sequences……………………………………………………………………………………………………………………………………13
Incoming Message to the Sequence………………………………………………………………………………………………………14
Postcondition………………………………………………………………………………………………………………………………………..15
References……………………………………………………………………………………………………………………………………….……16
Introduction
The user interface is a very important aspect of any software. The user needs an interface that he/she can interact with much ease. As a result of this, the designer's major role should be the creation of a most pleasurable user interface that will allow the user to interact with the software without realizing the complications therein in the invoice. This proposal details the outline of the design implementation in relation to user interface designing.
Purpose of the system
The major purpose of designing user interface is to allow easy access, understanding and use of the major purpose of creating user interface are to create elements which anticipate what the user needs and allow the user to gain access, understanding, and application of the elements within the software. The elements within the interface allow interaction both visual and audio between the user and the system software (Chikurtev, Yovchev & Chikurtev, 2016). This software design is aimed to work with the sales software. A sales system allows the interaction of the customer with the system. Through the interface, the user can analyze sales, sales trends and other functions of the system with use as the interface is designed with elements and keys which allow zooming, inversion, and transformation of the images on the system using the user interface.
History of system development
The user interface came into the picture in the year 1981. It was discovered that graphics on the digital user’s interface in conjunction with the pointing device would allow great use of the system. This led to the creation of Xerox Star an integration of desktop computer in the year 1973 (Laaksoet al. 2016). 1.0 Macintosh operating system was the second to be designed with a complete graphical user's interface. The system had only a few of the current operating system which was window-based icons. The window allowed movement using the mouse (Pathak, et al. 2018). In early 2000, there was more advancement with Apple creating Optical devices which developed to magic mouse allowing the user to have more interaction using different fingers (Jones, Clothier, & Jiang, 2018).
System operation
The creation of user interfaces since their creation had not been app.
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Albert Hoitingh
In this session I delve into the encryption technology used in Microsoft 365 and Microsoft Purview. Including the concepts of Customer Key and Double Key Encryption.
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Ramesh Iyer
In today's fast-changing business world, Companies that adapt and embrace new ideas often need help to keep up with the competition. However, fostering a culture of innovation takes much work. It takes vision, leadership and willingness to take risks in the right proportion. Sachin Dev Duggal, co-founder of Builder.ai, has perfected the art of this balance, creating a company culture where creativity and growth are nurtured at each stage.
The Art of the Pitch: WordPress Relationships and SalesLaura Byrne
Clients don’t know what they don’t know. What web solutions are right for them? How does WordPress come into the picture? How do you make sure you understand scope and timeline? What do you do if sometime changes?
All these questions and more will be explored as we talk about matching clients’ needs with what your agency offers without pulling teeth or pulling your hair out. Practical tips, and strategies for successful relationship building that leads to closing the deal.
Securing your Kubernetes cluster_ a step-by-step guide to success !KatiaHIMEUR1
Today, after several years of existence, an extremely active community and an ultra-dynamic ecosystem, Kubernetes has established itself as the de facto standard in container orchestration. Thanks to a wide range of managed services, it has never been so easy to set up a ready-to-use Kubernetes cluster.
However, this ease of use means that the subject of security in Kubernetes is often left for later, or even neglected. This exposes companies to significant risks.
In this talk, I'll show you step-by-step how to secure your Kubernetes cluster for greater peace of mind and reliability.
Neuro-symbolic is not enough, we need neuro-*semantic*Frank van Harmelen
Neuro-symbolic (NeSy) AI is on the rise. However, simply machine learning on just any symbolic structure is not sufficient to really harvest the gains of NeSy. These will only be gained when the symbolic structures have an actual semantics. I give an operational definition of semantics as “predictable inference”.
All of this illustrated with link prediction over knowledge graphs, but the argument is general.
Accelerate your Kubernetes clusters with Varnish CachingThijs Feryn
A presentation about the usage and availability of Varnish on Kubernetes. This talk explores the capabilities of Varnish caching and shows how to use the Varnish Helm chart to deploy it to Kubernetes.
This presentation was delivered at K8SUG Singapore. See https://feryn.eu/presentations/accelerate-your-kubernetes-clusters-with-varnish-caching-k8sug-singapore-28-2024 for more details.
State of ICS and IoT Cyber Threat Landscape Report 2024 previewPrayukth K V
The IoT and OT threat landscape report has been prepared by the Threat Research Team at Sectrio using data from Sectrio, cyber threat intelligence farming facilities spread across over 85 cities around the world. In addition, Sectrio also runs AI-based advanced threat and payload engagement facilities that serve as sinks to attract and engage sophisticated threat actors, and newer malware including new variants and latent threats that are at an earlier stage of development.
The latest edition of the OT/ICS and IoT security Threat Landscape Report 2024 also covers:
State of global ICS asset and network exposure
Sectoral targets and attacks as well as the cost of ransom
Global APT activity, AI usage, actor and tactic profiles, and implications
Rise in volumes of AI-powered cyberattacks
Major cyber events in 2024
Malware and malicious payload trends
Cyberattack types and targets
Vulnerability exploit attempts on CVEs
Attacks on counties – USA
Expansion of bot farms – how, where, and why
In-depth analysis of the cyber threat landscape across North America, South America, Europe, APAC, and the Middle East
Why are attacks on smart factories rising?
Cyber risk predictions
Axis of attacks – Europe
Systemic attacks in the Middle East
Download the full report from here:
https://sectrio.com/resources/ot-threat-landscape-reports/sectrio-releases-ot-ics-and-iot-security-threat-landscape-report-2024/
DevOps and Testing slides at DASA ConnectKari Kakkonen
My and Rik Marselis slides at 30.5.2024 DASA Connect conference. We discuss about what is testing, then what is agile testing and finally what is Testing in DevOps. Finally we had lovely workshop with the participants trying to find out different ways to think about quality and testing in different parts of the DevOps infinity loop.
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...UiPathCommunity
💥 Speed, accuracy, and scaling – discover the superpowers of GenAI in action with UiPath Document Understanding and Communications Mining™:
See how to accelerate model training and optimize model performance with active learning
Learn about the latest enhancements to out-of-the-box document processing – with little to no training required
Get an exclusive demo of the new family of UiPath LLMs – GenAI models specialized for processing different types of documents and messages
This is a hands-on session specifically designed for automation developers and AI enthusiasts seeking to enhance their knowledge in leveraging the latest intelligent document processing capabilities offered by UiPath.
Speakers:
👨🏫 Andras Palfi, Senior Product Manager, UiPath
👩🏫 Lenka Dulovicova, Product Program Manager, UiPath
GraphRAG is All You need? LLM & Knowledge GraphGuy Korland
Guy Korland, CEO and Co-founder of FalkorDB, will review two articles on the integration of language models with knowledge graphs.
1. Unifying Large Language Models and Knowledge Graphs: A Roadmap.
https://arxiv.org/abs/2306.08302
2. Microsoft Research's GraphRAG paper and a review paper on various uses of knowledge graphs:
https://www.microsoft.com/en-us/research/blog/graphrag-unlocking-llm-discovery-on-narrative-private-data/
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualityInflectra
In this insightful webinar, Inflectra explores how artificial intelligence (AI) is transforming software development and testing. Discover how AI-powered tools are revolutionizing every stage of the software development lifecycle (SDLC), from design and prototyping to testing, deployment, and monitoring.
Learn about:
• The Future of Testing: How AI is shifting testing towards verification, analysis, and higher-level skills, while reducing repetitive tasks.
• Test Automation: How AI-powered test case generation, optimization, and self-healing tests are making testing more efficient and effective.
• Visual Testing: Explore the emerging capabilities of AI in visual testing and how it's set to revolutionize UI verification.
• Inflectra's AI Solutions: See demonstrations of Inflectra's cutting-edge AI tools like the ChatGPT plugin and Azure Open AI platform, designed to streamline your testing process.
Whether you're a developer, tester, or QA professional, this webinar will give you valuable insights into how AI is shaping the future of software delivery.
Connector Corner: Automate dynamic content and events by pushing a buttonDianaGray10
Here is something new! In our next Connector Corner webinar, we will demonstrate how you can use a single workflow to:
Create a campaign using Mailchimp with merge tags/fields
Send an interactive Slack channel message (using buttons)
Have the message received by managers and peers along with a test email for review
But there’s more:
In a second workflow supporting the same use case, you’ll see:
Your campaign sent to target colleagues for approval
If the “Approve” button is clicked, a Jira/Zendesk ticket is created for the marketing design team
But—if the “Reject” button is pushed, colleagues will be alerted via Slack message
Join us to learn more about this new, human-in-the-loop capability, brought to you by Integration Service connectors.
And...
Speakers:
Akshay Agnihotri, Product Manager
Charlie Greenberg, Host
Epistemic Interaction - tuning interfaces to provide information for AI supportAlan Dix
Paper presented at SYNERGY workshop at AVI 2024, Genoa, Italy. 3rd June 2024
https://alandix.com/academic/papers/synergy2024-epistemic/
As machine learning integrates deeper into human-computer interactions, the concept of epistemic interaction emerges, aiming to refine these interactions to enhance system adaptability. This approach encourages minor, intentional adjustments in user behaviour to enrich the data available for system learning. This paper introduces epistemic interaction within the context of human-system communication, illustrating how deliberate interaction design can improve system understanding and adaptation. Through concrete examples, we demonstrate the potential of epistemic interaction to significantly advance human-computer interaction by leveraging intuitive human communication strategies to inform system design and functionality, offering a novel pathway for enriching user-system engagements.
Elevating Tactical DDD Patterns Through Object CalisthenicsDorra BARTAGUIZ
After immersing yourself in the blue book and its red counterpart, attending DDD-focused conferences, and applying tactical patterns, you're left with a crucial question: How do I ensure my design is effective? Tactical patterns within Domain-Driven Design (DDD) serve as guiding principles for creating clear and manageable domain models. However, achieving success with these patterns requires additional guidance. Interestingly, we've observed that a set of constraints initially designed for training purposes remarkably aligns with effective pattern implementation, offering a more ‘mechanical’ approach. Let's explore together how Object Calisthenics can elevate the design of your tactical DDD patterns, offering concrete help for those venturing into DDD for the first time!
Elevating Tactical DDD Patterns Through Object Calisthenics
Cs 607-final-report
1. SurveyAnywhere: A Field data collection and Synchronization system for
portable devices
Amiangshu Shekhar Bosu Md. Ashfakul Islam
asbosu@crimson.ua.edu mislam@crimson.ua.edu
Introduction
Field data is important for any kind of research. Marketing researchers collect data from people to
analyze market and make their decisions about next marketing move. These decisions may run the
company to entirely different direction. Software engineering researchers are interviewing designers,
developers, quality tester and other stake-holders to gather their experiences, views and other data to
analyze them from different software engineering perspectives. Biological researchers go to various
natural inhabitations to collect their required data, pictures of various wild lives. Researchers in each
fields depends on field survey data to continue their research. Even different organizations like an
university runs survey among students to know about their opinions regarding different issues ( e.g.
course curriculum, course structure, instructor evaluation, transportation system, dining facilities, and
library services ) and make better decisions for students. At present surveys are very common.
Lot of organizations and projects do not have required manpower to conduct a survey. Outsourcing a
survey is very popular in almost each sector. Lot of organizations out-source their surveys on behalf of
their clients. Clients design their survey, target their population and make all decision related to convey
those surveys. Outsourced company make plan for execution, choose appropriate manpower and
distribute among workload among those surveyors. Surveyors go to field and communicate with or
examine their surveying subjects, fill all data collection forms and gather those data for the client.
Portable devices are getting smarter with time. Laptops, PDAs, Net-books, tablets, and smart phones are
becoming richer in sense of computational power, storage and network resources. Especially smart
phones are becoming very popular in these days. Smart phones can serve a variety of service to their
users besides regular phone services. Different kinds of apps are developed to serve different needs of
users. So, smart-phones can be used very conveniently to collect data for a survey. One thing a surveyor
needs to use their smart phones for data collection is an appropriate application, which is designed and
built for smart phones for that particular survey. But design and characteristic of data item in two
different surveys are not same. So surveyors need to install different applications for different surveys,
which is very non-user friendly especially for the outsourced surveyor companies. They need a
customized application for surveying. Moreover if they want to change some form on their survey, they
has to rebuild the application and redistribute. They also need a nice and structured framework for
these data collection process because uploading collected data directly from the portable devices is time
consuming and infeasible sometimes.
2. We have designed and developed a flexible framework and an android application to manage survey
design, survey distribution, data collection, and data synchronize between database server and smart
phones.
System Architecture:
The system can be modeled in two parts: Server system and Client system. Researcher or owner of a
survey can create their data collection forms through the web interface easily. They can manage access
to their forms and collected data in database server. On the other hand surveyor can login to system
through android application and access to desired survey forms and upload data to server after
completion of a survey.
Database
Web Server Server
Rest Web
Service Frontend
Figure 1: System Architecture
3. Server system
Server system will have the data storage. It will have a web-based front-end that will enable
administrator to define the data collection form. He can specify the field names, data types, attributes
etc. Based on those definitions the system will customize its REST based web service. The server system
will run on a cloud platform (SAAS- Software as A Service). The system will use database to store the text
data and storage (e.g. S3) for storing binary data (e.g. pictures, videos, sounds). Cloud platform will
enable the application to be scalable. And the users will not need to worry about data backup. The
system will also allow the users to download the files easily and export the data in different formats (e.g.
csv, xml)
Client systems
The client systems will run on different portable devices. Our initial target is to develop a client
application for Android devices. The application will connect to the server and retrieve the form
attributes from the server. Using that definition the application will render the form to the user. The
users will fill the form using collected data and submit the form to the server. The users can attach
different types of files (e.g. videos, pictures, sound) when they upload the data.
As we are separating the two sub-components of our system using a defined interface (REST based web
service), the sub-components can be updated independently. And we can extend the scope of the
system by creating clients for other types of devices.
System Implementation
We have implemented the system according to our design. A web based system was implemented to
serve as Server system. And an android application was built to serve client system.
PHP was used to implement web front end and MySQL was used as back end database server. Kohana
framework (http://kohanaframework.org ) was used for system. Android SDK was used to develop
android application. JSON was used for exchanging data between android application and the server.
An administrator controls the web front end system. Password based user login was implemented. An
administrator can create new users for survey or delete users. He can also design the data collection
form. A nice UI was developed for data collection form building. He can add five types of field for data
collection form: Text box, Checkbox, Dropdown and Password box, Location data field. He can also
mention must require data fields in the forms. He is able see the android preview of the form and
reorganizes fields according his choice. After saving a form into database, a new table is created in
MySQL database automatically corresponding to that form. When surveyor submits survey data, it will
be stored to that table of the database. Administrator can also manage user access to forms: grant
access or revoke access.
4. A password based login system was implemented in client side. After login, surveyors as user of client
system can see available form list and description of forms. Available form list will be downloaded from
server based on user. When user selects one form from the list, fields of the form will be downloaded
from database and it will be built dynamically by android application. User can also able to change their
password.
Figure 2: Database diagram of the system
5. Using the system
The system is divided into three components.
1. Web based frontend for administrative users
2. Android application to access survey forms for mobile users
3. REST web service to manage interaction between Database and Android application
1. Web based frontend for administrative users
The web based frontend allows administrative users to:
1. Create add/edit/delete new mobile users (users that log in from portable devices and access
forms)
2. Create add/edit/delete survey forms
3. Provide / Revoke access to a survey form to a mobile forms
Users login to the web-frontend using a public url. Our web frontend was hosted on Amazon Web
Service (AWS). AWS is cloud based and allows to dynamically scale the application. The URL of our
application was: http://ec2-107-22-45-207.compute-1.amazonaws.com/index.php (Figure. 3). The home
page contains brief motivation for the application and a login form for administrative users.
Figure 3: Home page and login form for administrative users
a) Administrative User homepage
After the administrative user has successfully logged in, the system shows a welcome message (Figure.
4) and shows list of available actions to the user in top menu. Available actions are:
1. Form management: Edit / Delete/ Share existing survey forms
2. Create new form: Create a new survey form
3. User management: Add / Edit /Delete mobile users
6. 4. Change password: Change password for the administrative user
Figure 4: Homepage screen for administrative users after log in
b) User Management
The user management section allows to create Add / Edit /Delete new mobile users. On the landing page of User
management section there is a link to access the form to “Create a new user” (Figure. 5).
Figure 5: Landing page of User management section
The “create new user” form has 5 fields (Figure. 6). To create a new user the First name, Last name,
Email address and Password need to be filled. The confirm password field prevents accidental mistyping
of password.
7. Figure 6: Form to “Create new user”
As all the fields are required, there is Javascript-based validation implemented in the form. When any
type of validation is failed the system provides user proper feedback. It does not show any annoying
popup alert. Rather it highlights the field with red color. It also shows the user why the validation was
failed on the right side of the field (Figure. 7).
Figure 7: Dynamic validation and feedback to the user in new user creation form
After the user is created successfully, the user is redirected to the user management page. The new user is listed
in the user list of “User management” page (Figure. 8 ). There is link to Edit / Delete user on the right side of each
user name on user list. Clicking Edit / Delete link will allow the admin user to Edit/ Delete that user.
8. Figure 8: New user is listed in the user list of user management page
For example, if the admin user clicks on the delete link the system will ask the admin user to confirm,
whether he really wants to delete that user (Figure. 9). This confirmation prevents accidental deletion of
a mobile user. If admin clicks “Ok” on the confirmation screen the user will be deleted.
Figure 9: Confirmation dialog to delete a user
9. After the user is created the system is redirected to the landing page of User management section. The
deleted user is no longer listed in the userlist. Admin can now Add/ Edit/ Delete more users. For
example, he might want to edit a user (Figure 10).
Figure 10: Editing a user
The edit user form is similar to the “Create new user” form. Similar validation is also implemented in this form
(Figure. 11).
Figure 11: Form to edit an existing user
After the user information is saved to the database. The form redirects to user listing page. It now shows that user
with modified information (Figure .12).
10. Figure 12: User list with edited user information
c) Create new form
User can access the section clicking on the “Create New Form” link from the top menu (Figure 10). The
form has two panels. On the left side user enters the name, description of the survey form. He can
dynamically add new fields to the form using the dropdown menu (Figure 13). On the right side there is
preview panel. Clicking on the “Preview on Android” button the user can see an approximate preview of
what the form might look like on an android device.
Figure 13: Section to create a new survey form
11. The “create new form” section is the main part of the application. This form is very dynamic and we
provided special attention to usability in while designing this form. In any type of survey basically there
are three types of questions (Figure. 13).
1. Free form response: Presented using text input
2. Multiple choice: Presented using drop down list
3. Multiple response: Presented using checkbox
We can have also included a special field named “Location data”. If that field is included, android will
send the location of the user when submitting the form. The fields can be added to the form by selecting
a new field type from the “Add New Field” from the drop down menu. Different fields have different
types of attributes. User can rearrange the fields, remove a field, or hide a field. User can mark a field as
required or not (Figure 14). User can see the “Preview on Android” in the preview panel. When user is
satisfied with the form he can save the form and the form will be created.
Figure 14: Using the “Create new form” section to create new survey form
The system show popup dialog to indicate that a form has been created successfully (Figure. 15).
12. Figure 15: Confirmation of new form creation
d) Form management
The form management section allows the admin user to Edit / Delete and share form among mobile
users. This section can be accessed using “Form management” link from the top menu (Figure 16). If the
user clicks “Edit” the edit form is shown. The edit form is similar to the “Create new form”. If the user
clicks “Delete” link, the system asks confirmation from the user.
Figure 16: The form management section
13. When the user clicks the “Share form” link, the system shows the form to share with existing mobile
users. The right side shows the list of current users that has access to this form. There is “Revoke access”
link on the right side of each user. Clicking this link will revoke access of this form from that user. In the
“User name” textbox admin can type the name of a user to provide access. The system will show an
autocomplete list to allow easy selection of a user that do not have access to the form (Figure 17).
Admin selects a user from that autocomplete list and clicks on the “Allow acccess” button. The mobile
user will be added to the access list of that form. When that user now log in from an android device he
will see this form in the list of his forms.
Figure 17: Sharing / Revoking the survey form from mobile users
2. Android application
A login page will be shown to the user after lunching the application on an android phone (Figure. 18 -
left). An email id is required as login id. This login was created in the user management section of the
web frontend. First default password is set by administrator and informed via email to user. If the user
provides incorrect login id or password a pop up will be shown to the user informing an invalid login try
(Figure. 18- right).
14. Figure 18: User login and validation on android
Application will communicate will the server for user authentication. After successful authentication
menu screen will be shown (Figure. 19).
Figure 19: Main menu of the android application
After clicking on “Show forms” icon a user will be directed to show forms page. Application will send a
REST message to server with user authentication token and server runs a query to database for form list
and send the list to application. A list view of forms will be showed up where first bold line shows name
of the forms and italic lines shows description of the forms. Those forms were created and access
granted to current user in form management section of the web-frontend.
15. Figure 20: List of forms accessible to the user
After selecting a form from the list, application will again send a REST message to server and server will
reply with list consists of field name, type. Application will build a dynamic form based on that field list
(Figure 21).
Figure 21: A sample dynamic form
After touching submit button, application will collect data from all fields, perform required validation
and if all the validation is passed then submit those data to database server. A confirmation message
will be shown to the user (Figure 22). The system will return to the main menu.
16. Figure 22: Confirmation of data submission to server
The android application allows user to change the password. Change password icon will navigate to
change password window (Figure 23).
Figure 23: Change password form on android
17. 3. REST service
The rest service acts as bridge between the database and android application. Our implementation of
the service is stateless. On first authentication, the service sends an authentication token to the client.
For using other services a client needs to send that authentication token with their request. The
methods created by our service are described below.
Authentication
URL: http://SYSTEM_URL/index.php/webservice/login
Parameter: username, password
Return: Authentication token on success, on failure returns 401 HTTP status
Getting form list
URL: http://SYSTEM_URL/index.php/webservice/getformlist
Parameter: authentication token
Return: List of forms that user is allowed to access
Getting form field
URL: http://SYSTEM_URL/index.php/webservice/getformfields
Parameter: authentication token, form_id
Return: Details of the form fields
Saving a form data
URL: http://SYSTEM_URL/index.php/webservice/saveform
Parameter: authentication token, form_id, data of the form
Return: HTTP 200 on success, HTTP 500 on error
Changing password
URL: http://SYSTEM_URL/index.php/webservice/changepassword
Parameter: authentication token, current password, new password
Return: HTTP 200 on success, HTTP 500 on error
Possible Future Enhancement
The system functionalities can be enhanced further with some possible enhancements. Firstly, we can
add one more field type in form creation to handle uploading file from android device. This will allow
the users to upload images, audios and videos. Moreover, we can add video, audio or image data type
fields directly to form. When user activates one of this type of form the application will access
corresponding device to collect that type of data. For example, for image fields the application will
access camera of the device to take capture an image.
18. On the web frontend, we can provide a data management section. From this section, user will be able to
browse and download the data in various formats. The data management section can also show some
simple descriptive statistics of uploaded data.
Conclusion
Portable devices are very popular now. Using these portable devices in data collection in survey is a very
convenient option. But problem of using portable devices is presentation of the data collection form of
different forms in different devices. Our developed system is a flexible and convenient solution for these
scenarios. Designing the for is very flexible and user friendly. User can view preview of the form on
android device from the web-frontend. This enhances the usability of the system greatly. The attributes
of the forms are downloaded from server and build dynamically in portable devices. User interfaces are
enhanced than consisting approach.