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

  • Home
  • SEARCH
  • 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 6928779
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T11:13:59+00:00 2026-05-27T11:13:59+00:00

I am putting the final touches on my android app. The app is a

  • 0

I am putting the final touches on my android app. The app is a full networking game, so it is always using the internet when you are running it. I want to prevent someone from extracting the .apk from the phone, decompiling the code and then changing and extending my classes to do bad things to my server. Here is how the app sets up the networking:

  • Client connects to the server
  • Server sends client a “session key” that is used for encryption
  • Server and client communicate with encrypted data based on the key they share

Now, I’m worried someone will decompile my code and change it so that they can do whatever they want in the game. Is there a way to make sure the classes haven’t been changed? Is there a way to check the size of a .class file during runtime? Anyone have any ideas?

  • 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-05-27T11:14:00+00:00Added an answer on May 27, 2026 at 11:14 am

    Whatever you do to your code, potential attacker is able to change it in any way she or he finds it feasible. You basically can’t protect your application from being modified. And any protection you put in there can be disabled/removed.

    You can do different tricks to make “hacking” harder though. For example, use obfuscation (if its Java code). This usually slows down reverse engineering significantly.

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

Sidebar

Related Questions

I am making an app and I am putting the final touches on it
I'm putting the final touch to my friend's portfolio website (using wordpress) but I'm
I putting an in-game chat module into an app. I am adding text messages
I'm currently putting the final touches on my program and need an icon set
I was just putting some thought into different languages (as I'm reviewing for final
I'm putting a float in an Android based SQLite database, like so: private static
I've tried putting Google's +1 button in WebView using the methods they describe. I've
Ran into a very strange problem here using MVC3 and razor. The app I'm
I have a problem when putting my iPhone app to background by pushing the
I am using seam 2.2.2.Final on JBoss AS 5. I am working on a

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.