1

2013
Future University Hakodate 2013 System Information Science Practice
Group Report
Project Name
Production of a fascinating Hybrid Museum
(A)
(B)
(C)
(D)
(A)
(B)
Group Name
Flip Photobook (A)
Scroll viewer(B)
The application of a design to a imprint(C)
Jewelry Space (D)
Public relation(A)
layout(B)
/Project No.
19
/Project Leader
1011233
Yugo Akagi
/Group Leader
1011142
Matsusato Kento
1011253
Yuichi Kato
1011226
Segawa Naoki
1011233
Yugo Akagi
1011233
Yugo Akagi
1011142
Matsusato Kento
/Group Member
1011079
Tomohide Nojiri
1011086
Sarasa Oikawa
1011088
Yuji Ofune
1011122
Takano Takane
1011142
Matsusato Kento
1011168
Aoi Yamaguchi
1011217
Yuta Kashiwagi
1011226
Segawa Naoki
1011228
Tomiyama Ryo
1011230
Yurie Muranaka
1011232
Aono Sota
1011233
Yugo Akagi
1011253
Yuichi Kato
1011254
Kazuki Soma
Advisor
Toshio Kawashima Kengo Terasawa Koji Tsukada
2014
1
15
Date of Submission
Janualy 15, 2014
-2-
Twitter
,
,
,
,
Facebook
,
:
-i-
Abstract
There are many people who think that museum is not suitable for them to friendly
because museum has serious atmosphere. We hold an exhibition called “Fascinating
Hybrid Museum(
)” by applying the information technology and new displaying methods to the conventional museum. Our purpose is that
visitors get interested in museums through our products that increase the fascination
of actual exhibits. First, we went fieldwork to general store in order to research their
features because those shops are similar to museums in terms of many items. We found
two features in general store: “Bodily sensation , and “Miscellaneous display . We
think their features are essential to convey charm of the exhibit to the visitors and be
not boring them. We have determined the policy of Fascinating Hybrid Museum based
on the consideration through fieldworks. After that, we took pictures of exhibits and
observed what is charm of them in Shiritsu Hakodate Hakubutsukan museum. Next, we
discussed how to look attractive charm of exhibits. We devised four main products in
Fascinating Hybrid Museum : “Flip Photo Book , “Seal of Sword Guard , “Accessary
Space and “Scroll Viewer . We were devided into four groups. There are three or
four people in each group. Each group produces and manages respective exhibit. In
September during summer vacation, we participate in the workshop to make a beautiful
photograph display panel under the supervision of Professor Kimura. After the end of
summer vacation, we made additional two groups to proceed in parallel. First group
(called Layout group) decided venue for Fascinating Hybrid Museum and design the
arrangement. Second group (called Advertising group) advertised the museum. Layout group enumerated and contacted proposed sites for Fascinating Hybrid Museum.
Then, we decided our museum hold in the Bunkyodo in Hakodate Showa Town Plaza in
November 29 to December 1. We also considered how to embellish the museum. On the
other hand, Advertising group advertised Fascinating Hybrid Museum in public. For
example, they made and distributed flyer, managed Facebook and Twitter (SNS), appeared in a local broadcast radio and so on for advertisement. Furtheremore, we decided
to make big advertising pillar and put it on our museum in order to draw attention of
visitors. On the days of the Fascinating Hybrid Museum, project members stay as staff
alternately during museum being held. Staff collected the questionnaires or answered
questions from visitors. Finally, we considered achievement level of our project from
questionnaires.
Keyword
naire
Museum, General store, Fieldwork, Exhibition, Advertisement, Question:
- ii -
1
1
1.1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1
1.2
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1
1.3
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1
2
3
2.1
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
3
2.1.1
. . . . . . . . . . . . .
3
2.1.2
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4
2.2
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5
2.3
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8
3
10
4
12
4.1
. . . . . . . . . . . . . . .
12
4.2
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
15
4.2.1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
15
4.2.2
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
21
4.2.3
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
34
4.2.4
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
58
4.2.5
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
74
4.2.6
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
95
4.2.7
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
97
5
107
5.1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
5.2
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
5.3
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
5.3.1
/
. . . . . . . . . . . . . . . . . . . . . . . . . . 116
5.3.2
/
5.3.3
. . . . . . . . . . . . . . . . . . . . . . . 117
/
. . . . . . . . . . . . . . . . . . . . . . 119
5.3.4
/
. . . . . . . . . . . . . . . 122
5.3.5
/
. . . . . . . . . . . . . . . 124
5.3.6
/
. . . . . . . . . . . . . . . . . . . . . . . 128
5.3.7
/
5.3.8
5.3.9
5.3.10
/
/
. . . . . . . . . . . . . . . . 132
. . . . . . . . . . . . . . . . . . . . . . . 134
. . . . . . . . . . . . . . . . . . . . . . . . 136
/
- iii -
. . . . . . . . . . . . . . . 138
5.3.11
/
5.3.12
/
. . . . . . . . . . . . . . . . . . 139
. . . . . . . . . . . . . . . . . . . . . . . . . . 143
5.3.13
/
. . . . . . . . . . . . . . . . . . . . 147
5.3.14
/
. . . . . . . . . . . . . . . . 150
6
152
A
159
B
160
B.1
/
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
B.2
/
B.3
. . . . . . . . . . . . . . . . . . . . . . . . . . . 160
/
. . . . . . . . . . . . . . . . . . . . . . . . . 160
B.4
/
. . . . . . . . . . . . . . . . . . 160
B.5
/
. . . . . . . . . . . . . . . . . . 160
B.6
/
. . . . . . . . . . . . . . . . . . . . . . . . . . . 160
B.7
/
B.8
/
B.9
/
. . . . . . . . . . . . . . . . . . . . 160
. . . . . . . . . . . . . . . . . . . . . . . . . . . 161
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
B.10
/
. . . . . . . . . . . . . . . . . . 161
B.11
/
. . . . . . . . . . . . . . . . . . . . . . 161
B.12
/
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
B.13
/
. . . . . . . . . . . . . . . . . . . . . . . 161
B.14
/
. . . . . . . . . . . . . . . . . . . . 162
C
163
C.1
. . . . . . . . . . . . . . . . . . . . . . . . . 163
C.2
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
207
- iv -
Production of a fascinating Hybrid Museum
1
1.1
25
29
89
118
34
2
:
1.2
:
1.3
Group Report of 2013 SISP
-1-
Group Number 19
Production of a fascinating Hybrid Museum
:
Group Report of 2013 SISP
-2-
Group Number 19
Production of a fascinating Hybrid Museum
2
2.1
2
:
2.1.1
14
4
1
Adobe Photoshop
Group Report of 2013 SISP
Adobe Illustrator
-3-
CorelDRAW
Group Number 19
Production of a fascinating Hybrid Museum
3.1
3.1.2
:
2.1.2
3.1.1
3
2.1
Group Report of 2013 SISP
-4-
Group Number 19
Production of a fascinating Hybrid Museum
2.1
:
2.2
1
1
5
1.
2.
3.
Group Report of 2013 SISP
-5-
Group Number 19
Production of a fascinating Hybrid Museum
2.2
4.
2.3
5.
6.
7.
8.
9.
10.
Group Report of 2013 SISP
-6-
Group Number 19
Production of a fascinating Hybrid Museum
11.
2.4
12.
13.
14.
15.
16.
17. SNS
Twitter
Facebook
18.
19.
20.
21.
22.
23.
24.
Group Report of 2013 SISP
-7-
Group Number 19
Production of a fascinating Hybrid Museum
1
25.
26.
27.
:
2.3
3.2
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
Group Report of 2013 SISP
-8-
Group Number 19
Production of a fascinating Hybrid Museum
Adobe Illustrator
•
Twitter
Facebook
•
•
•
Adobe Illustrator
•
•
•
•
•
1
•
•
Adobe Illustrator
•
•
•
:
Group Report of 2013 SISP
-9-
Group Number 19
Production of a fascinating Hybrid Museum
3
2
1
3
4
3 4
4
Group Report of 2013 SISP
- 10 -
Group Number 19
Production of a fascinating Hybrid Museum
1
Twitter
Facebook
SNS
5
2
11
3
29
30
12
1
3
2
1
3
12
:
Group Report of 2013 SISP
- 11 -
Group Number 19
Production of a fascinating Hybrid Museum
4
4.1
5
6
7
11
12
:
6
Adobe
Photoshop
7
8
9
10
Adobe Photoshop
Adobe Illustrator
11
:
Group Report of 2013 SISP
- 12 -
Group Number 19
Production of a fascinating Hybrid Museum
6
7
8
9
10
11
12
:
6
Adobe Photoshop
Adobe Illustrator
7
8
Adobe Photoshop
Adobe Illustrator
9
10
11
12
:
Group Report of 2013 SISP
- 13 -
Group Number 19
Production of a fascinating Hybrid Museum
6
Adobe Photoshop
Adobe Illustrator
7
8
9
10
Android
11
UI
PR
12
:
9
10
11
12
:
9
10
11
SNS
12
:
Group Report of 2013 SISP
- 14 -
Group Number 19
Production of a fascinating Hybrid Museum
4.2
4.2.1
2
4
5
1.
12
1
2.
3.
2
4.
5.
ICT
6.
Group Report of 2013 SISP
- 15 -
Group Number 19
Production of a fascinating Hybrid Museum
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
Group Report of 2013 SISP
- 16 -
Group Number 19
Production of a fascinating Hybrid Museum
17.
18.
:
1.
2.
3.
2
4.
5.
ICT
Group Report of 2013 SISP
- 17 -
Group Number 19
Production of a fascinating Hybrid Museum
6.
7.
4
4
3
8.
WEB
1
3
9.
10.
1
Group Report of 2013 SISP
- 18 -
Group Number 19
Production of a fascinating Hybrid Museum
1
11.
12.
13.
5
14.
15.
3
2
16.
WEB
1
3
Group Report of 2013 SISP
- 19 -
Group Number 19
Production of a fascinating Hybrid Museum
17.
18.
1
1
:
Group Report of 2013 SISP
- 20 -
Group Number 19
Production of a fascinating Hybrid Museum
4.2.2
(
4.1
)
4.1
Group Report of 2013 SISP
- 21 -
Group Number 19
Production of a fascinating Hybrid Museum
Adobe Photoshop
4
(
4.2
)
4.2
(
Group Report of 2013 SISP
- 22 -
4.3
)
Group Number 19
Production of a fascinating Hybrid Museum
4.3
(
4.4
4.5
)
4.4
4.5
4
(
4.6
)
Group Report of 2013 SISP
- 23 -
Group Number 19
Production of a fascinating Hybrid Museum
4.6
5
12
:
1.
2.
Adobe Photoshop
3.
4.
5.
Group Report of 2013 SISP
- 24 -
Group Number 19
Production of a fascinating Hybrid Museum
6.
Adobe Photoshop iMovie
7.
Adobe Illustrator
8.
Adobe Photoshop
Adobe Photoshop
9.
Group Report of 2013 SISP
- 25 -
Group Number 19
Production of a fascinating Hybrid Museum
10.
:
1.
newline
2.
Adobe Photoshop
3.
4.
5.
6.
Adobe Photoshop iMovie
7.
Adobe Illustrator
Group Report of 2013 SISP
- 26 -
Group Number 19
Production of a fascinating Hybrid Museum
8.
Adobe Photoshop
Adobe Photoshop
9.
10.
:
1.
Group Report of 2013 SISP
- 27 -
Group Number 19
Production of a fascinating Hybrid Museum
2.
Adobe Photoshop
3.
Adobe Illustrator
B5
4.
5.
6.
Adobe Photoshop iMovie
Adobe
Illustrator
7.
illustlator
Group Report of 2013 SISP
- 28 -
Group Number 19
Production of a fascinating Hybrid Museum
8.
7
9.
10.
:
<
>
6
Adobe Illustrator
Group Report of 2013 SISP
- 29 -
Adobe Photoshop
Group Number 19
Production of a fascinating Hybrid Museum
Adobe Illustrator Adobe Photoshop
Illustrator
Adobe
Adobe Photoshop
7
Adobe Illustrator
8
Adobe Illustrator
Adobe Photoshop
9
10
11
12
:
<
>
6
7
8
Group Report of 2013 SISP
- 30 -
Group Number 19
Production of a fascinating Hybrid Museum
9
10
11
12
:
<
>
6
Adobe Illustrator Adobe Photoshop
7
Adobe Premiere
6
Adobe Premiere
Adobe Illustrator
Adobe Illustrator
Adobe Photoshop
Adobe Photoshop Adobe
Premiere
8
2
9
Group Report of 2013 SISP
- 31 -
Group Number 19
Production of a fascinating Hybrid Museum
Adobe Photoshop
15
10
11
12
1
:
130
82
(
(
Group Report of 2013 SISP
4.8
4.7
)
)
- 32 -
Group Number 19
Production of a fascinating Hybrid Museum
4.7
4.8
:
Group Report of 2013 SISP
- 33 -
Group Number 19
Production of a fascinating Hybrid Museum
4.2.3
:
1.
2.
3.
4.
5.
Group Report of 2013 SISP
- 34 -
Group Number 19
Production of a fascinating Hybrid Museum
6.
7.
8.
9.
10.
11.
12.
13.
Group Report of 2013 SISP
- 35 -
Group Number 19
Production of a fascinating Hybrid Museum
14.
15.
16.
17.
:
1.
2.
3.
Group Report of 2013 SISP
- 36 -
Group Number 19
Production of a fascinating Hybrid Museum
4.
5.
6.
7.
8.
9.
10.
11.
12.
Group Report of 2013 SISP
- 37 -
Group Number 19
Production of a fascinating Hybrid Museum
13.
14.
15.
16.
17.
:
1.
Group Report of 2013 SISP
- 38 -
Group Number 19
Production of a fascinating Hybrid Museum
:
2.
:
3.
:
4.
:
5.
a
b
c
:
6.
Group Report of 2013 SISP
- 39 -
Group Number 19
Production of a fascinating Hybrid Museum
:
7.
Adobe Illustrator
Adobe Photoshop
:
8.
:
9.
:
10.
a
Group Report of 2013 SISP
- 40 -
Group Number 19
Production of a fascinating Hybrid Museum
Google
NEXUS 10 16GB
10
CPU
2,560 x 1,600
NEXUS 10
300 ppi HD
Mali TS04
A15
GPU
4.9
4.9
b
3
4.10
Group Report of 2013 SISP
http://www.iscas.jp/iscastand/is04/
- 41 -
Group Number 19
Production of a fascinating Hybrid Museum
4.10
c
ASKUL
460
4.11
520
810mm
http://www.askul.co.jp/p/1097836/
4.11
Group Report of 2013 SISP
- 42 -
Group Number 19
Production of a fascinating Hybrid Museum
d
ASKUL
750
500
700mm
4.12
4.12
:
11.
Adobe Illustrator
A2
A1
:
Group Report of 2013 SISP
- 43 -
Group Number 19
Production of a fascinating Hybrid Museum
12.
2
jpg
5.12
Adobe Photoshop CC
Adobe Illustrator CC
:
4.13
13.
4.14
:
4.14
Group Report of 2013 SISP
- 44 -
Group Number 19
Production of a fascinating Hybrid Museum
4.1
strut
strut
14.
:
15.
:
16.
Group Report of 2013 SISP
- 45 -
Group Number 19
Production of a fascinating Hybrid Museum
4.15
:
4.15
17.
:
18.
:
19.
7
Group Report of 2013 SISP
- 46 -
Group Number 19
Production of a fascinating Hybrid Museum
4.16
4.16
:
20.
4.17
Group Report of 2013 SISP
- 47 -
Group Number 19
Production of a fascinating Hybrid Museum
4.17
:
21.
3
1
1
3
3
2
:
22.
Group Report of 2013 SISP
- 48 -
Group Number 19
Production of a fascinating Hybrid Museum
:
23.
:
24.
:
6
eclipse
androidsdk
Java SE Development Kit
:
:
7
:
Group Report of 2013 SISP
- 49 -
Group Number 19
Production of a fascinating Hybrid Museum
:
:
:
8
UI
:
9
4
4
3
1
(
Group Report of 2013 SISP
- 50 -
4.18
)
Group Number 19
Production of a fascinating Hybrid Museum
4.18
:
Adobe Photoshop Adobe Illustrator
:
:
3
:
10
2
Group Report of 2013 SISP
x
- 51 -
y
2
Group Number 19
Production of a fascinating Hybrid Museum
2
x y
x y
:
9
UI
10
:
A2
A1
A1
Adobe Illustrator
:
9
9
:
11
4.19
Group Report of 2013 SISP
- 52 -
Group Number 19
Production of a fascinating Hybrid Museum
4.19
4.20
4.21
4.20
4.21
Group Report of 2013 SISP
- 53 -
Group Number 19
Production of a fascinating Hybrid Museum
4.20
Group Report of 2013 SISP
- 54 -
Group Number 19
Production of a fascinating Hybrid Museum
4.21
:
Adobe Illustrator
11
12
:
Group Report of 2013 SISP
- 55 -
Group Number 19
Production of a fascinating Hybrid Museum
Adobe Illustrator
:
10
:
12
:
:
:
11
:
Group Report of 2013 SISP
- 56 -
Group Number 19
Production of a fascinating Hybrid Museum
<
>
:
<
>
130
43
4.22
4.22
:
Group Report of 2013 SISP
- 57 -
Group Number 19
Production of a fascinating Hybrid Museum
4.2.4
Adobe Illustrator
Adobe Photoshop
Group Report of 2013 SISP
- 58 -
Group Number 19
Production of a fascinating Hybrid Museum
6
6
12
:
1.
2.
3.
4.
Adobe Photoshop
Adobe Illustrator
5.
Adobe Photoshop
Adobe Illustrator
6.
7.
Group Report of 2013 SISP
- 59 -
Group Number 19
Production of a fascinating Hybrid Museum
Adobe Photoshop
Adobe Illustrator
8.
9.
:
1.
Group Report of 2013 SISP
- 60 -
Group Number 19
Production of a fascinating Hybrid Museum
2.
3.
4.
Adobe Photoshop
Adobe Illustrator
5.
Adobe Photoshop
Adobe Illustrator
6.
7.
Adobe Photoshop
Adobe Illustrator
Group Report of 2013 SISP
- 61 -
Group Number 19
Production of a fascinating Hybrid Museum
8.
9.
:
1.
:
2.
Group Report of 2013 SISP
- 62 -
Group Number 19
Production of a fascinating Hybrid Museum
4.23
10
:
3.
:
4.
Adobe Photoshop
Group Report of 2013 SISP
- 63 -
Group Number 19
Production of a fascinating Hybrid Museum
Adobe Illustrator
CorelDRAW
:
5.
3
:
6.
:
7.
4
7mm
http://www.nps. net/tsukamaki1. htm
Group Report of 2013 SISP
- 64 -
Group Number 19
Production of a fascinating Hybrid Museum
4.24
4.25
5mm
2
2 3
2 3
Group Report of 2013 SISP
- 65 -
Group Number 19
Production of a fascinating Hybrid Museum
B6
4.26
Adobe Photoshop
PC
Adobe Photoshop
(
Adobe Photoshop
)
.psd
Adobe Illustrator
Adobe Illustrator
Adobe Illustrator
Group Report of 2013 SISP
- 66 -
Group Number 19
Production of a fascinating Hybrid Museum
4.27
4.28
0.001
0.001
0.001
0.002
CS
Group Report of 2013 SISP
CorelDRAW
- 67 -
Group Number 19
Production of a fascinating Hybrid Museum
4.29
4.30
CorelDRAW
Group Report of 2013 SISP
Adobe Illustrator
CorelDRAW
- 68 -
Group Number 19
Production of a fascinating Hybrid Museum
4.31
4.32
4.33
Group Report of 2013 SISP
- 69 -
Group Number 19
Production of a fascinating Hybrid Museum
CorelDRAW
3 4
:
8.
:
Group Report of 2013 SISP
- 70 -
Group Number 19
Production of a fascinating Hybrid Museum
4.34
9.
:
6
Adobe Photoshop
Adobe Illustrator
CorelDRAW
Adobe Photoshop Adobe Illustrator
CorelDRAW
7
Group Report of 2013 SISP
- 71 -
Group Number 19
Production of a fascinating Hybrid Museum
8
Adobe Illustrator
Adobe Illustrator
Adobe Illustrator
Adobe Illustrator
Adobe Illustrator
Adobe Illustrator
Adobe Illustrator
Adobe Illustrator
9
Adobe Illustrator
9
10
Adobe Illustrator
11
Group Report of 2013 SISP
- 72 -
Group Number 19
Production of a fascinating Hybrid Museum
12
130
81
62
:
Group Report of 2013 SISP
- 73 -
Group Number 19
Production of a fascinating Hybrid Museum
4.2.5
Adobe Illustrator
Adobe Photoshop
Adobe Illustrator
Adobe Illustrator
Android
Eclipse
Java
Prezi
WEB
4
6
12
1.
Group Report of 2013 SISP
- 74 -
Group Number 19
Production of a fascinating Hybrid Museum
2.
3.
4.
Adobe Illustrator Adobe Photoshop
Adobe Illustrator
Corel DRAW
Adobe Photoshop
5.
:
6.
PC
Group Report of 2013 SISP
- 75 -
Group Number 19
Production of a fascinating Hybrid Museum
7.
Android
:
8.
9.
Group Report of 2013 SISP
- 76 -
Group Number 19
Production of a fascinating Hybrid Museum
10.
:
1.
2.
3.
4.
Adobe Illustrator Adobe Photoshop
Adobe Illustrator
Group Report of 2013 SISP
Corel DRAW
Adobe Photoshop
- 77 -
Group Number 19
Production of a fascinating Hybrid Museum
5.
:
6.
PC
7.
Android
Group Report of 2013 SISP
- 78 -
Group Number 19
Production of a fascinating Hybrid Museum
:
8.
9.
10.
:
1.
(
Group Report of 2013 SISP
- 79 -
4.35
)
Group Number 19
Production of a fascinating Hybrid Museum
4.35
2.
(
4.36
)
Google Drive
300
Illustrator
Adobe
Adobe Photoshop
4.36
3.
Group Report of 2013 SISP
- 80 -
Group Number 19
Production of a fascinating Hybrid Museum
4.
Adobe Illustrator
Adobe Photoshop
Adobe Illustrator
Adobe Photoshop
.ai
Adobe
Photoshop
.psd
(
4.37
)
4.37
Group Report of 2013 SISP
- 81 -
Group Number 19
Production of a fascinating Hybrid Museum
Adobe Illustrator
(
4.38
)
4.38
Group Report of 2013 SISP
- 82 -
Group Number 19
Production of a fascinating Hybrid Museum
4
40
4
5.
Adobe Illustrator
(
Group Report of 2013 SISP
- 83 -
4.39
)
Group Number 19
Production of a fascinating Hybrid Museum
4.39
:
6.
PC
PC
PC
PC
10
Google
NEXUS 10 16GB
2,560 x 1,600
Mali TS04
Android
NEXUS 10
300 ppi HD
10
A15
CPU
GPU
PC
Processing
Prezi
WEB
PC
Group Report of 2013 SISP
- 84 -
Prezi
Group Number 19
Production of a fascinating Hybrid Museum
Android
Android
Eclipse
JAVA
Android
1
21
Windows
Flash
AviUti Adobe
Android
21
OpenOffice
Prezi
Prezi
OpenOffice
Prezi
Prezi
Android
Prezi
Prezi
Microsoft Expression Encoder 4 Screen Capture
Screenpresso
Bandicam
Prezi
Microsoft Expression Encoder 4
Screen Capture
4 Screen Capture
Bandicam
Microsoft Expression Encoder
Bandicam
Avi
Avi
PC
NEXUS 10
mp4
Microsoft
21
Android
PC
PC
PC
Group Report of 2013 SISP
- 85 -
Group Number 19
Production of a fascinating Hybrid Museum
7.
Android
(
4.40
)
4.40
Android
1 6
1
2
3.1
3.2
4 3.1
3.2
6 2
1
Android
Android
(
Group Report of 2013 SISP
5
4.41
)
- 86 -
Group Number 19
Production of a fascinating Hybrid Museum
4.41
Android
(
4.42
)
4.42
OK
OK
Java
XML
2
1
Android
Group Report of 2013 SISP
- 87 -
Group Number 19
Production of a fascinating Hybrid Museum
VideoView
(
4.43
)
4.43
Android
(
4.44
)
4.44
(
Group Report of 2013 SISP
- 88 -
4.45
)
Group Number 19
Production of a fascinating Hybrid Museum
4.45
OK
Android
Android
Android
Prezi
Prezi
WEB
Prezi
Microsoft Expression Encoder 4 Screen Capture
Prezi
BGM
NEXUS 10
Windows
mp4
NEXUS 10
Android
Android
PC
Group Report of 2013 SISP
- 89 -
Group Number 19
Production of a fascinating Hybrid Museum
Android
8.
m
U
U
U
PC
(
4.46
Group Report of 2013 SISP
)
- 90 -
Group Number 19
Production of a fascinating Hybrid Museum
4.46
:
9.
4.47
4.47
Group Report of 2013 SISP
- 91 -
Group Number 19
Production of a fascinating Hybrid Museum
:
10.
:
6
Adobe Illustrator
Adobe
Photoshop
Google Drive
7
8
9
10
Android
Group Report of 2013 SISP
- 92 -
Group Number 19
Production of a fascinating Hybrid Museum
11
12
4
4
4
4
Group Report of 2013 SISP
- 93 -
Group Number 19
Production of a fascinating Hybrid Museum
D
:
Group Report of 2013 SISP
- 94 -
Group Number 19
Production of a fascinating Hybrid Museum
4.2.6
7
9
•
•
•
•
•
•
4.2
4.2
1
2
3
4
4.48
Adobe Illustrator
4.49
Group Report of 2013 SISP
- 95 -
Group Number 19
Production of a fascinating Hybrid Museum
4.48
4.49
2
:
Group Report of 2013 SISP
- 96 -
Group Number 19
Production of a fascinating Hybrid Museum
4.2.7
1.
2.
3.
4.
5.
6.
7.
Group Report of 2013 SISP
- 97 -
Group Number 19
Production of a fascinating Hybrid Museum
8.
9.
Twitter
Facebook
SNS
10.
11.
SNS
12.
t
:
1.
2.
3.
Group Report of 2013 SISP
- 98 -
Group Number 19
Production of a fascinating Hybrid Museum
4.
5.
6.
7.
8.
9.
Twitter
Facebook
SNS
10.
11.
SNS
Group Report of 2013 SISP
- 99 -
Group Number 19
Production of a fascinating Hybrid Museum
12.
t
:
1.
Twitter,Facebook
SNS
FM
A1
B5
2
B5
A1
2m
70cm
2.
3.
2m
70cm
2
1
2
4.
1
5.
A1
B5
6.
A1
Group Report of 2013 SISP
- 100 -
Group Number 19
Production of a fascinating Hybrid Museum
7.
300
8.
B5
9.
Twitter
hybrid museum
Twitter
FM
:
10.
4.50
Group Report of 2013 SISP
- 101 -
4.51
Group Number 19
Production of a fascinating Hybrid Museum
4.50
Group Report of 2013 SISP
- 102 -
Group Number 19
Production of a fascinating Hybrid Museum
4.51
11.
2
t
Group Report of 2013 SISP
- 103 -
Group Number 19
Production of a fascinating Hybrid Museum
:
9
Twitter
Facebook
SNS
FM
10
2
Twitter
11
Facebook
SNS
FM
A1
B5
Group Report of 2013 SISP
(
- 104 -
4.52
)
Group Number 19
Production of a fascinating Hybrid Museum
4.52
(
4.53
)
4.53
1
(
4.54
)
Group Report of 2013 SISP
- 105 -
Group Number 19
Production of a fascinating Hybrid Museum
4.54
2
B5
11
11
30
12
1
29
12
:
<
>
1
:
<
>
:
Group Report of 2013 SISP
- 106 -
Group Number 19
Production of a fascinating Hybrid Museum
5
5.1
4
4
6
11
29
40
12
1
5.1
5.2
Group Report of 2013 SISP
3
5.8
5.1
5.12
5.6
6
- 107 -
Group Number 19
Production of a fascinating Hybrid Museum
5.1
491
130
24.48
5.2
11
29
(
)
7
11
30
(
)
7
12
1
(
)
5
5.3
Group Report of 2013 SISP
10:00 12:00
126
12:00 15:00
93
15:00 18:00
193
18:00 21:00
79
- 108 -
Group Number 19
Production of a fascinating Hybrid Museum
5.4
10
4
10
12
20
58
30
17
40
15
50
15
60
6
70
2
80
0
1
5.5
72
58
5.6
72
58
Group Report of 2013 SISP
- 109 -
Group Number 19
Production of a fascinating Hybrid Museum
5.7
SNS
9
3
22
1
70
14
11
5.8 Q.
81
83
51
43
5.9 Q.
Group Report of 2013 SISP
73
56.15
23
17.69
34
26.15
- 110 -
Group Number 19
Production of a fascinating Hybrid Museum
5.10 Q.
64
49.23
51
39.23
3
2.31
117
90.00
11
8.46
2
1.54
122
93.85
6
4.62
2
1.54
5.11 Q.
5.12 Q.
Group Report of 2013 SISP
- 111 -
Group Number 19
Production of a fascinating Hybrid Museum
5.1
5.2 Q.
Group Report of 2013 SISP
- 112 -
Group Number 19
Production of a fascinating Hybrid Museum
5.3 Q.
5.4 Q.
:
Group Report of 2013 SISP
- 113 -
Group Number 19
Production of a fascinating Hybrid Museum
5.5 Q.
5.6 Q.
5.2
94
90
86
1.
83
81
Group Report of 2013 SISP
51
- 114 -
43
Group Number 19
Production of a fascinating Hybrid Museum
4.2
2.
:
Group Report of 2013 SISP
- 115 -
Group Number 19
Production of a fascinating Hybrid Museum
5.3
5.3.1
Adobe Illustrator
/
Adobe Photoshop
4
2
3
:
Group Report of 2013 SISP
- 116 -
Group Number 19
Production of a fascinating Hybrid Museum
5.3.2
/
D
Adobe Photoshop
Adobe Illustrator
CorelDRAW
3mm
Group Report of 2013 SISP
3mm
- 117 -
Group Number 19
Production of a fascinating Hybrid Museum
mm
:
Group Report of 2013 SISP
- 118 -
Group Number 19
Production of a fascinating Hybrid Museum
5.3.3
/
Adobe Illustrator Adobe Photoshop
Corel DRAW
Adobe Illustrator
Adobe Photoshop
Corel DEAW
Adobe Illustrator
Adobe
Illustrator
Processing
Prezi
Prezi
WEB
NEXUS 10
LAN
Android
Android
Group Report of 2013 SISP
- 119 -
Group Number 19
Production of a fascinating Hybrid Museum
eclipse
AviUtl Windows
Adobe Flash
Windows
OpenOffice
Prezi
Prezi
Microsoft Expression Encoder 4 Screen Capture
Bandicam Screenpresso
Microsoft Expression Encoder 4 Screen
Capture
PC
PC
PC
GB
mp4
PC
PC
Android
PC
Android
Android
An-
droid
Group Report of 2013 SISP
- 120 -
Group Number 19
Production of a fascinating Hybrid Museum
PC
PC
Android
PC
:
Group Report of 2013 SISP
- 121 -
Group Number 19
Production of a fascinating Hybrid Museum
5.3.4
/
Adobe Illustrator Adobe Photoshop
Adobe Premiere
mm
Group Report of 2013 SISP
- 122 -
Group Number 19
Production of a fascinating Hybrid Museum
1
:
Group Report of 2013 SISP
- 123 -
Group Number 19
Production of a fascinating Hybrid Museum
5.3.5
/
KJ
Adobe Illustrator
0.1mm
Group Report of 2013 SISP
- 124 -
Group Number 19
Production of a fascinating Hybrid Museum
2
50
5
Group Report of 2013 SISP
- 125 -
Group Number 19
Production of a fascinating Hybrid Museum
Group Report of 2013 SISP
- 126 -
Group Number 19
Production of a fascinating Hybrid Museum
2cm
1
:
Group Report of 2013 SISP
- 127 -
Group Number 19
Production of a fascinating Hybrid Museum
5.3.6
/
Adobe Illustrator
.ai
.ai
Adobe Photoshop
.psd
Adobe Illustrator
WEB
Group Report of 2013 SISP
- 128 -
Group Number 19
Production of a fascinating Hybrid Museum
Prezi
WEB
Android
Android
Android
Google
Android SDK Android Software Development Kit
Android OS
ADT Android Development Tools
SDK
PC
Android
Google
Eclipse
Eclipse
Java
Android OS
Android
Android
Android
2
Android
Java
1
1
Java
XML
2
1
Nexus10
Group Report of 2013 SISP
- 129 -
Group Number 19
Production of a fascinating Hybrid Museum
Android
4
1
OK
Android
VideoView
2
2
Android
20
Android
Android
4
OK
Android
Group Report of 2013 SISP
- 130 -
Group Number 19
Production of a fascinating Hybrid Museum
Android
equals()
OS
:
Group Report of 2013 SISP
- 131 -
Group Number 19
Production of a fascinating Hybrid Museum
5.3.7
/
Adobe Illustrator Adobe
Photoshop
KJ
1.
2.
Adobe Illustrator Adobe Photoshop
3.
Adobe Illustrator
4.
5.
Group Report of 2013 SISP
- 132 -
Group Number 19
Production of a fascinating Hybrid Museum
6.
:
Group Report of 2013 SISP
- 133 -
Group Number 19
Production of a fascinating Hybrid Museum
5.3.8
/
3D
Adobe
Photoshop Adobe Illustrator
CorelDRAW
3
Group Report of 2013 SISP
- 134 -
Group Number 19
Production of a fascinating Hybrid Museum
1
3
3
Photoshop
Adobe
Adobe Illustrator
Adobe Illustrator
:
Group Report of 2013 SISP
- 135 -
Group Number 19
Production of a fascinating Hybrid Museum
5.3.9
/
3D
Adobe Photoshop
Illustrator
Adobe
2
3
Group Report of 2013 SISP
- 136 -
Group Number 19
Production of a fascinating Hybrid Museum
4
3
Adobe Photoshop
Adobe Illustrator
2
2 3
Adobe Photoshop
Adobe Illustrator
:
Group Report of 2013 SISP
- 137 -
Group Number 19
Production of a fascinating Hybrid Museum
5.3.10
/
Adobe Illustrator
(
4.15)
Adobe Illustrator
12
:
Group Report of 2013 SISP
- 138 -
Group Number 19
Production of a fascinating Hybrid Museum
5.3.11
/
B5
Adobe Photoshop
Adobe Photoshop
Group Report of 2013 SISP
- 139 -
Group Number 19
Production of a fascinating Hybrid Museum
30
B5
B5
Adobe Photoshop
Group Report of 2013 SISP
- 140 -
Group Number 19
Production of a fascinating Hybrid Museum
4
4
SNS
Facebook
3
Group Report of 2013 SISP
Twitter
2
- 141 -
Group Number 19
Production of a fascinating Hybrid Museum
:
Group Report of 2013 SISP
- 142 -
Group Number 19
Production of a fascinating Hybrid Museum
5.3.12
/
Adobe Illustrator
iPhone
Adobe Illustrator
Group Report of 2013 SISP
Adobe Illustrator
- 143 -
Group Number 19
Production of a fascinating Hybrid Museum
Adobe Illustrator
Adobe Photoshop
Adobe Illustrator
Group Report of 2013 SISP
- 144 -
Group Number 19
Production of a fascinating Hybrid Museum
Twitter
Facebook
FUN
FUN
Adobe Illustrator
Group Report of 2013 SISP
- 145 -
Group Number 19
Production of a fascinating Hybrid Museum
:
Group Report of 2013 SISP
- 146 -
Group Number 19
Production of a fascinating Hybrid Museum
5.3.13
Group Report of 2013 SISP
/
- 147 -
Group Number 19
Production of a fascinating Hybrid Museum
Group Report of 2013 SISP
- 148 -
Group Number 19
Production of a fascinating Hybrid Museum
:
Group Report of 2013 SISP
- 149 -
Group Number 19
Production of a fascinating Hybrid Museum
5.3.14
/
eclipse
androidsdk
Java SE Development Kit
Group Report of 2013 SISP
- 150 -
Group Number 19
Production of a fascinating Hybrid Museum
:
Group Report of 2013 SISP
- 151 -
Group Number 19
Production of a fascinating Hybrid Museum
6
6.1
2
4
6.1.1
11
12
4
1
2
Group Report of 2013 SISP
2
4
4
- 152 -
Group Number 19
Production of a fascinating Hybrid Museum
5
4
PR
Group Report of 2013 SISP
- 153 -
Group Number 19
Production of a fascinating Hybrid Museum
6.1.2
IT
IT
Group Report of 2013 SISP
- 154 -
Group Number 19
Production of a fascinating Hybrid Museum
OS
IT
IT
IT
IT
3DCG
CG
iPad
iPad
objectivec
kinect
3D
Group Report of 2013 SISP
3DCG
- 155 -
Group Number 19
Production of a fascinating Hybrid Museum
4
3DCG
CG
3
6.2
6.2.1
6.2.2
UX
Group Report of 2013 SISP
- 156 -
Group Number 19
Production of a fascinating Hybrid Museum
3
6.2.3
3D
3D
6.2.4
Android
Group Report of 2013 SISP
- 157 -
Group Number 19
Production of a fascinating Hybrid Museum
Android
6.3
4
:
Group Report of 2013 SISP
- 158 -
Group Number 19
Production of a fascinating Hybrid Museum
A
• Adobe Photoshop
• Adobe Illustrator
• Adobe Premiere
•
• CorelDRAW
•
•
•
• Prezi
• Microsoft Expression Encoder 4 Screen Capture
• Bandicam
• Microsoft
• Android
•
Group Report of 2013 SISP
- 159 -
Group Number 19
Production of a fascinating Hybrid Museum
B
B.1
/
SNS
B.2
/
B.3
/
B.4
/
B.5
/
B.6
B.7
Group Report of 2013 SISP
/
/
- 160 -
Group Number 19
Production of a fascinating Hybrid Museum
B.8
B.9
/
/
B.10
/
B.11
/
Illustrator
B.12
B.13
Group Report of 2013 SISP
/
/
- 161 -
Group Number 19
Production of a fascinating Hybrid Museum
B.14
Group Report of 2013 SISP
/
- 162 -
Group Number 19
Production of a fascinating Hybrid Museum
C
C.1
1. Kakeziku2Activity.java
package net.npaka.kakeziku2;
import android.os.Bundle;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.util.Log;
import android.view.KeyEvent;
import android.view.Window;
import android.view.WindowManager;
@SuppressLint("SdCardPath")
public class Kakeziku2Activity extends Activity {
Screen screen;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
//
requestWindowFeature(Window.FEATURE_NO_TITLE);
screen = new Screen(this);
setContentView(screen);
//
getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);
}
@Override
public boolean onKeyDown(int keyCode, KeyEvent event) {
if (keyCode == KeyEvent.KEYCODE_BACK) {
screen.flag_count = 0;
screen.gamen = 0;
screen.flag_syokiiti = 0;
screen.flag_sikaku0 = 0;
Group Report of 2013 SISP
- 163 -
Group Number 19
Production of a fascinating Hybrid Museum
screen.flag_sikaku1 = 0;
screen.scale = 1;
screen.flag_time = 0;
for (int i = 0; i < 6; i++)
screen.seni[i] = 0;
Log.v("tag", "OK");
return true;
}
return false;
}
}
2. Screen.java
package net.npaka.kakeziku2;
import java.io.OutputStream;
import java.util.Calendar;
import android.annotation.SuppressLint;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Bitmap.Config;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Rect;
import android.util.DisplayMetrics;
import android.util.Log;
import android.view.Display;
import android.view.MotionEvent;
import android.view.View;
import android.view.WindowManager;
public class Screen extends View {
float m_previousDistance = 0;//
static final int N = 16; //
Group Report of 2013 SISP
- 164 -
Group Number 19
Production of a fascinating Hybrid Museum
int[] width = new int[N];//
int[] height = new int[N];//
Paint p = new Paint();
Rect rect2 = new Rect();//
Rect rect3 = new Rect();//
int gamen = 0;//
int gazou = 0;//
int day;//
private int dp_w;//
private int dp_h;//
private Bitmap[] bmp = new Bitmap[N];
int[] seni = new int[6];//
float scale = 1;//
int scale_naw = 0;//
int x, y;//
float xx, yy;
float dx = 0, dy = 0;//
//
int[] count_f = new int[3];
int[] count_z = new int[3];
int count_fs;
int count_zs;
int[] count_ff = new int[3];
int[] count_zf = new int[3];
int count_fsf;
int count_zsf;
//
int flag_syokiiti = 0;//
int flag_sikaku0 = 0, flag_sikaku1 = 0;//
boolean flag_ten = true;
int flag_time = 0;
int flag_count;
//
long start = 0, start2 = 0, start3 = 0;
long end, end2;
long s_ten = 0, e_ten = 0;
//
Group Report of 2013 SISP
- 165 -
Group Number 19
Production of a fascinating Hybrid Museum
int fuukei_x = 1528;
int zinbutu_x = 968;
int fuukei_y = 2061;
int zinbutu_y = 2240;
@SuppressWarnings("deprecation")
public Screen(Context context) {
super(context);
// initInOutText(context);
//
BitmapFactory.Options options = new BitmapFactory.Options();
options.inPurgeable = true;
options.inPreferredConfig = Config.ARGB_4444;
options.inSampleSize = 1;
DisplayMetrics dm = this.getResources().getDisplayMetrics();
options.inDensity = dm.densityDpi;
bmp[0] = BitmapFactory.decodeResource(context.getResources(),
R.drawable.zinbutu, options);
bmp[1] = BitmapFactory.decodeResource(context.getResources(),
R.drawable.fuukei3, options);
bmp[2] = BitmapFactory.decodeResource(context.getResources(),
R.drawable.sentaku, options);
bmp[3] = BitmapFactory.decodeResource(context.getResources(),
R.drawable.sikaku0, options);
bmp[4] = BitmapFactory.decodeResource(context.getResources(),
R.drawable.sikaku1, options);
bmp[5] = BitmapFactory.decodeResource(context.getResources(),
R.drawable.flick0, options);
bmp[6] = BitmapFactory.decodeResource(context.getResources(),
R.drawable.flick1, options);
bmp[7] = BitmapFactory.decodeResource(context.getResources(),
R.drawable.key4, options);
Group Report of 2013 SISP
- 166 -
Group Number 19
Production of a fascinating Hybrid Museum
bmp[8] = BitmapFactory.decodeResource(context.getResources(),
R.drawable.key2, options);
bmp[9] = BitmapFactory.decodeResource(context.getResources(),
R.drawable.key3, options);
bmp[10] = BitmapFactory.decodeResource(context.getResources(),
R.drawable.key51, options);
bmp[11] = BitmapFactory.decodeResource(context.getResources(),
R.drawable.key52, options);
bmp[12] = BitmapFactory.decodeResource(context.getResources(),
R.drawable.key6, options);
bmp[13] = BitmapFactory.decodeResource(context.getResources(),
R.drawable.title, options);
bmp[14] = BitmapFactory.decodeResource(context.getResources(),
R.drawable.title2, options);
bmp[15] = BitmapFactory.decodeResource(context.getResources(),
R.drawable.esc, options);
// WindowManager
WindowManager wm = (WindowManager) context
.getSystemService(Context.WINDOW_SERVICE);
// Display
Display dp = wm.getDefaultDisplay();
//
dp_w = dp.getWidth();
dp_h = dp.getHeight();
Log.v("dp_w", String.valueOf(dp_w));
Log.v("dp_h", String.valueOf(dp_h));
//
for (int i = 0; i < N; i++) {
width[i] = bmp[i].getWidth();
height[i] = bmp[i].getHeight();
}
Group Report of 2013 SISP
- 167 -
Group Number 19
Production of a fascinating Hybrid Museum
for (int i = 0; i < 6; i++)
seni[i] = 0;
for (int i = 0; i < 3; i++) {
count_f[i] = 0;
count_z[i] = 0;
}
count_fs = 0;
count_zs = 0;
for (int i = 0; i < 3; i++) {
count_ff[i] = 0;
count_zf[i] = 0;
}
count_fsf = 0;
count_zsf = 0;
flag_count = 0;
s_ten = System.currentTimeMillis();
}
public boolean onTouchEvent(MotionEvent ev) {
start = System.currentTimeMillis() / 1000;
//
if (gamen == 0) {
if (ev.getAction() == MotionEvent.ACTION_UP
&& ev.getPointerCount() == 1) {
gamen = 1;
}
}
//
if (gamen == 1 && ev.getPointerCount() == 1) {
//
if (ev.getAction() == MotionEvent.ACTION_DOWN) {
//
if ((dp_w * 2 / 16 <= ev.getX())
&& (ev.getX() <= dp_w * 7 / 16)
Group Report of 2013 SISP
- 168 -
Group Number 19
Production of a fascinating Hybrid Museum
&& (dp_h * 2 / 9 <= ev.getY())
&& (ev.getY() <= dp_h * 7 / 9)
) {
count_fs++;
switch (day) {
case 29: {
count_f[0]++;
break;
}
case 30: {
count_f[1]++;
break;
}
case 1: {
count_f[2]++;
break;
}
}
//
gamen = 2;
gazou = 1;
}
//
if ((dp_w * 10 / 16 <= ev.getX())
&& (ev.getX() <= dp_w * 12 / 16)
&& (dp_h * 2 / 9 <= ev.getY())
&& (ev.getY() <= dp_h * 7 / 9)
) {
count_zs++;
switch (day) {
case 29: {
count_z[0]++;
break;
}
case 30: {
count_z[1]++;
Group Report of 2013 SISP
- 169 -
Group Number 19
Production of a fascinating Hybrid Museum
break;
}
case 1: {
count_z[2]++;
break;
}
}
//
gamen = 2;
gazou = 0;
}
}
}
//
if (gamen == 2) {
if (ev.getAction() == MotionEvent.ACTION_DOWN
&& ev.getPointerCount() == 1 && scale_naw == 0) {
if (seni[0] == 1 && flag_time == 0) {
start3 = System.currentTimeMillis();
flag_time = 1;
}
xx = ev.getX();
yy = ev.getY();
}
//
else if (ev.getAction() == MotionEvent.ACTION_MOVE
&& ev.getPointerCount() == 1 && scale_naw == 0
&& ev.getY() > dp_h / 9) {
dx = xx - ev.getX();
dy = yy - ev.getY();
//
xx = ev.getX();
Group Report of 2013 SISP
- 170 -
Group Number 19
Production of a fascinating Hybrid Museum
yy = ev.getY();
x += dx / scale;
y += dy / scale;
}
else if (ev.getAction() == MotionEvent.ACTION_UP
&& ev.getPointerCount() == 1) {
scale_naw = 0;
seni[0] = 1;
if (dp_w * 14 / 16 <= ev.getX() && ev.getX() <= dp_w
&& 0 <= ev.getY() && ev.getY() <= dp_h / 9) {
flag_count = 0;
gamen = 0;
flag_syokiiti = 0;
flag_sikaku0 = 0;
flag_sikaku1 = 0;
scale = 1;
flag_time = 0;
for (int i = 0; i < 6; i++)
seni[i] = 0;
}
}
if (ev.getPointerCount() == 2) {
scale_naw = 1;
int pointer_id_1 = ev.getPointerId(0);
int pointer_id_2 = ev.getPointerId(1);
int pointer_index_1 = ev.findPointerIndex(pointer_id_1);
int pointer_index_2 = ev.findPointerIndex(pointer_id_2);
float x2 = ev.getX(pointer_index_2) - ev.getX(pointer_index_1);
float y2 = ev.getY(pointer_index_2) - ev.getY(pointer_index_1);
//
float distance = (float) Math.sqrt(x2 * x2 + y2 * y2);
switch (ev.getAction()) {
Group Report of 2013 SISP
- 171 -
Group Number 19
Production of a fascinating Hybrid Museum
case MotionEvent.ACTION_MOVE:
if (m_previousDistance > distance && scale_naw == 1) {
//
scale -= 0.05;
if (scale < 1)
scale = 1;
m_previousDistance = distance;
x2 = ev.getX(pointer_index_2)
- ev.getX(pointer_index_1);
y2 = ev.getY(pointer_index_2)
- ev.getY(pointer_index_1);
distance = (float) Math.sqrt(x2 * x2 + y2 * y2);
Log.v("distance-", String.valueOf(distance));
if (seni[2] == 1)
seni[3] = 1;
}
if (m_previousDistance < distance && scale_naw == 1) {
//
scale += 0.05;
if (scale > 5)
scale = 5;
m_previousDistance = distance;
x2 = ev.getX(pointer_index_2)
- ev.getX(pointer_index_1);
y2 = ev.getY(pointer_index_2)
- ev.getY(pointer_index_1);
distance = (float) Math.sqrt(x2 * x2 + y2 * y2);
Log.v("distance+", String.valueOf(distance));
if (seni[2] == 1)
seni[3] = 1;
}
}
m_previousDistance = distance;
}
}
for (int i = 0; i < 6; i++)
invalidate();
Group Report of 2013 SISP
- 172 -
Group Number 19
Production of a fascinating Hybrid Museum
return true;
}
@SuppressLint("DrawAllocation")
@Override
protected void onDraw(Canvas canvas) {
Calendar calendar = Calendar.getInstance();
//
day = calendar.get(Calendar.DAY_OF_MONTH);
Log.v("
:29,30,1,
",
String.valueOf(count_f[0]) + "," + String.valueOf(count_f[1])
+ "," + String.valueOf(count_f[2]) + ","
+ String.valueOf(count_fs));
Log.v("
:29,30,1,
",
String.valueOf(count_z[0]) + "," + String.valueOf(count_z[1])
+ "," + String.valueOf(count_z[2]) + ","
+ String.valueOf(count_zs));
Log.v("
f:29,30,1,
",
String.valueOf(count_ff[0]) + "," + String.valueOf(count_ff[1])
+ "," + String.valueOf(count_ff[2]) + ","
+ String.valueOf(count_fsf));
Log.v("
f:29,30,1,
",
String.valueOf(count_zf[0]) + "," + String.valueOf(count_zf[1])
+ "," + String.valueOf(count_zf[2]) + ","
+ String.valueOf(count_zsf));
switch (gamen) {
case 0: {
p.setStyle(Paint.Style.FILL);
p.setColor(Color.BLACK);
p.setTextSize(200);
canvas.drawBitmap(bmp[13], new Rect(0, 0, width[13], height[13]),
new Rect(0, 0, dp_w, dp_h), null);
if (flag_ten) {
p.setTextSize(50);
canvas.drawBitmap(bmp[14],
new Rect(0, 0, width[13], height[13]), new Rect(0, 0,
dp_w, dp_h), null);
Group Report of 2013 SISP
- 173 -
Group Number 19
Production of a fascinating Hybrid Museum
}
if (System.currentTimeMillis() - s_ten >= 1000) {
flag_ten = !flag_ten;
s_ten = System.currentTimeMillis();
}
break;
}
case 1: {
//
canvas.drawBitmap(bmp[1], new Rect(0, 0, width[1], height[1]),
new Rect(dp_w * 2 / 16, dp_h * 2 / 9, dp_w * 7 / 16,
dp_h * 7 / 9), null);
p.setTextSize(50);
canvas.drawText("
", dp_w * 6 / 32, dp_h * 15 / 18, p);
//
canvas.drawBitmap(bmp[0], new Rect(0, 0, width[0], height[0]),
new Rect(dp_w * 10 / 16, dp_h * 2 / 9, dp_w * 25 / 32,
dp_h * 7 / 9), null);
canvas.drawText("
", dp_w * 21 / 32, dp_h * 15 / 18, p);
//
canvas.drawBitmap(bmp[2], new Rect(0, 0, width[2], height[2]),
new Rect(dp_w * 4 / 16, dp_h * 1 / 18, dp_w * 12 / 16,
dp_h * 3 / 18), null);
p.setTextSize(30);
canvas.drawText("
canvas.drawText("
", dp_w * 27 / 32, dp_h * 17 / 18, p);
", dp_w * 27 / 32, dp_h * 35 / 36, p);
break;
}
case 2: {
canvas.drawBitmap(bmp[15], new Rect(0, 0, width[15], height[15]),
new Rect(dp_w * 14 / 16, 0, dp_w, dp_h * 1 / 9), null);
if (flag_syokiiti == 0) {
x = width[gazou] / 2;
Group Report of 2013 SISP
- 174 -
Group Number 19
Production of a fascinating Hybrid Museum
y = height[gazou] / 2;
Log.v("xg", String.valueOf(dp_w));
Log.v("yg", String.valueOf(dp_h));
}
if (x <= (dp_h / (2 * scale)))
x = (int) (dp_h / (2 * scale));
if (x >= (width[gazou] - (dp_h / (2 * scale))))
x = (int) (width[gazou] - (dp_h / (2 * scale)));
if (y <= (dp_h / (4 * scale)))
y = (int) (dp_h / (4 * scale));
if (y >= (height[gazou] - (dp_h / (4 * scale))))
y = (int) (height[gazou] - (dp_h / (4 * scale)));
//
rect2 = new Rect(0, dp_h / 9, dp_w, dp_h);
rect3 = new Rect((int) (x - dp_h / (2 * scale)), (int) (y - dp_h
/ (4 * scale)), (int) (x + dp_h / (2 * scale)),
(int) (y + dp_h / (4 * scale)));
//
canvas.drawBitmap(bmp[gazou], rect3, rect2, null);
//
if (flag_sikaku0 == 1)
canvas.drawBitmap(bmp[3], rect3, rect2, null);
//
if (flag_sikaku1 == 1)
canvas.drawBitmap(bmp[4], rect3, rect2, null);
//
if ((x - (dp_h / (2 * scale)) <= fuukei_x)
&& (x + (dp_h / (2 * scale)) >= fuukei_x)
&& (y - (dp_h / (4 * scale)) <= fuukei_y)
&& (y + (dp_h / (4 * scale)) >= fuukei_y) && gazou == 1) {
if (seni[1] == 1)
seni[2] = 1;
}
Group Report of 2013 SISP
- 175 -
Group Number 19
Production of a fascinating Hybrid Museum
if ((x - (dp_h / (2 * scale)) <= zinbutu_x)
&& (x + (dp_h / (2 * scale)) >= zinbutu_x)
&& (y - (dp_h / (4 * scale)) <= zinbutu_y)
&& (y + (dp_h / (4 * scale)) >= zinbutu_y) && gazou == 0) {
if (seni[1] == 1)
seni[2] = 1;
}
p.setStyle(Paint.Style.FILL);
p.setColor(Color.BLACK);
p.setTextSize(100);
if (System.currentTimeMillis() - start3 >= 10000 && flag_time == 1) {
seni[1] = 1;
}
if (seni[0] == 1 && seni[1] == 0) {
canvas.drawBitmap(bmp[7], new Rect(0, 0, width[7], height[7]),
new Rect(0, 0, dp_w * 14 / 16, dp_h / 9), null);
canvas.drawBitmap(bmp[5], new Rect(0, 0, width[5], height[5]),
new Rect(dp_w * 6 / 16, dp_h * 7 / 18, dp_w * 6 / 16
+ dp_h * 3 / 9, dp_h * 13 / 18), null);
}
if (seni[1] == 1 && seni[2] == 0) {
canvas.drawBitmap(bmp[8], new Rect(0, 0, width[8], height[8]),
new Rect(0, 0, dp_w * 14 / 16, dp_h / 9), null);
if (gazou == 0)
flag_sikaku0 = 1;
if (gazou == 1)
flag_sikaku1 = 1;
}
if (seni[2] == 1 && seni[3] == 0) {
canvas.drawBitmap(bmp[9], new Rect(0, 0, width[9], height[9]),
new Rect(0, 0, dp_w * 14 / 16, dp_h / 9), null);
canvas.drawBitmap(bmp[6], new Rect(0, 0, width[6], height[6]),
new Rect(dp_w * 6 / 16, dp_h * 7 / 18, dp_w * 6 / 16
+ dp_h * 3 / 9, dp_h * 13 / 18), null);
if (gazou == 0)
flag_sikaku0 = 1;
Group Report of 2013 SISP
- 176 -
Group Number 19
Production of a fascinating Hybrid Museum
if (gazou == 1)
flag_sikaku1 = 1;
}
if (seni[3] == 1 && seni[4] == 0) {
start2 = System.currentTimeMillis() / 1000;
seni[4] = 1;
}
if (seni[4] == 1 && seni[5] == 0 && gazou == 0) {
canvas.drawBitmap(bmp[10],
new Rect(0, 0, width[10], height[10]), new Rect(0, 0,
dp_w * 14 / 16, dp_h / 9), null);
}
if (seni[4] == 1 && seni[5] == 0 && gazou == 1) {
canvas.drawBitmap(bmp[11],
new Rect(0, 0, width[11], height[11]), new Rect(0, 0,
dp_w * 14 / 16, dp_h / 9), null);
}
if ((end - start2 >= 10 && seni[4] == 1)) {
canvas.drawBitmap(bmp[12],
new Rect(0, 0, width[12], height[12]), new Rect(0, 0,
dp_w * 14 / 16, dp_h / 9), null);
seni[5] = 1;
flag_sikaku0 = 0;
flag_sikaku1 = 0;
if (gazou == 1 && flag_count == 0) {
count_fsf++;
switch (day) {
case 29: {
count_ff[0]++;
break;
}
case 30: {
count_ff[1]++;
break;
}
case 1: {
Group Report of 2013 SISP
- 177 -
Group Number 19
Production of a fascinating Hybrid Museum
count_ff[2]++;
break;
}
}
flag_count = 1;
}
if (gazou == 0 && flag_count == 0) {
count_zsf++;
switch (day) {
case 29: {
count_zf[0]++;
break;
}
case 30: {
count_zf[1]++;
break;
}
case 1: {
count_zf[2]++;
break;
}
}
flag_count = 1;
}
}
// canvas.rotate (90,dp_w-70, dp_h/2);
flag_syokiiti = 1;
canvas.drawColor(0xffffff);
end = System.currentTimeMillis() / 1000;
if ((end - start >= 60)) {
flag_count = 0;
Group Report of 2013 SISP
- 178 -
Group Number 19
Production of a fascinating Hybrid Museum
gamen = 0;
scale = 1;
flag_syokiiti = 0;
flag_sikaku0 = 0;
flag_sikaku1 = 0;
scale = 1;
for (int i = 0; i < 6; i++)
seni[i] = 0;
}
break;
}
}
invalidate();
}
private OutputStream openFileOutput(String fileName, int modePrivate) {
// TODO
return null;
}
}
C.2
1. MainActuvity.java
package com.example.mhm;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.Intent;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.os.Handler;
import android.util.Log;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
Group Report of 2013 SISP
- 179 -
Group Number 19
Production of a fascinating Hybrid Museum
import android.widget.Button;
import android.widget.ImageView;
import android.widget.LinearLayout;
public class MainActivity extends Activity{
int MAX = 4; //
String code = "";
int int_code;
private MediaPlayer sound3;
private MediaPlayer sound7;
private MediaPlayer sound8;
private MediaPlayer sound9;
private MediaPlayer sound10;
//
LinearLayout linear;
ImageView code1, code2, code3, code4;
int limit = 20; //
( )
int time = 0; //
int time_flag = 1; //
//1
Handler handler = new Handler();
Runnable countTask = new Runnable(){
public void run(){
time++;
if(time==limit){ //
time = 0;
reset_code();
finish();
}
if(time_flag==1) handler.postDelayed(countTask, 1000); //
//handler.postDelayed(countTask, 1000);
}//run
};
Variable val;
Group Report of 2013 SISP
- 180 -
Group Number 19
Production of a fascinating Hybrid Museum
//------
--------------------
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
//
requestWindowFeature(Window.FEATURE_NO_TITLE);
//
getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);
setContentView(R.layout.main_activity); //
xml
val = (Variable)this.getApplication();
code1 = (ImageView)findViewById(R.id.code1);
code2 = (ImageView)findViewById(R.id.code2);
code3 = (ImageView)findViewById(R.id.code3);
code4 = (ImageView)findViewById(R.id.code4);
sound3 = MediaPlayer.create(this, R.raw.sound03);
sound7 = MediaPlayer.create(this, R.raw.sound07);
sound8 = MediaPlayer.create(this, R.raw.sound08);
sound9 = MediaPlayer.create(this, R.raw.sound09);
sound10 = MediaPlayer.create(this, R.raw.sound10);
//
//
final Button b1 = (Button)findViewById(R.id.button1);
b1.setOnTouchListener(new View.OnTouchListener(){
@Override
public boolean onTouch(View v, MotionEvent event) {
//
(
)
if(event.getAction() == MotionEvent.ACTION_DOWN){
//sound3.start();
b1.setBackgroundResource(R.drawable.b1_1);
}
Group Report of 2013 SISP
- 181 -
Group Number 19
Production of a fascinating Hybrid Museum
//
else if(event.getAction() == MotionEvent.ACTION_UP){
b1.setBackgroundResource(R.drawable.b1); //
if(code.length() < MAX){ //
0,1,2,3
OK
set_code(code.length(), R.drawable.input1); //
code = code + "1";
time = 0; //
}
//
4444
if(code.equals("4444")){
Intent i = new Intent(getApplicationContext(), Developer.class);
startActivityForResult(i, 2);
}
}//
return false;
}
});
//
final Button b2 = (Button)findViewById(R.id.button2);
b2.setOnTouchListener(new View.OnTouchListener(){
@Override
public boolean onTouch(View v, MotionEvent event) {
//
if(event.getAction() == MotionEvent.ACTION_DOWN){
//sound3.start();
b2.setBackgroundResource(R.drawable.b2_2);
//if(code_count() ){
if(code.length() < MAX){
set_code(code.length(), R.drawable.input2);
code = code + "2";
time = 0; //
}
}
//
else if(event.getAction() == MotionEvent.ACTION_UP){
Group Report of 2013 SISP
- 182 -
Group Number 19
Production of a fascinating Hybrid Museum
b2.setBackgroundResource(R.drawable.b2);
}
return false;
}//onTouch
});
//
final Button b3 = (Button)findViewById(R.id.button3);
b3.setOnTouchListener(new View.OnTouchListener(){
@Override
public boolean onTouch(View v, MotionEvent event) {
//
if(event.getAction() == MotionEvent.ACTION_DOWN){
//sound3.start();
b3.setBackgroundResource(R.drawable.b3_3);
//if(code_count()){
if(code.length() < MAX){
set_code(code.length(), R.drawable.input3);
code = code + "3";
time = 0; //
}
}
//
else if(event.getAction() == MotionEvent.ACTION_UP){
b3.setBackgroundResource(R.drawable.b3);
}
return false;
}
});
//
final Button b4 = (Button)findViewById(R.id.button4);
b4.setOnTouchListener(new View.OnTouchListener(){
@Override
public boolean onTouch(View v, MotionEvent event) {
//
if(event.getAction() == MotionEvent.ACTION_DOWN){
//sound3.start();
b4.setBackgroundResource(R.drawable.b4_4);
//if(code_count()){
Group Report of 2013 SISP
- 183 -
Group Number 19
Production of a fascinating Hybrid Museum
if(code.length() < MAX){
set_code(code.length(), R.drawable.input4);
code = code + "4";
time = 0; //
}
}
//
else if(event.getAction() == MotionEvent.ACTION_UP){
b4.setBackgroundResource(R.drawable.b4);
}
return false;
}
});
//
//1
Button one_remove = (Button)findViewById(R.id.one_remove);
one_remove.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
sound8.start();
remove_code();
time = 0; //
}
});
//
Button remove = (Button)findViewById(R.id.full_remove);
remove.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
sound9.start();
//
reset_code();
time = 0; //
}
});
//OK!
Button ok = (Button)findViewById(R.id.button_ok);
ok.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
sound7.start();
val.ok++;
Group Report of 2013 SISP
- 184 -
Group Number 19
Production of a fascinating Hybrid Museum
//
if(code_check(code)){
Log.v("test1", "test2");
val.play++;
Intent i2 = new Intent(getApplicationContext(), Video.class);
i2.putExtra("file_name", code); //
startActivityForResult(i2, 123);
time = 0; //
time_flag = 0; //
//
reset_code();
}//if
//
else{
Log.v("test3", code);
val.error++;
Intent i1 = new Intent(getApplicationContext(), Ayamaru.class);
startActivity(i1);
reset_code();
}//else
}//onClick
});//OK!
//
Button how = (Button)findViewById(R.id.howTo);
how.setOnClickListener(new View.OnClickListener(){
@Override
public void onClick(View v) {
Intent i = new Intent(getApplicationContext(), HowTo.class);
startActivityForResult(i, 1);
time = 0; //
Group Report of 2013 SISP
- 185 -
Group Number 19
Production of a fascinating Hybrid Museum
time_flag = 0; //
}
});//howTo
//
if(time_flag==1)handler.postDelayed(countTask, 1000); //
}//onCreate
//-------startActivityForResult()
finish()
//
public void onActivityResult(int requestCode, int resultCode, Intent i){
super.onActivityResult(requestCode, resultCode, i);
time_flag = 1; //
handler.postDelayed(countTask, 1000);
}
//---------// n :
, background : R.drawable.b1
public void set_code(int n, int background){
switch(n){
case 0:
code1.setImageResource(background);
code1.setVisibility(View.VISIBLE);
break;
case 1:
code2.setImageResource(background);
code2.setVisibility(View.VISIBLE);
break;
case 2:
code3.setImageResource(background);
code3.setVisibility(View.VISIBLE);
break;
case 3:
code4.setImageResource(background);
code4.setVisibility(View.VISIBLE);
break;
default: break;
Group Report of 2013 SISP
- 186 -
Group Number 19
Production of a fascinating Hybrid Museum
}//switch
}//set_code
//-------------
1
// n :
public void remove_code(){
int n = code.length();
if(0 < n){
switch(n){
case 4:
code4.setVisibility(View.INVISIBLE);
//code4.setImageResource(R.drawable.white);
break;
case 3: code3.setVisibility(View.INVISIBLE);
break;
case 2: code2.setVisibility(View.INVISIBLE);
break;
case 1: code1.setVisibility(View.INVISIBLE);
break;
default: break;
}//switch
//
code = code.substring(0, code.length()-1);
}//if
}//remove_code()
//--------------public void reset_code(){
code4.setVisibility(View.INVISIBLE);
code3.setVisibility(View.INVISIBLE);
code2.setVisibility(View.INVISIBLE);
code1.setVisibility(View.INVISIBLE);
code = "";
}//reset_code()
Group Report of 2013 SISP
- 187 -
Group Number 19
Production of a fascinating Hybrid Museum
//-------------//count = 0, 1, 2, 3 ...
//
true
false
public boolean code_count(){
if( (0<=code.length()) && (code.length()<=3) )
return true;
else
return false;
}//code_count()
//--------------
0
@Override
public boolean onTouchEvent(MotionEvent event) {
if(event.getAction()==MotionEvent.ACTION_DOWN){
time = 0; //
}
return true;
}
//---------------@Override
public boolean dispatchKeyEvent(KeyEvent event) {
if (event.getAction()==KeyEvent.ACTION_DOWN) {
switch (event.getKeyCode()) {
case KeyEvent.KEYCODE_BACK:
return true;
}
}
return super.dispatchKeyEvent(event);
}
//
true
false
public boolean code_check(String mycode){
String test = String.valueOf(1234);
if(mycode.equals(test)){
Log.v("a","b");
}
Group Report of 2013 SISP
- 188 -
Group Number 19
Production of a fascinating Hybrid Museum
if(
(
(mycode.equals("1234")) || (mycode.equals("1243")) || (mycode.equals("1324
(mycode.equals("1432")) || (mycode.equals("2134")) || (mycode.equals("2143"
(mycode.equals("2413")) || (mycode.equals("2431")) || (mycode.equals("3124"
(mycode.equals("3412")) || (mycode.equals("3421")) || (mycode.equals("4123"
(mycode.equals("4231")) || (mycode.equals("4312")) || (mycode.equals("4321"
) )
{
return true;
}
else{
Log.v("test5", mycode);
return false;
}
}//code_check
}//MainActivity.java
=============================
XML
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/LinearLayout2"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:orientation="vertical"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context=".MainActivity"
android:background="@drawable/background1"
>
<!-- Java
ID
-->
<!-Group Report of 2013 SISP
-->
- 189 -
Group Number 19
Production of a fascinating Hybrid Museum
<!--
android:visibility="invisible"
<!--
-->
<!-- Java
-->
ver -->
<LinearLayout
android:id="@+id/input_code"
android:gravity="center"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="110dp"
android:layout_alignParentTop="true"
>
<ImageView
android:id="@+id/code1"
android:gravity="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/input1"
android:contentDescription="@string/button1"
android:visibility="invisible"
android:layout_marginRight="10dp"
>
</ImageView>
<ImageView
android:id="@+id/code2"
android:gravity="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/input2"
android:contentDescription="@string/button2"
android:visibility="invisible"
android:layout_marginRight="10dp"
>
</ImageView>
<ImageView
android:id="@+id/code3"
android:gravity="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/input3"
android:contentDescription="@string/button3"
Group Report of 2013 SISP
- 190 -
Group Number 19
Production of a fascinating Hybrid Museum
android:visibility="invisible"
android:layout_marginRight="10dp"
>
</ImageView>
<ImageView
android:id="@+id/code4"
android:gravity="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/input4"
android:contentDescription="@string/button4"
android:visibility="invisible"
>
</ImageView>
</LinearLayout><!--
-->
<!--
-->
<LinearLayout
android:id="@+id/remove_set"
android:orientation="vertical"
android:gravity="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="250dp"
android:layout_alignParentLeft="true"
>
<Button
android:id="@+id/one_remove"
android:layout_width="200dp"
android:layout_height="150dp"
android:background="@drawable/custom_button1"
>
</Button>
<Button
android:id="@+id/full_remove"
android:layout_width="200dp"
android:layout_height="150dp"
android:background="@drawable/custom_button2"
>
</Button>
Group Report of 2013 SISP
- 191 -
Group Number 19
Production of a fascinating Hybrid Museum
</LinearLayout><!-<!--
-->
-->
<TableLayout
android:id="@+id/input_set"
android:layout_width="520dp"
android:layout_height="520dp"
android:layout_marginTop="120dp"
android:layout_marginLeft="260dp"
>
<TableRow>
<Button
android:id="@+id/button1"
android:layout_width="@dimen/panel"
android:layout_height="@dimen/panel"
android:background="@drawable/b1"
android:contentDescription="@string/button1"
android:layout_marginRight="5dp"
android:layout_marginBottom="5dp"
>
</Button>
<Button
android:id="@+id/button2"
android:layout_width="@dimen/panel"
android:layout_height="@dimen/panel"
android:background="@drawable/b2"
android:contentDescription="@string/button2"
android:layout_marginLeft="5dp"
android:layout_marginBottom="5dp"
>
</Button>
</TableRow>
<TableRow>
<Button
android:id="@+id/button3"
android:layout_width="@dimen/panel"
android:layout_height="@dimen/panel"
android:background="@drawable/b3"
android:contentDescription="@string/button3"
android:layout_marginRight="5dp"
Group Report of 2013 SISP
- 192 -
Group Number 19
Production of a fascinating Hybrid Museum
android:layout_marginTop="5dp"
>
</Button>
<Button
android:id="@+id/button4"
android:layout_width="@dimen/panel"
android:layout_height="@dimen/panel"
android:background="@drawable/b4"
android:contentDescription="@string/button4"
android:layout_marginLeft="5dp"
android:layout_marginTop="5dp"
>
</Button>
</TableRow>
</TableLayout><!--
-->
<!--TextView
android:id="@+id/code"
android:textSize="40sp"
android:gravity="center"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/button1"
/-->
<!--
OK
-->
<LinearLayout
android:orientation="vertical"
android:gravity="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="250dp"
android:layout_alignParentRight="true"
>
<Button
android:id="@+id/button_ok"
android:gravity="center"
android:background="@drawable/custom_button3"
android:layout_width="200dp"
android:layout_height="150dp"
>
Group Report of 2013 SISP
- 193 -
Group Number 19
Production of a fascinating Hybrid Museum
</Button>
<Button
android:id="@+id/howTo"
android:gravity="center"
android:background="@drawable/custom_button4"
android:layout_width="200dp"
android:layout_height="150dp"
>
</Button>
</LinearLayout>
</RelativeLayout>
2. Start explain.java
package com.example.mhm;
import android.app.Activity;
import android.content.Intent;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.Window;
import android.view.WindowManager;
public class Start_explain extends Activity{
MediaPlayer sound1;
Variable val; //
int home = 0;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
//
requestWindowFeature(Window.FEATURE_NO_TITLE);
//
Group Report of 2013 SISP
- 194 -
Group Number 19
Production of a fascinating Hybrid Museum
getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);
setContentView(R.layout.start_explain); //
xml
val = (Variable)this.getApplication();
sound1 = MediaPlayer.create(this, R.raw.sound01);
}//onCreate
//
@Override
public boolean onTouchEvent(MotionEvent event) {
if(event.getAction() == MotionEvent.ACTION_UP){
val.home++;
}
sound1.start();
if(event.getAction()==MotionEvent.ACTION_DOWN){
//
Intent i = new Intent(getApplicationContext(), MainActivity.class);
startActivity(i);
}
return true;
}
//
@Override
public boolean dispatchKeyEvent(KeyEvent event) {
if (event.getAction()==KeyEvent.ACTION_DOWN) {
switch (event.getKeyCode()) {
case KeyEvent.KEYCODE_BACK:
return true;
}
}
return super.dispatchKeyEvent(event);
}
}
Group Report of 2013 SISP
- 195 -
Group Number 19
Production of a fascinating Hybrid Museum
-------------------------------------XML
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:paddingTop="@dimen/activity_vertical_margin"
android:orientation="vertical"
android:background="@drawable/title3"
>
</LinearLayout>
3. Ayamaru.java
package com.example.mhm;
import android.app.Activity;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.Window;
import android.view.WindowManager;
public class Ayamaru extends Activity{
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
//
requestWindowFeature(Window.FEATURE_NO_TITLE);
//
//
getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);
setContentView(R.layout.ayamaru); //
Group Report of 2013 SISP
- 196 -
xml
Group Number 19
Production of a fascinating Hybrid Museum
MediaPlayer sound10 = MediaPlayer.create(this, R.raw.sound10);
sound10.start();
}//onCreate
//
@Override
public boolean onTouchEvent(MotionEvent event) {
//sound1.start();
if(event.getAction()==MotionEvent.ACTION_DOWN){
finish();
}
//return super.onTouchEvent(event);
return true;
}
//
@Override
public boolean dispatchKeyEvent(KeyEvent event) {
if (event.getAction()==KeyEvent.ACTION_DOWN) {
switch (event.getKeyCode()) {
case KeyEvent.KEYCODE_BACK:
finish();
}
}
return super.dispatchKeyEvent(event);
}
}
4. Developer.java
package com.example.mhm;
import android.app.Activity;
import android.content.Intent;
Group Report of 2013 SISP
- 197 -
Group Number 19
Production of a fascinating Hybrid Museum
import android.os.Bundle;
import android.view.MotionEvent;
import android.widget.TextView;
public class Developer extends Activity{
Variable val;
TextView text1; //home
TextView text2; //ok
TextView text3; //play
TextView text4; //error
@Override
public void onCreate(Bundle bundle){
super.onCreate(bundle);
setContentView(R.layout.developer); //
XML
text1 = (TextView)findViewById(R.id.home);
text2 = (TextView)findViewById(R.id.ok);
text3 = (TextView)findViewById(R.id.play);
text4 = (TextView)findViewById(R.id.error);
//
val = (Variable)this.getApplication();
text1.setText( "
:" + Integer.toString(val.home
text2.setText( " OK
text3.setText(
:" + Integer.toString(val.ok) );
"
:" + Integer.toString(val.play) );
text4.setText( "
:" + Integer.toString(val.error) );
}//onCreate
//
@Override
public boolean onTouchEvent(MotionEvent event) {
if(event.getAction()==MotionEvent.ACTION_DOWN){
finish();
}
//return super.onTouchEvent(event);
return true;
Group Report of 2013 SISP
- 198 -
Group Number 19
Production of a fascinating Hybrid Museum
}
}
5. HowTo.java
package com.example.mhm;
import android.app.Activity;
import android.media.MediaPlayer;
import android.media.MediaPlayer.OnCompletionListener;
import android.os.Bundle;
import android.view.MotionEvent;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
import android.widget.Button;
import android.widget.VideoView;
public class HowTo extends Activity implements OnCompletionListener{
int video_flag = 1; //
1
int button_flag = 0; //
0
1
0
String PATH = "/storage/emulated/0/video/3333.mp4"; //
Button start, back;
@Override
public void onCreate(Bundle bundle){
super.onCreate(bundle);
//
requestWindowFeature(Window.FEATURE_NO_TITLE);
//
//
getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);
setContentView(R.layout.how_to_video); //
Group Report of 2013 SISP
- 199 -
XML
Group Number 19
Production of a fascinating Hybrid Museum
final VideoView video = (VideoView) findViewById(R.id.video);
video.setVideoPath(PATH);
//
start = (Button)findViewById(R.id.start);
start.setOnTouchListener(new View.OnTouchListener(){
@Override
public boolean onTouch(View v, MotionEvent event) {
if(video_flag==1){ //
//
STOP
//
if(event.getAction() == MotionEvent.ACTION_DOWN)
start.setBackgroundResource(R.drawable.stop1_1);
//
else if(event.getAction() == MotionEvent.ACTION_UP){
//start.setBackgroundResource(R.drawable.start1);
video.pause();
video_flag = 0;
}
}//if(video_flag=1)
else{ //
//
START
//
if(event.getAction() == MotionEvent.ACTION_DOWN)
start.setBackgroundResource(R.drawable.start1_1);
//
else if(event.getAction() == MotionEvent.ACTION_UP){
start.setBackgroundResource(R.drawable.stop1);
video.start();
video_flag = 1;
}
}//else(video_flag=0)
return false;
}//onTouch()
});//.setOnTouchListener()
//
//Button back = (Button)findViewById(R.id.back);
back = (Button)findViewById(R.id.back);
back.setOnTouchListener(new View.OnTouchListener(){
@Override
public boolean onTouch(View v, MotionEvent event) {
Group Report of 2013 SISP
- 200 -
Group Number 19
Production of a fascinating Hybrid Museum
//
if(event.getAction() == MotionEvent.ACTION_DOWN)
back.setBackgroundResource(R.drawable.back1_1);
else if(event.getAction() == MotionEvent.ACTION_UP){
back.setBackgroundResource(R.drawable.back1);
finish();
}
return false;
}//onTouch()
});//.setOnTouchListener()
video.start(); //
video.setOnCompletionListener(this); //
}//onCreate
//
public void button_visible(Button b1, Button b2){
if(button_flag==0){
b1.setVisibility(View.VISIBLE);
b2.setVisibility(View.VISIBLE);
button_flag = 1;
}
else{
b1.setVisibility(View.INVISIBLE);
b2.setVisibility(View.INVISIBLE);
button_flag = 0;
}
}
//
Video
public boolean onTouchEvent(MotionEvent event) {
if(event.getAction()==MotionEvent.ACTION_DOWN){
//button_visible(start, back);
}
return true;
}
//
@Override
Group Report of 2013 SISP
- 201 -
Group Number 19
Production of a fascinating Hybrid Museum
public void onCompletion(MediaPlayer arg0) {
finish(); //
}
}
6. Variable.java
package com.example.mhm;
import android.app.Application;
public class Variable extends Application{
//
//
int home = 0; //
int ok = 0; // OK
int play = 0; //
int error = 0; //
//
public void init(){
this.home = 0;
this.ok = 0;
this.play = 0;
this.error = 0;
}
}
7. Video.java
package com.example.mhm;
import android.annotation.TargetApi;
import android.app.Activity;
Group Report of 2013 SISP
- 202 -
Group Number 19
Production of a fascinating Hybrid Museum
import android.media.MediaPlayer;
import android.media.MediaPlayer.OnCompletionListener;
import android.os.Build;
import android.os.Bundle;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
import android.widget.Button;
import android.widget.VideoView;
import android.content.Intent;
public class Video extends Activity implements OnCompletionListener{
String code = ""; //
int video_flag = 1; //
1
int button_flag = 0; //
0
1
0
Button start, back;
@Override
public void onCreate(Bundle bundle){
super.onCreate(bundle);
setContentView(R.layout.video); //
XML
Intent i = getIntent(); //
code = i.getStringExtra("file_name"); //
String PATH = "/storage/emulated/0/video/" + code + ".mp4";
final VideoView video = (VideoView) findViewById(R.id.video);
video.setVideoPath(PATH);
//
start = (Button)findViewById(R.id.start);
Group Report of 2013 SISP
- 203 -
Group Number 19
Production of a fascinating Hybrid Museum
start.setOnTouchListener(new View.OnTouchListener(){
@Override
public boolean onTouch(View v, MotionEvent event) {
if(video_flag==1){ //
//
STOP
//
if(event.getAction() == MotionEvent.ACTION_DOWN)
start.setBackgroundResource(R.drawable.stop1_1);
//
else if(event.getAction() == MotionEvent.ACTION_UP){
start.setBackgroundResource(R.drawable.start1);
video.pause();
video_flag = 0;
}
}//if(video_flag=1)
else{ //
//
START
//
if(event.getAction() == MotionEvent.ACTION_DOWN)
start.setBackgroundResource(R.drawable.start1_1);
//
else if(event.getAction() == MotionEvent.ACTION_UP){
start.setBackgroundResource(R.drawable.stop1);
video.start();
video_flag = 1;
}
}//else(video_flag=0)
return false;
}//onTouch()
});//.setOnTouchListener()
//
back = (Button)findViewById(R.id.back);
back.setOnTouchListener(new View.OnTouchListener(){
@Override
public boolean onTouch(View v, MotionEvent event) {
//
if(event.getAction() == MotionEvent.ACTION_DOWN)
Group Report of 2013 SISP
- 204 -
Group Number 19
Production of a fascinating Hybrid Museum
back.setBackgroundResource(R.drawable.back1_1);
else if(event.getAction() == MotionEvent.ACTION_UP){
back.setBackgroundResource(R.drawable.back1);
finish();
}
return false;
}//onTouch()
});//.setOnTouchListener()
video.start(); //
video.setOnCompletionListener(this); //
}//onCreate
//
public void button_visible(Button b1, Button b2){
if(button_flag==0){
b1.setVisibility(View.VISIBLE);
b2.setVisibility(View.VISIBLE);
button_flag = 1;
}
else{
b1.setVisibility(View.INVISIBLE);
b2.setVisibility(View.INVISIBLE);
button_flag = 0;
}
}
public boolean onTouchEvent(MotionEvent event) {
if(event.getAction()==MotionEvent.ACTION_DOWN){
button_visible(start, back);
}
return true;
}
//
Group Report of 2013 SISP
- 205 -
Group Number 19
Production of a fascinating Hybrid Museum
@Override
public void onCompletion(MediaPlayer arg0) {
//textView1.setText(""); //
finish(); //
}
//
@Override
public boolean dispatchKeyEvent(KeyEvent event) {
if (event.getAction()==KeyEvent.ACTION_DOWN) {
switch (event.getKeyCode()) {
case KeyEvent.KEYCODE_BACK:
finish();
}
}
return super.dispatchKeyEvent(event);
}
}
Group Report of 2013 SISP
- 206 -
Group Number 19
Production of a fascinating Hybrid Museum
[1]
.
,
.1997
[2]
http://kage-design.com/wp/, accessed 2014/1/7
[3] Android
http://android.keicode.com/basics/how-to-change-back-button.php
[4]
http://www.city.hakodate.hokkaido.jp/board_of_edu/lifelong_learning/
museum/
[5]
http://kakejikuchisiki.blogspot.jp/
[6]
http://www.h6.dion.ne.jp/~akn/pm/ProjectManagement/ControlProgress.html
[7]
http://enq-q.com/tips/
[8]
http://enq.tekmemo.com/
[9] ASKUL
http://www.askul.co.jp/p/1097836/
[10]
http://www.iscas.jp/iscastand/is04/
Group Report of 2013 SISP
- 207 -
Group Number 19