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

Apps Configuring Auto Backup for Apps

Discussion in 'Android Development' started by carimair, Aug 31, 2016.

  1. carimair

    carimair Lurker
    Thread Starter
    Rank:
    None
    Points:
    15
    Posts:
    3
    Joined:
    Aug 31, 2016

    Aug 31, 2016
    3
    0
    15
    Male
    In the guide on setting the manifest it shows the following
    <application ...
    android:fullBackupContent="@xml/mybackupscheme">
    </app>
    Any idea what the @ symbol signifies, being a very new student I have no idea what it refers to and can find no reference to it anywhere . Also when configuring the xml file,it refers to which of the many choices of xml types should I use when selecting "NEW" in android studio .
     

    Advertisement

  2. LV426

    LV426 I say we take off and nuke this place from orbit
    Moderator
    Rank:
     #11
    Points:
    1,988
    Posts:
    7,287
    Joined:
    Oct 16, 2015

    Oct 16, 2015
    7,287
    10,388
    1,988
    Male
    Software developer
    South West of England
    It's a notation for referencing a resource in your project structure. In this case @xml/mybackupscheme refers to the file

    res/xml/mybackupscheme.xml
     
    carimair likes this.
  3. carimair

    carimair Lurker
    Thread Starter
    Rank:
    None
    Points:
    15
    Posts:
    3
    Joined:
    Aug 31, 2016

    Aug 31, 2016
    3
    0
    15
    Male
    Thanks for your guidance, I had thought that the @ symbol had some specific significance. Now all I hope for is some guidance on the choice of the xml file type.
     

Share This Page

Loading...