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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T17:19:04+00:00 2026-06-01T17:19:04+00:00

I am making a calendar/appointment app on android to develop my skills the opening

  • 0

I am making a calendar/appointment app on android to develop my skills the opening screen has a calendar, a textview(dateselected) and a button(create). the textview(dateselected) displays the date selected by the user and the create button opens another class where the user fills in appointment details. this second class also has a textview(dateselected2)

how can i carry the text in the dateselected from first class to the dateselected2 in the second class.

i know how to pass data with in a class but im finding it hard to do this among 2 classes. any help would be much appreciated

  • 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-01T17:19:06+00:00Added an answer on June 1, 2026 at 5:19 pm

    You can send data from one Activity to another using Intent:

    StartActivity.class

    Intent i = new Intent(this, MyNewActivity.class);
    Intent.putExtra(MY_STRING_KEY, dataselected.getText());
    startActivity(i);
    

    NewActivity.class

    public void onCreate(Bundle savedInstance) {
    super.onCreate(savedInstance);
    
    Bundle extras = getIntent().getExtras();
    String text = extras.getString(MY_STRING_KEY);
    
        dataselected.setText(text);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am making an android app that shows the Calendar day view, it looks
I'm making an online calendar. One will be able to create en event and
I recently started making a month view similar to Android 4.0's Calendar View. I
I'm in the process of making a Persian Calendar app for Persian users. I
i am making google calendar application in android and i don't know how to
I'm making my custom calendar view for an app for the European market. In
I am making an online calendar for my website and want to change the
I'm making a custom event calendar with PHP. I am trying to get the
I am making a calendar using the following HTML code: <!DOCTYPE HTML PUBLIC -//W3C//DTD
I have a web-app that is a sort of calendar application and there are

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.