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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T12:57:29+00:00 2026-06-15T12:57:29+00:00

I juste made the following test: APK1 : com.sample.apk1 : signed with certificate1 APK2

  • 0

I juste made the following test:

  • APK1 : com.sample.apk1 : signed with certificate1

  • APK2 : com.sampla.apk2 : signed with certificate2 different from certificate2

APK1 can access the content of the package APK2 (I made the test for a layout that I inflated) using :

PackageInfo pkInfo = pkManager.getPackageInfo("com.sampla.apk2", 0);
Resources res = pkManager.getResourcesForApplication(pkInfo.packageName);

How could it be possible ?
How can I prevent APK1 from accessing the APK2 ?

Thanks

  • 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-15T12:57:31+00:00Added an answer on June 15, 2026 at 12:57 pm

    How could it be possible ?

    Resources and assets are world-readable.

    How can I prevent APK1 from accessing the APK2 ?

    Do not install APK2.

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

Sidebar

Related Questions

I have the following test-class made on the fly: http://sumoin.pastebin.com/ff744ea4 No fine-tuning or something
I am discovering how to use git. I just made the following test: create
So I made the following test for a class Board that would to be
I've made some regex to test for a YouTube embedded video: /^(http:\/\/www\.youtube\.com\/embed\/)[^\/\s\\]+$/ It works
I just made my first .net website. I'm trying to use the following line
I made a test file, and ran through the excel file just fine, but
I want to unit test a Java application that fetches mails from an email
I have an Enterprise Account(installing via Over The Air). I made a test app,
I have made a simple, test program to experiment using classes. It creates a
Going straight to the point, i have made a code to test concurrency in

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.