Our Blog — FrontlineSMS

Students to debut FrontlineSMS on Android?

CS210 is a project-based Computer Science Innovation & Development course at Stanford University where students work with faculty and staff to build on the spirit of innovation and excellence at Stanford and the larger Silicon Valley area. As part of the course this year, Karina Qian and David Gobaud are working with the Computer Science Department and the Haas Center for Public Service to create Masters and Senior project classes. Here, Karina talks about one project which hopes to create a Google Android version of kiwanja's FrontlineSMS system

Students in CS210 usually collaborate with corporate liaisons on software challenges presented by global corporations that require innovation. Teams take projects from concept to completion, which includes defining requirements, iterating through ideas and prototypes and, ultimately, producing a finished work product. To reflect the growing importance of collaboration with the NGO sector, David Gobaud and I are working on allowing students to collaborate with non-profits on software challenges that require innovation, and would expose a new generation of programmers to the possibilities available in applying technology to social problems.

In CS210, a team of 3+ creative, bright Stanford Master's level Computer Science (CS) students tackle one project over two quarters - for a total of six months - starting in January. The final product will be showcased at the Stanford Software Faire held in June.

Right now a group of students are interested in a project that would build a comprehensive all-mobile mass text-messaging program on Android. (For those of you interested in the technical detail, students would essentially impose a REST architecture on top of SMS, basically using SMS as a form of HTTP. Each SMS message would represent a 160 character mini-webpage that would serve as an information architecture for any kind of project, from election-monitoring to rapid disaster relief).

