1. Download our Official Android App: Forums for Android!

Apps Change APP name from external text(xml) file

Discussion in 'Android Development' started by directora, May 10, 2012.

  1. directora

    directora Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    3
    Joined:
    Apr 12, 2012

    Apr 12, 2012
    3
    0
    5
    Hello.

    I have one similar question.

    I have an APP which I'll use for more than one customer.
    For every customer this app will be with different name.
    To change the name I must have a compiler(like Eclipse), open project, open strings.xml, change the app_name, save it and export again the .apk file.

    I don't want to do this every time. I just want to do this from external config file which go together with the .apk file.
    In this case I don't need to export the app again from compiler. Just start the app, reads that file, see name changed and install the app with the new name.

    Is this possible?

    P.S. I'm coming from another environment in which this is possible and very comfortably.

    Greets,
    Jordan.
     

    Advertisement

  2. RichSz

    RichSz Not Entitled
    Rank:
    None
    Points:
    313
    Posts:
    2,086
    Joined:
    Jul 9, 2010

    Jul 9, 2010
    2,086
    1,173
    313
    Male
    Software Engineer
    Between Imladris and Lothl
    Moved to Android Development.
     
  3. jonbonazza

    jonbonazza Android Expert
    Rank:
    None
    Points:
    163
    Posts:
    1,930
    Joined:
    Jul 13, 2010

    Jul 13, 2010
    1,930
    457
    163
    Male
    Unfortunately, the app name needs to be known at compile time.
     

Share This Page

Loading...