Commit cb0a61d867bb62e1d9dd30b7d799d1b641ecef5a
1 parent
cff05a09
TOUT MARCHE AVEC IMAGES
Showing
1 changed file
with
86 additions
and
7 deletions
Show diff stats
app/src/main/java/ssrmarcsautelet/automation/appli/ssrmarcsautelet/MainActivity.java
@@ -89,8 +89,76 @@ public class MainActivity extends AppCompatActivity | @@ -89,8 +89,76 @@ public class MainActivity extends AppCompatActivity | ||
89 | "orga_psy.html", | 89 | "orga_psy.html", |
90 | "orga_psychomo.html" , | 90 | "orga_psychomo.html" , |
91 | "orga_secret.html" , | 91 | "orga_secret.html" , |
92 | - "orga_standard.html" | ||
93 | - }; | 92 | + "orga_standard.html", |
93 | + "Ambulancier.jpg", | ||
94 | + "Kine.jpg", | ||
95 | + "ane.jpg", | ||
96 | + "assistante.jpg", | ||
97 | + "educateur.jpg", | ||
98 | + "ergo.jpg", | ||
99 | + "inf.jpg", | ||
100 | + "medecin.jpg", | ||
101 | + "ortho.jpg", | ||
102 | + "orthoptiste.jpg", | ||
103 | + "psychologue.jpg", | ||
104 | + "secretaire.jpg", | ||
105 | + "accueil1.png", | ||
106 | + "accueil2.png", | ||
107 | + "accueil3.png", | ||
108 | + "accueil4.png", | ||
109 | + "apa1.png", | ||
110 | + "appareillage1.png", | ||
111 | + "assist1.png", | ||
112 | + "dame1.png", | ||
113 | + "dame2.png", | ||
114 | + "doc1.png", | ||
115 | + "doc2.png", | ||
116 | + "ecole1.png", | ||
117 | + "ecole2.png", | ||
118 | + "ergo1.png", | ||
119 | + "ergo2.png", | ||
120 | + "ergo3.png", | ||
121 | + "ergo4.png", | ||
122 | + "ergo5.png", | ||
123 | + "grands1.png", | ||
124 | + "grands2.png", | ||
125 | + "grands3.png", | ||
126 | + "inf1.png", | ||
127 | + "inf2.png", | ||
128 | + "inf3.png", | ||
129 | + "kine1.png", | ||
130 | + "kine10.png", | ||
131 | + "kine11.png", | ||
132 | + "kine12.png", | ||
133 | + "kine2.png", | ||
134 | + "kine3.png", | ||
135 | + "kine4.png", | ||
136 | + "kine5.png", | ||
137 | + "kine6.png", | ||
138 | + "kine7.png", | ||
139 | + "kine8.png", | ||
140 | + "kine9.png", | ||
141 | + "moyens1.png", | ||
142 | + "moyens2.png", | ||
143 | + "moyens3.png", | ||
144 | + "moyens4.png", | ||
145 | + "moyens5.png", | ||
146 | + "ortho1.png", | ||
147 | + "ortho2.png", | ||
148 | + "ortho3.png", | ||
149 | + "orthopto1.png", | ||
150 | + "pediatre1.png", | ||
151 | + "petits1.png", | ||
152 | + "petits2.png", | ||
153 | + "petits3.png", | ||
154 | + "petits4.png", | ||
155 | + "psy1.png", | ||
156 | + "psy2.png", | ||
157 | + "psy3.png", | ||
158 | + "psychomo1.png", | ||
159 | + "secret1.png", | ||
160 | + "secret2.png"}; | ||
161 | + | ||
94 | @Override | 162 | @Override |
95 | protected void onCreate(Bundle savedInstanceState) { | 163 | protected void onCreate(Bundle savedInstanceState) { |
96 | super.onCreate(savedInstanceState); | 164 | super.onCreate(savedInstanceState); |
@@ -103,15 +171,26 @@ public class MainActivity extends AppCompatActivity | @@ -103,15 +171,26 @@ public class MainActivity extends AppCompatActivity | ||
103 | public void onClick(View v) { | 171 | public void onClick(View v) { |
104 | // TODO Auto-generated method stub | 172 | // TODO Auto-generated method stub |
105 | CreateFile(); | 173 | CreateFile(); |
106 | - new DownloadFileAsync().execute(url + dir[0] ,url + dir[1], url +dir[2], url+dir[3], | ||
107 | - url+dir[4], url+dir[5], url+dir[6], url+dir[7], url+dir[8], url+dir[9], | ||
108 | - url+dir[10], url+dir[11], url+dir[12], url+dir[13], url+dir[14], url+dir[15],url+dir[16], | ||
109 | - url+dir[17], url+dir[18], url+dir[19], url+dir[20], url+dir[21], url+dir[22], | 174 | + new DownloadFileAsync().execute( |
175 | + url+dir[0] ,url+dir[1], url+dir[2], url+dir[3], url+dir[4], url+dir[5], | ||
176 | + url+dir[6], url+dir[7], url+dir[8], url+dir[9], url+dir[10], url+dir[11], | ||
177 | + url+dir[12], url+dir[13], url+dir[14], url+dir[15],url+dir[16], url+dir[17], | ||
178 | + url+dir[18], url+dir[19], url+dir[20], url+dir[21], url+dir[22], | ||
110 | url+dir[23], url+dir[24], url+dir[25], url+dir[26], url+dir[27], url+dir[28], url+dir[29], | 179 | url+dir[23], url+dir[24], url+dir[25], url+dir[26], url+dir[27], url+dir[28], url+dir[29], |
111 | url+dir[30], url+dir[31], url+dir[32], url+dir[33], url+dir[34], url+dir[35], url+dir[36], | 180 | url+dir[30], url+dir[31], url+dir[32], url+dir[33], url+dir[34], url+dir[35], url+dir[36], |
112 | url+dir[37], url+dir[38], url+dir[39], url+dir[40], url+dir[41], url+dir[42], url+dir[43], | 181 | url+dir[37], url+dir[38], url+dir[39], url+dir[40], url+dir[41], url+dir[42], url+dir[43], |
113 | url+dir[44], url+dir[45], url+dir[46], url+dir[47], url+dir[48], url+dir[49], url+dir[50], | 182 | url+dir[44], url+dir[45], url+dir[46], url+dir[47], url+dir[48], url+dir[49], url+dir[50], |
114 | - url+dir[51], url+dir[52], url+dir[53], url+dir[54]);//OK | 183 | + url+dir[51], url+dir[52], url+dir[53], url+dir[54],url+dir[55] ,url+dir[56], url+dir[57], url+dir[58], |
184 | + url+dir[59], url+dir[60], url+dir[61], url+dir[62], url+dir[63], url+dir[64], | ||
185 | + url+dir[65], url+dir[66], url+dir[67], url+dir[68], url+dir[69], url+dir[70], | ||
186 | + url+dir[71], url+dir[72], url+dir[73], url+dir[74], url+dir[75], url+dir[76], | ||
187 | + url+dir[77], url+dir[78], url+dir[79], url+dir[80], url+dir[81], url+dir[82], url+dir[83], | ||
188 | + url+dir[84], url+dir[85], url+dir[86], url+dir[87], url+dir[88], url+dir[89], url+dir[90], | ||
189 | + url+dir[91], url+dir[92], url+dir[93], url+dir[94], url+dir[95], url+dir[96], url+dir[97], | ||
190 | + url+dir[98], url+dir[99], url+dir[100], url+dir[101], url+dir[102], url+dir[103], url+dir[104], | ||
191 | + url+dir[105], url+dir[106], url+dir[107], url+dir[108],url + dir[109] ,url+dir[110], url+dir[111], url+dir[112], | ||
192 | + url+dir[113], url+dir[114], url+dir[115], url+dir[116], url+dir[117], url+dir[118], | ||
193 | + url+dir[119], url+dir[120], url+dir[121], url+dir[122]);//OK | ||
115 | } | 194 | } |
116 | }); | 195 | }); |
117 | } | 196 | } |