Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8476529
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T18:12:16+00:00 2026-06-10T18:12:16+00:00

Possible Duplicate: Android: Getting source code from an APK file Is it possible for

  • 0

Possible Duplicate:
Android: Getting source code from an APK file

Is it possible for someone to de-compile my android apk file and see the public variables or constants declared in my packages?

My shared key that i have defined as public static constant will then get exposed…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T18:12:18+00:00Added an answer on June 10, 2026 at 6:12 pm

    When you deobfuscate code (here’s a video tutorial that might give insight: How to read obfuscated code), you will be able to see all hard-coded values such as

    private String key = "Au8aujEWS(jol#9jSd9";
    

    Except they won’t be seeing variable names:

    private String a = "Au8aujEWS(jol#9jSd9";
    

    By using tools like Sunny mentioned, you’ll be able to get all code to near it’s original state.

    I’ll give an example; If you had the following original code:

    public class MainActivity extends Activity { 
        private String key = "Au8aujEWS(jol#9jSd9";
    
        public void onCreate(Bundle savedInstance) {
            //Some code here
        }
    }
    
    public class OtherActivity extends Activity { ... }
    

    After being compiled, and decompiled back into java code, it would look something like this:

    public class A extends B {
        private String a = "Au8aujEWS(jol#9jSd9";
    
        public void a (C b) {
            //Some code here
        }
    }
    public class D extends B { ... }
    

    and by using educated guesswork and refactoring tools, you’ll be able to deobfuscate code, so with enough dedication and hard work people will be able to see all your code.


    I strongly recommend to not make your security entirely depending on things coded into the client applications. Of course it depends on how important it is for your situation to not give hackers the possibility to access the information you’re trying to secure.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Building android source code I am getting the following error while building
Possible Duplicate: Android: How to declare global variables? I want to access public instance
Possible Duplicate: R.java Missing in Android Project in NetBeans In Android I am Getting
Possible Duplicate: NoClassDefFoundError - Eclipse and Android I'm seeing this question is getting asked
Possible Duplicate: Android Launch an application from another application I am having a problem
Possible Duplicate: Android Launch an application from another application I want to start Another
Possible Duplicate: Android: How can I get the current foreground activity (from a service)?
Possible Duplicate: Android - Application (apk) Maximum size I want to install an APK
Possible Duplicate: How to read text file in Android? I am developing a web
Possible Duplicate: Android, QR code library NOT ZXING I want to create an app

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.