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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T12:41:52+00:00 2026-06-17T12:41:52+00:00

Is it possible to block installing apps from apk file directly. How can do

  • 0

Is it possible to block installing apps from apk file directly. How can do this using code, not by using some setting on the phone.

I just need to block installation of apps outside of the play store. That is stop the user from copying a apk file to the phone and install it. But still allow them to install apps through the Play Store.

  • 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-17T12:41:53+00:00Added an answer on June 17, 2026 at 12:41 pm

    This isn’t possible on AOSP Android.

    The Install from unknown sources option is a setting in Settings.Global (previously in Settings.Secure) and cannot be controlled by third party applications.

    However, it is possible do achieve this if you’re willing to modify and compile Android itself for each and every device you want to use this on, as is done by AT&T on some of their devices.

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

Sidebar

Related Questions

Is it possible to block sending of my app (.apk file) from the phone
Is it possible to block users from IP adresses with a dynamic file-based blocklist?
When entering code in CMS static block(possible page as well) and in this code
Possible Duplicate: Ruby block and unparenthesized arguments I'm not sure I understand this syntax
Possible Duplicate: synchronized block vs synchronized method? From accepted answer to this question: In
Is it possible to block users from closing the window using the exit button
In which way it is possible to compile this code? buf_right.el(j, k) = block.el(i,
Possible Duplicate: How to block a website programatically using DotNet HAI I am developing
Is it possible to allocate an arbitrary memory block using the new operator? In
Possible Duplicate: Django switching, for a block of code, switch the language so translations

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.