Click here to Skip to main content
15,898,010 members
Articles / Mobile Apps / Android

Encryption Wrapper for Android SharedPreferences

Rate me:
Please Sign up or sign in to vote.
5.00/5 (14 votes)
27 Mar 2013Apache5 min read 64.3K   3.4K   34  
This article explains why and how you should protect your app's settings from prying eyes
/* AUTO-GENERATED FILE.  DO NOT MODIFY.
 *
 * This class was automatically generated by the
 * aapt tool from the resource data it found.  It
 * should not be modified by hand.
 */

package com.example.securepreferences;

public final class R {
    public static final class array {
        public static final int list_entries=0x7f070000;
        public static final int list_values=0x7f070001;
    }
    public static final class attr {
    }
    public static final class dimen {
        /**  Default screen margins, per the Android Design guidelines. 

         Customize dimensions originally defined in res/values/dimens.xml (such as
         screen margins) for sw720dp devices (e.g. 10" tablets) in landscape here.
    
         */
        public static final int activity_horizontal_margin=0x7f050000;
        public static final int activity_vertical_margin=0x7f050001;
    }
    public static final class drawable {
        public static final int ic_launcher=0x7f020000;
    }
    public static final class layout {
        public static final int activity_main=0x7f030000;
    }
    public static final class string {
        public static final int activity_button=0x7f060004;
        public static final int app_name=0x7f060000;
        public static final int checkbox_key=0x7f060007;
        public static final int checkbox_title=0x7f060006;
        public static final int fragment_button=0x7f060005;
        public static final int get_button=0x7f060001;
        public static final int list_default=0x7f06000d;
        public static final int list_key=0x7f06000c;
        public static final int list_title=0x7f06000b;
        public static final int remove_button=0x7f060003;
        public static final int set_button=0x7f060002;
        public static final int text_default=0x7f06000a;
        public static final int text_key=0x7f060009;
        public static final int text_title=0x7f060008;
    }
    public static final class style {
        /** 
        Base application theme, dependent on API level. This theme is replaced
        by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
    

            Theme customizations available in newer API levels can go in
            res/values-vXX/styles.xml, while customizations related to
            backward-compatibility can go here.
        

        Base application theme for API 11+. This theme completely replaces
        AppBaseTheme from res/values/styles.xml on API 11+ devices.
    
 API 11 theme customizations can go here. 

        Base application theme for API 14+. This theme completely replaces
        AppBaseTheme from BOTH res/values/styles.xml and
        res/values-v11/styles.xml on API 14+ devices.
    
 API 14 theme customizations can go here. 
         */
        public static final int AppBaseTheme=0x7f080000;
        /**  Application theme. 
 All customizations that are NOT specific to a particular API-level can go here. 
         */
        public static final int AppTheme=0x7f080001;
    }
    public static final class xml {
        public static final int preferences=0x7f040000;
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Apache License, Version 2.0


Written By
United States United States
I'm a veteran software engineer. My professional focus is currently test automation for next-generation server network controllers. I also work a lot with Linux and Android, and dabble with wireless technologies in my spare time.

Comments and Discussions