A very simple application: one activity, with a few bits of persistent data that are updated live by the activity. To that are added a few alternative agent implementations, to illustrate various approaches and tradeoffs when implementing a backup/restore agent. In particular, there are example agents that do everything "by hand," either record-by-record or by directly backing up the app's entire persistent data file; plus an example agent that illustrates how very easy it is to implement the latter using the OS-provided helpers. Part of bug #2545514 Change-Id: Iaca33a5113406360c23d6e2e59eb012f9f1e9400
27 lines
1.0 KiB
XML
27 lines
1.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2010 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
|
|
<resources>
|
|
<string name="filling_text">Choose a sandwich filling:</string>
|
|
<string name="bacon_label">Bacon</string>
|
|
<string name="pastrami_label">Pastrami</string>
|
|
<string name="hummus_label">Hummus</string>
|
|
|
|
<string name="extras_text">Extras:</string>
|
|
<string name="mayo_text">Mayonnaise\?</string>
|
|
<string name="tomato_text">Tomato\?</string>
|
|
</resources>
|