Follow Us

Amazon advises Android developers on how to protect code

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

Amazon Appstore for Android developers should consider obfuscating their code if they are concerned about their applications being reverse engineered, the company said yesterday.

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, optimises, and obfuscates the source code, Amazon said.

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% 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.




Comments



Send to a friend

Email this article to a friend or colleague:

PLEASE NOTE: Your name is used only to let the recipient know who sent the story, and in case of transmission error. Both your name and the recipient's name and address will not be used for any other purpose.

Techworld White Papers

Choose – and Choose Wisely – the Right MSP for Your SMB

End users need a technology partner that provides transparency, enables productivity, delivers...

Download Whitepaper

10 Effective Habits of Indispensable IT Departments

It’s no secret that responsibilities are growing while budgets continue to shrink. Download this...

Download Whitepaper

Optimise Performance For Global eCommerce

Global is all the rage: eBusiness teams are feverishly building new international initiatives in...

Download Whitepaper

Gartner Magic Quadrant for Enterprise Information Archiving

Enterprise information archiving is contributing to organisational needs for e-discovery and...

Download Whitepaper

Techworld UK - Technology - Business

Part 2 of your journey to virtualisation

You can still access part 2 of our virtualisation journey - explore how you can improve your servers, storage and networks by developing your infrastructure.

Watch now...
Techworld Mobile Site

Access Techworld's content on the move

Get the latest news, product reviews and downloads on your mobile device with Techworld's mobile site.

Find out more...

From Wow to How : Making mobile and cloud work for you

On demand Biztech Briefing - Learn how to effectively deliver mobile work styles and cloud services together.

Watch now...

Site Map

* *