Skip to content

Commit 9eed78e

Browse files
committed
update on the examples
1 parent 761261a commit 9eed78e

113 files changed

Lines changed: 2215 additions & 192 deletions

File tree

Some content is hidden

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

B-Bingo/.classpath

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
4+
<classpathentry kind="src" path="src"/>
5+
<classpathentry kind="src" path="gen"/>
6+
<classpathentry kind="output" path="bin"/>
7+
</classpath>

B-Bingo/.project

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>B-Bingo</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
<buildCommand>
19+
<name>org.eclipse.jdt.core.javabuilder</name>
20+
<arguments>
21+
</arguments>
22+
</buildCommand>
23+
<buildCommand>
24+
<name>com.android.ide.eclipse.adt.ApkBuilder</name>
25+
<arguments>
26+
</arguments>
27+
</buildCommand>
28+
</buildSpec>
29+
<natures>
30+
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
31+
<nature>org.eclipse.jdt.core.javanature</nature>
32+
</natures>
33+
</projectDescription>

B-Bingo/AndroidManifest.xml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest
3+
xmlns:android="http://schemas.android.com/apk/res/android"
4+
package="com.linkesoft.bbingo"
5+
android:versionName="1.1" android:versionCode="2">
6+
<application
7+
android:icon="@drawable/icon"
8+
android:label="@string/app_name">
9+
<activity
10+
android:name=".Main"
11+
android:label="@string/app_name">
12+
<intent-filter>
13+
<action
14+
android:name="android.intent.action.MAIN" />
15+
<category
16+
android:name="android.intent.category.LAUNCHER" />
17+
</intent-filter>
18+
</activity>
19+
<activity
20+
android:name="EditWordList"
21+
android:label="@string/EditWords"></activity>
22+
<activity
23+
android:name="WordLists"
24+
android:label="@string/WordLists"></activity>
25+
</application>
26+
<uses-sdk
27+
android:minSdkVersion="9" />
28+
</manifest>

B-Bingo/README.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
A la carte
2+
Einf�hrung in die Entwicklung von Android-Apps, Teil 2
3+
------------------------------------------------------------------------
4+
c't 24/10, Seite 194 (ola)
5+
6+
B-Bingo die im Artikel besprochene Buzzword-Bingo-App als Eclipse-Projekt

B-Bingo/default.properties

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# This file is automatically generated by Android Tools.
2+
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
3+
#
4+
# This file must be checked in Version Control Systems.
5+
#
6+
# To customize properties used by the Ant build system use,
7+
# "build.properties", and override values to adapt the script to your
8+
# project structure.
9+
10+
# Project target.
11+
target=android-9

B-Bingo/res/drawable/icon.png

1.51 KB
Loading
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<LinearLayout
3+
xmlns:android="http://schemas.android.com/apk/res/android"
4+
android:layout_height="fill_parent" android:layout_width="fill_parent" android:orientation="vertical">
5+
<TextView android:id="@+id/TextView01" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/Title" android:textAppearance="?android:attr/textAppearanceMedium"></TextView>
6+
<EditText android:layout_height="wrap_content" android:layout_width="fill_parent" android:id="@+id/EditTitle" android:inputType="textCapWords|textAutoCorrect|textAutoComplete"></EditText>
7+
<TextView android:id="@+id/TextView02" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/Words" android:textAppearance="?android:attr/textAppearanceMedium"></TextView>
8+
<ScrollView android:id="@+id/ScrollView01" android:layout_width="fill_parent" android:layout_height="fill_parent" android:fillViewport="true" android:clickable="false"><EditText android:gravity="top" android:inputType="textCapWords|textAutoCorrect|textAutoComplete|textMultiLine" android:id="@+id/EditWords" android:layout_height="wrap_content" android:layout_width="fill_parent" android:scrollbars="none"></EditText></ScrollView>
9+
10+
</LinearLayout>

B-Bingo/res/layout/main.xml

