Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Android™ Runtime Development

Reply
Contributor
eyadj86
Posts: 14
Registered: ‎04-28-2012
My Device: na
My Carrier: na
Accepted Solution

Android Obfustication

Hi,

 

I'm trying to port an Android application which has to be obfusticated. For that I'm using Dex Guard Obfusticator.

 

My question is:

 

Does the BlackBerry porting tool do any obfustication?

And how to apply third party obfustication like Dex Guard?

 

Thanks.

Please use plain text.
BlackBerry Development Advisor
klajili
Posts: 36
Registered: ‎01-26-2012
My Device: 9900
My Carrier: T-Mobile DE

Re: Android Obfustication

 

A good obfuscator is ProGuard (http://proguard.sourceforge.net/), it obfuscates Java  classes byte code *before* creating an .apk file (you can refer to http://developer.android.com/tools/help/proguard.html),

 

 

Obfuscated Android apps are definitely supported. However there's no obfuscators for .bar files. Therefore, you probably have to apply obfuscation when you build the .apk file, and then repackage that .apk into a .bar file manually (with apk2bar tool), rather than through the BlackBerry ADT Eclipse plug-in.

The apk is just embedded 'as is' inside the bar file - normal obfuscation as done on android would apply.

Please use plain text.
Contributor
eyadj86
Posts: 14
Registered: ‎04-28-2012
My Device: na
My Carrier: na

Re: Android Obfustication

Thanks for the reply!

Please use plain text.