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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T05:08:40+00:00 2026-06-09T05:08:40+00:00

I’d like to make a welcome screen just for 1 time. It should not

  • 0

I’d like to make a welcome screen just for 1 time. It should not be a splash screen because I’d put a TextEdit and a button to get the user’s username. I need to see some examples of the code that would do it, thanks for stopping by! 😀

  • 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-09T05:08:42+00:00Added an answer on June 9, 2026 at 5:08 am

    1. First let the user insert his Username in the TextView.

    2. When the user press the Button, then do the following…

    – Use Intent to move to the next Activity you want to divert him after this Staring Activiy.

    Eg:

        Intent i = new Intent(StartActivity.this, DesiredActivity.class);
    

    – Now after you use startActivity() method with Intent as the argument, do use finish() method, that will remove this StartActivity from the Back-Stack.

    Eg:

        Intent i = new Intent(StartActivity.this, DesiredActivity.class);
        startActivity(i);
        finish();
    

    Now if the user press back button from the DesiredActivity( the one you went from StartActivity), the app will exit.

    ////////////Edited Part/////////////////

    You don’t want you app not to go to the First activity again, where you have already given the username.. After the first time..right ??????

    – Then to do this… i will recommend you to do the below….

    i. First save the username that user inputs the first time into Shared Preference or into a file, or a Database.

    ii. Now when you open you app, let there be a thread which checks the existence of the username in the Shared Preference or in a file, or a Database, resp wherever u have saved it.

    iii. If found let it move to the desired activity, if not prompt him to input the username, thats what happen the 1st time you open your app.

    iv. Now its also about user-friendliness, so i recommend you to use a splash activity in the beginning, and fire your checking thread from here. So the user wont feel awkward looking at the blank screen while the thread checks the username

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

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I would like to count the length of a string with PHP. The string
For some reason, after submitting a string like this Jack’s Spindle from a text
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and
I've got a string that has curly quotes in it. I'd like to replace
I would like to run a str_replace or preg_replace which looks for certain words
I am trying to render a haml file in a javascript response like so:
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I need a function that will clean a strings' special characters. I do NOT

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.