Change APP name from external text(xml) file


Last Updated:

  1. directora

    directora New Member This Topic's Starter

    Joined:
    Apr 12, 2012
    Messages:
    3
    Likes Received:
    0
    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 VIP Member

    Joined:
    Jul 9, 2010
    Messages:
    2,087
    Likes Received:
    1,174
    Moved to Android Development.
     
  3. jonbonazza

    jonbonazza Well-Known Member

    Joined:
    Jul 13, 2010
    Messages:
    1,934
    Likes Received:
    458
    Unfortunately, the app name needs to be known at compile time.
     

Share This Page

Loading...