School of Science and Technology 科技學院
Computing Programmes 電腦學系

The Development of a Mobile Application adopts News of Legislative Council Motion

Chan Yan Chi

Programme Bachelor of Science with Honours in Internet Technology
Supervisor Mr. Kevin Tse
Areas Mobile Computing and Applications
Year of Completion 2013

Objectives

The main objective of the project is to develop the software system for automatically handle the scheduling, collecting and analyzing works. The purpose of these works is to get the useful information from the motion result PDF which places at the Legislative Council website. These tasks help us to avoid the manual work and delay update.

Also, develop a mobile application to provide portability and diversify platform for the user to receive and publish the information. User can have a right to vote on each motion and evaluate on each councilor. They can share their opinion freely and comfortably.

The project has defined a number of sub-objectives as follows:

  • Develop a method for Legislative Council source information collection.
  • Set up a meeting schedule.
  • Set up a program for the system to collect the data automatically.
  • Develop a method for data analyze.
  • Develop a system for data control.
  • Develop a mobile application.
  • Evaluation of the new system against current capacity.

Background and Methodology

This system provides a method to automatically collect, analyze and disseminate the Legislative Council Motion information and provide a platform for user speak out their opinion about the government. The main aim of this system is to manage the data more conveniently and efficiency. Also, via a mobile application to provide a freely, comfortably, diversify and democracy area for the user to receive news, venting feelings and discussing. The following shows the system structure:

The system will check the schedule every day. If today is a meeting day, the system will visit the Legislative Council website every 1 hour to try to download the fresh Motion vote result PDF file. Of course, the period of time of website visiting was declared by the administrator.

In fact, a Motion may have many Amendments, which mean there have many Amendment files relate to one Motion. The system need to determine which PDF file is a final version, and then obtain the file path and download the file.

After the system recognize the correct location of the cross line, the analyze work can be started. The system will cut out the vote part of the image (red box) and delimit it into a different row by identifying the top border of the word (green box & blue line). The reason of start the calculation from the second character of the word is to enlarge the different pixel amount between the word “YES” and “No”. Because the pixel amount of character “Y” is lesser than the “N”'s one. By calculating and distinguish the pixel amount of each word, the system will recognize the different kind of vote type. Lastly, by following the arrangement sequence of the Legislative Council Member (black box) to obtain and record vote result of the Motion. The details are shown below:

This part will introduce how the Android mobile application supports the dissemination of the Legislative Council Motion Information. The design and implementation of the relative function will be shown. The application provides different kind of operation. The user can obtain different kinds of information by choosing the different operation. All Motion will be listed out for the user to select. User can select and view their interested Motion from the list. The details are shown below:

For convenient usage, users can search and filter different type of Motion depended on their interest as well. On each Motion content page, the details of the Motion will be shown. The user can obtain the information such as Motion result, the vote of the Legislative Council Member and the vote distribution statistics of the party. It helps user to fully understand the cause and details of the outcome. The details are shown below:

The administrator can manage the Motion result through the admin website. The website will show the analyzed result, the result is affected by each Legislative Council Member's vote type. The admin can edit the result by drag the Legislative Council Member icon to another vote type column.

The reason of using a webpage to replace using the mobile application to manage the Motion result is the screen of the mobile phone is too small. The admin will feel very bother if he/she need to switch between the management page and the PDF file screen. So using a computer to do such thing will be better. Of course, the admin can use a tablet to visiting this website to do this management work as well. The details are shown below:

The system provides a question game for users to play. There are a set of question that the user needed to answer in a limited time. More than just have fun, we expect the user can improve their knowledge about Legislative Council by playing this game. The details are shown below:

Evaluation

The result of qualitative study has shown that the application can disseminate the Legislative Council Motion information efficient. The Interviewees are enjoying use this application to express their opinions. The application can attract them in a certain extent. It seems can fulfill the original project aims. The details are shown below:

Conclusion and Future Development

This project aims at that improvement needs, and to develop a new solution. The new solution tries to improve the inadequacy of exiting similar solution, also attempt to bring some deeper value to the user and our community.

After the evaluation made on the final product, it can prove that the solution has been already:

  • Providing a portable platform for the user to receive the freshest information of Legislative Council Motion.
  • Providing a comfortable platform for the user to vent out their feelings about government policy and our society.
  • Providing a free platform for users to discuss with each other.
  • Providing a diversify platform for users to train their judging mind.
  • Providing a democratic platform for users to publish their voices to the Legislative Council Member.
  • Providing a convenient and efficient way for handling the collect and analyze work about Legislative Council Motion information.

Human always love to express their own emotion, but we are worrying about how others think of us simultaneously. The system provides a titular identity for the user to hide their real identity. We can shake off other's opinion matter, and to vent everything what we want freely and comfortably. We can communicate with others through the commenting and chatting. By going through the communication, we can think more broadly and deeply to evaluate and enhance our mind.

In fact, we were constantly receiving countless information since we were born. Knowledge, experience and mindset made we became a valuable person. Knowledge of politics is very important. Because politics decide our society further directly. We have a right to disregard on politics, but politics will not make any exception for us. It is always around our lives. This system helps user to approach politics straightly and diversify. We can build up our mind and attitude by receiving and judge the numerous information about politics.

