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

LA Metro Plans NFC-Enabled Mobile App for TAP Card But Holds Off on Open Payments

NFC TIMES Exclusive Insight – The Los Angeles County Metropolitan Transportation Authority, or Metro, plans to introduce mobile payments using NFC phonesbut only supporting its closed-loop TAP fare payments service, not open-loop payments, NFC Times has learned.

Chinese Wearables Makers Begin to Introduce Low-Cost Devices Supporting NFC Payments

NFC TIMES Exclusive Insight – A new smartwatch from low-cost Chinese wearables maker Huami and the latest fitness band version from Huami’s major investor and partner, Xiaomi, both support transit and retail payments–making them among the first budget smart wearables devices supporting NFC payments.

In-Depth: San Francisco’s $461 Million Transit Contract Will Support NFC Ticketing but Not Open-Loop Contactless Payments

NFC TIMES Exclusive Insight – A planned US$461 million contract to upgrade and operate the Clipper fare collection system in the San Francisco Bay Area will include account-based ticketing and a mobile app that will enable customers to tap for rides with a closed-loop virtual Clipper card on NFC-enabled smartphones.

Apple Drops Requirement to Have App Open for Tag Reading

NFC TIMES Exclusive Insight – Apple has relaxed its approach to NFC tag reading in its new iPhone Xs, Xs Max, and Xr models, removing the requirement to have a reader application open in order to use a tag. It calls the feature Background Tag Reading, and it offers essentially the same functionality that Android devices have had for years.  

Fossil Expands Support for NFC Payments, as It Continues Push into Smartwatch Market

NFC TIMES Exclusive Insight – U.S.-based Fossil Group is pushing deeper into the smartwatch market, as it seeks to diversify from the financially strapped traditional watch market. Among the apps Fossil is offering on several new smartwatch models are Google Pay and Alipay, the latter in China.

Google Expands Payments Service in India, Targeting Projected $1 Trillion Digital Payments Market

NFC TIMES Exclusive Insight Google, its eye on India’s projected US$1 trillion digital payments market in five years, has rebranded its Tez payments service to Google Pay and is planning to expand its services, including to Gmail-based payments and, later, NFC.

Fitbit Unveils First Non-Smartwatch Supporting NFC Payments Service, but Progress of Device Rollout Slow

Oct 13 2018

NFC TIMES Exclusive Insight ­– U.S.-based wearables maker Fitbit in November plans to release its first non-smartwatch supporting its payments service, Fitbit Pay, with the recent unveiling of its new health and fitness tracker Charge 3–but as with its Versa smartwatch, released in April, the NFC payments feature will only be available on a “special edition” version of the tracker in the U.S. and likely in some other markets.

Analysis: Three Years In, Samsung Pay Transaction Figures Are Still Nothing to Boast About

NFC TIMES Exclusive Insight – ­Three years after its launch in South Korea, consumer take-up of Samsung Pay remains lackluster, despite the company’s efforts to hype up its newly released figures.

Dominant NFC Chip Supplier Seeks to Move Up Value Chain by Providing More Services

NFC TIMES Exclusive – NXP Semiconductors, the dominant supplier of NFC chips and secure elements for smartphones and wearables, is seeking to push further up the value chain, offering such services as a white-label wallet platform and provisioning of bank and transit payments applications.

More Cities Plan to Launch Transit Ticketing in Google Pay Wallet

NFC TIMES Exclusive – Some major cities plan to enable their transit fare payments in the Google Pay wallet, using NXP’s Mifare 2GO provisioning service, NXP Semiconductors confirmed to NFC Times, adding that the implementations could put the fare-payments applications on secure elements.

Vancouver Transit Authority Plans to Run Open-Loop and Closed-Loop Fare Collection Side by Side

Aug 13 2018

NFC TIMES Exclusive – Vancouver-area transit authority TransLink is seeing modest consumer take-up for its new open-loop contactless fare payments service and around 6% of the contactless EMV credit transactions are from NFC mobile wallets so far, NFC Times has learned.

Mastercard Backs Open-Loop Transit Payments in Taiwan’s No. 2 City

NFC TIMES Exclusive Insight – Kaohsiung, Taiwan’s second-largest city, plans to enable riders to enter subway gates by tapping contactless EMV credit cards and NFC wallets by the end of the year, working with Mastercard.