P.S. 由於時間關係, 我已準備好已修改的檔案



From the WebOS Quick Install menu, choose "Receive File."

Paste this into the first text box: /usr/palm/applications/com.palm.app.phone/app/controllers/pin-assistant.js

Then choose a destination for the file in the second text box.

Click the "Receive" button and in a second or two, it will tell you the transfer is done.

Go to wherever you chose to receive the file (BE SURE TO MAKE A BACKUP OF THE FILE BEFORE YOU MODIFY IT!!!), open it in a text editor (Notepad in Windows, TextEdit on a Mac).

If you don't have line numbers, just key down 32 lines until you see a line with the following: setup: function() {

Immediately after that line (or after the { if you want) paste this: this.unlock(); return;

Save the file, and then go back to WebOS Quick Install

This time choose "Send File"

In the first box, select the file you just modified

In the second box, paste this: /usr/palm/applications/com.palm.app.phone/app/controllers/

Click "Send" and when it's done, reboot your phone.

All those steps sound time consuming, but really, it'll take you only a minute or two. Hope this helps.



Code Example :


this.appControl = Mojo.Controller.getAppController();
this.appAssistant = this.appControl.assistant;

this.saveCurrentState = null;
this.requiredLockMode = 'password';

setup: function() {
try {
this.unlock(); return;
Mojo.Log.info("Phone App - Pin Assistant -- Setup Called");
this.controller.document.body.className = "firstuse";

this.controller.get('dialogTitle').innerHTML = $L("Enter Password");

Add comment

Security code