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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T21:08:41+00:00 2026-06-01T21:08:41+00:00

I have developed my first Android app and I’m thinking about sending it to

  • 0

I have developed my first Android app and I’m thinking about sending it to my friends who owns Android phones (I am using Nokia 5230 :p)

I have made the release version of the app using the Export wizard of Eclipse.

In my app, during startup, it would get some settings via SharedPreferences – (MODE_Private). And these settings are overwritten when user presses a button(later on, with the user entered settings).

So, my question is, when I send this release version of my app, would it contain the settings that I have presently stored ?
At the moment, I don’t need the settings (that I saved while testing in my AVD) to be included in the release apk file.

  • If included by default(while creating the release version), how do I detach it. I mean what to do so that it won’t be included.

  • If it is not included by default, I would also like to know how to include it with the release version, say for my future reference (I mean, I might need this approach in my next app)

The settings are obtained like this way:

SharedPreferences settings =  
        getSharedPreferences("myABCapp", MODE_PRIVATE);
String strUser = settings.getString("username", "");
//...

Settings are overwritten(saved at runtime) by user in this way:

//...
SharedPreferences settings =  
        getSharedPreferences("myABCapp", MODE_PRIVATE);  

SharedPreferences.Editor prefEditor = settings.edit();
prefEditor.putString("username", strNewUsername);
//...

prefEditor.commit();

Thanks in advance 🙂

  • 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-01T21:08:42+00:00Added an answer on June 1, 2026 at 9:08 pm

    No.

    You have to detect first launch and create your initial settings in SharedPrefs, from within your app.

    You can replicate what a new user will see by Settings/Applications/Manage Applications//Clear Data … and then launch your app

    PVS

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

Sidebar

Related Questions

Hello I have developed my first application for Android using the Ice Cream Sandwich
we have developed and Android app, first time, great fun. Now we are giving
I have developed android phonegap app using html and jquery.I need to show tooltip
I have developed an app in android 4.0.3(Ice-cream Sandwich), i am using two activities
I have developed a very simple Android native app to launch my HTML5 webapp.
I have developed an android app on which i want to run the robotium
I have developed an Android App which will go live in few days. I
I have a mobile app that I developed using PhoneGap (and html/css/javascript) and there
I have an android app on Google Play published. When I developed it, I
I am a .Net developer, wanting to make my first Android app. I have

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.