As a first step the project would involve porting FrontlineSMS and other, existing mass text-messaging platforms (like InSTEDD's GeoChat) onto Android. The program would then be expanded to create a larger suite of features that would also allow users to process, manage, and respond to data using different software and display data using varying web-based interfaces. It would be open source, allowing users to adapt the program by mashing in other applications as needed.

This project would create a cheaper, more flexible, and more adaptable platform for managing SMS by virtually eliminating the need for computers, and even Internet, in the field. Large chunks of crowd-sourced data can be aggregated in a server in the urban areas, and uploaded onto the web for dissemination and/or further parsing. Crucially, users will no longer need computers to set up a mass SMS platform, only an Android-enabled phone and a phone plan with (unlimited) text messages. The decreased cost of operating SMS-based networks would have a significant impact on non-profit mobile projects.

The class is a great opportunity for a team of 3+ software engineers to devote themselves to the completion of this project for twenty weeks. Students would work in consultation with InSTEDD and FrontlineSMS. However, despite being a non-profit project, the class is primarily directed toward industry and this requires an unrestricted donation of $75,000. We are actively seeking funding to cover this. Thank you.

Karina Qian is co-founder of techY, a Stanford on-campus initiative which aims to engage students in global NGO technology issues

If you, or anyone you know, is interested in helping fund this innovative and exciting project, please contact Ken Banks through the kiwanja.net website. (FrontlineSMS has already been integrated into a human rights monitoring system in the Philippines - blog post pending - and work continues on its integration into the new Ushahidi crowdsourcing platform. Further work is pending on a number of other projects, including with the team at InSTEDD)

#Pop!Tech08

You can always tell you've been to something quite special when the bar rises not only off the scale but out of site. "Amazing. Inspiring. Community. Friends. Special. Overwhelming. Over-fed. Unstoppable". Just some of the words used by delegates in the closing session on Saturday to describe their Pop!Tech08 experience. Mine would have been "Spiritual". And yes, with a capital 'S'.

This was my first Pop!Tech. Two years ago I had never even heard of it, but by last year I had. I wanted to go then, but it was never going to happen. Twelve months can be a long time in mobile, and this was to be my year. It would have been more than enough to have just sat back in Camden Opera House and soak up the amazing atmosphere, like the majority off the 700-odd people fortunate enough to be there. But going as an inaugural Pop!Tech Social Innovation Fellow made it all the more special. The many people I had the pleasure to spend four days with at the Fellows boot camp made sure of that. Finally getting to spend some quality time with Erik Hersman was one of the highlights, as was our late evening spent in a cabin in the woods with Ethan Zuckerman, beer in hand, while the three of us discussed the intricacies of baseball. Such a shame these moments are so rare, but it's the rarity that makes them so special, I suppose.

kiwanja presenting FrontlineSMS at Pop!Tech08 - Photo courtesy Leapologist (Flickr)

Traditionally, conferences are all about turning up and hearing what you hope to be interesting people talk. Sometimes you get lucky. Here, it didn't matter, although the speaker line-up was stunning. Pop!Tech felt different because it wasn't just about speaking, about presenter and presented, but more about dialogue. Everyone there was interested and interesting in their own right. The three days felt like a hyperactive family re-union of massive proportions. People were physically and mentally overwhelmed by it. Pop!Tech is intellectual renewable energy in its purest form. The Camden Opera House was well and truly lit up with it.

Spirituality is a word rarely mentioned in the technology world, although a lot of what I see in the people who work in our little corner of it is spiritual in nature, whether they realise it or not. Hearing about individuals inspired and driven to action by key events - the loss of close friends, suffering or hardship witnessed at first hand, injustice - are strong testament to the strength and presence of that human spirit.

There were many emotional connections at Pop!Tech, many emotional moments, many off-stage but some on. When Zinny Thabethe and Andrew Zolli embraced at the end of a stirring session about the HIV/AIDS crisis in South Africa, their arms reached out and embraced us all. It's these moments that leave me struggling for a word other than 'conference'. Conferences just don't do that.

Industry events now have a lot to live up to, although it would be unfair to judge them against Pop!Tech's incredibly high standards and rather unique positioning. But, if I can't help myself, there's always Pop!Tech09, I guess... o/

SMS-powered rural healthcare in-a-box

A few months ago Josh Nesbit, a Senior in the Human Biology Program at Stanford University, travelled to east Africa where he spent the best part of his summer introducing FrontlineSMS into a rural hospital in Malawi.

St. Gabriel’s Hospital, where Josh worked, is located in Namitete. It serves 250,000 rural Malawians spread throughout a catchment area one hundred miles in radius. With a national HIV prevalence rate of 15-20%, children orphaned by AIDS will represent as much as one tenth of the country’s population by 2010. With tuberculosis (TB), malaria, malnutrition and pneumonia ravaging immuno-compromised populations, the health system - including St. Gabriel’s Hospital - faces a disquieting burden. Malawi’s health challenges are compounded by its devastatingly low GDP per capita, by some measures the lowest in the world, and with just two doctors and a handful of clinical officers, St. Gabriel’s Hospital is also strikingly understaffed.

With woefully inadequate communications exacerbating the problem, Josh - with the help of the Haas Center for Public Service at Stanford University and the Donald A. Strauss Foundation - implemented kiwanja's FrontlineSMS software to connect the hospital with its community health workers (CHW). Now, drug adherence monitors are able to message the hospital, reporting how local patients are doing on their TB or HIV drug regimens. Home-Based Care volunteers are sent texts with names of patients that need to be traced, and their condition is reported. The "People Living with HIV and AIDS" (PLWHA) Support Group leaders can use FrontlineSMS to communicate meeting times. Volunteers can be messaged before the hospital’s mobile testing and immunization teams arrive in their village, so they can mobilize the community. According to Josh, FrontlineSMS has essentially adopted the new role of coordinating a far-reaching community health network.

The hospital sees intense promise in the formidable duo of FrontlineSMS and the cell-phone-yielding health worker. The usefulness of a well-managed communications network is undeniable, particularly when the information is so vital. In the first hours of the pilot program, a deceased patient’s extra ARVs were secured, the Home-Based Care unit was alerted of ailing cancer patients, and a death was reported (saving the hospital a day-long motorbike trip to administer additional morphine).

Since returning to Stanford, Josh has continued his work, speaking at a number of conferences and workshops and producing a user manual - "Building an SMS Network into a Rural Healthcare System" (available here as a PDF, 7Mb). According to Josh, the guide "provides an inexpensive way to create an SMS communications network to enable healthcare field workers as they serve communities and their patients".

Not only has FrontlineSMS enabled a significant improvement in healthcare delivery for St. Gabriel's, the project is infinitely scalable and replicable. Coming in at just $2000, Josh has clearly demonstrated what is possible with just three basic ingredients - a single laptop, one hundred recycled mobile phones, and local ownership and engagement. Now, with his step-by-step user guide and the minimum of investment in time and money, rural hospitals the developing world over can easily implement their own SMS communications network.

Social mobile: Doing what it says on the tin

About a year ago I was asked to give an interview to the Africa Journal. They were looking at ICT innovators and entrepreneurs in Africa and I agreed, despite being mildly uncomfortable being labelled an ICT innovator or an entrepreneur (and an African one, at that). At the end of the interview, however, they captured a brief moment which beautifully encapsulated what FrontlineSMS is all about. The interview ended:

FrontlineSMS provides the tools necessary for people to create their own projects that make a difference. It empowers innovators and organizers in the developing world to achieve their full potential through their own ingenuity

FrontlineSMS has always been about empowerment. It's never been about telling people how to use mobile phones to monitor elections, to increase market transparency, or help raise awareness around HIV/AIDS issues, even though it's been used for these things and many more. At the end of the day, it's a tool which allows organisations to figure out how to do these things for themselves. Combine that with a connected community and you have the makings of something quite powerful.

The decision to build a platform - and not a specific solution to a specific problem - has turned out to be one of the key strengths of the software. The new functionality we've added to the latest version takes this one step further allowing, for example, St. Gabriel's hospital in Malawi to figure out how to do automatic remote top-ups of their health workers' phones, or CP-Union in the Philippines to share incoming SMS data - human rights reporting in this case - with their own K-Rights Monitoring software. When users start adding contacts, keywords and actions in FrontlineSMS, or integrating it into existing systems, they're essentially creating something new, something from scratch, a communications environment all of their own making.

In ideal circumstances platforms become something of a blank canvas, and the brushstrokes the user-generated 'content' (actionable ideas, in this case). Not only does this encourage a culture of do-it-yourself thinking, it also creates instant engagement and ownership. Combine these with the local knowledge and level of engagement many NGOs already have with their stakeholders, and you're half-way to a positive outcome. Approaches which allow initiatives to grow from the ground up, focussing on technology as the enabler (not the owner) generally have the greatest chance of success. The uses of FrontlineSMS, for example, are bewildering, and they're growing all the time. Few, if any, were anticipated. Lower the barriers to entry and all sorts of things can happen, it seems.

Local ownership, the use of appropriate technology, ease-of-use, high replicability and accessibility, and a low barrier to entry should be among the key ingredients of any grassroots-focussed social mobile tool. If we're to make real, tangible progress then the tools we create don't only need to set out to empower, they need to empower. In other words, they need to do exactly what they say on the tin.

Cometh the hour. Cometh the technology.

For NGOs and developers alike, the ICT4D space can be a tough nut to crack. While NGOs generally struggle to find the tools they need to meet their particular needs, developers face the opposite problem - getting their tools into the hands of those who need them the most. Attempts to connect the NGO and developer communities - physically and virtually - continue to this day with varying degrees of success. There is no magic bullet.

Of course, bringing together the two parties in one place - conference room or chat room - is only a small part of it. Getting them to understand each others needs, often over a technologically-fuelled chasm, can be another. While one side may approach things from a "technology looking for a problem" angle, NGOs often have it completely the other way round. One of the boldest attempts in recent times to join the non-profit/developer dots took place in February 2007 in the boldly titled UN Meets Silicon Valley conference, where the United Nations met up with a bunch of Silicon Valley companies to explore how technology and industry could bolster international development. Lower-profile events take place far more regularly, often in the form of 'user generated conferences'. One such gathering - yesterday's BarCampAfrica - aims to bring "people, institutions and enterprises interested in Africa together in one location to exchange ideas, build connections, re-frame perceptions and catalyse action that leads to positive involvement and mutual benefit between Silicon Valley and the continent of Africa".

Having worked for many years in the non-profit sector, particularly in developing countries, I've seen at first-hand the kind of challenges many face, and their frustration at the lack of appropriate ICT solutions available to them. I've also been on the developer side of the fence, spending the last three years building and promoting the use of my FrontlineSMS messaging platform among the grassroots non-profit community. Unfortunately, despite what you might think, seeing the challenge from both perspectives doesn't necessarily make finding a solution any easier. Getting FrontlineSMS, for example, into the hands of NGOs has become slightly easier over time as more people get to hear about it, but it's been a very reactionary process at a time when I'd much rather be proactive. No magic bullet for me.

Sadly, for every ICT solution that gains traction, many more don't even see the light of day. While some may argue that those who failed probably weren't good enough, this isn't always the case. Take Kiva as a case in point. In the early days Matt and Jessica Flannery were regularly told by 'experts' that their idea wouldn't work, that it wouldn't scale. They didn't give up, and today Kiva is a huge success story, connecting lenders - you and me - to small businesses in developing countries the world over. Since forming in late 2005 they have facilitated the lending of over $14 million to tens of thousands of entrepreneurs in some of the poorest countries in the world.

A key turning point for Kiva was their decision to switch from business plans to 'action' plans, getting out there and building their success from the ground up. Some of us would call this "rapid prototyping", or "failing fast". Whatever you choose to call it, it's an approach I firmly believe in. In places like Silicon Valley getting it wrong isn't seen as a bad thing, and this encourages a "rapid prototyping" culture. Sadly the story is very different in the UK.

Some projects - Kiva and FrontlineSMS among them - are based on experiences gained in the field and the belief that a particular problem can be solved with an appropriate technological intervention. Of course, before any ICT4D solution can succeed there has to be a need. It doesn't matter how good a solution is if people don't see the 'problem' as one that needs fixing. In the case of Kiva, borrowers were clearly in need of funds, yet lenders lacked access to them. With FrontlineSMS, grassroots non-profits were keen to make use of the growing numbers of mobile phones among their stakeholders, but lacked a platform to communicate with them. These two initiatives worked because they were problems that found a solution.

The ICT4D space is exciting and challenging in equal measure, and by its very nature practitioners tend to focus on some of the most pressing problems in the most challenging regions of the world. Whether it's a natural disaster, a stolen election, human-wildlife conflict, a crushed uprising or a health epidemic, elements of the ICT4D community spring into action to either help co-ordinate, fix, or report on events. Interestingly, sometimes it can be the events themselves which raise the profile of a particular ICT solution, or the events themselves which lead to the creation of new tools and resources.

In 2006, Erik Sundelof was one of a dozen Reuters Digital Vision Fellows at Stanford University, a programme I was fortunate enough to attend the following year (thanks, in large part, to Erik himself). Erik was building a web-based tool which allowed citizens to report news and events around them to the wider world through their mobile phones. This, of course, is nothing particularly new today, but back then it was an emerging field. During the final weeks of his Fellowship in July 2006, Israel invaded Lebanon in response to the kidnapping of one of their soldiers. Erik's tool was picked up by Lebanese civilians, who texted in their experiences, hopes and fears through their mobile phones. The international media were quick onto the story, including CNN. Erik's project was propelled into the limelight, resulting in significant funding to develop a new citizen journalism site, allvoices, which he runs today.

In a similar vein, it took a national election to significantly raise the profile of FrontlineSMS when it was used to help monitor the Nigerian Presidential elections in 2007. The story was significant in that it was believed to be the first time civilians had helped monitor an election in an African country. As the BBC reported, "anyone trying to rig or tamper with Saturday's presidential elections in Nigeria could be caught out by a team of volunteers armed with mobile phones". Although FrontlineSMS had already been around for over eighteen months, its use in Nigeria created significant new interest in the software, lead to funding from the MacArthur Foundation and ended with the release of a new version earlier this summer. The project is now going from strength to strength.

One of the most widely talked-about platforms today also emerged from the ashes of another significant event, this time the troubles following Kenya's disputed elections in late 2007. With everyday Kenyans deprived of a voice at the height of the troubles, a team of African developers created a site which allowed citizens to report acts of violence via the web and SMS, incidents which were then aggregated with other reports and displayed on a map. Ushahidi - which means "witness" in Kiswahili - provided an avenue for everyday people to get their news out, and news of its launch was widely hailed in the mainstream press. Putting Ushahidi together is a textbook study in rapid prototyping and collaboration. In the past few months the project has also gone from strength to strength, has been implemented in South Africa to monitor acts of anti-emigrant violence, won the NetSquared Mashup Challenge and was runner-up in the recent Knight-Batten Awards.

The interesting thing about these three projects is that they all proved that they worked - in other words, proved there was a need and developed a track record - before receiving significant funding. Kiva went out and showed that their lending platform worked before major funders stepped in, just as FrontlineSMS did. And Ushahidi put the first version of their crowd sourcing site together in just five days, and have reaped the benefits of having a working prototype ever since. If there is a lesson to learn here then it would have to be this - don't let a lack of funding stop you from getting your ICT4D solution off the ground, even if it does involve "failing fast".

Of course, not everyone should rely on an international emergency to raise the profile of their project, and it wouldn't be wise to bet on something ever happening, either. But when it does, the obvious lack of a solution to an emerging problem often rises to the surface, creating an environment where tools which do exist - whether they are proven or not - are able to prosper for the benefit of everyone.

Cambodian farmers turn to their phones

At the University of Canberra, Senior Research Fellow Dr Robert Fitzgerald has been evaluating FrontlineSMS as a replacement for a commercial application previously implemented in their Cambodia Crop Production and Marketing Project (CCPMP). Since 2006, Robert and his team have been developing an SMS-based market information service for maize and soybean farmers and traders in western Cambodia.

CCPMP research had already highlighted poor communications between the different levels of the supply chain as a major challenge to the agriculture sector in the region. According to Robert, "We explored various options for the development of an improved marketing communication system and proposed to local stakeholders the development of an Electronic Marketing Communication System (EMCS) based on the use of SMS technology. We undertook a pilot project in which daily grain market information was collected by the Ministry of Commerce and entered into a database that was accessible by mobile phone in Cambodia using SMS".

The pilot project proved highly successful and its impact stimulated further work in a follow-up project funded by the Australian Centre for International Agricultural Research (ACIAR). It was at this point that Robert and his team began to explore alternative messaging systems.

"One of the most encouraging aspects of our early work was the excitement generated amongst farmers, traders, ministry officials, silo owners and potential development partners. The SMS concept was very appealing but we faced a real challenge - we wanted to use this excitement to move from a trial project to a fully fledged operating model but we needed a software application that would ensure the long term sustainability of community-based communication systems. Because the project is working with two NGOs based in western Cambodia, it was imperative that we implemented a cost-effective solution that could be managed by local staff. As it turned out, FrontlineSMS had it all. Not only is it open source but it is simple to install and maintain, and has more functionality than our previous software, all combined with a much better user-friendly interface".

Since launch of the latest version earlier this June, Dr. Fitzgerald has been testing FrontlineSMS at the University of Canberra along with a Cambodian Phd student, Nou Keosothea, who will be working with him to conduct in-country trials over the next few weeks.

Our plan is to install two FrontlineSMS systems in the Pailin and Samlaut regions of western Cambodia. Once these are installed we will conduct a series of stakeholder workshops to better understand the communication aspects of the maize and soybean production and marketing supply chain. Price, weather updates, handy hints will all figure on these systems in addition to standard SMS-based communications

Watch this space for further updates as the project moves forward, and details of a number of other agriculture-based FrontlineSMS implementations being planned by NGOs around the world.

Empowerment: It's the users, stupid!

Empowerment (em-pou-er-ment)The process of transferring decision-making power from influential sectors to poor communities and individuals who have traditionally been excluded

It's been an interesting last few days. I've just finished giving talks at the School of Oriental and African Studies (SOAS), and the ICT4D Group at Royal Holloway. Both may be 'London-based' universities, but they were both totally different audiences. The SOAS crowd were more academically-focussed, whereas the ICT4D audience were more rooted in the practical application of mobile technology, not solely the theory underlying it. I think you can probably guess where I felt most at home.

Saying that, one of the more interesting questions came from someone at SOAS, where I was asked how I defined empowerment in the context of my work, who it was exactly it was being empowered, and who was claiming it. It was an interesting discussion, and something I've touched on in the past (see "Whose revolution is it anyway?" from the May 2008 archive). The talk reminded me of my seminar days at Sussex University, where Development Studies students were rewarded for (often severe) critical analysis of thirty-five years of international development failure. Not only were the students wary that they might be hearing about something that may actually be working, a couple of staff members joined in for good measure. There's nothing like being challenged, that's for sure.

To remove any doubt about who it is being empowered, and who's claiming the empowerment, I generally put my end-user hat on. Speaking from their perspective makes it generally much harder to argue. I've had enough contact with a growing number of FrontlineSMS users over the past three years to know what it means to them. If FrontlineSMS had helped just one of these NGOs I'd have been happy. The truth is that it's helping many, many more.

If the SOAS crowd were expecting a technical or theoretical answer to their question, they were about to be disappointed. I've always tried to remain user-focussed, and all of my FrontlineSMS blog posts are based on feedback to explain and demonstrate impact. During conference presentations I only briefly introduce the FrontlineSMS 'platform' (essentially a laptop, a phone, a cable and a pile of code). What most people are interested in hearing is the meaningful, practical, tangible kind-of stuff that happens when people start figuring out the kinds of things they can do with it. This is where the rubber meets the road, and this is what formed the basis of my answer.

To me, the empowered includes NGO fieldworkers in Afghanistan who receive daily security messages and alerts. During a recent Taliban attack FrontlineSMS was...

... essential for us getting the word out quickly. E-mail was down, voice was spotty but SMS still worked. We also had female staff at a school near the incident and were able to tell them to stay put till things quietened down. All my staff made it home safe today

It also includes patients and staff at St. Gabriel's Hospital in Malawi where, in the words of the staff at St. Gabriel's Hospital, FrontlineSMS has "adopted the new role of coordinating a far-reaching community health network serving 250,000 Malawians". And in Aceh, two FrontlineSMS-driven projects - one run by the UNDP - is successfully helping increase income-generating opportunities for smallholder coffee farmers and their families. Many more agriculture-based projects are on the way.

In Iraq, Aswat al-Iraq news agency have implemented FrontlineSMS as an information dissemination tool within a number of locally based news organisations who were struggling to come to terms with local mobile operators. According to the agency:

The effectiveness of FrontlineSMS is evident as we can create, manage and update the profiles of the clients' groups we created. We now send messages to at least eight countries using different operators in Europe and the Middle East, with the messages delivered to all the numbers at the same time. We are keen to continue using FrontlineSMS as we predict that the demand for our services, via the software, will grow in the future

And in Azerbaijan, another local NGO - Digital Development - are using FrontlineSMS to reach out to voters in the forthcoming Presidential elections (the software is being used to encourage youth participation in the electoral process. Not every country has a Barack Obama). According to Digital Development, "FrontlineSMS has been a game-changer for the 'Civil Society Coalition of Azerbaijani' NGOs and the 'Society of Democratic Reforms in Azerbaijan'. The ability to properly manage our text messaging campaigns has added 100% value to the effectiveness of our work". Earlier this year Digital Development pledged to sign up 80,000 voters via SMS to swing 2008 presidential elections through innovative get-out-the-vote activities, including their "Count to 5!" campaign (pictured).

Many of these users, of course - NGOs, and the communities they're reaching out to - don't care what underlying technology delivers a message, or the theory underpinning the application of mobile technology in a developing country context. As long as they get a message and as long as it's useful, timely, relevant and actionable, that's all that counts.

And, using FrontlineSMS, that's just the kind of message increasing numbers of NGOs find themselves being able to deliver.