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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T12:27:26+00:00 2026-05-15T12:27:26+00:00

I have a fully functioning program that worked. However it had two dialogs that

  • 0

I have a fully functioning program that worked. However it had two dialogs that I know I’ll be reusing every time I write a program, or potentially multiple times per program. They are a EULA and an info page. So I’ve moved the two activities to their own project, however I don’t want to have a standard EULA and info page obviously. So I have the resource on the projects I’m working on. (If using Assets will work better, I could change that.)

For the EULA I have a static function checkEULA to see if it’s already been accepted and that works because I pass in an activity and the resource ID.

However for the InfoActivity I am trying to do it as a pure Intent.. I can pass in the id into the bundle, but is there a way to get the activity or resources from the intent with out adding it into the bundle?

Or if not, what is there a best practice, or a smart way to pass a resource into a intent to get it out on the other end?

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

    You can probably do this using the PackageManager class. I believe it will allow you to access the resources from any package on the system.

    http://developer.android.com/reference/android/content/pm/PackageManager.html#getResourcesForApplication(java.lang.String)

    That being said, I’m curious how you plan to distribute this. Are you going to tell the user to download two different packages from the Android Market?

    You might want to consider looking into the library project support that was added in the latest version for the Android SDK tools:

    http://developer.android.com/guide/developing/eclipse-adt.html#libraryProject

    http://developer.android.com/guide/developing/other-ide.html#libraryProject

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

Sidebar

Ask A Question

Stats

  • Questions 440k
  • Answers 440k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer As it turns out, specifying no domain seems to work:… May 15, 2026 at 5:13 pm
  • Editorial Team
    Editorial Team added an answer Use bruteforce: public static int IsCsInMaster(HashSet<string> childSubset, List<HashSet<string>> master, int… May 15, 2026 at 5:13 pm
  • Editorial Team
    Editorial Team added an answer Should be in your active theme files, such as comments.php,… May 15, 2026 at 5:13 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.