Skip to content
December 26, 2009 / windperson

Opera Mobile 10 beta 2 在HTC Diamond 初代機上支援G-Sensor的方法

必須要編輯windows mobile 6.1的Registry,最不用在機子上裝額外軟體的方法是用 Visual Studio 2008的Remote Registry Editor,裝Windows Mobile 6.1 Professional SDK之後就會出現imageWindows Mobile 6 Professional Device的選項:

 

 

 

 

 

 

 

然後瀏覽到機子Registry的HKEY_CURRENT_USERSoftwareHTCHTCSENSORGSensorModuleName,新增一個String(字串)的Registry Entry,名稱隨便打,但Value(值)要看Opera是裝在記憶體還是內建的flash上:

  • 記憶體:Program FilesOpera Mobile 10Opera10-armv4i.exe
  • flash:Internal StorageProgram FilesOpera Mobile 10Opera10-armv4i.exe
    (在這裡是之前有用Advanced Config把內建flash的名稱改成"Internal Storage"的情形)

在機子Registry的HKEY_CURRENT_USERSoftwareHTCHTCSENSORGSensorWhiteList,新增一個String Registry Entry,名稱Opera10,Value為OM10-ML-MainWndClass

Soft-Reset(搓後面的重置鈕)之後,重灌Opera Mobile 10 beta 2,就支援自動螢幕旋轉。

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: