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 7833939
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T12:58:27+00:00 2026-06-02T12:58:27+00:00

For some security reasons I need to change apk file before user can download

  • 0

For some security reasons I need to change apk file before user can download apk file. But when I change .apk content, my app cant be installed. Its need to be resigned.

So I want to know how do I resign it using only zip-open/read/write operations or something else using php.

The only way I see is to install sdk tools on server and work with them with shell command in php. But I want to know if there are more easy ways to do this

  • 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-02T12:58:29+00:00Added an answer on June 2, 2026 at 12:58 pm

    The only way I see is to install sdk tools on server and work with them with shell command in php.

    In all likelihood, that is your only option. Even if somehow PHP had a fully-functioning jarsigner embedded in it, it is unlikely to also have zipalign.

    Note, though, that by “sdk tools”, you only really need the Java SDK (for jarsigner) and the zipalign binary (which, AFAIK, has no other dependencies). You should not need the entire Android SDK.

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

Sidebar

Related Questions

I have some default values for testing my code, but for security reasons those
I'm trying to add some security to my ASP.NET 1.0 MVC app (VB), but
From security reasons, is it worth encrypting user emails before putting them into the
I've got an ASP.NET app that requires Windows Integrated Security. For some reason, I
In need to move/delete files on the local file system of the user from
I have developed an android .apk file and I need to put it on
I need to connect to a remote queue in my application,but when security enabled
I have some security related service running on my machine (start type = automatic)
While implementing some security aspects with Spring Security, I have noticed that both Authentication
I gave a site full trust however I am still getting some security exceptions.

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.