International Journal of Scientific & Engineering Research, Volume 5, Issue 2, February-2014 847
ISSN 2229-5518
Mobile GIS and Open Source Platform Based on
Android: Technology for System Pregnant Women
Ayad Ghany Ismaeel, Nur Gaylan Hamead
Abstract— the statistic of World Health Organization shows at one year about 287000 women died most of them during and following pregnancy and childbirth in Africa and south Asia. This paper suggests system for serving pregnant women using open source based on Android technology, the proposed system works based on mobile GIS to select closest care centre or hospital maternity on Google map for the pregnant woman, which completed an online registration by sending SMS via GPRS network (or internet) contains her name and phone number and region (Longi- tude and Latitude) and other required information the server will save the information in server database then find the closest care centre and call her for first review at the selected care centre, the proposed system allowed the pregnant women from her location (home, market, etc) can send a help request in emergency cases (via SMS by click one button) contains the ID for this pregnant woman, and her coordinates (Longitude and Latitude) via GPRS network, then the server will locate the pregnant on Google map and retrieve the pregnant information from the database. This information will be used by the server to send succoring to pregnant woman at her location and at the same time notify the nearest hospital and moreover, the server will send SMS over IP to inform her husband and the hospital doctors. Implement and applied this proposed system of preg- nant women shows more effective cost than other systems because it works in economic mode (SMS), and the services of proposed system are flexible (open source platform) as well as rapidly (mobile GIS based on Android) achieved e.g. locally registration, succoring in emergency cases, change the review date of pregnant woman, addition to different types of advising according to pregnancy.
Index Terms— Build-in GPS; GPRS; Mobile GIS; SoIP; Open Source; Google Maps API ; Android Technology
—————————— ——————————
orld Health Organization says about 800 women die from complications of pregnancy or childbirth-related worldwide at day. 99% of maternal deaths in poor countries and only 46% of their women benefit from skilled care during childbirth. Solving this problem began with in- creasing of using mobile telephone, these advantage subscrib- ers are taken in the country to improve the health of their citi- zens and overcome existing communication barriers by broad- casting SMS text messages to all mobile telephone for the
pregnant women via pregnancy care advice [1].
Realy there is big problem needed to solve by suggest sys- tem for medical reasons using to cover pregnant women re- quirements start with registration in closest care center, ad- vice, alarm when there is help request from pregnant woman by displayed on the map and succoring health system can track the pregnant only when she need succoring the system using open source technology that using smart phones based on Android. IPhone, iPad platform: It is inexpensive and easy to develop for, it is available to millions of potential users worldwide and it has fewer limitations than other platforms [2]. Here needed to explain the technology which is employed for expacted enivernoment as follow:
————————————————
• Ayad Ghany Ismaeel is currently pursuing Professor Assistant, PhD com- puter science in department of Information System Engineering, Erbil Technical Eng. College- Hawler Polytechnic University (previous FTE- Erbil), Iraq. PH-009647703580299. E-mail: dr_a_gh_i@yahoo.com Alter- native dr.ayad.ghany.ismaeel@gmail.com
• Nur Gaylan Hamead is MSc Student in Computer Science, College of
Science, Salahaddin University.Email: yosifasn@yahoo.com
Android is an open source software toolkit for mobile phones that was Created by Google and the Open Handset Alliance.
It’s inside millions of cell phones and other mobile devices, making Android a major platform for application developers. Whether you’re a hobbyist or a professional programmer [3], open source software is currently one of the most debated phenomena in the Software industry, both theoretically and empirically. At the most basic level, the term open source software simply means software for which the source code is open and available.
Smart phones and tablets become more popular; the operat- ing systems for those devices become more important. An- droid is such an operating system for low powered devices, that on battery and are full of hardware like Global Position- ing System (GPS) receivers, cameras, light and orientation sen- sors, WiFi and UMTS (3G telephony) connectivity and a touch screen. Like all operating systems, Android enables applica- tions to make use of the hardware features through abstrac- tion and provide a defined environment for applications [4]. Android was sold to Google in 2005; it is based on a modified Linux 2.6 kernel. Google, as well as other members of the Open Handset Alliance (OHA) collaborated on Android (de- sign, development, distribution). Currently, the Android Open Source Project (AOSP) is governing the Android maintenance and development cycle [5].
Google wanted; Android to be open and free; hence, most of the Android code was released under the open source Apache License, which means that anyone who wants to use Android can do so by downloading the full Android source code. Moreover, vendors (typically hardware manufacturers) can add their own proprietary extensions to Android and custom- ize Android to differentiate their products from others. This simple development model makes Android very attractive and has thus piqued the interest of many vendors. To summa- rize, the Android operating environment can be labeled as [5]:
IJSER © 2014 http://www.ijser.org
International Journal of Scientific & Engineering Research, Volume 5, Issue 2, February-2014 848
ISSN 2229-5518
1. An open platform for mobile development
2. A hardware reference design for mobile devices
3. A system powered by a modified Linux 2.6 kernel
4. A run time environment
5. An application and user interface (UI) framework [6].
The Android software stack shown in Fig. 1, it can be subdi- vided into five layers: The kernel and low level tools, native libraries, the Android Runtime, the framework layer and on top of all the applications [5].
Fig. 1. Show Android system architecture. Green items are written in C/C++, blue items are written in Java and run in the Dalvik VM.
Bruce Perens defines that Open Source is a Specification of what is permissible in a software license for that software to be referred to as Open Source. Developing done by “Any one who contributes to the open Source project is an open source developer.” such as a User of the software, a developer who develops the Software, a debugger or hobbyist who likes spending time on open source, or a promoter who funds such a Development. Eric states that developers are attracted to- wards open source development because that gives them an opportunity to demonstrate their ability. So they voluntarily select a project and start contributing. When programmer’s, code gets accepted, it boosts their ego and they get recognized for their effort in the community, Peer recognition creates rep- utation and a reputation as a good programmer is a great achievement [6].
Open source developers are involved in a variety of activi- ties such as designing, coding, debugging and utilizing. Each activity occurs simultaneously. Parallel development and de-
bugging is the key to open source success, users also play a vital role in the debugging Process by reporting bugs to de- velopers or sometimes fixing it themselves. Developers are well aware that users are the best beta testers [6].
Ayad Ghany Ismaeel and Emad Khadhm Jabar [ 2013] sug- gested mHealth system for serving pregnant women, that proposed system is first an effective mHealth system works base on mobile GIS to select adjacent care centre or hospital maternity on Google map at online registration for woman pregnant, that is done when the pregnant woman will send SMS via GPRS network contains her ID and coordinates (Lon- gitude and Latitude) the server when receive it will search database support that system and using the same infrastruc- ture for help the pregnant women at her location (home, mar- ket, etc) in emergency cases when the woman send SMS con- tains her coordinates for succoring. Implement the proposed pregnant women system shows more effective from view of cost than other systems because it works in economic (SMS) mode and from view of serve the system can easy and rapidly manage when achieving locally registration, succoring in emergency cases, change the review date of pregnant woman, as well as different types of advising [7].
Ayad Ghany Ismaeel and Sanaa Enwaya Rizqo [2013] of- fered a succoring system controlled by the patient (e.g. preg- nant women, child, young, etc) based on the patients’ location. The proposed system is the first tracking system using mobile GIS based on WCF technology to offer online succoring (24 hour a day), but really works only when the patient sends re- quest for succoring. The patients will send a request (SMS by click one button) contains his ID, Longitude and Latitude via GPRS network to a web server containing a database, which the patient was registered previously on it. Then the server will locate the patient on Google map and retrieve the pa- tient's information from the database. This information will be used by the server to send succoring facility and notify the nearest and most suitable ESC; moreover, the server will send SMS over IP to inform the patient emergency contacts and emergency hospital. The optimal productivity for proposed succoring system appears in handling a large number of re- quests within short period at rate of one request/need succor- ing per sec as result of using mobile GIS based on WCF tech- nology. Furthermore, the process of request and reply for emergency cases of the patients achieved in cost-effective way due to this technology, which allow sending data (SMS over IP) via Internet using GPRS network. The proposed system can be implemented in a minimum configuration (hardware and software) to minimize the overall cost of operation and manufacturing [8].
Bangladesh experience [2010] allows the mobile users at
2010 subscribing, at a reduced rate, to S SMS service that broadcasts messages in health topics. Health workers in com- munities throughout the country can advise Bangladesh as case study via SMS the patients through their mobile tele-
IJSER © 2014 http://www.ijser.org
International Journal of Scientific & Engineering Research, Volume 5, Issue 2, February-2014 849
ISSN 2229-5518
phones. From those patients the pregnant woman can register their mobile numbers to receive prenatal advice [1].
The whole previous eHealth/mHealth systems for preg- nant women are offers advising using mobile or mobile GIS in their services but each of them has weaknesses like there isn't determine closest care (health) center for pregnant woman from her phone, call for review and changing the date of next review using mobile, advising relate to each trimester of preg- nancy, there isn't another option the system can serve the pregnant women via Internet (ISP), etc. The motivation over- come on the problems above and reaching to system for serv- ing pregnant women can achieve easy registration (from their homes) can select the nearest care center for her and can ob- tain succoring in emergency case at her location by succoring facility (car, helicopter, boat life) take her to nearest hospital.
For the suggested health system (pregnanet women) must be based on the following techniques and modes [7]:
gency Manage Center EMC, Fig. 4 shows the architecture of this proposed system:
Fig. 3. Show SMS over IP architecture
Fig. 4. Reveals the architecture of proposed system of pregnant women.
Fig. 2. Shows mobile GIS platform
The general tasks of pregnant women system can summa- rized as flowchart shown in Fig.5.
The proposed system will base on supporting of a mobile build-in GPS and A- GPS technique on device Samsung Galaxy S III (OS-Upgrades to 4.1.2 "Jelly Bean" (July 2013) Touch Wiz "Nature UX" GUI).
(SMS) is one of the most successful services in existing
cellular networks. The SMS provides a means of send-
ing messages of limited size to and from Global System
for Mobile Communications (GSM) or Universal Mobile
Telecommunications System (UMTS) phones as shows
in Fig 3.
The architecture of suggested health system for succoring the pregnant women involves multiple stages one of them Emer-
IJSER
Fig. 5. Shows the tasks of pregnant women system
International Journal of Scientific & Engineering Research, Volume 5, Issue 2, February-2014 850
ISSN 2229-5518
Fig. 6 reveals one of the important services in this pro- posed system, which is request help, shown in the following flowchart.
will use for saving the incoming data from mobile. The server should be running 24 hours a day, to provide differ- ent services to the pregnant woman (register, change a date of review, first review, weekly advice and offer succoring in emergancy cases). The server works automatically when receiving the request from the client (mobile of pregnant woman) and sends it to the nearest care center in registra- tion case and sends it to the nearest hospital in request help case, and then send help request to the EMC also sends the SMS to the doctors of the hospital addition to husband of pregnant woman and emergency hospital. The main tasks of the web service for this side explained in Fig. 8.
Fig. 7. Shows the tasks in client side.
Fig. 6. Shows the flowchart of request help service
The proposed system of serving the pregnant women us- ing mobile GIS based on open source platform contains five parts are:
nection (Internet Service Provider ISP) and has dynamic IP
address, supported by Windows operating system,
Apache2.2 server, php5 and MySQL database, this server
IJSER © 2 http://www.ijser
Fig. 8. Reveals the web service within server side.
International Journal of Scientific & Engineering Research, Volume 5, Issue 2, February-2014 851
ISSN 2229-5518
Fig. 9 shows the (10) tables within server database (called registration), which created for the proposed system of preg- nant women, and the relation between these tables.
the trimester of pregnancy. Fig. 11 reveals the tasks under this part.
Fig. 10. Reveal main tasks in the hospital and its' doctors
Fig.9. Reveal the relational tables of server database which called registration
Fig. 11. Show the main tasks of E-care center
The web service in this system called (pregnant service) which
IJSER © 2014 http://www.ijser.org
International Journal of Scientific & Engineering Research, Volume 5, Issue 2, February-2014 852
ISSN 2229-5518
was developed with php language in Dreamweaver Version
9.0_2007 based on open source platform.
There are several important technologies that must be availa- ble to implement this proposed system as follow, these tech- nologies will use to cover the platform of the pregnant women system which is shown in Fig. 12:
1) MySQL: For creating server database (registration) of with (10) relational tables as referring in section 3; B.
2) Open source platform.
3) Google Maps API V3.1.
4) Java language.
5) PhP 5 language.
6) Android studio for android phone.
7) Java SDK7.
8) Android SDK.
9) Genymotion for android vm.
10) Dreamweaver Version 9.0_2007 for php language.
Another important service can seen in this side, the woman can call for help (in emergency case) from her location (in/out house in market, job, etc) to implement that the woman for easy must be click only one button, If the demand of the preg- nant woman is done will see a message as shown in Fig. 14; A, otherwise will see message as shown in Fig. 14; B.
Fig.14. Shows cases of sending call for help
Fig.12. Show the platform of pregnant women system
The woman who request system's services; can ask the admin directly or by SMS, and then the adminstrator will send the programs of client side (Android application) to the pregnant woman, which can install it on her smart mobile; after that the woman can do registration to obtain the services (applications) which available on this system. Fig. 13 reveals these web ser- vice (login for registration, call for help, change review, con- tact with admin, etc) as shown the system's GUI achieves in English additional to Kurdish and Arabic locally languages.
The server has multiple tasks one of it searching the server database, e.g. to obtain statistical reports, provide advice or find closest care centre, etc. When the server receives a regis- tration request the system will use Haversine formula (which is an equation important in navigation, giving great-circle dis- tances between two points on a sphere from their longitudes and latitudes) to find the nearest hospital or care center and will inform the selected care center and the pregnant woman by SMS for first review. The pseudo code of this formula in php shows as follow:
Class Haversine
{ Private $radian;
Private $sphere Radius;
Private $startLatDeg; Private $startLongDeg; Private $endLatDeg; Private $endLongDeg;
Public $distance;
Public function __construct ()
{ $this->radian = M_PI / 180;
$this->sphere Radius = 6372.797;
$this->calculate Distance ();
Return $this->distance; } }
Public function get Distance ($startLat, $startLong, $endLat, $endLong)
{ $this->setStartLat ($startLat);
$this->setStartLong ($startLong);
$this->setEndLat ($endLat);
$this->setEndLong ($endLong); }
Fig.13. Reveal using pregnant woman system (Android application) at her mobile (as client side)
As refer before the proposed system offers service in serv- er side, which is an advising to the pregnant women, the dia- gram for this service shown in Fig. 15.
© 2014 w.ijser.org
International Journal of Scientific & Engineering Research, Volume 5, Issue 2, February-2014 853
ISSN 2229-5518
pregnant women with other system related.
TABLE 1
REVEALS COMPARISON OF PROPOSED SYSTEM WITH
OTHER RELATED SYSTEMS
Fig. 15. Shows examples of advising which proposed by the system based on the pregnancy stage
The server's service start (in an emergency case) when recieved SMS from the pregnant woman, and then the server will retrieve her information and determine her location at Google map of the EMC, and then EMC will send succoring (car, boat-life, helicopter, etc) to this woman at her location as shown in Fig. 16, and in the same time the server will send SMS to the hospital, doctor of this pregnant woman, her hus- band, etc.
Fig. 16. Shows help request from pregnant woman on the Google map.
Table 1 shows comparing the results of proposed system for
The important conclusions which obtained from the proposed system for pregnant women as follow:
A. This pregnant women system is more effective than other systems because it supports locally registration for pregnant woman (from her home or place) and the server will find to her the closest care centre, addition the system sends SMS for review, advising, interac- tive, etc via internet and GPRS network as economice mode.
B. The proposed system is very flexible and friendly in used because it based on open source platform and Android (smart) technology. Addition that allow mix- ing between technologies, e.g. using php scripts at server side, while using Java in client side. .
C. The system of pregnancy achieves higher productivi- ty by selecting the nearest care centre to the pregnant women by search the server database and when the pregnant woman calls for help the system response at
IJSER © 2014 http://www.ijser.org
International Journal of Scientific & Engineering Research, Volume 5, Issue 2, February-2014 854
ISSN 2229-5518
shortest time.
D. Using Andriod technology that support A-GPS, which stands for Assisted GPS helps a standalone GPS unit to lock on to a satellite signal. Known as the TTFF (time-to-first-fix), this startup period can be challenging for GPS units where the satellite signal is weak or distorted by surrounding buildings.
E. Using open source technology allows the users of Andriod (in client side) to update the application for the better.
Thank to my wife (DR. NEMA SILAH ABDAL KAREEM) that helped me in the maturation of the idea of research and advic- es at the medical side, which has to do with their competence.
[1] World Health Organization, “mHealth New horizons for health through mo- bile technologies”, © World Health Organization. Available Pages 1-102
2011, at URL: http://www.who.int/goe/publications/goe_mhealth_web.pdf.
[2] Sams Teach Yourself Android™ Application Development in 24 Hour- sCopyright © 2010 Lauren Darcey and Shane Conder.
[3] Ed Burnette, "Hello, Android Introducing Google’s Mobile Development
Platform", 3rd Edition.
[4] Stefan Brahler, "Analysis of the Android Architecture- KIT", KIT, 2 Jun.
2010– 6 Oct. 2010.
https://www.google.iq/search? hl=en&noj=1&q=analysis+of+the+android+ar
chitectu-
tu- re&oq=Analysis+of+the+Android+&gs_l=serp.1.0.0j0i22i30l9.18775.18775.
0.20797.1.1.0.0.0.0.840.840.6-1.1.0....0...1c.1.32.serp..0.1.839.PGuICYa-alY,
and www.kit.edu
[5] Dominique A. Heger, "Mobile Devices - An Introduction to the Android
Operating Environment. -. Design, Architecture, and Performance Implica-
tions", DHTechnology, 2011. http://www.dhtusa.com/media/AndroidInternals.pdf http://ieeexplore.ieee.org.tiger.sempertool.dk/stampPDF/getPDF.jsp?tp=&arn umber=05166911&isnumber=5166728&tag=1
[6] Vidyasagar Potdar, Elizabeth Chang "Open Source and Closed Source Soft- ware Development Methodologies", ICSE 2004: Twenty Sixth International
Conference on Software Engineering (with) Collaboration Conflict and Con- trol: Proceedings of the Fourth Workshop on Open Source Software Engi- neering, May 1 2004, pp. 105-109. Edinburgh, Scotland: IEE The Institution of Electrical Engineers. http://www.idi.ntnu.no/grupper/su/bibliography/pdf/OpenSource/Potdar2004. pdf
[7] Ayad Ghany Ismaeel, "Effective System for Pregnant Women using Mobile
GIS ", paper appears in International Journal of Computer Applications (0975
– 8887) Volume 64– No.11, pages 1-7 February 2013.
[8] Ayad Ghany Ismaeel and Sanaa Enwaya Rizqo, “Optimal Productivity of Succoring Patients System using Mobile GIS Based on WCF Technology” (IJCNWC), ISSN: 2250-3501 Vol.3, No2, pages 1-9 February April 2013.
IJSER © 2014 http://www.ijser.org