|
楼主 |
发表于 2011-3-1 21:31
|
显示全部楼层
回复 56楼 zzzhhh 的帖子
setTutorialOverride: function(response) {
' i! K* y+ ^8 L" x //We are looking for whether this is a Pre+ with the button 9 I" [5 } O, X2 M0 h- O
if (response["com.palm.properties.DMMODEL"].substring(0, 4) == "P101") {
4 }5 E+ y# D/ g/ d Mojo.Log.error("This is a Pre+");: b, q. @, i) ~& s
Mojo.Controller.stageController.pushScene('back-tutorial-override-main');1 {9 d( M+ g3 t- x8 ~8 c; y, T
} else {
- h) g4 V& a$ c# }8 ` Mojo.Log.error("This is a Pre");
! J0 E* r7 V6 ^2 y4 [( F4 o* x Mojo.Controller.stageController.pushScene('back-tutorial-override-main');6 g, g4 d4 ^8 u: _0 _9 v$ x
$ a" c# q; K5 R8 q6 hfor pre ...you can found some diffent in firstuse-util.js...i set the pre also go the tutorial-cverride ......one more step in Gesture Tutorial function..
- B5 Z* E% `& s8 s2 d; R' k1 q: h2 T
so I said it's almost same with the first one...* N$ H: l2 [4 Q w# _- B& R
7 C6 a$ J$ g8 Y1 O
Two rom work good for pre...8 g4 o$ [- C; ~7 M s
% q+ }9 a; r. Vthanks...' \* H3 j3 `( g: A$ c+ a
0 A K4 r5 c; ~ ^! S! n* I[ Edited by lankk on 2011-3-1 21:36 ] |
|