`
isiqi
  • 浏览: 16497852 次
  • 性别: Icon_minigender_1
  • 来自: 济南
社区版块
存档分类
最新评论

定制WM6.5的拔号界面,dialer,

阅读更多

定制WM6.5的拔号界面,在XDA上面看到的文章,转过来看一下,很多有用的设置,

原文地址:http://forum.xda-developers.com/showthread.php?t=525055

Tuto: Modification of a Dialer


Hello everyone,

This Tuto allowing to intervene directly on the resources of your dialer. Ie DLL.

Advantages: No additional resource, only those origins. So, not one gram of fat added. A Dialer 0%

The items made available or examples are from the rom of my LG KS20 QVGA (Rom KisS20 of Spocky), you've got to bring such changes to your devices.

1) Resources (DLL)

First you must know that your dialer is mainly used two resources:

The first is by "default" of WM. It tapres.dll.0xxx.mui nome. XXX is the language ID (FR = 040C -> tapres.dll.040C.mui).

The second is usually the manufacturer. It is here to provide additional functionality (type video calls), and / or skin.

The name of this DLL can be found here ->
[HKEY_LOCAL_MACHINE\Security\Phone\Skin] [HKEY_LOCAL_MACHINE \ Security \ Phone \ Skin]
"Enabled" = dword: 00000000
"ext" = "\ windows \ Your DLL.dll"

To activate one or the other DLLs just go "Enabled" = dword: 0000000 0 (DLL by default) to 1 (DLL constructor).

Every two are in the Windows directory on your PPC.

2) Images

Your default dialer is composed of the following images:

dlrback_land.png--------->Background dialer
dlrback_port.png
dlrbtndef_dwn_land.gif--> buttons for the functions call, speed dial, etc.
dlrbtndef_dwn_port.gif
dlrbtndef_up_land.gif
dlrbtndef_up_port.gif
dlrbtnend_up_land.gif----> button "Done"
dlrbtnend_up_port.gif
dlrbtntalk_up_land.gif----> button "Call"
dlrbtntalk_up_port.gif
dlrbtn_dwn_land.gif------> other keys (numbers / letters)
dlrbtn_dwn_port.gif
dlrbtn_up_land.gif
dlrbtn_up_port.gif

"Port" for the portrait, "Land" for landscape mode. "Up" for keys not pressed, "dwn" for keys pressed.

Note: The images used for the buttons' functions are identical to the keys "call status".

3) Tools

A resource editor (Restorator, Resource Tuner etc)
Unsigned MSigner and to sign your DLL amended
Drawing software (Photoshop and others)
The notepad ...

4) Modification of resources (DLL)

With the help of your editor and open your DLL go to the directory Dialog.
Resources 22500 (dialer, landscape mode), 22507 (call status landscape mode), 22509 (dialer, portrait mode) and 22510 (call status portrait) define your dialer.

Change the size and location of images of different elements. The keyboard, calling area, the SmartDial ....

Example using 0 to 9

CONTROL "", 23041, "MS_PHONE_BUTTON", 1, 122, 52, 36 ----> Size
CONTROL "", 23042, "MS_PHONE_BUTTON", 54, 122, 52, 36 ----> Implantation


CONTROL "", 23041, "MS_PHONE_BUTTON", 1 , 122 , 52 , 36 CONTROL "", 23041, "MS_PHONE_BUTTON", 1, 122, 52, 36

The first 2 values Y = X and X is the location left / right and Y up / down
Les 2 autres = taille de l'image, longueur / largeur The other 2 = image size, length / width

Save your new DLL, sign here and test.

5) Edit pictures


Nothing special ...
In my previous example the size of my images is increased to 52x36. So I created new images to this size. They replace the original (dlrbtndef_dwn_port.gif, dlrbtndef_up_land.gif, dlrbtndef_up_port.gif ...).

Open a simple image viewer, Edit -> resize -> Save 52x36
Go to the experts Edit -> change color -> Save.

6) Putting

I change my DLL tapres.dll.040C.mui as follows:

Dialog 22509
..... .....
CONTROL "", 23041, "MS_PHONE_BUTTON", 1, 122, 52, 36
CONTROL "", 23042, "MS_PHONE_BUTTON", 54, 122, 52, 36
CONTROL "", 23043, "MS_PHONE_BUTTON", 107, 122, 52, 36
CONTROL "", 23044, "MS_PHONE_BUTTON", 1, 159, 52, 36
CONTROL "", 23045, "MS_PHONE_BUTTON", 54, 159, 52, 36
CONTROL "", 23046, "MS_PHONE_BUTTON", 107, 159, 52, 36
CONTROL "", 23047, "MS_PHONE_BUTTON", 1, 196, 52, 36
CONTROL "", 23048, "MS_PHONE_BUTTON", 54, 196, 52, 36
CONTROL "", 23049, "MS_PHONE_BUTTON", 107, 196, 52, 36
CONTROL "", 23051, "MS_PHONE_BUTTON", 1, 233, 52, 36
CONTROL "", 23050, "MS_PHONE_BUTTON", 54, 233, 52, 36
CONTROL "", 23052, "MS_PHONE_BUTTON", 107, 233, 52, 36
CONTROL "", 23001, "MS_PHONE_BUTTON", 160, 122, 79, 36
CONTROL "", 23012, "MS_PHONE_BUTTON", 160, 159, 79, 36
CONTROL "", 23011, "MS_PHONE_BUTTON", 160, 196, 79, 36
CONTROL "", 23014, "MS_PHONE_BUTTON", 160, 233, 79, 36
..... .....

I also modified the original image and I let [HKEY_LOCAL_MACHINE \ Security \ Phone \ Skin]
"Enabled" = dword: 0000000 0 for do not call for anything else (DLL or manufacturer, or a skin external).

7) The base registry

From the registry you can almost touch any settings for your Skin, images, text, color etc..

In the example above you can see that the text is centered, the figures are white, the letters are gray. Here's how to proceed.

"Enabled" = dword: 0000000 1 ---> Skin Active

[HKEY_LOCAL_MACHINE\Security\Phone\Skin\Dialer\Land scape\dialbutton]
"MajorFlags" = dword: 00000005 -------> centered position of Figures dialer
"MinorFlags" = dword: 00000005 -------> centered position of Letters from the dialer
"MajorColor" = dword: 00ffffff -------> Color numbers (00ffffff = white)
"MinorColor" = dword: 00cccccc -------> Color Letters (00cccccc = gray)

[HKEY_LOCAL_MACHINE\Security\Phone\Skin\Dialer\Port rait\dialbutton]
"MinorFlags" = dword: 00000005
"MajorFlags" = dword: 00000005
"MajorColor" = dword: 00ffffff
"MinorColor" = dword: 00cccccc

It can also affect the style MajorRCMLStyle ...

For the "textFlags" position is defined as:
dword 0 : top left
dword 1 : top center
dword 2 : top right
dword 4 : middle left
dword 5 : middle center (default value)
dword 6 : middle right
dword 8 : bottom left
dword 9 : bottom center
dword A : bottom right

In my case I have 5, one centering vertically and horizontally (almost perfect because the numbers and letters are struggling a bit them secret ) )

"textLayoutFlags" : "textLayoutFlags":

dword 0: Numbers, then Letters
dword 1: Letters, Numbers then
dword 2: just numbers (no letters)

In my case I have 0 ...

Here are the keys to BDR that you can learn:

HKLM\Security\Phone\Skin\ =This is the main key for phone skins

DIALER = This is the main dial pad that you dial phone numbers on
LANDSCAPE and PORTRAIT = The orientation or the dialpad phone you should change the same key in both orientation to stay consistant

text = Text in the "Information Window" The one that shows last number dialed, contact info, etc.
textColor = Color of the text in the information window
dialbutton = Button that displays the numbers you dial
MajorColor = Color of the dial button digits
MinorColor = Color of the dial button text (abc, def)
MajorRCMLStyle = Size of the dial button digit, HEX values are smaller for the 1 through 20 for the largest (1a, 1b, 1c, etc.)
MinorRCMLStyle = Size of the dial button text, HEX values are smaller for the 1 through 20 for the largest (1a, 1b, 1c, etc.)
MajorFlags = Position of the number on the dial button, values are 1-13 (decimal), IE, Upperleft, bottomright, center, etc. (Hex 400 makes the text invisible)
MinorFlags = Position of the text on the dial button, values are 1-13 (decimal), IE, Upperleft, bottomright, center, etc. (Hex 400 makes the text invisible)
bmpNormal = Path to the Bitmap you see when you are not touching the keys
bmpPressed = Path to the Bitmap you see when you press a dial key
bmpFlags = Adjusts the alignment of the bitmap on the key, not commonly used
bmpTransparency = Transparency of the bitmap and ability to show through backgound image
bmpDisabled = Bitmap that displays if the button goes disabled, like "Hold" is disabled if you are not in call
erasebutton = Button that erases digits you typed (Usually the back arrow)
bmpNormal = Path to the Bitmap you see when you are not touching the keys
bmpPressed = Path to the Bitmap you see when you press a dial key
bmpFlags = Adjusts the alignment of the bitmap on the key, not commonly used
bmpTransparency = Transparency of the bitmap and ability to show through backgound image
bmpDisabled = Bitmap that displays if the button goes disabled, like "Hold" is disabled if you are not in call
VerbButton = Button (f0f0f special value will make the text invisible on the textFlags key)
textColor = Color of the "Call History" text
textRCMLStyle = Size of the "Call History" text, HEX values are smaller for the 1 through 20 for the largest (1a, 1b, 1c, etc.)
textFlags = Position of the "Call History" button on the text, values are 1-13 (decimal), IE, Upperleft, bottomright, center, etc.
bmpNormal = Path to the Bitmap you see when you are not touching the keys
bmpPressed = Path to the Bitmap you see when you press a dial key
bmpFlags = Adjusts the alignment of the bitmap on the key, not commonly used
bmpTransparency = Transparency of the bitmap and ability to show through backgound image
bmpDisabled = Bitmap that displays if the button goes disabled, like "Hold" is disabled if you are not in call
textDisabledColor = text of the disabled in the event a button goes disabled
other = Only used to define the page background
bmpNormal = Path to the image used in the background
TalkEndButton = The setting for the combined talk / end button
bmpDisabledEnd = Bitmap that displays when the End button goes disabled
bmpDisabledTalk = Bitmap that displays when the Talk button goes disabled
bmpFlagsEnd = Adjusts the alignment of the bitmap on the key, not commonly used
bmpFlagsTalk = Adjusts the alignment of the bitmap on the key, not commonly used
bmpNormalEnd = Path to the Bitmap you see when End is active
bmpNormalTalk = Path to the Bitmap you see when Talk is active
bmpPressedEnd = Path to the Bitmap you see when End is pressed
bmpPressedTalk = Path to the Bitmap you see when Talk is pressed
bmpTransparencyEnd = End of the bitmap and ability to show through backgound image
bmpTransparencyTalk = Transparency of the Talk bitmap and ability to show through backgound image Transparency

PROGRESS = This is the "In Call" page you see when on a call
VerbButton = Call History Button (special value f0f0f will make the text invisible on the textFlags key)
textColor = Color of the "Call History" text
textRCMLStyle = Size of the "Call History" text, values are HEX 1a for the smaller through 20 for the largest (1a,1b,1c, etc)
textFlags = Position of the "Call History" text on the button, values are 1-13 (decimal), IE, Upperleft, bottomright, center,etc
bmpNormal = Path to the Bitmap you see when you are not touching the keys
bmpPressed = Path to the Bitmap you see when you press a dial key
bmpFlags = Adjusts the alignment of the bitmap on the key, not commonly used
bmpTransparency = Transparency of the bitmap and ability to show through backgound image
bmpDisabled = Bitmap that displays if the button goes disabled, like "Hold" is disabled if you are not in call
other =Only used to define the background page
bmpNormal = Path to the image used in the background
TalkEndButton = The setting for the combined talk/end button
bmpDisabledEnd = Bitmap that displays when the End button goes disabled
bmpDisabledTalk = Bitmap that displays when the Talk button goes disabled
bmpFlagsEnd = Adjusts the alignment of the bitmap on the key, not commonly used
bmpFlagsTalk = Adjusts the alignment of the bitmap on the key, not commonly used
bmpNormalEnd = Path to the Bitmap you see when End is active
bmpNormalTalk = Path to the Bitmap you see when Talk is active
bmpPressedEnd = Path to the Bitmap you see when End is pressed
bmpPressedTalk = Path to the Bitmap you see when Talk is pressed
bmpTransparencyEnd = Transparency of the End bitmap and ability to show through backgound image
bmpTransparencyTalk = Transparency of the Talk bitmap and ability to show through backgound image
text =Text in the "Information Window" The one that shows last number dialed, contact info, etc
textColor = Color of the text in the information window


8) Problems

For those who have already installed a dialer skin you must delete all keys added to the registry.

HKEY_LOCAL_MACHINE \ Security \ Phone \ Skin \ DIALER (entire directory)
HKEY_LOCAL_MACHINE \ Security \ Phone \ Skin \ PROGRESS (entire directory)

For HTC but also look here, if problems in displaying and / or color persisted.

[HKEY_LOCAL_MACHINE\Software\HTC\PHONE]
[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\SmartDialing]


You have to play.

Thank you to Mat for the Tuto clarification and all those involved in its improvement.

Rickou26 (Or Arthemus).
<!-- / message --><!-- sig -->
分享到:
评论

相关推荐

    Android 5.0拨号盘 Dialer源码

    在Android系统中,拨号盘(Dialer)是用户与电话功能交互的主要界面,它允许用户输入电话号码并发起呼叫。在Android 5.0版本中,Dialer进行了许多改进,以提供更好的用户体验和性能优化。这篇文档将深入探讨Android ...

    Android4.4 拨号器Dialer

    分离后的Dialer允许OEM厂商和开发者根据需求进行定制,打造具有特色的拨号器应用,如添加特殊功能或改变界面风格。 总的来说,Android 4.4的Dialer与Contact剥离,是对Android系统组件设计的一次重要改进,它提升...

    漂亮的拨号界面

    【漂亮的拨号界面】是一个专为用户打造美观且实用的T9拨号面板的应用程序。在移动设备上,拨号界面是用户与电话系统交互的主要入口,因此设计一个直观、高效的拨号界面对于提升用户体验至关重要。T9拨号面板,全称为...

    wm可用的STK文件

    安装过程会向系统添加STK支持,使用户能够使用SIM卡上的服务菜单,并通过手机的拨号界面访问STK应用。 总结来说,这个压缩包提供了解决Windows Mobile 6.5设备缺乏STK服务的问题,用户可以通过安装包含的CAB文件来...

    Android拨号界面

    1. `Dialer`类:在Android源代码中,拨号界面的核心类通常是名为`Dialer`的类。这个类实现了界面的布局和逻辑,包括与系统服务的交互,如电话服务和联系人服务。 2. `Intent`和`BroadcastReceiver`:Android通过`...

    jquery phone网页版手机拨号界面特效

    《jQuery Phone:构建网页版手机拨号界面特效详解》 在现代网页开发中,交互性和用户体验成为了评判一个网站质量的重要标准。jQuery作为一个强大的JavaScript库,为开发者提供了丰富的功能和便捷的API,使得创建...

    ios5拨号界面原版本

    如果你选择越狱你的iPhone,可以通过Cydia安装定制的插件,如“iDialer”来改变拨号界面的外观和功能。 3. **恢复旧版系统**:如果条件允许,可以备份数据后,将设备恢复到iOS 5的固件版本。但请注意,这可能会失去...

    Android Studio拨号界面.rar

    本示例中,我们关注的是如何利用Intent机制来实现从自定义应用跳转到系统内置的应用,如拨号、联系人和短信界面。以下是对这些功能的详细说明: 首先,Intent在Android中扮演着消息对象的角色,用于启动一个...

    江安宽带拨号器Dialer208

    【江安宽带拨号器Dialer208】是一款专为江安地区的网络用户提供宽带连接服务的应用程序。它的主要功能是帮助用户便捷地进行宽带的拨号上网,确保网络连接的稳定和快速。在使用过程中,如果遇到旧版本的问题或者需要...

    Android5.0 Dialer拨号盘源码

    这是Android 5.0拨号盘的主要代码库,涵盖了拨号界面的UI设计、数字输入逻辑以及拨号功能的实现。Dialer模块可能包含Activity(如DialtactsActivity)、Fragment(如DialpadFragment)以及自定义View(如...

    CyberonVoiceCommander-v2.0(普通话版)

    "Cyberon Voice Commander v2.0",作为一款专为wm6和wm6.5操作系统设计的智能语音控制应用,将传统的手动操作转变为语音指令,极大地提高了用户的操作效率,尤其对于普通话用户,这款应用提供了更加便捷的语音拨号和...

    Dialer应用,一个拨号应用

    《Dialer应用详解:构建你的智能拨号器》 Dialer应用是智能手机系统中的核心组件之一,它负责处理用户的电话拨打、接听以及通话记录和联系人的管理。本篇文章将深入探讨Dialer应用的功能特性,特别是针对描述中提及...

    10.0在电话拨号盘(Dialer app中)通过暗码进入工厂测试模式.rar

    在Android系统中,拨号盘(Dialer app)不仅是用来进行日常通话的工具,它还隐藏了一些开发者和高级用户可能会用到的功能,比如工厂测试模式。本篇将详细讲解如何在Android 10.0版本中通过在拨号盘上输入特定暗码来...

    Android开发之Intent跳转到系统应用中的拨号界面、联系人界面、短信界面.

    Android Intent 跳转到系统应用中的拨号界面、联系人界面、短信界面 在 Android 开发中,Intent 是一个非常重要的概念,它允许不同的应用程序之间进行交互和通信。在本文中,我们将探讨如何使用 Intent 跳转到系统...

    jQuery手机拨号界面特效代码.zip

    《jQuery手机拨号界面特效代码解析与应用》 在当今移动互联网时代,用户界面的交互体验成为了提升网站吸引力的关键因素之一。"jQuery手机拨号界面特效代码"正是这样一款为网页设计者提供的一种创新的、个性化的手机...

    iphone 纯黑拨号界面

    iphone4 5.01纯黑拨号界面

    HTML5模拟动态的Android手机拨号界面.rar

    HTML5模拟动态的Android手机拨号界面,在这个界面中包括了屏幕顶部的TAB切换,像手机一样可在联系人、拨号界面之间滑动切换,当然这个其实就是一个TAB了,另外还实现了拨号效果,鼠标单击数字,会显示出号码,闲来无...

    手机拔号界面源文件PSD

    手机拔号界面源文件PSD

    HTC HD2 Android 4.0.3 ROM_3

    下一个界面选择进入Yes开头的选项。 屏幕出现Install from sdcard complete说明刷机完成。 按返回键回到Recovery根菜单,选择reboot system now,并按拨号键确认。 这样子就把ROM刷成功了。

    android 仿i9100拨号界面素材

    在Android平台上,开发一款应用程序,特别是模仿知名设备如Samsung Galaxy S2(i9100)的拨号界面,是一项需要深入理解用户交互设计、UI/UX原则以及Android SDK技术的任务。这款“android 仿i9100拨号界面素材”提供...

Global site tag (gtag.js) - Google Analytics