-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.txt
486 lines (438 loc) · 19.8 KB
/
test.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 919b5d7..87b5d77 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -27,15 +27,21 @@
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
+
<activity
+ android:exported="false"
android:name=".LibraryInspectorNfcDummy"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >
<intent-filter>
<action android:name="android.nfc.action.NDEF_DISCOVERED" />
-
<category android:name="android.intent.category.DEFAULT" />
- <data android:mimeType="application/be.vhackandroid.inspectorlibrary.views" />
+ <data
+ android:scheme="http"
+ android:host="ttag.be"
+ android:path="/m"
+ />
+ <data android:mimeType="text/plain" />
</intent-filter>
</activity>
<activity
diff --git a/src/be/vhackdroid/inspectorlibrary/database/DBCreator.java b/src/be/vhackdroid/inspectorlibrary/database/DBCreator.java
index 2c41e45..79bf98d 100644
--- a/src/be/vhackdroid/inspectorlibrary/database/DBCreator.java
+++ b/src/be/vhackdroid/inspectorlibrary/database/DBCreator.java
@@ -33,10 +33,10 @@ public class DBCreator extends SQLiteOpenHelper {
private void createBooks(SQLiteDatabase db) {
String[] titels = { "De woordspeler", "In the winning mood",
- "Triathlon totaal", "Sportvoeding" };
+ "Triathlon totaal", "Sportvoeding", "Inspector" };
String[] barcodes = { "0408B1193E2581", "04085C193E2581",
- "04E937193E2580", "0409AA193E2581" };
- String[] clues = { "Gitaar", "Piano", "Drums", "Saxofoon" };
+ "04E937193E2580", "0409AA193E2581", "0409D3193E2581" };
+ String[] clues = { "Gitaar", "Piano", "Drums", "Saxofoon", "Gevonden" };
for (int i = 0; i < titels.length; i++) {
String sql = "INSERT INTO tblBooks(id, titel, barcode, hired, clue, themeId) VALUES("
diff --git a/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorIntro.java b/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorIntro.java
index 8d717a1..368149f 100644
--- a/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorIntro.java
+++ b/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorIntro.java
@@ -9,13 +9,13 @@ import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageView;
-public class LibraryInspectorIntro extends Activity {
+public class LibraryInspectorIntro extends LibraryInspectorNfcDummy {
private int currentImage = -1;
private Bitmap[] images = new Bitmap[7];
@Override
- protected void onCreate(Bundle savedInstanceState) {
+ public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.introscreen);
diff --git a/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorNfcDummy.java b/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorNfcDummy.java
index c9a447f..c302337 100644
--- a/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorNfcDummy.java
+++ b/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorNfcDummy.java
@@ -10,9 +10,10 @@ import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
-import android.widget.CheckBox;
-import android.widget.TextView;
+import android.widget.Toast;
+import be.vhackdroid.inspectorlibrary.database.DBCreator;
import be.vhackdroid.inspectorlibrary.managers.NfcManager;
+import be.vhackdroid.inspectorlibrary.models.Book;
public class LibraryInspectorNfcDummy extends Activity {
// The NFC Adapter.
@@ -20,6 +21,10 @@ public class LibraryInspectorNfcDummy extends Activity {
private NfcManager nfcReader = null;
// Read mode.
boolean bReadMode = false;
+ //############################################
+ //VERY IMPORTANT!!!!!
+ private DBCreator dbh = LibraryInspectorSplash.dbh;
+ //############################################
@Override
@@ -37,16 +42,16 @@ public class LibraryInspectorNfcDummy extends Activity {
@Override
public void onClick(View v) {
// TODO Auto-generated method stub
- restart();
+ //restart();
}
});
}
- private void restart(){
- Intent i = new Intent();
- i.setClass(LibraryInspectorNfcDummy.this, LibraryInspectorNfcDummy.class);
- startActivity(i);
- }
+// private void restart(){
+// Intent i = new Intent();
+// i.setClass(LibraryInspectorNfcDummy.this, LibraryInspectorNfcDummy.class);
+// startActivity(i);
+// }
/*
@Override
public boolean onCreateOptionsMenu(Menu menu) {
@@ -79,24 +84,31 @@ public class LibraryInspectorNfcDummy extends Activity {
//////////////////////////////////////////////////////////////////////////////////
public void processTag() {
- TextView txtTest = (TextView) findViewById(R.id.textView_test);
- CheckBox box = (CheckBox) findViewById(R.id.checkBox1);
- String id = nfcReader.getTagId();
- String titel = "Geen boek gevonden";
- Boolean found = false;
-
- String[] aId = {"0408B1193E2581","04085C193E2581","04E937193E2580","040AD3193E2581","0409AA193E2581"};
- String[] aTitles = {"De woordspeler","In the winning mood","Triathlon totaal","Mister Michel","Sportvoeding"};
+ String barcode = nfcReader.getTagId();
+//
+// String titel = "Geen boek gevonden";
+//
+// String[] aId = {"0408B1193E2581","04085C193E2581","04E937193E2580","040AD3193E2581","0409AA193E2581"};
+// String[] aTitles = {"De woordspeler","In the winning mood","Triathlon totaal","Mister Michel","Sportvoeding"};
+//
+// for(int i=0; i<aId.length; i++){
+// if(id.equals(aId[i])){
+// titel = aTitles[i];
+// i = aId.length;
+// }
+// }
- for(int i=0; i<aId.length; i++){
- if(id.equals(aId[i])){
- titel = aTitles[i];
- i = aId.length;
- found=true;
- }
+ Book book = dbh.getBookByBarcode(barcode);
+
+ if(book.getTitel().equals("Inspector")){
+ popup("Proficiat, laat ons starten!");
+ startActivity(new Intent(this, LibraryInspectorIntro.class));
}
- box.setChecked(found);
- txtTest.setText(titel);
+
+ }
+
+ public void popup(String tekst){
+ Toast.makeText(LibraryInspectorNfcDummy.this, tekst, Toast.LENGTH_SHORT).show();
}
}
diff --git a/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorSplash.java b/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorSplash.java
index 5e569c5..1b401ad 100644
--- a/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorSplash.java
+++ b/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorSplash.java
@@ -47,6 +47,8 @@ public class LibraryInspectorSplash extends Activity {
} finally {
finish();
startActivity(new Intent(context, LibraryInspectorStart.class));
+ //Test only.
+ //startActivity(new Intent(context, LibraryInspectorNfcDummy.class));
}
}
};
diff --git a/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorStart.java b/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorStart.java
index 6ee3311..3fc129f 100644
--- a/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorStart.java
+++ b/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorStart.java
@@ -6,18 +6,18 @@ import android.widget.Toast;
import be.vhackdroid.inspectorlibrary.database.DBCreator;
import be.vhackdroid.inspectorlibrary.models.Book;
-public class LibraryInspectorStart extends Activity {
+public class LibraryInspectorStart extends LibraryInspectorNfcDummy {
@Override
- protected void onCreate(Bundle savedInstanceState) {
+ public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.start);
}
- protected void onResume(){
+ public void onResume(){
super.onResume();
- test();
+ //test();
}
public void test(){
diff --git a/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeDieren.java b/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeDieren.java
index 43a1914..f7cb1b8 100644
--- a/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeDieren.java
+++ b/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeDieren.java
@@ -3,9 +3,9 @@ package be.vhackdroid.inspectorlibrary.views;
import android.app.Activity;
import android.os.Bundle;
-public class LibraryInspectorThemeDieren extends Activity {
+public class LibraryInspectorThemeDieren extends LibraryInspectorNfcDummy {
@Override
- protected void onCreate(Bundle savedInstanceState) {
+ public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.themedieren);
}
diff --git a/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeDierenHelp.java b/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeDierenHelp.java
index c34141b..b785fdb 100644
--- a/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeDierenHelp.java
+++ b/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeDierenHelp.java
@@ -2,9 +2,9 @@ package be.vhackdroid.inspectorlibrary.views;
import android.app.Activity;
-public class LibraryInspectorThemeDierenHelp extends Activity {
+public class LibraryInspectorThemeDierenHelp extends LibraryInspectorNfcDummy {
@Override
- protected void onChildTitleChanged(Activity childActivity,
+ public void onChildTitleChanged(Activity childActivity,
CharSequence title) {
super.onChildTitleChanged(childActivity, title);
setContentView(R.layout.themedierenhelp);
diff --git a/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeGeloof.java b/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeGeloof.java
index 7f73481..7f1d82e 100644
--- a/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeGeloof.java
+++ b/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeGeloof.java
@@ -1,11 +1,10 @@
package be.vhackdroid.inspectorlibrary.views;
-import android.app.Activity;
import android.os.Bundle;
-public class LibraryInspectorThemeGeloof extends Activity {
+public class LibraryInspectorThemeGeloof extends LibraryInspectorNfcDummy {
@Override
- protected void onCreate(Bundle savedInstanceState) {
+ public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.themegeloof);
}
diff --git a/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeGeloofHelp.java b/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeGeloofHelp.java
index 7f1a581..b72cb28 100644
--- a/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeGeloofHelp.java
+++ b/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeGeloofHelp.java
@@ -3,9 +3,9 @@ package be.vhackdroid.inspectorlibrary.views;
import android.app.Activity;
import android.os.Bundle;
-public class LibraryInspectorThemeGeloofHelp extends Activity {
+public class LibraryInspectorThemeGeloofHelp extends LibraryInspectorNfcDummy {
@Override
- protected void onCreate(Bundle savedInstanceState) {
+ public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.themegeloofhelp);
}
diff --git a/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeMuziek.java b/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeMuziek.java
index 4af66bc..1696bee 100644
--- a/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeMuziek.java
+++ b/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeMuziek.java
@@ -1,12 +1,11 @@
package be.vhackdroid.inspectorlibrary.views;
-import android.app.Activity;
import android.os.Bundle;
-public class LibraryInspectorThemeMuziek extends Activity {
+public class LibraryInspectorThemeMuziek extends LibraryInspectorNfcDummy {
@Override
- protected void onCreate(Bundle savedInstanceState) {
+ public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.thememuziek);
}
diff --git a/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeMuziekHelp.java b/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeMuziekHelp.java
index 8a33c1c..c4ed2ad 100644
--- a/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeMuziekHelp.java
+++ b/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeMuziekHelp.java
@@ -1,55 +1,11 @@
package be.vhackdroid.inspectorlibrary.views;
-import android.app.Activity;
-import android.content.Intent;
-import android.graphics.Bitmap;
-import android.graphics.BitmapFactory;
import android.os.Bundle;
-import android.view.View;
-import android.view.View.OnClickListener;
-import android.widget.ImageView;
-public class LibraryInspectorThemeMuziekHelp extends Activity {
-
- private int currentImage = -1;
- private Bitmap[] images = new Bitmap[4];
-
+public class LibraryInspectorThemeMuziekHelp extends LibraryInspectorNfcDummy {
@Override
- protected void onCreate(Bundle savedInstanceState) {
+ public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.thememuziekhelp);
-
- // Init Images
- images[0] = BitmapFactory.decodeResource(getResources(),
- R.drawable.muziek01);
- images[0] = BitmapFactory.decodeResource(getResources(),
- R.drawable.muziek02);
- images[0] = BitmapFactory.decodeResource(getResources(),
- R.drawable.muziek03);
- images[0] = BitmapFactory.decodeResource(getResources(),
- R.drawable.muziek04);
-
- ImageView arrow = (ImageView) findViewById(R.id.introComicArrow);
- arrow.setOnClickListener(new ArrowClicker());
-
- setNextImage();
- }
-
- private void setNextImage() {
- currentImage++;
- if (currentImage < images.length) {
- ImageView imageView = (ImageView) findViewById(R.id.muziekHelpComic);
- imageView.setImageBitmap(images[currentImage]);
- } else {
- finish();
- startActivity(new Intent(this, LibraryInspectorThemeMuziek.class));
- }
- }
-
- private class ArrowClicker implements OnClickListener {
- @Override
- public void onClick(View v) {
- setNextImage();
- }
}
}
\ No newline at end of file
diff --git a/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeSport.java b/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeSport.java
index ec82b93..0d283ea 100644
--- a/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeSport.java
+++ b/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeSport.java
@@ -1,11 +1,10 @@
package be.vhackdroid.inspectorlibrary.views;
-import android.app.Activity;
import android.os.Bundle;
-public class LibraryInspectorThemeSport extends Activity {
+public class LibraryInspectorThemeSport extends LibraryInspectorNfcDummy {
@Override
- protected void onCreate(Bundle savedInstanceState) {
+ public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.themesport);
}
diff --git a/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeSportHelp.java b/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeSportHelp.java
index f2bf72a..0fc35ea 100644
--- a/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeSportHelp.java
+++ b/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeSportHelp.java
@@ -1,11 +1,10 @@
package be.vhackdroid.inspectorlibrary.views;
-import android.app.Activity;
import android.os.Bundle;
-public class LibraryInspectorThemeSportHelp extends Activity {
+public class LibraryInspectorThemeSportHelp extends LibraryInspectorNfcDummy {
@Override
- protected void onCreate(Bundle savedInstanceState) {
+ public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.themesporthelp);
}
diff --git a/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeTaal.java b/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeTaal.java
index 9f853ff..35cbe5e 100644
--- a/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeTaal.java
+++ b/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeTaal.java
@@ -1,11 +1,10 @@
package be.vhackdroid.inspectorlibrary.views;
-import android.app.Activity;
import android.os.Bundle;
-public class LibraryInspectorThemeTaal extends Activity {
+public class LibraryInspectorThemeTaal extends LibraryInspectorNfcDummy {
@Override
- protected void onCreate(Bundle savedInstanceState) {
+ public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.themetaal);
}
diff --git a/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeTaalHelp.java b/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeTaalHelp.java
index a3465f2..0b8c0ab 100644
--- a/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeTaalHelp.java
+++ b/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeTaalHelp.java
@@ -1,11 +1,10 @@
package be.vhackdroid.inspectorlibrary.views;
-import android.app.Activity;
import android.os.Bundle;
-public class LibraryInspectorThemeTaalHelp extends Activity {
+public class LibraryInspectorThemeTaalHelp extends LibraryInspectorNfcDummy {
@Override
- protected void onCreate(Bundle savedInstanceState) {
+ public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.themetaalhelp);
}
diff --git a/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeWereld.java b/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeWereld.java
index 3fe003e..cb9dd4d 100644
--- a/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeWereld.java
+++ b/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeWereld.java
@@ -1,12 +1,11 @@
package be.vhackdroid.inspectorlibrary.views;
-import android.app.Activity;
import android.os.Bundle;
-public class LibraryInspectorThemeWereld extends Activity{
+public class LibraryInspectorThemeWereld extends LibraryInspectorNfcDummy{
@Override
- protected void onCreate(Bundle savedInstanceState) {
+ public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.themewereld);
}
diff --git a/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeWereldHelp.java b/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeWereldHelp.java
index 24cbc42..10e681c 100644
--- a/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeWereldHelp.java
+++ b/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemeWereldHelp.java
@@ -2,9 +2,9 @@ package be.vhackdroid.inspectorlibrary.views;
import android.app.Activity;
-public class LibraryInspectorThemeWereldHelp extends Activity {
+public class LibraryInspectorThemeWereldHelp extends LibraryInspectorNfcDummy {
@Override
- protected void onChildTitleChanged(Activity childActivity,
+ public void onChildTitleChanged(Activity childActivity,
CharSequence title) {
super.onChildTitleChanged(childActivity, title);
setContentView(R.layout.themewereldhelp);
diff --git a/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemes.java b/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemes.java
index 578c2f5..a5316a3 100644
--- a/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemes.java
+++ b/src/be/vhackdroid/inspectorlibrary/views/LibraryInspectorThemes.java
@@ -1,6 +1,5 @@
package be.vhackdroid.inspectorlibrary.views;
-import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
@@ -8,12 +7,12 @@ import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageView;
-public class LibraryInspectorThemes extends Activity {
+public class LibraryInspectorThemes extends LibraryInspectorNfcDummy {
private Context context;
@Override
- protected void onCreate(Bundle savedInstanceState) {
+ public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.themepicker);