Welcome to the Android Central Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Results 1 to 6 of 6
  1. Thread Author  Thread Author    #1  
    Daniele Comi's Avatar

    Posts
    13 Posts
    Global Posts
    14 Global Posts
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default APK security

    Is proguard the best tool to obfuscate apk source codes?
  2. #2  
    srkmagnus's Avatar

    Posts
    13,721 Posts
    Global Posts
    13,762 Global Posts
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Carrier
    Stock 4.4 (KitKat)

    Default Re: APK security

    Quote Originally Posted by Daniele Comi View Post
    Is proguard the best tool to obfuscate apk source codes?
    What exactly are you trying to accomplish? Let us know and we'll do our best to assist with the best ways to accomplish that goal.
  3. #3  
    mrYoussef135's Avatar

    Posts
    11 Posts
    Global Posts
    10 Global Posts
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: APK security

    The sad truth is , if you can obfuscate it, you can deobfuscate it.
  4. #4  
    riksweeney's Avatar

    Posts
    13 Posts
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: APK security

    Well, sort of. What proguard does is takes code such as

    package com.mygamecompany.mygame.enemy;

    class Enemy {
    private int health;
    private float x;
    private float y;

    public void fireAtPlayer()...
    }

    and turns it into something like

    package a.b.c.d;

    class A {
    private int a;
    private float b;
    private float c;

    public void d()...
    }

    The code will still run, but deciphering what most of it means will take while, particularly if the code is badly written to begin with.

    Proguard also won't obfuscate any strings in the code, you can get commercial obfuscators which will do this though.
  5. Thread Author  Thread Author    #5  
    Daniele Comi's Avatar

    Posts
    13 Posts
    Global Posts
    14 Global Posts
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: APK security

    It's just curiosity, I wanted to know if I could not allow anyone to see my app code clear.
  6. Thread Author  Thread Author    #6  
    Daniele Comi's Avatar

    Posts
    13 Posts
    Global Posts
    14 Global Posts
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: APK security

    Quote Originally Posted by riksweeney View Post
    Proguard also won't obfuscate any strings in the code, you can get commercial obfuscators which will do this though.
    Oh ok it just make more difficult reading the code

Similar Threads

  1. Password Security
    By jmagid51 in forum Android Security Apps, Tips & Strategies
    Replies: 5
    Last Post: 04-28-2016, 07:20 AM
  2. [APP][ROOT] Undeleter - Restore Files & Data [APK]
    By ftgg99 in forum Android Apps
    Replies: 17
    Last Post: 03-16-2015, 05:34 AM
  3. Replies: 4
    Last Post: 08-25-2014, 05:23 AM
  4. Samsung Galaxy s tab security issue
    By Unregistered in forum Ask a Question
    Replies: 1
    Last Post: 08-20-2014, 09:08 PM
  5. forget security password
    By AC Question in forum Ask a Question
    Replies: 1
    Last Post: 08-20-2014, 12:41 PM

Posting Permissions

";