1. Download our Official Android App: Forums for Android!

Apps Application Security

Discussion in 'Android Development' started by wertyu, Feb 15, 2010.

  1. wertyu

    wertyu Newbie
    Thread Starter
    Rank:
    None
    Points:
    15
    Posts:
    13
    Joined:
    Oct 5, 2009

    Oct 5, 2009
    13
    0
    15
    Guys,

    I really need some assistance. I have a small app which I hope to release very soon. It will be sold at a minimal price as its not worth much more. However Im wondering if I should be obfuscating my code or using other techniques to counter hackers?
    Also should I be registering this somehow to protect my Intellectual Property? I wouldnt want somebody just cloning my app.

    Any advice/tips?

    Thanks
     

    Advertisement

  2. KlaymenDK

    KlaymenDK Android Expert
    Rank:
    None
    Points:
    143
    Posts:
    1,217
    Joined:
    May 29, 2009

    May 29, 2009
    1,217
    130
    143
    Denmark
    Distributing the application (in APK format) won't give 'hackers' direct access to your source code, although reverse engineering is possible and could reveal many of the methods you used.

    Theoretically speaking, obfuscating your code won't make much of a difference to the binary unless you obfuscate your methods, and that will probably punish you more than anyone else. :rolleyes:

    As for protecting your IP; everything you create is already covered by copyright unless you choose a more open license. Just stating that explicitly should keep some of the riff-raff away. You can provide your work with more legal armouring, but that may be more costly than your work itself.
     
  3. wertyu

    wertyu Newbie
    Thread Starter
    Rank:
    None
    Points:
    15
    Posts:
    13
    Joined:
    Oct 5, 2009

    Oct 5, 2009
    13
    0
    15
    Thanks that really helps. Is obfuscation a painful process on Android? I've never done it before.
     
  4. KlaymenDK

    KlaymenDK Android Expert
    Rank:
    None
    Points:
    143
    Posts:
    1,217
    Joined:
    May 29, 2009

    May 29, 2009
    1,217
    130
    143
    Denmark
    Code obfuscation per definition yields a painful result, and is quite laborious. However, some regard the act itself a form of entertainment. The difficulty and result vary a bit with language used, but it's certainly possible to do in Java (which is what Android is, roughly speaking).

    The real pain is that it becomes "write-only code", that is, impossible to maintain.

    In short: Just don't. Please. :eek:
     
  5. wertyu

    wertyu Newbie
    Thread Starter
    Rank:
    None
    Points:
    15
    Posts:
    13
    Joined:
    Oct 5, 2009

    Oct 5, 2009
    13
    0
    15
    Ok thanks again
     

Share This Page

Loading...