Android Bug Creates Problems for Developers of NFC Texting Apps

Google’s Android operating system has a bug that creates headaches for application developers wanting to enable users to send SMS messages after tapping NFC tags.

The bug, if left unfixed, leaves Google’s Nexus S phone and other planned Android NFC phones unable to properly format the SMS phone numbers and text stored on the tags. These tags could be embedded in smart posters that could launch SMS applications on phones to enable users to request a range of content, from transit tickets to information on museum exhibits.

Developers have already rigged some workarounds for the problem, and they expect Google to eventually fix the bug, which also affects text messaging launched by other media on Android phones, such as 2-D bar codes.

But until it is repaired, the problem will create difficulties for developers wanting to use the SMS channel to request data or content on the Android phones. The problem could affect a range of applications. For example, service providers in Austria have used text messaging to let customers buy transit tickets or make vending machine purchases by tapping their older-style Nokia NFC phones on tags. The system also delivers the tickets or confirmation of purchases via text. SMS also has been used in NFC trials to deliver short educational content.

“While most tag-based applications will use the Internet to access information and services, there are a significant number of SMS-based services which will benefit from the simple access provided by NFC," said Glenn Needham, director of UK-based Near Field Solutions, an NFC tag supplier, and formerly chairman of the NFC Forum’s security working group.

In particular, SMS could become a popular means for NFC application developers to communicate with users of lower-cost NFC feature phones. Countries without a high penetration of smartphones or high-capacity networks also could use text messaging with tags.

Google did not fix the bug in its latest release of Android, 2.3.4, noted Michael Roland, research associate at the Upper Austria University of Applied Sciences. He said until the problem is solved, developers would have to design special fixes in their applications. He said he has reported the problem to Google.

Austria-based NFC consultant and researcher Gerald Madlmayr said the bug has been reported through “multiple channels” to Google. “The problem is already known since beginning of this year,” he told NFC Times.

Nick Pelly, a technical lead at Google for Android and NFC did not respond to e-mails from NFC Times asking when the bug is scheduled to be fixed.

Pelly, who played up the tag-reading and peer-to-peer features of NFC technology during a presentation last week at Google’s I/O developer conference in San Francisco, did not mention any problems with tag-reading functionality in Android during the talk.

Google has been slow to fix other texting problems in Android, including one that caused users to occasionally text the wrong contact.

Needham noted that the texting bug does not only relate to NFC and is not part of the NFC software stack that is part of the latest versions of Android, called Gingerbread.

“The bug is in the main part of the operating system, so you might see similar problems linked to the reading of QR codes and other media,” he told NFC Times.

Both Roland and Madlmayr said that in their tests, the bug does not interfere with the Nexus S reading the tag and drawing the data it needs from it, which in this case is mainly a phone number and text for the message. But when the SMS application opens on the phone, the message text gets put onto the same line as the phone number, so no message can be sent. The box for the text remains empty.

Roland said he has developed a “hotfix” for the problem that works with the SMS messaging application on the Android phones. Users click a second button showing the recipient's phone number to open the messaging application. The phone number and text are separated and go into the proper fields. But he noted it was only a temporary fix.

NXP Semiconductors, which supplies the NFC chip and NFC software stack to Google for Android, wrote its own “TagWriter” application for writing to NFC tags, and in it also fixes the problem for those people using this particular application, said Needham.

But without a permanent fix to the bug in the Android operating system, application developers will never be sure if their messages are getting across to users–at least not if those messages are using SMS.

 

HEADLINE NEWS

Australian Transit Agency to Launch Mobility-as-a-Service Trial as It Pursues Long-Term MaaS Strategy

Plans by Transport for New South Wales, Australia’s largest transit agency, to launch a trial enabling users to plan, book and pay for multimodal rides is the next step toward the agency’s long-ter

Updated: U.S. Transit Agency Seeks to Reduce–Though Not Eliminate–Cash Acceptance with New Fare-Collection System

Updated: The Spokane Transit Authority in Washington state confirmed that its new fare-collection system will include contactless open-loop payments–with a beta test planned for next October, a spokesman told NFC Times' sister publication Mobility Payments.

UK Government Seeks to Bring London-Style Contactless Fare Payments System to Other Regions

The UK government’s plan to equip 700 rail stations over the next three years to accept contactless open-loop payments is a major initiative, as it seeks to replicate the success of London’s contactless pay-as-you go fare payments system elsewhere in the country–a goal that has proved elusive in the past.

More Cities in Finland Expected to Move to Open-Loop Fare Payments

A fourth city in Finland is beginning to roll out contactless open-loop payments, with “more in the pipeline,” according to one supplier on the project, making the Nordic country one of the latest hotspots for the technology.

Moscow Metro Expands Test of ‘Virtual Troika’ in Pays Wallets, as It Continues to Develop Digital-Payments Services

Moscow Metro is recruiting more users to test its “Virtual Troika” card in two NFC wallets, those supporting Google Pay and Samsung Pay, as one of the world’s largest subway operators continues to seek more ways for its customers to pay for rides.

Ohio Transit Agency Expects Significant Revenue Loss as it Builds Equity with Fare Capping

The Central Ohio Transit Authority, or COTA, officially launched its new digital-payments service Monday, including a fare-capping feature that the agency estimates will cost it $1.8 million per year in lost fare revenue, the agency confirmed to Mobility Payments.

Special Report: Interest Grows in ‘White-Label EMV’ for Closed-Loop Transit Cards

As more transit agencies introduce open-loop fare payments, interest is starting to grow in use of white-label EMV cards that agencies can issue in place of proprietary closed-loop cards for riders who don’t have bank cards or don’t want to use them to pay fares.

Swedish Transit Agency Launches Express Mode Feature for Apple Pay, though Most Ticketing Still with Barcode-Based App

Skånetrafiken, the transit agency serving one of Sweden’s largest counties, announced today it has expanded its contactless open-loop payments service to include the Express Mode feature for Apple Pay.

Major Bus Operators in Hong Kong Now Accepting Open-Loop Payments–Adding More Competition for Octopus

Two more bus operators in Hong Kong on Saturday launched acceptance of open-loop contactless fare payments, with both also accepting QR code-based mobile ticketing–as the near ubiquitous closed-loop Octopus card continues to see more competition.

Moscow Metro Launches Full Rollout of ‘Face Pay;’ Largest Biometric Payments Service of Its Kind

Touting it as the largest rollout of biometric payments in the world, Moscow Metro launched its high-profile “Face Pay” service Friday, as expected, and predicted that 10% to 15% would regularly us

Indonesian Capital Seeks to Expand to Multimodal Fare Collection and MaaS

Indonesia’s capital Jakarta, whose metropolitan area is home to more than 30 million people, is notorious for its stifling traffic congestion. In response, the government metro and light-rail networks and now it is funding an expansion of the fare-collection system to enable more multimodal payments and to build a mobility-as-a-service platform.

Exclusive: NFC Wallets Grow as Share of Contactless Fare Payments and Not Only Because of Covid

Transit agencies that have rolled out open-loop contactless payments are seeing growing use of NFC wallets to pay fares, as Covid-wary passengers see convenience in tapping their phones or wearables to pay.