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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T04:57:31+00:00 2026-06-07T04:57:31+00:00

I am trying to send a set of data from one Activity under project

  • 0

I am trying to send a set of data from one Activity under project A , package a , into another Activity under project B , package b for Android project integration.

How to modify the Intent myintent = new Intent () in order can such be achieved?

The below is my part of code of project A, package a ..

try {
    Intent myIntent = new Intent();
    Bundle myData = new Bundle();
    myData.putInt("cntKey", contractKey);
    myData.putInt("workTypeKey", workType);
    myData.putInt("estateIDKey", estateID);
    myData.putInt("workIDKey", workID);
    myData.putInt("blockIDKey", blockID);
    myData.putInt("districtIDKey", districtID);
    myData.putString("estateRoomNumKey", estateRoomNumber);
    myData.putString("estateKey", estate);
    myData.putString("blockKey", block);
    myIntent.putExtras(myData);
    startActivityForResult(myIntent,0);
} catch (Exception e) {
    Toast.makeText(getBaseContext(), e.getMessage(), Toast.LENGTH_LONG).show();
}

Now I am trying to pass some data from one Activity , package a , project A into another Activity, package b , Project B

The Project A itself is a library project.

What should I begin with if using Indents and Bundle?

  • 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-07T04:57:32+00:00Added an answer on June 7, 2026 at 4:57 am

    I think what you need to use is a broadcast.

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

Sidebar

Related Questions

I have a project in which I am trying to send data from an
I am trying to send audio file from one computer to other using socket
i couldn't send data from my device to my php file. i am trying
I'm trying to send and receive binary data sms from my app (sdk 2.1-update
I am trying to send a message to my main activity from an Async
I'm trying to send a value to the appDelegate from one UIViewController, so that
I am trying to set up a synchronization routine in C# to send data
I am trying to modify a stored procedure I wrote to pull data from
I'm trying to send post using API feed. I set fields: message , link
I am trying to set up an alert that will send me an email

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.