Once we have an own ideology about politics, we may have a lot of opinion on the government policy. The system will collect the democratic voice via the Public Vote of Legislative Council Motion. Also express this voice to the Legislative Council Member. We are trying to jump out the internal pool and publish our voice to external to attempt arouse some real effect.

Although a good platform has been made, but it will be withered very soon while without a good information fountainhead. But how the “good information” defines? In this solution, we define it —— reliable, accurate and fresh. In fact, we were getting this information from the Legislative Council website like other similar solution did. But one thing differently, we past the collecting, analyzing and recording information work to computer automatic handle. We are not good at handle those complicated work. The computer can handle it faster and more accurately. This solution can ensure users will receive the freshest information, also reduce the administrator's work.

Although this solution looks like quite consummate, actually there are some limitations existing. For example, about the method of getting Legislative Council Meeting schedule, the system is using HTML Parser to handle the collection work. So once the website structure has been changed, the re-writing of method is needed.

So the solution should make some improvements in further to track the website changes, recognize the changes and then update the method of collection task automatically.

Finally, we expect this new solution can provide some positive effect to the democratic culture of our society. Everyone can express what they think. Everyone can know the importance of free will. Everyone can have an objectively ideology. We are trying to build a connection between us, also keep expanding this community as large as it can. Although we may have different philosophies, but we have a same goal —— make our Hong Kong society better.

Copyright Chan Yan Chi and Kevin Tse 2013

Jonathan Chiu
Marketing Director
3DP Technology Limited

Jonathan handles all external affairs include business development, patents write up and public relations. He is frequently interviewed by media and is considered a pioneer in 3D printing products.

Krutz Cheuk
Biomedical Engineer
Hong Kong Sanatorium & Hospital

After graduating from OUHK, Krutz obtained an M.Sc. in Engineering Management from CityU. He is now completing his second master degree, M.Sc. in Biomedical Engineering, at CUHK. Krutz has a wide range of working experience. He has been with Siemens, VTech, and PCCW.

Hugo Leung
Software and Hardware Engineer
Innovation Team Company Limited

Hugo Leung Wai-yin, who graduated from his four-year programme in 2015, won the Best Paper Award for his ‘intelligent pill-dispenser’ design at the Institute of Electrical and Electronics Engineering’s International Conference on Consumer Electronics – China 2015.

The pill-dispenser alerts patients via sound and LED flashes to pre-set dosage and time intervals. Unlike units currently on the market, Hugo’s design connects to any mobile phone globally. In explaining how it works, he said: ‘There are three layers in the portable pillbox. The lowest level is a controller with various devices which can be connected to mobile phones in remote locations. Patients are alerted by a sound alarm and flashes. Should they fail to follow their prescribed regime, data can be sent via SMS to relatives and friends for follow up.’ The pill-dispenser has four medicine slots, plus a back-up with a LED alert, topped by a 500ml water bottle. It took Hugo three months of research and coding to complete his design, but he feels it was worth all his time and effort.

Hugo’s public examination results were disappointing and he was at a loss about his future before enrolling at the OUHK, which he now realizes was a major turning point in his life. He is grateful for the OUHK’s learning environment, its industry links and the positive guidance and encouragement from his teachers. The University is now exploring the commercial potential of his design with a pharmaceutical company. He hopes that this will benefit the elderly and chronically ill, as well as the society at large.

Soon after completing his studies, Hugo joined an automation technology company as an assistant engineer. He is responsible for the design and development of automation devices. The target is to minimize human labor and increase the quality of products. He is developing products which are used in various sections, including healthcare, manufacturing and consumer electronics.

Course Code Title Credits
  COMP S321F Advanced Database and Data Warehousing 5
  COMP S333F Advanced Programming and AI Algorithms 5
  COMP S351F Software Project Management 5
  COMP S362F Concurrent and Network Programming 5
  COMP S363F Distributed Systems and Parallel Computing 5
  COMP S382F Data Mining and Analytics 5
  COMP S390F Creative Programming for Games 5
  COMP S492F Machine Learning 5
  ELEC S305F Computer Networking 5
  ELEC S348F IOT Security 5
  ELEC S371F Digital Forensics 5
  ELEC S431F Blockchain Technologies 5
  ELEC S425F Computer and Network Security 5
 Course CodeTitleCredits
 ELEC S201FBasic Electronics5
 IT S290FHuman Computer Interaction & User Experience Design5
 STAT S251FStatistical Data Analysis5
 Course CodeTitleCredits
 COMPS333FAdvanced Programming and AI Algorithms5
 COMPS362FConcurrent and Network Programming5
 COMPS363FDistributed Systems and Parallel Computing5
 COMPS380FWeb Applications: Design and Development5
 COMPS381FServer-side Technologies and Cloud Computing5
 COMPS382FData Mining and Analytics5
 COMPS390FCreative Programming for Games5
 COMPS413FApplication Design and Development for Mobile Devices5
 COMPS492FMachine Learning5
 ELECS305FComputer Networking5
 ELECS363FAdvanced Computer Design5
 ELECS425FComputer and Network Security5