University of Nairobi School of Computing and Informatics
University of Nairobi School of Computing and Informatics
University of Nairobi School of Computing and Informatics
BY
July 2012
This research project, as presented on this report is my original work and to the best of
my knowledge has not been presented for any other university award.
P58/62274/2010
Signed: ………………………………….
Date: ……………………………………..
This project has been submitted as part of fulfillment of the requirements for the award
of Masters of Science in Computer Science of the School of Computing and Informatics
of the University of Nairobi, with my approval as the University Supervisor.
Signed: ………………………………….
Date: ……………………………………..
i
ACKNOWLEDGEMENTS
My sincere appreciation to the following persons who made this research project a
success.
Prof. Peter Waiganjo Wagacha, my supervisor for his invaluable counsel and guidance.
Mr. Joseph Mutonga Njenga and the management of Limuru Dairy for allowing access
to Limuru Dairy Cooperative.
Mr. Boniface Mburu, consultant, Fibec Limited for sharing his immense wealth of
knowledge in the dairy sector.
Mr. Sam Kariu, mobile developer for his excellent programming skills.
Mr. Paul Kimemia, my colleague for sitting in for me during field work.
ii
DEDICATION
iii
ABSTRACT
For many years, Kenya has relied on coffee, tea and horticulture for empowerment of
small holder farmers in the rural areas. This trend is changing as dairy farming has
taken a key role complementing the traditional cash crops in many rural households.
The dairy industry is a major source of income and employment to an estimated 1.5
million people mainly in rural Kenya.
Small scale farmers face several challenges some of which include difficulties in
accessing credit, in-ability to build milk produce with economic value, marketing, and
quality assurance. To overcome these challenges, the farmers have formed dairy
cooperative societies, which facilitate milk collection, bulking, processing and
marketing for the more advanced ones. In these cooperatives, the small holder farmers
benefit from economies of scale, access to credit, and also access to markets.
Dairy cooperatives - the business units - are faced with several challenges and key
among those is providing access to credit against milk delivery. Farmers often run into
arrears, and spend money and time that could have been spent on other activities such
as travelling to cooperative's head office to access information. Suppliers, service
providers and shop owners are unable to accurately determine credit to be advanced to
farmers. The cooperative management incurs overheads each month from manually
reconciling credit information before making payments to members, resulting in delays.
The credit process is offline, largely manual, prone to errors and fraud.
Limuru Dairy Cooperative was selected as a case in this research. Focusing on the small
holder dairy farmer, the credit process was analyzed and a mobile phone based solution
developed using evolutionary prototyping.
Farmers were able to use SMS to access credit information. Shop owners and
cooperative management were able to use a smart phone application to advance
merchandise to farmers against value of milk delivered.
From the pilot data analysis, the solution showed that if adopted, service delivery at the
cooperative would be enhanced, efficiency enhancement in the credit process, and the
livelihoods of Limuru Dairy small holder farmers improved.
iv
LIST OF FIGURES
Figure 1: Dairy density (Source: ILRI/infocentra 2008) ......................................................... 6
Figure 2: Market map (Source: Technoserve 2008) ................................................................ 8
Figure 3: M4D application development stages. Source: www.m4dev.org ...................... 13
Figure 4: Mobile data collection technologies. Source: M. Loudon, mobileactive.org .... 16
Figure 5: technology Acceptance Model (TAM). Source: Davis, 1985 .............................. 20
Figure 6: Unified Theory of Acceptance and Use of Technology. Source: Venkatesh,
2003............................................................................................................................................... 21
Figure 7: Evolutionary prototype. Source: Sommerville. I, 2000 ........................................ 24
Figure 8: Limuru Dairy business model ................................................................................ 26
Figure 9: Credit process at Limuru Dairy Cooperative ...................................................... 28
Figure 10: Proposed mobile based system ............................................................................. 31
Figure 11: Revised credit process ............................................................................................ 33
Figure 12: Database schema...................................................................................................... 34
Figure 13: Screen mock up for balance and sell functions ..................................................... 35
Figure 14: Screen mock up for inventory, order and receive functions ............................. 36
Figure 15: Model showing mobile technologies interaction ................................................ 37
Figure 16: Check balance function ........................................................................................... 40
Figure 17: Sell process ............................................................................................................... 41
Figure 18: Inventory screen showing Sync function ............................................................. 41
Figure 19: Order and receive goods ........................................................................................ 42
Figure 20: Sample sms on a Samsung handset and a simulator. ........................................ 43
Figure 21: Netbeans IDE for sms module development ...................................................... 68
v
LIST OF TABLES
Table 1: M4D sectors. Source: www.m4dev.org .................................................................... 11
Table 2: Mobile data collection methods ................................................................................ 18
Table 3: Mobile application development tools..................................................................... 19
vi
TERMINOLOGY
AGRA Alliance for Green Revolution in Africa
API Application program interface
App Application
BI Behavioural Intention
CCK Communications Commission of Kenya
CDE Center for Development Enterprise
FGD Focus Group Discussion
GIS Geographical Information System
GPRS General Packet Radio Service
GSM Global System for Mobile Communication
HTML Hypertext Markup Language
HTTP Hypertext Transfer Protocol
HQ Headquarters
ICT Information and Communication Technology
ICT4D ICT for Development
IDE Integrated Development Environment
IDRC International Development Research Center
J2ME Java 2 Platform, Micro Edition
JSON JavaScript Object Notation
KDB Kenya Dairy Board
KDSC Kenya Dairy Sector Competitive Program
M4D Mobile for Development
MIS Management Information System
OS Operating System
PDU Protocol Data Unit
RDBMS Relational Database Management System
SDP Small holder Dairy Project
SMPP Short Message Peer to Peer Protocol
SMS Short Message Services
SQL Structured Query Language
TAM Technology Acceptance Model
UNICEF United Nations Children Fund
USSD Unstructured Supplementary Service Data
WAP Wireless Application Protocol
WWW World Wide Web
XML Extensible Markup Language
vii
TABLE OF CONTENTS
DECLARATION............................................................................................................................ i
ACKNOWLEDGEMENTS.......................................................................................................... ii
DEDICATION ............................................................................................................................. iii
ABSTRACT .................................................................................................................................. iv
LIST OF FIGURES ........................................................................................................................ v
LIST OF TABLES ......................................................................................................................... vi
TERMINOLOGY ........................................................................................................................ vii
1 INTRODUCTION ................................................................................................................. 1
1.1 BACKGROUND ............................................................................................................ 1
1.1.1 Dairy sector in Kenya ............................................................................................ 1
1.1.2 Dairy Value Chain ................................................................................................. 1
1.1.3 Dairy Cooperatives ................................................................................................ 1
1.1.4 Case: Limuru Dairy Farmers Cooperative Society............................................ 2
1.1.5 Popularity of the mobile phone in Kenya .......................................................... 2
1.2 PROBLEM STATEMENT ............................................................................................. 2
1.3 JUSTIFICATION ............................................................................................................ 3
1.3.1 Credit access utility on the mobile phone .......................................................... 3
1.3.2 Value addition ........................................................................................................ 4
1.4 OBJECTIVES .................................................................................................................. 4
1.5 SCOPE ............................................................................................................................. 4
1.6 EXPECTED PROJECT OUTCOMES ........................................................................... 5
1.7 ASSUMPTIONS ............................................................................................................. 5
2 LITERATURE REVIEW ....................................................................................................... 6
2.1 DAIRY SECTOR IN KENYA ....................................................................................... 6
2.1.1 Milk production ..................................................................................................... 6
2.1.2 Sector Regulation ................................................................................................... 7
viii
2.1.3 Milk Value Chain ................................................................................................... 7
2.1.4 Challenges in the dairy supply chain.................................................................. 8
2.1.5 Information systems in the dairy sector ............................................................. 9
2.1.6 Challenges facing current information systems .............................................. 10
2.2 MOBILE TECHNOLOGIES FOR DEVELOPMENT (M4D) .................................. 11
2.2.1 Introduction .......................................................................................................... 11
2.2.2 M4D application development Model .............................................................. 13
2.2.3 Mobile applications in the agricultural sector in Kenya ................................ 14
2.2.4 Mobile data collection technologies .................................................................. 16
2.2.5 Mobile application development tools ............................................................. 19
2.3 TECHNOLOGY ADOPTION IN RURAL COMMUNITIES................................. 20
2.3.1 Technology Acceptance Model (TAM) ............................................................. 20
2.3.2 Unified Theory of Acceptance and Use of Technology (UTUAT) ................ 21
2.4 SUMMARY ................................................................................................................... 22
3 METHODOLOGY .............................................................................................................. 23
3.1 OVERVIEW .................................................................................................................. 23
3.2 DATA COLLECTION TECHNIQUES ..................................................................... 23
3.2.1 Literature survey .................................................................................................. 23
3.2.2 Field Visits ............................................................................................................. 23
3.2.3 Interviews/Consultations ................................................................................... 23
3.2.4 Focus Group Discussions (FGD) ........................................................................ 23
3.2.5 Questionnaires ...................................................................................................... 24
3.2.6 Immersion sessions .............................................................................................. 24
3.3 EVOLUTIONARY PROTOTYPING MODEL ......................................................... 24
4 SYSTEM ANALYSIS AND DESIGN................................................................................ 26
4.1 ANALYSIS .................................................................................................................... 26
4.1.1 Current business model at Limuru Dairy ........................................................ 26
4.1.2 Review of current credit process ....................................................................... 28
ix
4.1.3 User requirements................................................................................................ 29
4.1.4 Requirements for a mobile solution .................................................................. 30
4.2 DESIGN ........................................................................................................................ 31
4.2.1 Proposed mobile based system .......................................................................... 31
4.2.2 Short Messages Service (SMS) ............................................................................ 31
4.2.3 Mobile application (Mobile App) ...................................................................... 31
4.2.4 Hosted database and online information servers ........................................... 32
4.2.5 Revised credit process ......................................................................................... 33
4.2.6 Database design.................................................................................................... 34
4.2.7 User Interface design ........................................................................................... 35
5 PROTOTYPE IMPLEMENTATION................................................................................. 37
5.1 OVERVIEW .................................................................................................................. 37
5.2 CHOICE OF TECHNOLOGIES USED ..................................................................... 38
5.2.1 Android ................................................................................................................. 38
5.2.2 Java and Eclipse Integrated Development Environment (IDE) .................... 38
5.2.3 Short Messages Services Library (SMSLib) ...................................................... 38
5.2.4 MySql database server ........................................................................................ 39
5.2.5 Scripting ................................................................................................................ 39
5.2.6 Communication between the mobile apps ....................................................... 40
5.3 PROTOTYPE DEVELOPMENT ................................................................................ 40
5.3.1 Mobile Application .............................................................................................. 40
5.3.2 SMS module .......................................................................................................... 43
5.3.3 Integration and server installation .................................................................... 44
5.4 PROTOTYPE EVALUATION .................................................................................... 44
5.4.1 Technology acceptance model ........................................................................... 45
5.4.2 Test process ........................................................................................................... 45
5.4.3 Results .................................................................................................................... 45
6 DISCUSSION ....................................................................................................................... 52
x
6.1 ACHIEVEMENTS ....................................................................................................... 52
6.2 LIMITATIONS AND CHALLENGES ...................................................................... 53
6.3 CONCLUSION ............................................................................................................ 54
6.4 SUGGESTED FURTHER RESEARCH...................................................................... 54
REFERENCES ............................................................................................................................. 55
APPENDIX A: LETTER OF AUTHORITY TO CONDUCT RESEARCH .......................... 58
APPENDIX B: FGD MATERIALS ........................................................................................... 59
APPENDIX C: MOBILE APP USER MANUAL .................................................................... 63
APPENDIX D: SAMPLE CODE ............................................................................................... 68
APPENDIX E: CREDIT SALES JOURNAL ............................................................................ 75
APPENDIX F: MILK JOURNAL .............................................................................................. 76
APPENDIX G: QUESTIONAIRRE .......................................................................................... 77
xi
1 INTRODUCTION
1.1 BACKGROUND
The dairy industry is a major source of livelihood to many Kenyans, contributing about
4% of Kenya’s GDP. The industry has created 500,000 direct jobs in milk transportation,
processing and distribution and a further 750,000 in related support services. For years,
the country relied on coffee, tea and horticulture for empowerment of rural economy.
Today the dairy industry is rising as the cornerstone in rural development (KDB, 2012).
Informal market connects producers to consumers via brokers. At the farm gate level,
informal marketing channels dominate with most farmers using this channel. These
channels include hawkers, brokers, self-help groups as well as neighbours and business
establishments like hotels. In total, the informal market channel is estimated to control
60% of the total marketed milk.
1
of scale, access to credit, reliable markets, and stronger linkages with other service
providers.
Through the stores, Limuru Dairy provides animal feeds, clinical services and human
food to its members on credit. This service has endeared the cooperative to its members
as they are able to access credit against milk delivered, and the difference paid out at
the end of the month.
Limuru Dairy maintains a custom-made computer based information system that keeps
information about members (farmers), milk collection, payment processing, credit sales,
veterinary services, and stores inventory. Through the e-dairy project by the Kenya
Dairy Board, Limuru Dairy introduced proximity smart cards (maziwa card) to replace
paper-based milk journals. However, the major challenge identified in this new system
was handling of cards. The memory chips on the cards are sensitive and required
proper care.
2
The shops run a paper-based credit sales journal for each farmer that captures
membership and transaction details. A copy of the journal is sent to the head office for
update onto the MIS at frequent intervals within the monthly payment cycle. At the end
of each month, Limuru Dairy has to process the payments.
This method poses several challenges. Farmers often run into arrears and at times get
advances that are more than the value of their milk delivery. Often, some farmers have
to make trips to the head office whenever they feel that there were computational errors
against the milk delivered. Farmers spend time and money that could have been spent
on other activities. It is also not possible o know the pay rate per litre of milk unless the
farmer calls or travel to the cooperative’s head office.
There is therefore a need to provide farmers, cooperative management, and provisional stores
with near real time information about the amount of credit that can be advanced to farmers using
accessible and affordable mobile phone technology.
1.3 JUSTIFICATION
3
1.3.2 Value addition
The cooperative management can effectively manage the credit risk while gauging their
performance against their competitors. In this way, the technology will enable
management committees to identify their strengths, weaknesses and modify their
service and product mix to meet the needs of their members in their localities. The
application will enable the cooperative to enforce policy where members cannot borrow
more than their value of milk delivery.
The value proposition to the small holder farmers who form the majority of the
members is that it will enable them access credit using a convenient, fast, and low cost
tool against delivery of their key agricultural produce. The members will save time,
transport cost, and have peace of mind by being able to access information on milk
deliveries, selling price per liter, and credit information from their mobile phones.
Shop owners and contracted service providers using the application will be able to
check members’ cash balance before transacting. This eliminates overdrafts while
resolving operational costs. They will be able to manage credit limits, monitor demand
for particular products or services and manage risk.
The application provides a fast and reliable financial information access channel to
members and thus accelerates financial inclusion of agricultural producers.
1.4 OBJECTIVES
The objectives of the research are;
1.5 SCOPE
The study covered the credit and payment processes at Limuru Dairy. It was important
to note that the milk collection processes are highly automated in many dairy
cooperatives including Limuru Dairy and were therefore not be part of this study.
4
The first section of the study involved a feasibility study, analyzing the credit system A
prototype was then developed to address the identified challenges. Finally, the
prototype was tested in terms of the interface, functionality and user perception.
1.7 ASSUMPTIONS
This project assumed that shopkeepers had access to a smart phones based on the
Android technology. It is also assumed that the milk catchment areas had adequate
mobile network coverage.
The farmer cooperative society was expected to have a computer based information
system that facilitated storage of farmer, transaction and produce records.
5
2 LITERATURE REVIEW
2.1 DAIRY SECTOR IN KENYA
Dairy production in Kenya is undertaken under three main production systems. These
are smallholder zero grazing, smallholder open grazing and large-scale open grazing.
Estimating the size of the dairy industry, however, is a challenge. Most of the sector is
informal, and the official statistics capture only a small portion that is formal.
6
Apart from milk, dairy animals also provide manure, other marketed products such as
calves and cullings as well as other intangible benefits such as insurance and status
symbol.
Four main categories of traders are recognized by the KDB. These are producers, milk
bars, mini-dairies and cottages. These traders pay an annual license fee ranging from
Ksh 1,000 to Ksh 5,000. They also pay milk cess at 20cts per liter as at 2010.
The demand in both informal and formal market channels is unsophisticated. Milk is
consumed either raw or as its processed equivalent of fresh milk. In the informal market
only about 16% of milk undergoes home or artisanal processing and is sold as home-
made sour milk or yogurt. Very similar dynamics prevail in formal market. 85% of
processed produce is sold as fresh milk either as short life pasteurized milk or long life
UHT milk. Yoghurt makes another 3%, fermented milk 7% and powder milk 3%, with
7
value-added products such as cheese and butter making less than 2% of produce sold
(Industry Survey, 2005).
Informal prices range from 30 to 40 Ksh, depending on seasonal availability of milk and
distance to market. Formal market prices are based on 500ml pouch and 500ml pyramid
Tetra Pack packaging of pasteurized fresh milk. The value chain of both formal and
informal market is fragmented with a large number of players at each step, and a low
level of vertical integration. In the formal value chain, the milk is usually transported to
chilling and bulking centers, then to a processing facility. Once milk is processed, agents
or distributors deliver it to a point of sale. Informal market connects producers to
consumers normally via a number of brokers. In total, the informal market channel is
estimated to control 60% of the total marketed milk.
The dominant informal milk traders who have emerged after market liberalization are
also found to be ill-equipped to handle milk as a perishable commodity. This has led to
heavy and unnecessary losses along the value chain.
8
Almost all Kenyan dairy statistics are only estimates, at best. The last cattle census was
conducted in the 1960’s. The current official cattle population statistics come from the
Ministry of Livestock and Fisheries Development, through its field reports compiled by
extension officials. The official statistics place the number of milking cattle at 3.5 billion.
The survey conducted by Smallholder Dairy Project (SDP) asserts that the actual cattle
number might be double the official figure (SDP Policy Brief 10). The unreliability of
data makes it difficult to draw concrete conclusions about the milk production,
consumption and marketing patterns (Technoserve, 2008).
Remoteness of most of the producers and the poor state of the infrastructure makes
milk transportation difficult and expensive.
A major component missing on the ground is a basic system for data gathering and
analysis, both on the farm and chilling plant level. Some chilling plants interviewed had
a data gathering function in place, i.e. they were producing a basic set of financial data.
However, the data was not used proactively to make strategic decisions (Technoserve,
2008).
E-dairy
E-dairy project is a Public Private Partnership initiative between the Kenya Dairy Board
and Agritrace. The objective was to automate the dairy sector through infrastructure
development and policy mechanisms to ensure that all the stakeholders across the
value-chain work more efficiently while meeting international transactions and
traceability standards. The eDairy project stakeholders cuts across the farmer, their
dairy business units, the processor, the regulations as well as line industry players
involved in the sector. Efficient information management was expected to overall
reduce transactional costs and pass these savings onto the farmer and other
stakeholders while at the same time creating new market opportunities for the country's
(regions) products beyond the borders. The main implementation veins for this project
included custom-built industry-specific software with a combination of highly
customized hardware with a very low total cost of ownership and a most reasonable
return of investment on the part of the stakeholder. The e-Dairy System was meant to
9
create a virtual eco-system for the whole dairy sector in whereby the industry's
stakeholders would have a vibrant, secure and efficient platform to exchange
information on demand (KDB, 2011).
The Kenya farmer and livestock e-portal was developed under the Kenya Dairy Sector
Competitiveness Program (KDSC) program run by Land’O Lakes, an international
NGO. The web based application serves as a complete dairy and livestock Management
Information System (MIS) for the dairy and livestock Industry. The system initial and
subsequent data collection, retrieval and analysis which are meant to meet all the needs
of the stake holders pertaining to the dairy industry. The system was to achieve farmer
registration, cattle and livestock census, breed and pedigree information, milking status,
veterinary services and disease control information, and online training. The system
also aimed to integrate with mobile Short Message Services (SMS) and access via smart
phones.
10
2.2 MOBILE TECHNOLOGIES FOR DEVELOPMENT (M4D)
2.2.1 Introduction
Mobile for Development (M4D) refers to using mobile technologies to create practical
and sustainable mobile solutions and services that enable social development. M4D
assists organizations to increase the effectiveness of their social programs by integrating
them with mobile technology (www.m4dev.org, retrieved April 2011).
SECTOR THEMES
11
• M4D programmes carry advantages in terms of accessibility, speed, empowering
women and complimenting other forms of technology.
• M4D projects can be either transformative – offering a service that previously did
not exist – or offering improvement – improving the delivery of a service in
terms of speed, cost , reliability and efficiency.
• The majority of projects are regarded as either pilots or in the early stages of
development. Many have conducted limited small sample research in order to
prove the concept. Half of these had clear intentions to expand.
• 5 of the 10 case studies had achieved national reach as their services were
distributed through national mobile operators. Certain projects only had local
relevance and would require duplication of many cost components to increase
their reach.
• The sustainability of M4D projects very much depends on the ability to provide a
return on investment.
• The case studies reveal four broad ways this can be achieved: Consumer pays;
Company pays; Service provider pays; community pays.
• Mobiles are particularly effective in reaching women, due largely to the fact that
women can use mobiles at times and in locations that are convenient to them
12
2.2.2 M4D application development Model
The M4D development organization suggests the following generic stages in
developing an M4D application.
Design Stage: The problem is identified at the host organization e.g. in-efficiency
within a business process. The various needs of the stakeholders are also
identified. Needs analysis focuses on the requirements related to the goals, aspirations
and needs of the users and/or the user community and feeds them into the system
requirement analysis process. The main purpose of needs analysis is the user's
satisfaction (Karwowski W, Soares M., Stanton, N. A, 2011). Social mapping involves
looking at the people’s social amenities, roads, market centers, communication,
settlement, economic activities, etc and putting this on a geographical map. This allows
for a deeper understanding of the organization’s eco-system.
Development Stage: M4D projects are dependent on the cellular network of the service
provider. Backend systems have to be in place as these will host the database and
perform processing of instructions. Appropriate mobile client solution has to be
selected e.g. SMS based, web-browser, Unstructured Supplementary Service Data
(USSD), or installable applications. Upon selection, the next step will involve
developing the application using available mobile development platforms.
Implementation Stage: This involves porting the application to the organization. Tests
can then be conducted, preferably on pilot basis. The organization can then transition
from old processes to the new mobile-enabled processes.
13
Continuation Stage: This involves ensuring the application meets the set expectation,
ensuring continuous changes are made, and system monitoring and evaluation of the
application. The application can be scaled to meet growing demands, or replicated to
other organizations.
With high penetration rate of about 67 for every 100 inhabitants, mobile phones are an
important tool for a larger part of the population in Kenya. Kenya is largely an
agricultural based economy, with the majority of farmers practicing small scale farming.
Challenges faced by these farmers provides mobile application developers with various
opportunities to develop mobile phone applications that can provide services such as
disseminating up-to-date information, support access to training materials and facilitate
linkage between farmers and markets as well consultancy services (Mlab Research,
2011).
NokiaLife Tools
In 2009 Nokia launched a mobile service in Kenya to offer prompt weather and
agriculture related information to farmers to enhance their preparedness in ensuring
optimal food production. The objective of this initiative was to enable rural based
communities and persons living in small towns to receive regular updates on climatic
changes; farm input and farm produce prices on their mobile phones, empowering
them to make quick and informed decisions that will enhance their productivity.
Through partnerships with Nokia, Kenya Meteorological Department could send
regular tips to farmers, through NokiaLife Tools, on changing weather patterns, while
agro-based organizations could provide information to help farmers update farming
techniques or indicate prevailing market conditions that could help prevent future food
shortages.
M-Farm
M-Farm is a transparency tool for Kenyan farmers where they simply SMS the number
3555 to get information about the retail price of their products, buy their farm inputs
directly from manufacturers at favorable prices, and find buyers for their produce.
Using M-Farm, farmers can inquire current market prices of different crops from
different regions/markets, aggregate orders, get connected to farm input suppliers, and
sell collectively to a ready market (mfarm.co.ke, retrieved April 2012).
14
Kilimo Salama
One of the recent attempts is to provide insurance services to farmers through the
mobile technology. Farmers insure some of the costs of growing crops against bad
weather through mobile telephony that links solar-powered weather stations to an
insurance company. The crop insurance named ‘Kilimo Salama’ - Swahili for safe
farming, covers only variability of rain and not crop failure due to pests or disease. The
objective of the partnership between UAP Insurance and Safaricom was to ease the
process of buying insurance products. On purchase, dealers use a camera phone to scan
a barcode that automatically registers the policy with Kenyan insurance provider UAP
over Safaricom's mobile phone network. Confirmation of the policy is then sent to the
farmer on his mobile phone through short text messaging (Mlab Research, 2011),
(GSMA, 2012).
The Alliance for a Green Revolution in Africa (AGRA) teamed with Voxiva to develop a
market information service for farmers. In this project, agro-dealers (stockists) would
place requests for inputs through the web-based application using web-enabled mobile
phones or computers. This linkage was to achieve a seamless flow of information
between suppliers and stockists. According to Mr. Mutonye, managing director at
AGMARK, the challenges with the system was not necessarily the technology, but
unwillingness of the stockists to embrace the system, and mainly the cultural issues
involved. For example, stockists relationship with the suppliers may be ‘personal’ and
therefore the stockist may not necessarily buy from the cheapest supplier. His view was
that at current, the best approach for such ICT applications was to adopt a ‘push’
approach where information flows from the manufacturer/supplier downwards to
stockists and farmers, and not vice versa. His main reason was that farmers prefer to
make a phone call rather than send Short Messages Services (SMS) or use mobile
applications.
15
that allows them to plan and decide more effectively which crops or livestock will
perform best on their farms, anticipate and manage disease outbreaks and rainfall
shortfalls, and make decisions where to sell the produce (Agcommonsplatform, 2010).
Mobile data collection systems have several components that facilitate for data
collection, transmission, storage and retrieval. Each component has several technology
options, appropriate for different situations.
16
The components can be categorized as:
• The data collection client interface, which the user interacts with to accomplish
data collection and transmission
• The data transfer method, which dictates how the information input on the
phone is transmitted to a central server for storage and retrieval.
• Server-side components to receive and store the data, and allow users to display
and manage the database.
17
Below is a table showing common mobile data collection methods
Technique Description
Short Message Most popular where user sends data in using inbuilt
Services (SMS) SMS functionality on the phone
Compatible with all mobile phones
Smart Applications A programming language is used e.g. java and
(Apps) loaded on a phone that can support the application
Usually developed for smart phones, and are
platform specific.
Web-based forms The client uses phone's web browser to access the
application. The user browses to a website, where
the form is published in an optimized format for
mobile browsers
In voice-based User dials a number and then chooses from options
on a menu (“to record the answer to this question,
press 1 for yes, 2 for no, etc).
Useful when there are low levels of literacy among
data collectors, or when a system is needed that
caters for both landline and mobile phones
Unstructured This is a real-time question-response service, where
Supplementary the user initiates a session and is then able to interact
Service Data (USSD) with the remote server by selecting numeric menu
options.
e.g. *544# and following text responses via menus
The main limitations of USSD is the requirement for
a continuous connection during the session, a
limited length of USSD menus, and expensive
acquisition and licensing constraints in the Kenyan
market
Table 2: Mobile data collection methods
18
2.2.5 Mobile application development tools
Mobile application development refers to the process of developing application
software for mobile gadgets e.g. mobile phones, iPods, personal digital assistants, etc.
There are several tools and platforms available. Some are full end-to-end systems,
whereas others are client application components only. The choice of tools depends
with specific needs, resources available, and the skills to do system customization or
development (M. Loudon, 2010).
19
2.3 TECHNOLOGY ADOPTION IN RURAL COMMUNITIES
This study sought to develop a mobile based solution that was to be deployed for use
by a rural community in Limuru, Kenya. In this section, two technology adoption
models are described and one adopted for use. An adoption model will aid in
evaluating and identifying factors that contribute to farmers accepting and using the
mobile based solution.
The purpose of the model is to predict the acceptability of a tool and to identify the
modifications which must be brought to the system in order to make it acceptable to
users.
In general TAM focuses on the individual user of a computer, with the concept of
perceived usefulness, with extension to bring in more and more factors to explain how a
user perceives usefulness, and ignores the essentially social processes of information
20
systems development and implementation, without question where more technology is
actually better, and the social consequences of IS use (Bagozzi, 2007).
The theory holds that four key constructs (performance expectancy, effort
expectancy, social influence, and facilitating conditions) are direct determinants of
usage intention and behavior. Gender, age, experience, and voluntariness of use are
posited to mediate the impact of the four key constructs on usage intention and
behavior.
Relevance of UTUAT
Many user acceptance models with different determinants exist to measure the user
agreement of information systems which is an important factor to indicate a system
success or failure. These theories have been widely tested to predict user acceptance.
21
However, no comprehensive instrument to measure the variety of perceptions of
information technology innovations had existed until Venkatesh et al. (2003) attempted
to review and compare the existing user acceptance models with an ultimate goal to
develop a unified theory of technology acceptance by integrating every major parallel
aspect of user acceptance determinants from those models (Sundarajev, 2009).
The four key constructs of performance expectancy, effort expectancy, social influence,
and facilitating conditions can be applied to this study. This makes UTUAT a more
relevant model to this study as compared to TAM.
2.4 SUMMARY
Based on the literature review and discussions with key stake holders, the following
key success factors for mobile based applications in the Kenyan context were identified;
• The application should be mobile phone based since this is largely available and
in use in most rural set-ups.
• There should be existing formal structures in the farmer cooperatives. This
makes it easy to introduce technology that will improve on existing business
process.
• The technology has to address a persistent problem that can easily be addressed
by a technology.
• If possible, the problem should have an element of credit services for small
holder farmers who do not readily have access to cash.
Limuru Dairy provided a good case study because of its accessibility (located near
Nairobi), amicable staff, and its business model that includes provision of goods and
services on credit to members against value of milk delivered.
The M4D model in section 2.2.2 captures features that are important for development
and deployment of mobile based applications. The model has practical steps covering
design, development, implementation and continuity. In the continuity phase, this
model addresses scalability, sustainability and replication. These are not available in the
UTUAT model, which has also been used in this study.
The UTUAT model introduces performance expectancy which is a farmer’s belief that
the mobile technology will improve his/her execution of tasks. Effort expectancy will
measure the ease associated with executing tasks using the mobile technology where as
the social influence indicates whether someone important to the farmer influences
his/her decision to use the new mobile technology.
22
3 METHODOLOGY
3.1 OVERVIEW
This section describes the various data collection tools that were used in identifying and
analyzing the challenges faced by Limuru Dairy. The prototyping software
development model was used and reasons given for its adoption in this research
project.
During field research, several stakeholders were consulted with an aim of gaining clear
understanding of the dairy industry, attempts at introducing different ICTs, the success
or failure, and lessons learnt. This approach was informed by the need to have an
innovative solution that will address a real problem in the dairy sector.
3.2.3 Interviews/Consultations
Experts in the dairy and to a wider extent the agricultural sector were consulted. This
helped in giving deeper insight into the dairy sector, and specifically Information and
Communications Technology (ICT) interventions. Limuru Dairy farmers and
management were extensively consulted during the problem identification phase, and
subsequent phases. Mobile application developers were also consulted, especially with
regards to choice of mobile technology and mobile landscape in Kenya.
23
groups; management staff of Limuru Dairy, and farmers. The discussions were
recorded on video to allow playback at a later date.
3.2.5 Questionnaires
Quantitative data on usability, perception, attitude, and functionality of the mobile
application were collected using questionnaires. The data was collected after product
demonstration.
24
The prototype developed consisted of the following modules;
Each module was developed and tested independently. These were later integrated
then tested. The integrated system was extensively evaluated during the focused group
discussions at Limuru Dairy.
The following are reasons for adopting evolutionary prototyping approach for in the
research project:
• Users at Limuru Dairy were able to engage with the system at an early stage.
This enhanced the likelihood of meeting user requirements and commitment.
• Allowed accelerated delivery of the system where a working system was
available early in the process.
• Misunderstandings between software users and developers are exposed
• Missing and/or confusing services were likely be detected
25
4 SYSTEM ANALYSIS AND DESIGN
4.1 ANALYSIS
The current business model at Limuru Dairy was mapped out. Information flows, users,
and processes were identified. The focus was on the credit access process which is
analyzed in detail in this chapter.
26
• Farmer stores/shops – these are distributed across the milk catchment areas.
There are a total of 31 shops/stores, which primary function is milk collection,
and stores provision to members. The inputs are sourced from the feed miller.
Milk collection is organized around routes, where each route has several stores/shops.
Every morning and evening, farmers deliver their milk to the stores, where Limuru
Dairy staff will assess the quality before weighing. Weighing is done using digital
meters. The quantity of milk delivered is then recorded on a milk journal. A copy of the
journal is left with the farmer. On some routes, the maziwa electronic card (described in
section 1.1.4) system is used.
27
4.1.2 Review of current credit process
Each shop maintains a paper-based credit sales journal where transaction and
membership details are recorded. A copy of the journal is sent to the head office for
update onto the MIS at frequent intervals within the monthly payment cycle. At the end
of each month, Limuru Dairy has to process the payments.
Challenges
• Farmers often run into arrears and at times get advances that are more than the
value of their milk delivery.
• Often, some farmers have to make trips to the head office whenever they feel that
there were computational errors against the milk delivered. Farmers spend time
and money that could have been spent on other activities.
28
• It is also not possible to know the pay rate per liter of milk unless the farmer calls
or travel to the cooperative’s head office.
• Shop owners face similar challenges. In addition, it is not possible to accurately
determine the credit to be advanced to a farmer.
• Limuru Dairy management incurs a lot of overhead each month when they have
to manually reconcile credit information for its members.
• Results in payment delays to farmers.
• If the manual system is left unchecked, the overall capital base of the cooperative
would be undermined on the long term.
In summary, this method is offline, largely manual, prone to errors and fraud.
Based on the above requirements, and the taking into account farmer technical literacy,
affordability of proposed technology, and geographical spread of the members, this
project adopted a mobile phone based solution to integrate with existing back-end
systems at Limuru Dairy.
29
4.1.4 Requirements for a mobile solution
The following were identified as challenges that need to be addressed when designing
mobile based solutions.
• Unlike desktop computers, mobile phones have lower processing and memory
capacities. This means minimum processing function at the phone.
• Mobile gadgets have small screen and keyboards making it unfriendly to use
(Kiplagat D., 2006).
• Cross platform compatibility issues for diverse models. Different versions have
to be availed for mobile applications that are designed for installation.
• Usability has to be keenly observed due to constraints in the size of the phone for
installable mobile applications.
• Network reliability of service providers may limit transmission of data between
mobile gadgets and the backend systems at the head office.
• Security of data is critical, and controls have to be put in place to ensure
confidentiality, and authorized access, authentication, integrity of data, and non-
repudiation.
From the above challenges, the following items were considered as critical and
incorporated in the prototype.
• Taking into account the farmers, and shop keepers as different user groups,
provide a platform independent technology for farmers through SMS, and
platform specific installable application for shopkeepers.
• Platform specific installable mobile application for shop keepers’ guarantees
security of information held on the device and data transmission.
• Mobile numbers of farmers must be registered in the backend system to ensure
only registered farmers are able to use the SMS service.
• Limit amount of data transmitted between mobile phone and backend system.
This was achieved by sending coded information.
• Easy steps to execute transactions on the mobile application. Ensure minimal
data input by providing select menus.
30
4.2 DESIGN
The proposed system introduces mobile technologies to replace existing manual and
paper based credit process.
The store keeper has more control of the inventory as the app allows him to order and
receive goods. When an order is placed, the request is automatically sent to the head
office.
A key advantage of this system is that credit transactions are posted directly onto the
MIS and hence eliminates the arduous task of manual updates thus saving Limuru
Dairy time and money.
32
4.2.5 Revised credit process
The revised model is highly automated using mobile technology. First, a farmer can
check the amount of credit he can access from his/her mobile. Before the actual sale
transaction, a farmer is first authenticated. Next, using the mobile app, the shopkeeper
will execute the transaction. This eliminates the paper based credit journals. The
transaction is automatically committed on the database at the head office. Therefore, the
weekly delays experienced when sales journals are picked and transferred to the head
office are eliminated. Lastly, manual reconciliations at the head office are eliminated as
the database has scripts that update members’ balances after every transaction.
33
4.2.6 Database design
The tables are modeled on the existing database at Limuru Dairy. This is to allow the
new system to integrate seamlessly with existing database. The milk collection and
payment records are reconciled at the database level.
34
4.2.7 User
U Interfface desig
gn
This inv
volved desiigning the mobile user interfacees, clearly showing in
nteractions and
sequencce of events as experien
nced by thee user.
The agrro-vet/shop p keeper fiirst checks the memb ber/farmer balance. The T system will
then resspond by displaying th he memberr status (active or otheerwise), av vailable balaance,
vered, crediit incurred so far, and the balancee thereof.
milk quaantity deliv
Figure 13:
1 Screen mock
m up fo
or balance and
a sell fun
nctions
35
Additionnally, the sy
ystem allow
ws for invenntory contrrol. The app plication alllows the
shopkeeeper to checck inventory
y levels, req
quest and also
a receivee stock.
Figure 14:
1 Screen mock
m up fo
or inventory
y, order and receive fu
unctions
36
5 PROTOTYPE IMPLEMENTATION
5.1 OVERVIEW
This chapter describes in details the implementation of the prototype. First, the different
modules and supported technologies are presented in a technical model. Next, the
modules are described in detail, including choice of technology, coding, testing, and
integration. The user documentation is attached at the end as an appendix.
37
5.2 CHOICE OF TECHNOLOGIES USED
5.2.1 Android
The mobile application is based on the android platform that runs on smart phones.
Android is a Linux-based operating system for mobile devices such as smart
phones and tablet computers. The android software stack includes an operating system,
middleware and key applications. The dairy application sits on the android operating
system (OS), and taps services such as communication and storage from the OS.
By providing an open development platform, Android offers the ability to build rich
and innovative applications. Secondly, android smart phones are becoming cheaper
and latest trends show falling prices for android handsets.
Android allows developers take advantage of the device hardware, access location
information, run background services, and others since they have full access to the same
framework APIs used by the core applications. The application architecture is designed
to simplify the reuse of components (deloper.android.com, retrieved May 2012).
• Supports GSM phones and GSM modems connected via serial port interfaces
or IP interfaces.
• Works with PDU/TEXT protocols.
• Supports Inbound & Outbound simple text messages.
• Works with 7bit, 8bit and UCS2 (Unicode) message encodings.
• Supports Inbound & Outbound big (multipart) messages.
• Flash messaging.
• Outbound messages with port information / addressing.
38
• Outbound WAP PUSH SI messages.
• Status (Delivery) Report messages.
• Basic GSM information available: Modem, Manufacturer, software revision,
Signal level, etc.
• Supports a few bulk operators, using http/https protocols.
• Support the SMPP protocol.
• Handles multiple gateways at the same time
The SMS server allows farmers to send SMS to the system and get information such as
quantity of milk delivered during the month, amount of goods taken on credit, and the
balance thereof.
The Mysql database holds information on the membership, inventory, milk collection,
credit sales, payments to farmers, and stores. This database is designed to synchronize
with the main MIS system run by Limuru Dairy.
5.2.5 Scripting
A script is a set of instructions that is executed automatically upon trigger by a program
or event. Several of these scripts are implemented in the mobile application and
database. These include:
• A script that allow the mobile app to synchronize information on the phone
memory with the Mysql database on the server.
• A script that updates the member balances upon update of milk collection or
credit transaction
The scripts are written using the php language and Structured Query Language (SQL)
statements e.g. a script that clears monthly records after payments are done
CREATE EVENT clear_payments_due
ON SCHEDULE EVERY 1 MONTH STARTS CURRENT_TIMESTAMP + INTERVAL 13 DAY
COMMENT 'Clears out payments_due table each month.'
DO
DELETE FROM dairy.payments_due;
39
5.2.6 Communication between the mobile apps
Communication between the mobile app and the mobile server is achieved through
JavaScript Object Notation (JSON) over hyper text transfer protocol (http). JSON is a
lightweight data-interchange format that is easy for humans to read and write. It is also
easy for machines to parse and generate. JSON is built on two structures:
40
• Sell – If credit balance is adequate, the sell tab allows the shopkeeper to perform
a sale transaction.
• Inventory – This allows the shopkeeper to view list of items on stock, quantities,
buying price and any re-ordered items. The shopkeeper can also synchronies the
inventory with the head office, especially to reflect prices of items which are
fluid.
41
• Order – Allows the shopkeeper to order for items that are running low on stock
form the head office.
• Receive – Allows the shopkeeper to receive items from the suppliers.
42
5.3.2 SMS module
This was implemented using the SMSLib library collection. A Global System for Mobile
Communication (GSM) modem was used as the SMS gateway. The functions include:
• Receive SMS
• Authenticate SMS source. A source mobile number must be registered on the
database prior to using the service. This is a simple but effective way of
authentication. Each member is associated with a single mobile number.
• Read corresponding member details, quantity of milk delivered for month, credit
sales, and balances.
• Send an SMS containing the above information to the originating mobile number.
Any handset can be used to send and receive the SMS. This figure shows sample SMSs
from the system.
43
5.3.3 Integration and server installation
The MySQL database was installed on a Linux server hosted at the ICT Center in
University of Nairobi. The server had the following specifications:
Integration of the components was achieved at the database level. The mobile app will
send http requests that are received by a web service. The web service will then query
the database and return results.
Similarly, the SMS gateway will receive an SMS that is captured into the database. This
triggers an authentication function. If positive, member balance is queried from the
database and results returned to the SMS gateway for relay to the originating mobile
number.
To allow access from any GSM network, the back-end system was hosted on a server
that had internet connection. The mobile app was installed on smart phones that run
android operating system only. The app was tested on Huawei Ideos, and Samsung
Galaxy Mini smart phone. The SMS service could be accessed on any handset that
supports the SMS protocol.
The research questions were constructed based on the TAM framework above. The
questionnaire is found in appendix G.
5.4.3 Results
Qualitative results
The following were key issues noted after review of the recording of the focus group
discussions
45
• The SMS application was simple to use, and provided instant access to credit and
other information
• The mobile application made it easy for shop keepers to advance goods on credit
to farmers, order for new stock, monitor current stock.
• The mobile application made it easy for cooperative management to track credit
transactions and inventory across all shops, make farmer payments in time since
the system automates reconciliations.
46
Performance Expectancy
100% of the respondents reported the system makes them accomplish their work
quickly.
Cumulative
Frequency Percent Valid Percent Percent
47
Asked whether they found the system useful in doing their activities, 97% responded
positively.
Cumulative
Frequency Percent Valid Percent Percent
Total 30 100.0
48
Effort Expectancy
Cumulative
Frequency Percent Valid Percent Percent
49
Attitude towards using the system
97% of the respondents agreed that using the system is a good idea.
Total 30 100.0
50
Behavioral intention to use the system
Cumulative
Frequency Percent Valid Percent Percent
51
6 DISCUSSION
6.1 ACHIEVEMENTS
The following were achieved as per the objectives set out in chapter one.
Objective 1: To establish the processes involved in credit advancement and payment to farmers at
Limuru Dairy
Field visits and interviews were conducted at Limuru Dairy’s head office, processing
plant and stores/shops. This was to help gain a deeper understanding of the back office
operations, milk collection, credit advancement, and payment processes. It was also
important to appreciate the relationship among the processes. The business model and
the credit process were analyzed and mapped out as shown in section 3.4.
• Farmers often run into arrears and at times get advances that are more than the
value of their milk delivery.
• Farmers have to make trips to the head office whenever they feel that there were
computational errors against the milk delivered therefore spending time and
money that could have been spent on other activities.
• It is also not possible to know the pay rate per liter of milk unless the farmer calls
or travel to the cooperative’s head office.
• Shop owners are not able to determine the credit to be advanced to a farmer.
• Limuru Dairy management incurs a lot of overhead each month when they have
to manually reconcile credit information for its members before payment.
• If the manual system is left unchecked, the overall capital base of the cooperative
would be undermined on the long term.
• The credit process is offline, largely manual, prone to errors and fraud.
Objective 3: To design and develop a mobile based technology that can address the challenges
identified using appropriate technology adoption and development methods.
52
questionnaires. From the usability analysis, the solution showed that if adopted the
solution would greatly enhance service delivery, introduce efficiency in the credit
process, and improve the livelihoods of Limuru Dairy small holder farmers.
The dairy sector is complex, with varying challenges along the value chain. Sometimes,
the challenges are specific to the cooperatives and also geographic areas. The impact of
this on small holder farmers would also be subject for debate, considering the theme of
the study was to fall under the ICT for Development (ICT4D) theme.
Mobile application development is platform dependent. For example, the mobile app
was based on android. This means the application can only be installed on smart
phones running the android operating system. However, smart phones on android are
the cheapest in the market today.
The reliability of the GSM mobile network in some of the milk catchment areas of
Limuru Dairy was wanting. The transactions would get disrupted at areas with weak
signal coverage.
It would have been best to pilot the solution at Limuru Dairy. However, due to Limuru
Dairy internal regulations and procedures for approval, this was not possible during
the short research project period.
53
6.3 CONCLUSION
The research approach for this project was to identify and understand a need facing a
small holder farmer cooperative in a rural set-up in Kenya. The second step was to
suggest an information technology enabled solution to address the needs.
The project was able to identify a problem, analyze, and develop a mobile phone based
solution. From the results, the solution showed great potential of use and adoption. If
adopted the system would greatly enhance service delivery by the cooperative,
introduce efficiency in the credit process, and improve the livelihoods of Limuru Dairy
small holder farmers.
The application can also be extended to cover cash and credit sales, artificial
insemination, veterinary services, personalized services e.g. payment of school fees, and
hospital bills which are common needs amongst farmers in rural Kenya. Portable
thermal printers can also be introduced to print receipts after each sale transaction.
A research study to evaluate the impact of the solution amongst the small holder
farmers, the operations at the cooperative’s head office and shops/stores can be done.
54
REFERENCES
1. Apps for smart phones, 2011. Retrieved March 28th 2011 from http://www.esri.com
Gonzales, M., Machin, M., 2006. “GIS and logistics tool for milk transportation in
dairy industries”.
2. Bagozzi, R.P. 2007, "The legacy of the technology acceptance model and a proposal
for a paradigm shift.", Journal of the Association for Information Systems 8(4): 244–254.
3. Consumption Patterns of Dairy Products in Kenya’s Urban Centers: Report from an
Urban Household Survey, April 2005.
4. Chuttur, M.Y., 2009, “Overview of the Technology Acceptance Model: Origins,
Developments and Future Directions”, Indiana University, USA, Sprouts: Working
Papers on Information Systems
5. Davis, F. D., 1989, "Perceived usefulness, perceived ease of use, and user acceptance
of information technology", MIS Quarterly 13(3): 319–340
6. Developing for Android. Retrieved May 2012 from http://developer.android.com
7. Galbraith, J.R., 1973. Designing Complex Organizations
8. GSMA 2012. Kilimo Salama. Retrieved July 2012
http://www.gsma.com/developmentfund/programmes/mobile-money-for-the-
unbanked/products/insurance/
9. KDB Strategic Plan 2008-2012. Retrieved October 2011 from http://www.kdb.co.ke
10. Karanja, A. M., 2002. “The Dairy Industry in Kenya: The Post Liberalization
Agenda”.
11. Karwowski W, Soares M M, Stanton, N A. Human Factors and Ergonomics in
Consumer Product Design: Methods and Techniques (Handbook of Human Factors
in Consumer Product Design): Needs Analysis: Or, How Do You Capture,
Represent, and Validate User Requirements in a Formal Manner/Notation before
Design” (Chapter 26 by K Tara Smith), CRC Press. 2011.
12. Kiplagat D., 2008. Unpublished masters thesis. “Data capture model for utility
providers using hand held devices via mobile network: Case for Nairobi Water
Company”.
13. Kljucanin et al, 2010. BALWOIS 2010 – Ohrid, Republic of Macedonia –25, 29 May
2010
14. Kodhek, A.G., 1999. “Report on revitalising the dairy industry in Kenya. Tegemeo
institute, Nairobi”.
15. Latimer et al, 2008. “Update Application to Support Efficient Transportation
Decision Making”.
55
16. Loudon M., “Mobile data collection technologies”. Retrieved May 2012 from
http://mobileactive.org
17. M4D mobile application development stages. Retrieved May 2012 from
http://www.m4dev.org
18. Maguire DJ. “An overview and definition of GIS”. Geographical Information
Systems-volume I.
19. Mburu, B., 2009., “Virtual City Baseline Survey of the Dairy Supply Chain
Automation Project”.
20. MoARD, 2000., “Draft dairy industry Bill 2000 and Dairy development Policy,
Ministry of Agriculture and Rural Development (MoARD), Nairobi”.
21. Ministry of Livestock Development Strategic Plan 2008-2012. Retrieved October 2010
from http://www.livestock.go.ke
22. Mobile Data collection, 2010, Retrieved March 28th 2011 from
http://www.ictedge.org/seguridad_inalambrica
23. Namwamba, F.L., and Shams, A, 2002. Integration of GPS wireless technology to GIS
database builder.
24. Omore A. et al, 1999. The Kenyan Dairy Sub-sector: A rapid Appraisal.
MoARD/KARI/ILRI smallholder Dairy project, Kenya.
25. Rhind D.W.,1990. Global databases and GIS. In: Foster MJ, Shand PJ (eds.). The
Association for
Geographic Information Yearbook 1990. Taylor & Francis and Miles Arnold,
London, pp. 218-23.
26. Rahman MR, Rahman QA, 2007. GIS Development. Contributions of Mobile
Computing in Real Time GIS Data Collection and Analysis
27. SDP Policy Brief 10, 2005: The uncertainty of cattle size in Kenya. Tegemeo Institute
of Agricultural Policy and Development, Egerton University, Kenya.
28. Smallholder Dairy Project (SDP). 2004. Employment generation in the Kenya dairy
industry. SDP Policy Brief No. 2. Smallholder Dairy (R&D) Project.
29. Sommervile I., 2000, Software Engineering, 6th Edition.
30. Sundarajev, T., 2009, “Empirical Validation of Unified Theory of Acceptance and
Use of Technology Model”.
31. Sung H., Myung H., Jiyoung K., Sang H. “Usability of consumer electronic
products”, International Journal of Industrial Ergonomics, 28:143-151
32. UNICEF, 2010. Mobiles for development.
33. Venkatesh, V.; Morris; Davis; Davis, 2003. "User Acceptance of Information
Technology: Toward a Unified View", MIS Quarterly, 27, pp. 425–478
56
34. Virtual City Agrimanager. Retrieved March 2011 from
http://www.virtualcity.co.ke/solution.php?alias=agrimanagr
35. Wagtendonk, A.J., and R.A.M. De Jeu, 2005. “Mobile GIS and optimizing data
collection methods in hydrological fieldwork, Remote Sensing for Agriculture,
Ecosystems and Hydrology VII”, Proceedings of the SPIE, 19–22 September, Brugge,
Belgium, 5976:33–40.
57
APPENDIX A: LETTER OF AUTHORITY TO CONDUCT RESEARCH
58
APPENDIX B: FGD MATERIALS
A MOBILE BASED CREDIT FACILITY FOR A DIARY COOPERATIVE
CONSENT FORM
Date: 20/04/2012
Thank you for agreeing to participate in this research. We are very interested to hear your
valuable opinion on how technology and associated application may be made more useful and
user-friendly to you the farmer and also cooperative management.
• The purpose of this research is to learn how we can best design an application running
on mobile phones targeting farmers, and mostly access to credit services.
• The information you will give us is highly confidential and your name will not be
associated with anything you say in the focus group or any other time during the
research process
• We will be video-recording the focus group discussions so that we can make sure we
capture all your thoughts, opinions, ideas and suggestions from the group. Once again
no names will be attached to the tapes and the recordings will be erased once we
transcribe the information
• You do not have to answer any question if you do not feel like doing so and you may
withdraw from the study at any time
• As part of the research we will also be asking you some questions individually. If you are
not sure about a question please feel free to ask any one of us or you can contact the
researcher through telephone number below this form
Joram Kinuthia
School of Computing and Informatics, University of Nairobi
Email: kinuthianj@uonbi.ac.ke
Tel 0737 775 408
59
FOCUS GROUP DISCUSSION GUIDE
Preparation
Consent forms will be distributed to all users prior to the FGD sessions. The consent form
is reproduced here for completeness.
Introduction – 5 to 10 Minutes
Welcome
Will introduce myself and my research assistant
Ask the group members to say their names
Describe briefly who we are and what we do
Inform the participants why we are carrying out the research and what we will do with
the information we collect
Explain to them why they are participating in the FGD
60
FGD Guide – 50 to 60 Minutes
We would like the discussion to be informal, so there’s no need to wait for us to call on you to
respond. In fact, we encourage you to respond directly to the comments other people make. If
you don’t understand a question, please let us know. We are here to ask questions, listen, and
make sure everyone has a chance to share
What is your general feeling about the Dairy Sacco App? Do you like it? If not what
don’t you like? ( the appearance, interface, Language, functionality)
What changes would you like made in order for you to like it?
What functionality do you find most useful? Some-what Useful? Least useful?
• What have you been able to use with what you learnt?
• Can you show someone who does not know how to do it? (Show)
61
• Was there someone ready to help?
• Did the help make you able to accomplish the task? (Depends on previous probe)
• Would you use the system if it was availed to you on mobile phone? Why (probe
the perceived benefits)?
• What individual factors could limit the use of the application? Put probes, e.g. lack
of knowledge, no appropriate mobile phone, no credit, etc
• What community factors could limit the use of the application? Put probes, e.g. no
Internet access in community, other people are not using the application; there is
no one to consult in case of problems, etc.
• What national factors could limit the use of the application? Put probes
• Besides Calling and SMS, what other uses do they currently have?
That concludes our FGD. Thank you very much for coming and sharing your thoughts and
opinions with us. If there is additional information that you think of later on please feel free
to contact us and we shall get in touch with you.
Joram Kinuthia
University of Nairobi
Email: kinuthianj@uonbi.ac.ke
62
APPENDIX C: MOBILE APP USER MANUAL
User Manual
|kinuthianj@uonbi.ac.ke |
63
The Dairy Sacco App has two user interface modules; the App module that runs on an
android smart phone, and the SMS module that can use any mobile phone.
The app is designed for use by a shop keeper/store owner. To begin a transaction, the
shop keeper first queries the member balance using a member ID. If the farmer has
enough money, the app allows a credit sale to be effected.
64
4. If balance is positive, the shop 4.2. Up to 5 items can be sold per
keeper can proceed with to the credit transaction. App will not allow
sale. the credit limit to be exceeded.
Click on submit to commit the
transaction.
65
6. Autoomatically synchron nize stock k 7 This is reflected in
7.1. n the Inventtory
levells. This willl update neew items orr
pricee adjustmennts.
8. T
The itemss should be checkeed-in
t
through th
he app upo
on receipt from
f
t supplieers.
the
7. If an
n item is run
nning to lo
ow levels, itt
is po
ossible to make
m an orrder to thee
headd office.
66
SMS System
8.1. N
New status of inventory
Farmmers do noot need to go
g to design
nated
shop ps to acceess informmation on milk
deliiveries and credit balance.
1. Using
U any handset,
h sen
nd an SMS
S to a
preddefined num
mber e.g. 123456
2. You
Y will get a replly with ab
bove
info
ormation.
----E
END----
67
APPENDIX D: SAMPLE CODE
68
HttpPost httppost = new HttpPost("http://41.204.186.141/dairy/update_inventory.php");
httppost.setEntity(new UrlEncodedFormEntity(records));
httpclient.execute(httppost);
} catch (Throwable t) { /* you should always ultimately catch
all exceptions in timer tasks, or
they will be sunk */
Log.e(TAG, "Failed to retrieve the results", t);
}
}
};
@Override
public IBinder onBind(Intent arg0) {
// TODO Auto-generated method stub
return null;
}
@Override
public void onCreate() {
//code to execute when the service is first created
super.onCreate();
Log.i(TAG, "Service creating");
timer = new Timer("InventoryUpdateTimer");
timer.schedule(updateTask, 1000L, 86400 * 1000L);
}
@Override
public void onDestroy() {
super.onDestroy();
Log.i(TAG, "Service destroying");
//code to execute when the service is shutting down
}
@Override
public void onStart(Intent intent, int startid) {
//code to execute when the service is starting up
}
return rows;
}
return storedIdNumber+"";
}
70
Function to sends sms
package org.aiti.sms;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.Statement;
/**
*
* @author sam
*/
public class DBConnection {
static Connection conn;
static Statement stmt;
try {
if (conn != null) {
conn.close();
stmt.close();
}
} catch (Exception e) {
e.printStackTrace();
}
}
71
int id=-1;
ResultSet rs;
connect();
String search;
//phoneNumber.trim();
search = "select membership.id,membership.phone_number from membership where
membership.phone_number='"+phoneNumber+"';";
try {
rs =stmt.executeQuery(search);
if (rs.next())//record exists
{
int temp=rs.getInt("membership.id");
System.out.print(temp);
String acNo=rs.getString("membership.phone_number");
if(phoneNumber.equals(acNo)){
id=temp;
}
}
} catch (Exception e) {
e.printStackTrace();
}
close();
return id;
}
String bal="";
ResultSet rs;
ResultSetMetaData meta = null;
connect();
String query;
query="SELECT membership.id,
membership.surname,membership.othername,payments_due.payment_due,payments_due.quanti
ty,payments_due.date,sales.sales"
+ " FROM membership,payments_due,sales WHERE ( membership.id = '" + no + "'
) AND ( payments_due.membership_id = '" + no + "' ) AND ( sales.membership_id = '" +
no + "' ) ";
try {
rs =stmt.executeQuery(query);
meta = rs.getMetaData();
if (rs.next())//record exists
72
{
int balance=rs.getInt("payments_due.payment_due") - rs.getInt("sales.sales");
bal+= "Id:" + rs.getInt("membership.id")+ "\n" +
"Name:" + rs.getString("membership.surname") + " " +
rs.getString("membership.othername") + "\n" +
"Milk Qty:" + rs.getFloat("payments_due.quantity") + "\n" +
"Updated:" + rs.getString("payments_due.date") + "\n" +
"Ksh. Due:" + rs.getFloat("payments_due.payment_due") + "\n" +
"Ksh. Sales:" +rs.getFloat("sales.sales") + "\n" +
"Ksh. Balance:" + balance;
}
} catch (Exception e) {
e.printStackTrace();
}
close();
return bal;
}
}
73
Database scripts
74
APPENDIX E: CREDIT SALES JOURNAL
75
APPENDIX F: MILK JOURNAL
76
APPENDIX G: QUESTIONAIRRE
QUESTIONAIRE
Date: 20/04/2012
(i) Interface
________________________________________________________________________________________
• If no, what do you think made the interface not easy to use?
________________________________________________________________________________________
________________________________________________________________________________________
________________________________________________________________________________________
_______________________________________________________________________________________
(d) What features of the prototype interface did you find most useful to you?
________________________________________________________________________________________
77
________________________________________________________________________________________
(e) What would you want to add to the interface to make it better for you?
________________________________________________________________________________________
________________________________________________________________________________________
(f) What would you want to remove from the interface to make it better for you?
_______________________________________________________________________________________
_______________________________________________________________________________________
(ii) Functionality
(a) Do you think this application is relevant/ useful to you? No Yes Somewhat
• If it is relevant, do you think you would use it frequently? Yes No
• If it is not relevant what do you think can be added to it to make it more relevant?
_____________________________________________________________________________________
(b) What do you think can be removed from it to make it more relevant?
_____________________________________________________________________________________
(c) In which ways do you think this application will be useful to you?
______________________________________________________________________________________
(d) Is there something about this application that you think is useless? Yes No
• If yes, what part of the application do you think is useless?
___________________________________________________________________________________
(e) Do you think this application will change your life in any way? Yes No
I. If yes, in which way?
_______________________________________________________________________________________
78
User’s Perception Evaluation
1: Strongly Agree; 2: Agree; 3: Neither Agree nor Disagree; 4: Disagree; 5: Strongly Disagree
1 2 3 4 5
1 2 3 4 5
It takes long to learn to use the system to make it worth the effort
1 2 3 4 5
(Specify below whom these are…e.g. Peers, Teachers, age mates, business men, parents
etc)
(Specify below who these are…e.g. Peers, Teachers, age mates, business men, etc
79
(d) Effect of Cultural Practices
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5
80
(h) Behavioral Intention to use the system
1 2 3 4 5
5: Demographic details
Email: kinuthianj@uonbi.ac.ke
81