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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T13:57:03+00:00 2026-06-17T13:57:03+00:00

I have wrote another application, now it is store only my private data. Whenever

  • 0

I have wrote another application, now it is store only my private data. Whenever user click on the application icon, as you know, application will start. I want to put password before the my application is starting up. If user will write password incorrectly, at most 5 times, application will not start.

My question is ; how can I put password and do not let my application to start if incorrect pass given ?

  • 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-17T13:57:04+00:00Added an answer on June 17, 2026 at 1:57 pm

    Your main activity should provide a prompt to enter the password. The password box should be an EditText with the password property set (to make the characters hidden when typing in it). You should also have a submit Button which will check the password for the one you have stored. You should have a counter which will increment to 5 as each wrongly typed password is entered. When it reaches 5, you can use finish() to kill the activity (finish() is called on the Activity you’re using). If they type the correct password, you can launch an Intent to start another Activity which will be your actual application.

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

Sidebar

Related Questions

i have wrote a script to produce an array of data but now want
I'm learing LINQ-to-SQL right now and i have wrote a simple application that define
I have wrote an application that syncs two folders together. The problem with the
I have a web application with some data in its datastore. I have just
I have an application I wrote which has been running well for 4 years.
I have a text file that is used by another application as a configuration
We have a massive client facing web application here. We recently re-wrote the buy
I have a COM+ application that I wrote using C#. I have the assembly
Now, I have a application that composed of single master and many workers. The
I am trying to design a windows form application. Now I have written an

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.