equal
deleted
inserted
replaced
205 { |
205 { |
206 Internal_PackageSupport.getDisplayInstance().syncExec(new Runnable() |
206 Internal_PackageSupport.getDisplayInstance().syncExec(new Runnable() |
207 { |
207 { |
208 public void run() |
208 public void run() |
209 { |
209 { |
210 System.out.println("Java Nokia UI API flashLights duration = "+duration); |
|
211 OS.MobileDevice_flashLights( |
210 OS.MobileDevice_flashLights( |
212 Internal_PackageSupport.initializeMobileDevice( |
211 Internal_PackageSupport.initializeMobileDevice( |
213 Internal_PackageSupport.getDisplayInstance()),duration); |
212 Internal_PackageSupport.getDisplayInstance()),duration); |
214 System.out.println("Java Nokia UI API End flashLights "); |
|
215 } |
213 } |
216 }); |
214 }); |
217 } |
215 } |
218 } |
216 } |
219 |
217 |
289 { |
287 { |
290 Internal_PackageSupport.getDisplayInstance().syncExec(new Runnable() |
288 Internal_PackageSupport.getDisplayInstance().syncExec(new Runnable() |
291 { |
289 { |
292 public void run() |
290 public void run() |
293 { |
291 { |
294 System.out.println("Java Nokia UI API start vibra with duration = "+vibraDuration); |
|
295 vibraSupported = OS.MobileDevice_vibration( |
292 vibraSupported = OS.MobileDevice_vibration( |
296 Internal_PackageSupport.initializeMobileDevice( |
293 Internal_PackageSupport.initializeMobileDevice( |
297 Internal_PackageSupport.getDisplayInstance()),vibraDuration); |
294 Internal_PackageSupport.getDisplayInstance()),vibraDuration); |
298 System.out.println("Java Nokia UI API End vibra "); |
|
299 } |
295 } |
300 }); |
296 }); |
301 } |
297 } |
302 if (!vibraSupported) |
298 if (!vibraSupported) |
303 { |
299 { |