|
楼主 |
发表于 2011-3-1 21:31
|
显示全部楼层
回复 56楼 zzzhhh 的帖子
setTutorialOverride: function(response) {
5 v2 i. E/ a/ S: y //We are looking for whether this is a Pre+ with the button
# K. D' t' b: p, C3 r$ D7 z if (response["com.palm.properties.DMMODEL"].substring(0, 4) == "P101") {
* S1 x; ]; V9 [7 _4 d Mojo.Log.error("This is a Pre+");7 P8 Y, X- T& a* T' v" B7 }2 Z
Mojo.Controller.stageController.pushScene('back-tutorial-override-main');5 h' h- Y6 }6 t9 V0 n5 F
} else {, }# I6 z0 [6 d' p! x
Mojo.Log.error("This is a Pre");
# M7 O, y- S) c; k, Q Mojo.Controller.stageController.pushScene('back-tutorial-override-main');- k# A% Y1 d, M! j
5 @, C" L' @9 e+ y# T& n1 `
for 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.. 4 n% m8 E0 G& h" S0 {- X0 n
, d0 {# A2 T) s2 ~, q0 Z
so I said it's almost same with the first one...
" a8 C1 O* ]* ]( ?# q' ?3 I
, }+ x8 v2 ]5 K0 ]# z0 P- \# [9 hTwo rom work good for pre...
; B2 X5 y' O& N6 M8 H# V
7 k0 q- e) b8 x0 f) u* Xthanks...
: @; T! x2 {1 F4 @2 C/ f- e2 J. n
1 O3 @, \+ E* B+ D9 N[ Edited by lankk on 2011-3-1 21:36 ] |
|