Skip to content

Commit 91b77ac

Browse files
committed
updates
1 parent ad6149f commit 91b77ac

File tree

987 files changed

+71022
-470
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

987 files changed

+71022
-470
lines changed

com.example.android.rssfeed_old/.classpath renamed to ApiDemos/.classpath

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
<classpathentry kind="src" path="src"/>
44
<classpathentry kind="src" path="gen"/>
55
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
6-
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
6+
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
77
<classpathentry kind="output" path="bin/classes"/>
88
</classpath>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<projectDescription>
3-
<name>com.example.android.rssfeed_old</name>
3+
<name>ApiDemos</name>
44
<comment></comment>
55
<projects>
66
</projects>

ApiDemos/AndroidManifest.xml

Lines changed: 2783 additions & 0 deletions
Large diffs are not rendered by default.

ApiDemos/README.txt

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
The API Demos application includes a variety of small applications
2+
that illustrate the use of various Android APIs. It includes samples of:
3+
- Notifications
4+
- Alarms
5+
- Progress Dialogs
6+
- Intents
7+
- Menus
8+
- Search
9+
- Persistent application state
10+
- Preferences
11+
- Background Services
12+
- App Widgets
13+
- Voice Recognition
14+
- And many many more...
15+
16+
Api demos is designed to use the compatibility library "android-support-v4.jar".
17+
It is available through the SDK Updater in the "Android Compatibility package".
18+
Once downloaded, copy the jar file into the ApiDemos project libs/ folder.
19+
(If using Eclipse, add it manually to the project build path).

ApiDemos/assets/HelloActivity.apk

5.14 KB
Binary file not shown.
38.2 KB
Binary file not shown.

ApiDemos/assets/read_asset.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
This text is stored in a raw Asset.
2+
3+
It was read and placed into the TextView here.

com.example.android.rssfeed_old/project.properties renamed to ApiDemos/project.properties

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@
33
#
44
# This file must be checked in Version Control Systems.
55
#
6-
# To customize properties used by the Ant build system use,
6+
# To customize properties used by the Ant build system edit
77
# "ant.properties", and override values to adapt the script to your
88
# project structure.
9+
#
10+
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
11+
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
912

1013
# Project target.
11-
target=android-15
14+
target=android-16

ApiDemos/res/anim/animator.xml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- Copyright (C) 2010 The Android Open Source Project
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
-->
16+
17+
<animator xmlns:android="http://schemas.android.com/apk/res/android"
18+
android:duration="1000"
19+
android:valueFrom="1"
20+
android:valueTo="0"
21+
android:valueType="floatType"
22+
android:repeatCount="1"
23+
android:repeatMode="reverse"/>

ApiDemos/res/anim/animator_set.xml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- Copyright (C) 2010 The Android Open Source Project
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
-->
16+
17+
<set>
18+
<objectAnimator xmlns:android="http://schemas.android.com/apk/res/android"
19+
android:duration="1000"
20+
android:valueTo="200"
21+
android:valueType="floatType"
22+
android:propertyName="x"
23+
android:repeatCount="1"
24+
android:repeatMode="reverse"/>
25+
<objectAnimator xmlns:android="http://schemas.android.com/apk/res/android"
26+
android:duration="1000"
27+
android:valueTo="400"
28+
android:valueType="floatType"
29+
android:propertyName="y"
30+
android:repeatCount="1"
31+
android:repeatMode="reverse"/>
32+
</set>

0 commit comments

Comments
 (0)