Commit Graph

561 Commits

Author SHA1 Message Date
Kenny Root
8aede04bf2 Add positional parameters to aid in i18n
Different languages might have different word orders, so add in
positional parameters for strings that have more than one substitution.

Change-Id: Ie9fc74eb0a22471b272e65c6cd521f1518b322d1
2010-06-01 11:50:47 -07:00
Christian Mehlmauer
97d0e8ddb7 Removed unused Imports, Added Type Arguments, removed some Warnings by using unused Methods and Variables
Change-Id: I39a4eb2b17f3411b17fcc49cbbbe396e89fab24a
2010-05-21 19:34:32 +02:00
Christian Mehlmauer
a3396e0940 Added Type Arguments to Samples, to reduce Warnings and get a litle bit more Compiler Code checking for "new" Android Programmers
Change-Id: I25add019e99fec88c8422da14f3e18246ca0f0b5
2010-05-21 07:28:31 +02:00
Romain Guy
91cd277060 Merge "removed unused imports" 2010-05-20 22:11:49 -07:00
Romain Guy
8b676d1916 Merge "removed unused imports" 2010-05-20 22:10:43 -07:00
Romain Guy
72d89196dd Merge "removed unused imports" 2010-05-20 22:10:15 -07:00
Romain Guy
c34cbee5b2 Merge "Removed unused import" 2010-05-20 22:09:03 -07:00
Christian Mehlmauer
bed675c09d Reduced warnings by removing unused imports, unused variables and adding type arguments
Change-Id: I551403a94de87a2fdf24ac0175ce69b4c8a48d54
2010-05-20 21:14:24 +02:00
Christian Mehlmauer
60a798eff5 removed unused imports
Change-Id: Ic48743a984bae2140e7e8f1b451be0f3760179f0
2010-05-20 21:07:30 +02:00
Christian Mehlmauer
ed674c1ec7 removed unused imports
Change-Id: I26fd85aa922e73c49ac319ed2b9f9e31603ced7b
2010-05-20 21:06:37 +02:00
Christian Mehlmauer
942e696486 removed unused imports
Change-Id: I1411ee3d0229918a6ff3837894d63f775550da27
2010-05-20 21:04:57 +02:00
Christian Mehlmauer
019a7e463b Removed unused import
Change-Id: I85a1120ff8f9bc7186cdbc07c78d91a8d136fd5a
2010-05-20 20:35:14 +02:00
Christian Mehlmauer
38dcb296c9 Reduced Warnings
Change-Id: I3ce0d27d24e8aad3fdbf8c57cefe39d1a3fd99e9
2010-05-20 20:13:51 +02:00
Romain Guy
4b5c09f29e Merge "Updated deprecated Contacts API to ContactsContract" 2010-05-19 22:06:53 -07:00
Romain Guy
d2e12d0428 Merge "Updated Sensor Samples to newest API" 2010-05-19 22:06:33 -07:00
Christian Mehlmauer
62e6bdb0fe Updated deprecated Contacts API to ContactsContract
Change-Id: I1d51b5eba579e841d6024eec08670ae8ff595f94
2010-05-20 06:29:48 +02:00
Christian Mehlmauer
707eb2ffec Updated Sensor Samples to newest API
Change-Id: I88c0ce08232fed34aa99c97385155220e7d9abff
2010-05-19 18:27:34 +02:00
The Android Open Source Project
d350cf1bb8 am ca81fb41: merge from open-source master
Merge commit 'ca81fb411afd93378f01e3e13ef482693fd35a73' into kraken

* commit 'ca81fb411afd93378f01e3e13ef482693fd35a73':
  Corrected StatusBarNotificationSample
2010-05-19 08:18:13 -07:00
The Android Open Source Project
ca81fb411a merge from open-source master
Change-Id: I4af8f65d1dfff3912f0057645943df78ddefc7ca
2010-05-19 08:13:51 -07:00
Dianne Hackborn
689868ac47 Small fix to surface window sample.
Change-Id: Iaae90aaf8cfdb71c6201eba8a436450a75b2b732
2010-05-18 18:33:05 -07:00
Christian Mehlmauer
9bfa323af1 Corrected StatusBarNotificationSample
Change-Id: I892e84198cfe288e673b81e8ffc331525fee09b8
2010-05-18 23:44:32 +02:00
Dianne Hackborn
988a7192ac Add new demo of taking over a window's surface.
Change-Id: If76f577d2a314018d7dc7980ffa446b7cf050037
2010-05-18 10:46:32 -07:00
The Android Open Source Project
c043a97c9f merge from open-source master
Change-Id: Ib0c6bef7b527a79c9902046889e29a4bccd0ab87
2010-05-18 09:27:19 -07:00
Christian Mehlmauer
b88f42b361 Removed Calls to deprecated API
Change-Id: Ia94734637df6aa7b8b08417c49a3485f34f1b94c
2010-05-17 23:43:43 +02:00
Dirk Dougherty
56c8df1b06 sdk change: add index for tictactoe library and app. fix output path for spinner sample app in sdk builds.
Change-Id: I51d412e1e78e6bd672eb419d53310eb1194672a3
2010-05-10 16:12:24 -07:00
Scott Main
1b2c808412 add version code and name to searchable dictionary sample (make it v2)
Change-Id: Ie19c107528ef0df715936303baeda002efaef6cb
2010-05-10 12:34:08 -07:00
Xavier Ducrohet
ca2327f1d4 Merge "Fix target for library sample" into froyo 2010-05-07 10:58:32 -07:00
Xavier Ducrohet
1959000ef1 Fix target for library sample
Change-Id: I89a1b6a7c7803ac52f5872e4b8a8696bb32ca5a3
2010-05-07 10:57:58 -07:00
Joe Malin
527cfd6ef3 Doc change: cherry-pick from master: Files for the Spinner and SpinnerTest sample applications...
Change-Id: Ic4a1d28ea821ab7e35255d5a62ca0978cb9155ba
2010-05-07 09:48:47 -07:00
Dirk Dougherty
2f0b1c1335 Doc change: cherry-pick from master. ->Subject: Android application files for the Activity Testing Tutorial
Conflicts:

	build/sdk.atree