Lines changed: 211 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,211 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<LinearLayout
4+
android:layout_width="fill_parent"
5+
android:layout_height="fill_parent"
6+
xmlns:android="http://schemas.android.com/apk/res/android"
7+
android:stretchColumns="*"
8+
android:shrinkColumns="*" android:orientation="vertical" android:id="@+id/LinearLayout00">
9+
<LinearLayout
10+
android:id="@+id/LinearLayout01"
11+
android:layout_height="wrap_content"
12+
android:layout_weight="1" android:layout_width="fill_parent">
13+
<Button
14+
android:id="@+id/Button01"
15+
android:layout_width="wrap_content"
16+
android:layout_height="fill_parent"
17+
android:layout_weight="1"
18+
android:width="0dip"
19+
android:height="0dip"></Button>
20+
<Button
21+
android:id="@+id/Button02"
22+
android:layout_width="wrap_content"
23+
android:layout_height="fill_parent"
24+
android:layout_weight="1"
25+
android:width="0dip"
26+
android:height="0dip"></Button>
27+
<Button
28+
android:id="@+id/Button03"
29+
android:layout_width="wrap_content"
30+
android:layout_height="fill_parent"
31+
android:layout_weight="1"
32+
android:width="0dip"></Button>
33+
<Button
34+
android:id="@+id/Button04"
35+
android:layout_width="wrap_content"
36+
android:layout_height="fill_parent"
37+
android:layout_weight="1"
38+
android:width="0dip"
39+
android:height="0dip"></Button>
40+
<Button
41+
android:id="@+id/Button05"
42+
android:layout_width="wrap_content"
43+
android:layout_height="fill_parent"
44+
android:layout_weight="1"
45+
android:width="0dip"
46+
android:height="0dip"></Button>
47+
</LinearLayout>
48+
<LinearLayout
49+
android:layout_height="wrap_content"
50+
android:id="@+id/LinearLayout02"
51+
android:layout_weight="1" android:layout_width="fill_parent">
52+
<Button
53+
android:id="@+id/Button11"
54+
android:layout_width="wrap_content"
55+
android:layout_height="fill_parent"
56+
android:layout_weight="1"
57+
android:width="0dip"
58+
android:height="0dip"></Button>
59+
<Button
60+
android:id="@+id/Button12"
61+
android:layout_width="wrap_content"
62+
android:layout_height="fill_parent"
63+
android:layout_weight="1"
64+
android:width="0dip"
65+
android:height="0dip"></Button>
66+
<Button
67+
android:id="@+id/Button13"
68+
android:layout_width="wrap_content"
69+
android:layout_height="fill_parent"
70+
android:layout_weight="1"
71+
android:width="0dip"
72+
android:height="0dip"
73+
></Button>
74+
<Button
75+
android:id="@+id/Button14"
76+
android:layout_width="wrap_content"
77+
android:layout_height="fill_parent"
78+
android:layout_weight="1"
79+
android:width="0dip"
80+
android:height="0dip"></Button>
81+
<Button
82+
android:id="@+id/Button15"
83+
android:layout_width="wrap_content"
84+
android:layout_height="fill_parent"
85+
android:layout_weight="1"
86+
android:width="0dip"
87+
android:height="0dip"></Button>
88+
</LinearLayout>
89+
<LinearLayout
90+
android:id="@+id/LinearLayout03"
91+
android:layout_height="wrap_content"
92+
android:layout_weight="1" android:layout_width="fill_parent">
93+
<Button
94+
android:id="@+id/Button21"
95+
android:layout_width="wrap_content"
96+
android:layout_height="fill_parent"
97+
android:layout_weight="1"
98+
android:width="0dip"
99+
android:height="0dip"></Button>
100+
<Button
101+
android:id="@+id/Button22"
102+
android:layout_width="wrap_content"
103+
android:layout_height="fill_parent"
104+
android:layout_weight="1"
105+
android:width="0dip"
106+
android:height="0dip"></Button>
107+
<Button
108+
android:id="@+id/Button23"
109+
android:layout_width="wrap_content"
110+
android:layout_height="fill_parent"
111+
android:layout_weight="1"
112+
android:width="0dip"
113+
android:height="0dip"></Button>
114+
<Button
115+
android:id="@+id/Button24"
116+
android:layout_width="wrap_content"
117+
android:layout_height="fill_parent"
118+
android:layout_weight="1"
119+
android:width="0dip"
120+
android:height="0dip"></Button>
121+
<Button
122+
android:id="@+id/Button25"
123+
android:layout_width="wrap_content"
124+
android:layout_height="fill_parent"
125+
android:layout_weight="1"
126+
android:width="0dip"
127+
android:height="0dip"></Button>
128+
129+
</LinearLayout>
130+
<LinearLayout
131+
android:id="@+id/LinearLayout04"
132+
android:layout_height="wrap_content"
133+
android:layout_weight="1" android:layout_width="fill_parent">
134+
<Button
135+
android:id="@+id/Button31"
136+
android:layout_width="wrap_content"
137+
android:layout_height="fill_parent"
138+
android:layout_weight="1"
139+
android:width="0dip"
140+
android:height="0dip"></Button>
141+
<Button
142+
android:id="@+id/Button32"
143+
android:layout_width="wrap_content"
144+
android:layout_height="fill_parent"
145+
android:layout_weight="1"
146+
android:width="0dip"
147+
android:height="0dip"></Button>
148+
<Button
149+
android:id="@+id/Button33"
150+
android:layout_width="wrap_content"
151+
android:layout_height="fill_parent"
152+
android:layout_weight="1"
153+
android:width="0dip"
154+
android:height="0dip"></Button>
155+
<Button
156+
android:id="@+id/Button34"
157+
android:layout_width="wrap_content"
158+
android:layout_height="fill_parent"
159+
android:layout_weight="1"
160+
android:width="0dip"
161+
android:height="0dip"></Button>
162+
<Button
163+
android:id="@+id/Button35"
164+
android:layout_width="wrap_content"
165+
android:layout_height="fill_parent"
166+
android:layout_weight="1"
167+
android:width="0dip"
168+
android:height="0dip"></Button>
169+
</LinearLayout>
170+
<LinearLayout
171+
android:id="@+id/LinearLayout05"
172+
android:layout_height="wrap_content"
173+
android:layout_weight="1" android:layout_width="fill_parent">
174+
<Button
175+
android:id="@+id/Button41"
176+
android:layout_width="wrap_content"
177+
android:layout_height="fill_parent"
178+
android:layout_weight="1"
179+
android:width="0dip"
180+
android:height="0dip"></Button>
181+
<Button
182+
android:id="@+id/Button42"
183+
android:layout_width="wrap_content"
184+
android:layout_height="fill_parent"
185+
android:layout_weight="1"
186+
android:width="0dip"
187+
android:height="0dip"></Button>
188+
<Button
189+
android:id="@+id/Button43"
190+
android:layout_width="wrap_content"
191+
android:layout_height="fill_parent"
192+
android:layout_weight="1"
193+
android:width="0dip"
194+
android:height="0dip"></Button>
195+
<Button
196+
android:id="@+id/Button44"
197+
android:layout_width="wrap_content"
198+
android:layout_height="fill_parent"
199+
android:layout_weight="1"
200+
android:width="0dip"
201+
android:height="0dip"></Button>
202+
<Button
203+
android:id="@+id/Button45"
204+
android:layout_width="wrap_content"
205+
android:layout_height="fill_parent"
206+
android:layout_weight="1"
207+
android:width="0dip"
208+
android:height="0dip"></Button>
209+
</LinearLayout>
210+
211+
</LinearLayout>

B-Bingo/res/values/strings.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
<string name="Words">Wörter</string>
4+
<string name="Title">Titel</string>
5+
6+
<string name="app_name">B-Bingo</string>
7+
<string name="BBingoWon">Sie haben Buzzword Bingo gewonnen!</string>
8+
<string name="BBingoWonTitle">Herzlichen Glückwunsch</string>
9+
<string name="EditWords">Wortliste bearbeiten</string>
10+
<string name="WordLists">Wortlisten verwalten</string>
11+
<string name="Delete">Löschen</string>
12+
<string name="Add">Neue Wortliste</string>
13+
</resources>

0 commit comments

Comments
 (0)