Phone Emulator

Posts 1–3 of 3 · Page 1 of 1
Phone Emulator
// The actions get called on a specific update of the device display.
switch( update )
{
case 2: emulator.reflection = "indoor"; break; // time: 1086
case 5: emulator.reflection = "outdoor"; break; // time: 2336
case 8: emulator.reflection = "sunshine"; break; // time: 3651
case 11: emulator.reflection = "none"; break; // time: 5079
case 14: emulator.stop(); break; // time: 6115

default:
handled = false;
}

if (handled) // There was an action at this update.
{
// Add code that only gets executed if there was an action.

// In this case: Take a snapshot if the reflection has changed.
emulator.snapshot();
}
}
what is this?O.o
now why should i do that?and hows this pic share?
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Talk with us