Change-Id: I5edb1d4d8a18fbda53a0e78ca6c9d20cf7d3ff4a
2010-05-07 09:16:56 -07:00
Xavier Ducrohet
cf9970499b Fix the Library sample.
Change-Id: I38d0336b8f1952d4e0424501dcd060d173624b5b
2010-05-06 17:35:35 -07:00
Scott Main
05bd673250 title the searchable dictionary app as "v2" because it includes significant
changes and it's worth highlighting the revision.
some revisions to the sample desciption.
a companion change to the resources navigation link will follow (to name it v2).

Change-Id: Ib11cae9e4cc753f76b45ae446ef9871fee674e7a
2010-04-23 07:39:05 -07:00
Scott Main
beca3af74d cherry-pick from master: 3c26ae869e
new version of the Searchable Dictionary that saves all the words
in an SQLite Database and FTS3 table, then performs all look ups
using the content provider, plus various style modifications.
2010-04-21 10:44:50 -07:00
Brett Chabot
3804ab420b Change VoiceRecognitionService sample to use API 8 instead of froyo.
Bug 2581621

Change-Id: Idab0afe6e6c85edba9d2af3d9d5961fe77d1ea14
2010-04-08 11:32:08 -07:00
Christopher Tate
3356ba35fa Merge "Add Backup/Restore sample to the SDK docs" into froyo 2010-04-07 14:19:40 -07:00
Christopher Tate
41c42a972c Add Backup/Restore sample to the SDK docs
Part of bug #2545514

Change-Id: I9085ebfdce3552ddab602eec8d40de67b219a834
2010-04-07 13:41:35 -07:00
Ray Chen
f617797e88 Merge "API Change: MediaScannerConnection.ScanResultListener -> MediaScannerConnection.OnScanCompletedListener." into froyo 2010-04-07 12:06:03 -07:00
Christopher Tate
406ed04d5a Merge "Backup/Restore sample application" into froyo 2010-04-07 11:12:24 -07:00
Ray Chen
c73455df1a API Change: MediaScannerConnection.ScanResultListener -> MediaScannerConnection.OnScanCompletedListener.
Change-Id: I1386394dbccda4c01e50d89b8fdeca97ee65a29f
2010-04-06 15:16:13 -07:00
Christopher Tate
1c0a20aeeb Backup/Restore sample application
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
2010-04-06 14:16:26 -07:00
Raphael
7dd0976b04 Project-lib sample: define lib activity.
This was removed by mistake. I meant to add explanations.

Change-Id: I3641b7c01a1425ab5430695ac83ca71c9fc644d8
2010-04-06 13:10:57 -07:00
Raphael
edabb7bfeb Switch from codename Froyo to API 8.
Change-Id: Ibdd1dbc80e5e7d9856a90ff45a3b148a5af72581
2010-04-06 13:09:44 -07:00
Raphael
546d7e8956 Project-lib sample: externalize strings in lib.
Change-Id: I5fff488ab96f1e28942143330c69370f2009e691
2010-04-05 14:54:18 -07:00
Raphael
bbfd2ed1c2 Project-lib sample: set namespace to com.example.android
This is a pure namespace refactoring change.

Change-Id: I33f5998f876cdc9893d8d45983422ca0e331b3c4
2010-04-05 14:25:50 -07:00
Raphael
b8a884fbab Implementation of the tic-tac-toe sample.
Added some README.txt

Change-Id: Ie2703ffdfdeba773d0fd27153ec0cdb806b2e2dc
2010-04-05 14:19:33 -07:00
Raphael
718a35143d Skeleton for tic-tac-toe sample.
Change-Id: I41e7013d469cb2eba9f475aa0a94c4630cacbb64
2010-04-02 22:05:53 -07:00
Romain Guy
51344bdcff Update Layout Animations samples to take the display's density into account.
Change-Id: I1a6768a36879ad0909a557c17142c9294e20dcbb
2010-03-30 17:05:23 -07:00
Jim Miller
cb7fb13c10 Merge "Fix 2527411: Extend sample DPM app to test setMaximumTimeToLock()" into froyo 2010-03-30 13:51:57 -07:00
Jean-Michel Trivi
47c9b141dd Fix bug 2553592 API REVIEW: android.speech
Change 2 of 4
Notes from API Council review:
Rename RecognitionManager to SpeechRecognizer

Change-Id: Ib1245eb9b816605728fb75c77c486ee5ee0e76c6
2010-03-30 10:05:12 -07:00
Jim Miller
68230c3f72 Fix 2527411: Extend sample DPM app to test setMaximumTimeToLock()
Change-Id: I1a0ff93a27d7d27b66acbacf953eb0984e85e4cf
2010-03-29 20:22:06 -07:00