Amazon advises developers on how to protect code from app thieves

Developers whose apps use in-app purchasing need to take extra care to ensure that the functionality is preserved

Developers submitting apps to the Amazon Appstore for Android should consider obfuscating their code if they are concerned about their applications being reverse engineered, the company said in a blog post on Tuesday.

Obfuscating the code modifies the source and machine code to be difficult for a human to understand if the app gets decompiled, according to Amazon.

For Android apps, Proguard is a code obfuscation tool that is provided to developers once they download the SDK (software development kit). The program shrinks, optimizes, and obfuscates the source code, Amazon wrote in the blog post.

Besides obfuscating the code, Proguard also reduces file sizes and boosts the run-time performance of the code.

But Amazon also has a caveat for developers whose applications include in-app purchasing, allowing users to buy digital content and subscriptions -- such as in-game currency, expansion packs, upgrades, and magazine issues -- within apps. If in-app purchasing is available all of the code cannot be obfuscated. Amazon Appstore relies on certain methods being available to call and provide developers with information about a purchase request. If these methods get obfuscated and renamed, the Appstore will not be able to send the information, according to the blog post.

To avoid the latter, developers have to add a few lines of code to ensure the in-app functionality is preserved, the blog post said.

Amazon's introduction of an in-app purchasing API earlier this month highlights how important it has become, and there is a reason for that.

In-app purchases now account for 60 percent of revenue among the 200 highest-grossing applications for Apple and Android, according to a recent survey conducted by market research company CCS Insight and Distimo, which has specialized in app store market analytics.

Send news tips and comments to mikael_ricknas@idg.com

Join the newsletter!

Error: Please check your email address.
Rocket to Success - Your 10 Tips for Smarter ERP System Selection
Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Mikael Ricknäs

IDG News Service
Show Comments

Cool Tech

Breitling Superocean Heritage Chronographe 44

Learn more >

SanDisk MicroSDXC™ for Nintendo® Switch™

Learn more >

Toys for Boys

Family Friendly

Panasonic 4K UHD Blu-Ray Player and Full HD Recorder with Netflix - UBT1GL-K

Learn more >

Stocking Stuffer

Razer DeathAdder Expert Ergonomic Gaming Mouse

Learn more >

Christmas Gift Guide

Click for more ›

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Edwina Hargreaves

WD My Cloud Home

I would recommend this device for families and small businesses who want one safe place to store all their important digital content and a way to easily share it with friends, family, business partners, or customers.

Walid Mikhael

Brother QL-820NWB Professional Label Printer

It’s easy to set up, it’s compact and quiet when printing and to top if off, the print quality is excellent. This is hands down the best printer I’ve used for printing labels.

Ben Ramsden

Sharp PN-40TC1 Huddle Board

Brainstorming, innovation, problem solving, and negotiation have all become much more productive and valuable if people can easily collaborate in real time with minimal friction.

Sarah Ieroianni

Brother QL-820NWB Professional Label Printer

The print quality also does not disappoint, it’s clear, bold, doesn’t smudge and the text is perfectly sized.

Ratchada Dunn

Sharp PN-40TC1 Huddle Board

The Huddle Board’s built in program; Sharp Touch Viewing software allows us to easily manipulate and edit our documents (jpegs and PDFs) all at the same time on the dashboard.

George Khoury

Sharp PN-40TC1 Huddle Board

The biggest perks for me would be that it comes with easy to use and comprehensive programs that make the collaboration process a whole lot more intuitive and organic

Featured Content

Product Launch Showcase

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?