[REF] Manilla 2D HomeSettings.XML Explained [ONLINE] - Windows Mobile Software Development

Now that the all new Manilla 2D is in place and still evolving. Themes and skins are flowing in which is a very very good and sporting spirit
This thread is a Reference for explaining each value and coding of the HTCHomeSettings.xml file which manages the whole Manilla 2D eye candy show into it
To start with, this is a default (.xml) file without any modifications: Default XML
Everyone who knows about xml coding can help by posting the explainations. This thread can serve everyone as a how-to for skinning
Code:
Code:
<HTCHome version="3.00.0" device="ELFIN" portrait="0,0,240,268" landscape="0,0,320,268">
<ImageList path="\Windows">
Explaination:
Version = theme skin "Version"
Device = theme for which "Device"
Portrait = size of the "Portrait" screen
Landscape = size of the "Landscape" screen
ImageList Path = path where the below mentioned images are called from for the skins
---------------------------------------------------------------------------------------------------------
Code:
Code:
<Property name="IDHMWG_CLOCKBTN_1STDIGIT_POS" id="3" value="[COLOR=red]31[/COLOR], [COLOR=blue]46[/COLOR]" />
<Property name="IDHMWG_CLOCKBTN_2NDDIGIT_POS" id="4" value="[COLOR=red]68[/COLOR], [COLOR=blue]46[/COLOR]" />
<Property name="IDHMWG_CLOCKBTN_SEPARATOR_POS" id="5" value="[COLOR=red]21[/COLOR], [COLOR=blue]31[/COLOR]" />
<Property name="IDHMWG_CLOCKBTN_3RDDIGIT_POS" id="6" value="[COLOR=red]126[/COLOR], [COLOR=blue]46[/COLOR]" />
<Property name="IDHMWG_CLOCKBTN_4THDIGIT_POS" id="7" value="[COLOR=red]165[/COLOR], [COLOR=blue]46[/COLOR]" />
Explaination:
This is for the digital clock. The Red changes left <--> right. Blue changes up <--> dn
Thanks to Showaco: Also, properties ending with POS (instead of RECT) having 4 numbers, first set of two is Portrait and second set of two is Landscape. "(P)Left, Top, (L)Left, Top"
---------------------------------------------------------------------------------------------------------
Code:
Code:
<Property name="IDHMWG_CLOCKBTN_BGIMG" id="0" [COLOR=teal]value[/COLOR]="40" />
<Property name="IDTABWG_TABBG_IMAGE" id="4" [COLOR=teal]value[/COLOR]="2" />
Explaination:
value in IDs with "BGIMG" or "IMAGE" specifies the Index of image mentioned in the ImageList
---------------------------------------------------------------------------------------------------------
Code:
Code:
<Property name="IDTABWG_TABBG_ICON_WIDTH" id="3" value="[COLOR=red]48[/COLOR], [COLOR=blue]55[/COLOR]" />
Explaination:
To increase the width of the tab icons to use bigger tabs images, change the value
The Red changes width. Blue changes height
---------------------------------------------------------------------------------------------------------
Code:
Code:
<HomeWidget enable="1" tab_bg_icon="7,8" tab_icon="69,70" big_icon="29,30" />
<PeopleWidget enable="1" tab_bg_icon="19,20" tab_icon="168,169" big_icon="59,60" />
Explaination:
In the Widget list, the values of icons refer to the Index of images in ImageList
Changing the ImagePath works but you have to edit the image path/call out further down in the .xml as well. Only changing on top creates kind off a mess - Thanks to tyguy
Top entry from:
Code:
<HTCHome version="3.00.0" device="OPAL" portrait="0,0,240,268" landscape="0,0,320,268">
<ImageList path="\Windows">
To (just an example)
Code:
<HTCHome version="3.00.0" device="OPAL" portrait="0,0,240,268" landscape="0,0,320,268">
<ImageList path="[B][COLOR=royalblue]\ManilaThemes\Original[/COLOR][/B]">
& All other "\Windows" calls as in
Code:
<MyFavesWidget>
<Property name="IDTMOWG_BTN_RECT" id="0" value="60,68,180,183" />
<Property name="IDTMOWG_ICON_RECT" id="1" [COLOR=black]value="[B]\Windows[/B]\hh_myfaves[/COLOR]_button.png" />
To
Code:
<MyFavesWidget>
<Property name="IDTMOWG_BTN_RECT" id="0" value="60,68,180,183" />
<Property name="IDTMOWG_ICON_RECT" id="1" value="[B][COLOR=royalblue]\ManilaThemes\Original[/COLOR][/B]\hh_myfaves_button.png" />
---------------------------------------------------------------------------------------------------------
Code:
Code:
<Property name="IDLAUNCHERWG_COLUMN" id="3" value="[COLOR=red]4[/COLOR]" />
Explaination: Thanks to imfloflo
To change no of columns in Launcher Widget to 4
---------------------------------------------------------------------------------------------------------
Code:
Code:
<Property name="IDHMWG_CALENDARBTN1_RECT" id="40" value="[COLOR=red]12,177,228,207[/COLOR]" />
Explaination: Thanks to Showaco
The four numbers are "Left, Top, Width, Height". If a property ending in RECT has eight numbers, then first set of four is for Portrait and second set is for Landscape orientations. "(P)Left, Top, Width, Height, (L)Left, Top, Width, Height"
Explaination: Thanks to btprice2001
Certain RECT settings use "Left, Top, Width, Height" while others use "X1, Y1, X2, Y2"
e.g.
(IDHMWG_CLOCKBTN_RECT) under the HomeWidget uses "X1, Y1, X2, Y2"
(IDWEWG_LOCATIONTXT_RECT) under the WeatherWidget uses "Left, Top, Width, Height"
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
---------------------------------------------------------------------------------------------------------
Weather panel coding
Explaination: Thanks to Showaco
http://forum.xda-developers.com/showpost.php?p=2840521&postcount=132
Note: This thread is not related to Manilla 2D issues or problems but just a reference to coding in the .xml file

Code:
<Image index="0" name="hh_fw_background.png" />
Explaination:
index = the number shortcut of the image
name = the name of the picture you want to use
This line is to add shortcut number to the image which are in the variable path.
To use an image just choose the number of the index
Code:
<Tabs>
Explaination:
This line is for all the tabs you can access at the bottom of manilla 2D
Each tabs must be declare like :
Code:
<HomeWidget enable="1" tab_bg_icon="7,8" tab_icon="69,70" big_icon="29,30" />
Explaination:
Enable = switch show or hide the tab. value avalaible are 1 to show and 0 to hide the tab
tab_bg_icon = that here you use the number of the index for the image you want to use, this image is when you select a tab
tab_icon = this image is the tab unselected
big_icon = this image is the picture you can see at the center of the screen when you switch tab
There are values for each icon, e.g. "7,8" - the first is the icon and the second is the image mask used.
You can change the order of the tabs by simply switching lines
Code:
<WidgetProperty>
Explaination:
WidgetProperty= contain the property of each tab you declare in <Tabs>
Code:
<Property name="IDTABWG_WIDGET_RECT" id="0" value="0,0,240,230, 0,0,320,230" />
Explaination:
name = the name of the element to show
id = the position order to show element on the screen, 0 = first element show
value = the position on the screen base on portrait and landscape variable ( see previous post)
You can stack element just add new line with an increment id number. Don't know the limitation??
edit : You can change the police font on the today screen only not all the phone with this cab see attachement(thanks to lepsyfou )
use the attache files and use this post for changing police: >>>> http://forum.xda-developers.com/showpost.php?p=2684364&postcount=39
edit : If you want to complete no problem ( Mikulec)
should we describe the 23 files bmp,png,brn use ?
edit : MUST SEE this post http://forum.xda-developers.com/showpost.php?p=2827653&postcount=581 &
http://forum.xda-developers.com/showpost.php?p=2820754&postcount=545 thanx you very much to >>>>> mpenguin14 <<<<< for all he does with this M2D

imfloflo;2659031
Explaination[/B said:
:
Enable = switch show or hide the tab. value avalaible are1 to show and 0 to hide the tab
tab_bg_icon= that here you use the number of the index for the image you want to use, this image is when you select a tab
tab_icon= this image is the tab unselected
big_icon= this image is the picture you can see at the center of the screen when you switch tab
Click to expand...
Click to collapse
There are values for each icon, e.g. "7,8" - the first is the icon and the second is the image mask used.

Yeah, i know but i try to understand the property value in <TabWidget>
cause there is the size of the picture witouth the bottom windows bar but there is other property which contain thier own position like "IDTABWG_UNREAD_TABBG_POS" ***_POS.
If some skinners knows ?
Code:
<Property name="IDHMWG_CLOCKBTN_1STDIGIT_POS" id="3" value="[COLOR=red]31[/COLOR], [COLOR=blue]46[/COLOR]" />
The Red changes left <--> right. Blue changes up <--> dn
Thk to ababrekar

Thanks imfloflo for showing me this thread!
This is what I was looking for!
At the moment I try to imitate the OSX dock but I have a few problems.
Look here:
What I need to know is:
How can I get the Icons on the tabbar a little bit higher?
@imfloflo:
here, http://forum.xda-developers.com/showpost.php?p=2662957&postcount=546, you asked me for some details.. what exactly do you want to know?

Just change the size of hh_fw_tabicon_home.png and the mask associate
i just increase the size , i haven't make new mask to have a high quality of picture
Code:
<Property name="IDLAUNCHERWG_COLUMN" id="3" value="[COLOR=Red]4[/COLOR]" />
Here is the value to change to have 4 column in the widget launcher

landscape can be done too
just needs quite a bit of editing
in TabWidget set landscape value to 140
Code:
<Property name="IDTABWG_TAB_RECT" id="2" value="0,217,240,51, 0,140,320,51" />
but this wil requier all page to be editi to fitt landscape

PseudoReal said:
perfect guys!
Thank you. If someone can find out how to add more appointments under the hometab, this would be very nice!
Click to expand...
Click to collapse
Would like to know this, too!
thx Aileen

Code:
<Property name="IDHMWG_CALENDARBTN1_RECT" id="40" value="12,177,228,207" />
<Property name="IDHMWG_CALENDARBTN1_IMG" id="41" value="46" />
<Property name="IDHMWG_CALENDARBTN1_IMGPOS" id="42" value="29,184" />
<Property name="IDHMWG_CALENDARBTN1_TEXT_RECT" id="43" value="55,178,213,206" />
<Property name="IDHMWG_CALENDARBTN1_TEXT_TIME_RECT" id="44" value="29,178,213,192" />
<Property name="IDHMWG_CALENDARBTN1_TEXT_SUBJECT_RECT" id="45" value="29,192,213,206" />
<Property name="IDHMWG_CALENDARBTN1_IMG_FOCUS" id="46" value="181" />
<Property name="IDHMWG_CALENDARBTN1_IMG_FOCUS_DN" id="47" value="182" />
maybe by adding 2 times and modify this lines

For some reason my am/pm won't show up; I have both the big digital clock and analog clock. I've tried using the htchomesettings.xml for the clocks posted on the m2d clock/wallpaper thread that has the same setup as mine (large digital and analog clock) where the am/pm shows, but that didn't work. Anyone have any ideas?

ababrekar said:
WHOO!! Too many questions
1. For non leading zero - Change the time in settings to h:mm:tt
2. The clock can move up to the edge of the screen or out of it. Depends on where you want the clock or items
Click to expand...
Click to collapse
I'm having a hard time finding the value to move the clock up so that the first digit is level with the rest; even if I use the same value the first digit is a tad higher or lower. I'm sure it has something to do with IDHMWG_CLOCKBTN_BGIMG_POS. Also, what is IDHMWG_CLOCKBTN_RECT?

showaco said:
Ok, in the home widget portion of xml, why are we missing so many id numbers? Are these the missing id numbers for the landscape values? And if they are, does anyone have them?
Click to expand...
Click to collapse
I just noticed this in people and music there are referans to landscape
form music
Code:
<Property name="IDMUSICWG_PREVIOUSBTN_RECT" id="7" value="200, 47, 238, 85" />
<Property name="IDMUSICWG_PREVIOUSBTN_RECT_LANDSCAPE" id="8" value="26, 27, 91, 62" />
so this might be something we need to look into

showaco said:
yeah, I noticed that as well, thats why it makes sense that the missing id numbers could be the rest of the landscape items or maybe different items that could be displayed but aren't included in this xml. It would be great to get the landscape working correctly.
Click to expand...
Click to collapse
yes that sound right

@crazylilboy first post of me
http://forum.xda-developers.com/attachment.php?attachmentid=115441&d=1222190185

@stopthebus i think it is in registry
@crazylilboy just open the cab, change the font in the cab and change the setup.xml and install your cab.
in RED values to change if you want to make the cab manually
Code:
<wap-provisioningdoc>
<characteristic type="Install">
<parm name="InstallPhase" value="install"/>
<parm name="AppName" value="[COLOR=Red]HolyFox Q-Style[/COLOR]"/>
<parm name="InstallDir" value="%CE1%\[COLOR=Red]HolyFox\QQ[/COLOR]" translation="install"/>
<parm name="NumDirs" value="1"/>
<parm name="NumFiles" value="4"/>
<parm name="NumRegKeys" value="0"/>
<parm name="NumRegVals" value="0"/>
<parm name="NumShortcuts" value="0"/>
</characteristic>
<characteristic type="FileOperation">
<characteristic type="%CE2%" translation="install">
<characteristic type="MakeDir"/>
<characteristic type="[COLOR=Red]neue helvetica 35 thin.ttf[/COLOR]" translation="install">
<characteristic type="Extract">
<parm name="Source" value="[COLOR=Red]NEUEHE~1.001[/COLOR]"/>
<parm name="WarnIfSkip"/>
</characteristic>
</characteristic>
<characteristic type="[COLOR=Red]neue helvetica 55 roman.ttf[/COLOR]" translation="install">
<characteristic type="Extract">
<parm name="Source" value="[COLOR=Red]NEUEHE~1.002[/COLOR]"/>
<parm name="WarnIfSkip"/>
</characteristic>
</characteristic>
<characteristic type="[COLOR=Red]Helvetica LT 35 Thin.ttf[/COLOR]" translation="install">
<characteristic type="Extract">
<parm name="Source" value="[COLOR=Red]HELVET~1.003[/COLOR]"/>
<parm name="WarnIfSkip"/>
</characteristic>
</characteristic>
<characteristic type="[COLOR=Red]Helvetica LT 55 Roman.ttf[/COLOR]" translation="install">
<characteristic type="Extract">
<parm name="Source" value="[COLOR=Red]HELVET~1.004[/COLOR]"/>
<parm name="WarnIfSkip"/>
</characteristic>
</characteristic>
</characteristic>
</characteristic>
<characteristic type="Registry"/>
</wap-provisioningdoc>

Well, I have found that the following registry entry is created:
Code:
HKLM\Software\HTC\Manili2D\Font
and also
Code:
HKLM\Software\HTC\Manili2D\TodayItem\TextColor
However, I have not had a chance to play with either of these to see what all can be done.

MyFaves Widget
I just noticed in the xml file:
Code:
<MyFavesWidget>
<Property name="IDTMOWG_BTN_RECT" id="0" value="60,68,180,183" />
<Property name="IDTMOWG_ICON_RECT" id="1" value="\Windows\hh_myfaves_button.png" />
<Property name="IDTMOWG_IMAGE_FILE" id="2" value="0,25,240,225" />
</MyFavesWidget>
My thoughts:
1) The second line, Property name = "IDTMOWG_ICON_RECT", the value refers to an image file.
2) Property name="IDTMOWG_IMAGE_FILE", the value refers to rectangular boundary points.
I'm not an expert, but my IQ tells me that the two values must have been interchanged.
I tried interchanging the values, but no luck in displaying the MyFaves widget.
Now, my questions are, do we have an edited version of the HTCHomeSettings.xml inside the cab file? Who edited it? Can we get hold of the original so we can take a look at the Myfaves widget?

you can see myFaves apps in android here http://www.youtube.com/watch?v=CSm0VgGwBSo
http://androidcommunity.com/blog/wp.../09/t-mobile_g1_getting_started_manual_13.jpg and in the notice pdf here http://support.t-mobile.com/knowbase/root/public/tm30235.pdf

I did a different context on the path of the images:
Code:
<ImageList path="\Windows">
<Image index="0" name="[B][SIZE="3"]\m2d_images\[/SIZE][/B]hh_fw_background.png" />
<Image index="1" name="\m2d_images\hh_fw_title.png" />
<Image index="2" name="\m2d_images\hh_fw_tab_bg_fill.png" />
<Image index="3" name="\m2d_images\hh_fw_tabbtn.png" />
<Image index="4" name="\m2d_images\hh_fw_tabbtn_mask.png" />
<Image index="5" name="\m2d_images\hh_fw_unread.png" />
<Image index="6" name="\m2d_images\hh_fw_unread_mask.png" />
<Image index="7" name="\m2d_images\hh_fw_tabbg_home.png" />
:
:
I've added it directly on the image path (\m2d_images\) and not modifying the imageList path attribute. Why? Everything is working except for one: for some reason my Album Art doesn't display properly, so I traced the root cause to this property:
Code:
[B][SIZE="3"]<Image index="119" name="hh_music_record.png" />[/SIZE][/B]
<Image index="120" name="\m2d_images\hh_fw_tabbg_operator.png" />
It seems hh_music_record.png doesn't want to be read anywhere other than \Windows. So if you have a music cover art problem I think this will fix it

pfcsabre said:
I did a different context on the path of the images:
It seems hh_music_record.png doesn't want to be read anywhere other than \Windows. So if you have a music cover art problem I think this will fix it
Click to expand...
Click to collapse
nice discovery.
I'll try
Code:
<ImageList path="[B]\m2d_images[/B]">
<Image index="0" name="hh_fw_background.png" />
<Image index="1" name="hh_fw_title.png" />
<Image index="2" name="hh_fw_tab_bg_fill.png" />
<Image index="3" name="hh_fw_tabbtn.png" />
<Image index="4" name="hh_fw_tabbtn_mask.png" />
<Image index="5" name="hh_fw_unread.png" />
<Image index="6" name="hh_fw_unread_mask.png" />
<Image index="7" name="hh_fw_tabbg_home.png" />
:
:
and
Code:
[B][SIZE="3"]<Image index="119" name="[B]\Windows\[/B]hh_music_record.png" />[/SIZE][/B]
<Image index="120" name="hh_fw_tabbg_operator.png" />
At least I just have to edit 2 lines of code instead of hundreds of lines.
Hope it works...

Related

Operator Settings with .XML file

Can someone, post a .XML or .CAB file that succeds installing his Operator settings on the Qtek9000/Jasjar?
I've tried the one caming at i-mate JasJar ExtROM, but it doesn't work (connections part).
Guess, some details syntax/keys changed, and the file was not properly updated.
Maybe I can fix it by comparation with something that works.
Here's what I use for T-Mobile USA. Hope it helps. Just change the keys to your operator settings.
<wap-provisioningdoc>
<characteristic type="CM_ProxyEntries">
<characteristic type="WAP-{18AD9FBD-F716-ACB6-FD8A-1965DB95B814}">
<parm name="SrcId" value="{18AD9FBD-F716-ACB6-FD8A-1965DB95B814}" />
<parm name="DestId" value="{7022E968-5A97-4051-BC1C-C578E2FBA5D9}" />
<parm name="Proxy" value="216.155.165.50:9201" />
<parm name="Type" value="2" />
<parm name="Enable" value="1" />
</characteristic>
</characteristic>
<characteristic type="CM_GPRSEntries">
<characteristic type="T-Zones GPRS">
<parm name="DestId" value="{ADB0B001-10B5-3F39-27C6-9742E785FCD4}" />
<parm name="Enabled" value="1" />
<parm name="UserName" value="" />
<parm name="Password" value="" />
<parm name="Domain" value="" />
<parm name="SpecificIpAddr" value="0" />
<parm name="IpAddr" value="" />
<parm name="SpecificNameServers" value="0" />
<parm name="DnsAddr" value="" />
<parm name="AltDnsAddr" value="" />
<parm name="WinsAddr" value="" />
<parm name="AltWinsAddr" value="" />
<characteristic type="DevSpecificCellular">
<parm name="BearerInfoValid" value="1" />
<parm name="GPRSInfoValid" value="1" />
<parm name="GPRSInfoProtocolType" value="2" />
<parm name="GPRSInfoL2ProtocolType" value="PPP" />
<parm name="GPRSInfoAccessPointName" value="internet2.voicestream.com" />
<parm name="GPRSInfoAddress" value="" />
<parm name="GPRSInfoDataCompression" value="1" />
<parm name="GPRSInfoHeaderCompression" value="1" />
<parm name="GPRSInfoParameters" value="" />
</characteristic>
</characteristic>
<characteristic type="T-Mobile WAP">
<parm name="DestId" value="{18AD9FBD-F716-ACB6-FD8A-1965DB95B814}" />
<parm name="Enabled" value="1" />
<parm name="UserName" value="" />
<parm name="Password" value="" />
<parm name="Domain" value="" />
<parm name="SpecificIpAddr" value="0" />
<parm name="IpAddr" value="" />
<parm name="SpecificNameServers" value="0" />
<parm name="DnsAddr" value="" />
<parm name="AltDnsAddr" value="" />
<parm name="WinsAddr" value="" />
<parm name="AltWinsAddr" value="" />
<characteristic type="DevSpecificCellular">
<parm name="BearerInfoValid" value="1" />
<parm name="GPRSInfoValid" value="1" />
<parm name="GPRSInfoProtocolType" value="2" />
<parm name="GPRSInfoL2ProtocolType" value="PPP" />
<parm name="GPRSInfoAccessPointName" value="wap.voicestream.com" />
<parm name="GPRSInfoAddress" value="" />
<parm name="GPRSInfoDataCompression" value="1" />
<parm name="GPRSInfoHeaderCompression" value="1" />
<parm name="GPRSInfoParameters" value="" />
</characteristic>
</characteristic>
</characteristic>
<characteristic type="Registry">
<characteristic type="HKLM\Software\CDL">
<parm name="Operator" value="T-Mobile Internet US" datatype="string"/>
<parm name="Version" value="2.0" datatype="string"/>
</characteristic>
</characteristic>
<characteristic type="Registry">
<nocharacteristic type="HKLM\Software\Apps\i-mate T-Mobile Internet US"/>
<nocharacteristic type="HKLM\Security\AppInstall\i-mate T-Mobile Internet US"/>
<nocharacteristic type="HKLM\Security\AppInstall\i-mate T-Mobile Internet US\ExecutableFiles"/>
</characteristic>

CAB in Qtek Ext Rom

Anyone know what this cab in the Qtek Ext Rom does?...
MP_mHub_WWE_051226.CAB
Thanks in advance to whoever has the answer
Code:
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKCR\3gpfile\Shell\Save\Save Location" translation="filesystem" >
<parm name="Default" datatype="string" value="My Videos" translation="filesystem" />
</characteristic>
<characteristic type="HKCR\mp4file\Shell\Save\Save Location" translation="filesystem" >
<parm name="Default" datatype="string" value="My Videos" translation="filesystem" />
</characteristic>
<characteristic type="HKCR\avifile\Shell\Save\Save Location" translation="filesystem" >
<parm name="Default" datatype="string" value="My Videos" translation="filesystem" />
</characteristic>
<characteristic type="HKCR\m4afile\Shell\Save\Save Location" translation="filesystem" >
<parm name="Default" datatype="string" value="My Music" translation="filesystem" />
</characteristic>
<characteristic type="HKCR\m4vfile\Shell\Save\Save Location" translation="filesystem" >
<parm name="Default" datatype="string" value="My Videos" translation="filesystem" />
</characteristic>
<characteristic type="HKCR\wavfile\Shell\Save\Save Location" translation="filesystem" >
<parm name="Default" datatype="string" value="My Music" translation="filesystem" />
</characteristic>
<characteristic type="HKCR\midifile\Shell\Save\Save Location" translation="filesystem" >
<parm name="Default" datatype="string" value="My Music" translation="filesystem" />
</characteristic>
<characteristic type="HKCR\amrfile\Shell\Save\Save Location" translation="filesystem" >
<parm name="Default" datatype="string" value="My Music" translation="filesystem" />
</characteristic>
<characteristic type="HKCR\awbfile\Shell\Save\Save Location" translation="filesystem" >
<parm name="Default" datatype="string" value="My Music" translation="filesystem" />
</characteristic>
<characteristic type="HKCR\bmpimage\Shell\Save\Save Location" translation="filesystem" >
<parm name="Default" datatype="string" value="My Pictures" translation="filesystem" />
</characteristic>
<characteristic type="HKCR\wbmpimage\Shell\Save\Save Location" translation="filesystem" >
<parm name="Default" datatype="string" value="My Pictures" translation="filesystem" />
</characteristic>
<characteristic type="HKCR\gifimage\Shell\Save\Save Location" translation="filesystem" >
<parm name="Default" datatype="string" value="My Pictures" translation="filesystem" />
</characteristic>
<characteristic type="HKCR\jpegimage\Shell\Save\Save Location" translation="filesystem" >
<parm name="Default" datatype="string" value="My Pictures" translation="filesystem" />
</characteristic>
<characteristic type="HKCR\pngimage\Shell\Save\Save Location" translation="filesystem" >
<parm name="Default" datatype="string" value="My Pictures" translation="filesystem" />
</characteristic>
<characteristic type="HKLM\SOFTWARE\OEM\3rdversion\mHub" translation="filesystem" >
<parm name="Version" datatype="string" value="v6.0.2.x.8" translation="filesystem" />
<parm name="Customer" datatype="string" value="Generic" translation="filesystem" />
<parm name="Language" datatype="string" value="PTG" translation="filesystem" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
Appears mainly to set default saving locations for a bunch of multimedia filetypes, and the last bit presumably makes one of the qtek apps work right.

xml proxy settings

Hello
I am trying to do a cab file using xml for GPRS/3G setting, I manage to set everything except proxy (by the way I don't know how to get the GUID so I use any) here is my code:
Code:
<wap-provisioningdoc>
<characteristic type="CM_Networks">
<nocharacteristic type="My ISP"/>
<nocharacteristic type="My Work Network"/>
<characteristic type="myisp">
<parm name="DestId" value="{CC300297-CA19-4209-9145-D073F6D662F8}" />
</characteristic>
</characteristic>
<characteristic type="CM_GPRSEntries">
<characteristic type="myisp">
<parm name="DestId" value="{CC300297-CA19-4209-9145-D073F6D662F8}" />
<parm name="Enabled" value="1" />
<parm name="UserName" value="" />
<parm name="Password" value="" />
<parm name="Domain" value="" />
<parm name="SpecificIpAddr" value="0" />
<parm name="IpAddr" value="" />
<parm name="SpecificNameServers" value="0" />
<parm name="DnsAddr" value="" />
<parm name="AltDnsAddr" value="" />
<parm name="WinsAddr" value="" />
<parm name="AltWinsAddr" value="" />
<characteristic type="DevSpecificCellular">
<parm name="BearerInfoValid" value="1" />
<parm name="GPRSInfoValid" value="1" />
<parm name="GPRSInfoProtocolType" value="2" />
<parm name="GPRSInfoL2ProtocolType" value="PPP" />
<parm name="GPRSInfoAccessPointName" value="myisp" />
<parm name="GPRSInfoAddress" value="" />
<parm name="GPRSInfoDataCompression" value="1" />
<parm name="GPRSInfoHeaderCompression" value="1" />
<parm name="GPRSInfoParameters" value="" />
</characteristic>
</characteristic>
</characteristic>
<characteristic type="CM_ProxyEntries">
<nocharacteristic type="CM_ProxyEntries" />
<!-- <characteristic type="HTTP-{458FFA30-65BC-4525-A66B-6163E220EAB9}">
<parm name="Proxy" value="ip:port" />
<parm name="Type" value="1" />
<parm name="Enable" value="1" />
</characteristic>
</characteristic>
-->
<characteristic type="HTTP-{601D5133-3344-4B5F-B105-C57EF2D97E0D}">
<parm name="SrcId" value="{601D5133-3344-4B5F-B105-C57EF2D97E0D}" />
<parm name="DestId" value="{436EF144-B4FB-4863-A041-8F905A62C572}" />
<parm name="Proxy" value="ip:port" />
<parm name="Type" value="1" />
<parm name="Enable" value="1" />
</characteristic>
</characteristic>
<!-- <Set default connection>
<characteristic type="CM_Planner" >
<characteristic type="PreferredConnections">
<parm name="{436EF144-B4FB-4863-A041-8F905A62C572}" value="myisp" />
</characteristic>
</characteristic>
-->
</wap-provisioningdoc>
I have the ip and port. so can anybody tell me wut is wrong with the proxy part as it is the only thing which is not set
thanx
have a look here, configs for just about every operator are in xml format, maybe you can deconstruct one of these to find your answer
http://forum.xda-developers.com/showthread.php?t=303046

Preserving wifi and mail settings across flashes

UC and similar methods help in easy installation of cabs after rom flashes. I also use a xml method to set my favourite registry settings - sms delivery receipt, no automatic time zone, etc. I have not been able to figure out a way to preserve the following things across rom flashes.
a. Wireless settings (I have no-broadcast wlans in the places that I frequent and need to add these manually)
b. email accounts (My company lets me access company email with IMAP over SSL. I end up doing this manually after every flash.)
c. GPRS settings (Network wizard helps, but I still need to select the country and the provider)
Any pointers are appreciated.
kernelguy
Wifi
Provisioning with IMAP example
For AirTel try:
Code:
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKCU\ControlPanel\PhoneExtendFunction">
<parm name="GPRSAuthenticationMethod" datatype="integer" value="1" />
<parm name="CBSTCe" datatype="integer" value="0" />
<parm name="CBSTSpeed" datatype="integer" value="7" />
</characteristic>
<characteristic type="HKLM\Comm\ConnMgr\Planner\Settings" >
<parm name="SuspendResume" datatype="multiplestring" value="~GPRS!" />
<parm name="RetryCount" datatype="integer" value="3" />
</characteristic>
<characteristic type="HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings">
<parm name="EnableAutoDetect" value="1" datatype="integer" />
<parm name="ConnMgrExternalPath" datatype="binary" value="RPFuQ/u0Y0igQY+QWmLFcg==" />
</characteristic>
<characteristic type="HKLM\Comm\Cellular\CellTsp">
<parm name="DisableCPHSOverride" datatype="integer" value="0" />
</characteristic>
<characteristic type="HKLM\Software\HTC\RIL\RILConfig">
<parm name="EnableSpnOnsEonsFeature" datatype="integer" value="1" />
</characteristic>
<characteristic type="HKLM\Software\Tao\intent\network">
<parm name="DefaultNetwork" value="{FE87523A-32FE-42f5-9FDB-81E96EA54D30}" datatype="string" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
and:
Code:
<wap-provisioningdoc>
<characteristic type="CM_Networks">
<characteristic type="AirTel Internet Settings">
<parm name="DestId" value="{128CD846-1169-4130-8551-F9DF71095F77}"/>
</characteristic>
</characteristic>
<characteristic type="CM_Networks">
<characteristic type="AirTel WAP Settings">
<parm name="DestId" value="{FE87523A-32FE-42f5-9FDB-81E96EA54D30}"/>
</characteristic>
</characteristic>
<characteristic type="CM_Networks">
<characteristic type="AirTel MMS Settings">
<parm name="DestId" value="{1D1FEBF0-AC0B-4ec2-B6A2-7113A0BC0F87}"/>
</characteristic>
</characteristic>
<characteristic type="CM_GPRSEntries">
<characteristic type="AirTel GPRS">
<parm name="DestId" value="{128CD846-1169-4130-8551-F9DF71095F77}"/>
<parm name="UserName" value=""/>
<parm name="Password" value=""/>
<parm name="AlwaysOn" value=""/>
<characteristic type="DevSpecificCellular">
<parm name="GPRSInfoValid" value="1"/>
<parm name="GPRSInfoAccessPointName" value="airtelgprs.com"/>
</characteristic>
</characteristic>
</characteristic>
<characteristic type="CM_GPRSEntries">
<characteristic type="AirTel WAP (GPRS)">
<parm name="DestId" value="{FE87523A-32FE-42f5-9FDB-81E96EA54D30}"/>
<parm name="UserName" value=""/>
<parm name="Password" value=""/>
<parm name="AlwaysOn" value=""/>
<characteristic type="DevSpecificCellular">
<parm name="GPRSInfoValid" value="1"/>
<parm name="GPRSInfoAccessPointName" value="airtelgprs.com"/>
</characteristic>
</characteristic>
</characteristic>
<characteristic type="CM_GPRSEntries">
<characteristic type="AirTel MMS">
<parm name="DestId" value="{1D1FEBF0-AC0B-4ec2-B6A2-7113A0BC0F87}"/>
<parm name="UserName" value=""/>
<parm name="Password" value=""/>
<parm name="AlwaysOn" value=""/>
<characteristic type="DevSpecificCellular">
<parm name="GPRSInfoValid" value="1"/>
<parm name="GPRSInfoAccessPointName" value="airtelmms.com"/>
</characteristic>
</characteristic>
</characteristic>
<characteristic type="CM_ProxyEntries">
<characteristic type="HTTP-{128CD846-1169-4130-8551-F9DF71095F77}">
<parm name="SrcId" value="{128CD846-1169-4130-8551-F9DF71095F77}"/>
<parm name="DestId" value="{436EF144-B4FB-4863-A041-8F905A62C572}"/>
<parm name="Proxy" value="new-inet:1159"/>
<parm name="Type" value="0"/>
<parm name="Enable" value="1"/>
</characteristic>
</characteristic>
<characteristic type="CM_ProxyEntries">
<characteristic type="WAP-{FE87523A-32FE-42f5-9FDB-81E96EA54D30}">
<parm name="SrcId" value="{FE87523A-32FE-42f5-9FDB-81E96EA54D30}"/>
<parm name="DestId" value="{7022E968-5A97-4051-BC1C-C578E2FBA5D9}"/>
<parm name="Proxy" value="202.56.231.117:9201"/>
<parm name="Type" value="2"/>
<parm name="Enable" value="1"/>
</characteristic>
</characteristic>
<characteristic type="CM_ProxyEntries">
<characteristic type="null-corp-{18AD9FBD-F716-ACB6-FD8A-1965DB95B814}">
<parm name="SrcId" value="{18AD9FBD-F716-ACB6-FD8A-1965DB95B814}"/>
<parm name="DestId" value="{A1182988-0D73-439E-87AD-2A5B369F808B}"/>
<parm name="Proxy" value="new-corp:1118"/>
<parm name="Type" value="0"/>
<parm name="Enable" value="1"/>
</characteristic>
</characteristic>
<characteristic type="CM_Planner">
<characteristic type="PreferredConnections">
<parm name="{436EF144-B4FB-4863-A041-8F905A62C572}" value="AirTel Internet Settings"/>
<parm name="{A1182988-0D73-439e-87AD-2A5B369F808B}" value=""/>
<parm name="{7022E968-5A97-4051-BC1C-C578E2FBA5D9}" value=""/>
</characteristic>
</characteristic>
<characteristic type="Registry">
<characteristic type="HKCU\ControlPanel\PhoneExtendFunction">
<parm name="GPRSAuthenticationMethod" value="1" datatype="integer"/>
</characteristic>
</characteristic>
<characteristic type="Registry">
<characteristic type="HKLM\SOFTWARE\ArcSoft\ArcSoft MMS UA\Config\mm1">
<parm name="DefaultSetting" value="SampleMMSC" datatype="string"/>
</characteristic>
<characteristic type="HKLM\SOFTWARE\ArcSoft\ArcSoft MMS UA\Config\mm1\MMSCSetting\SampleMMSC">
<parm name="Name" value="AirTel MMS" datatype="string"/>
<parm name="MmscURI" value="http://100.1.201.171:10021/mmsc" datatype="string"/>
<parm name="Gateway" value="100.1.201.172" datatype="string"/>
<parm name="GatewayPort" value="9201" datatype="integer"/>
<parm name="waptype" value="0" datatype="integer"/>
<parm name="SendDefault" value="307200" datatype="integer"/>
<parm name="ConnectionVia" value="{1D1FEBF0-AC0B-4ec2-B6A2-7113A0BC0F87}" datatype="string"/>
<parm name="WAP1SendDefaultSize" value="102400" datatype="integer"/>
<parm name="WAP2SendDefaultSize" value="307200" datatype="integer"/>
<parm name="ISP" value="SampleMMSC" datatype="string"/>
</characteristic>
</characteristic>
</wap-provisioningdoc>
Funky B said:
Wifi
Provisioning with IMAP example
For AirTel try:
...
Click to expand...
Click to collapse
Wow, that is neat! I am kicking myself for missing these posts in the UC thread. Thanks a lot for the pointers, and to the whole code for Airtel setup.
kernelguy

pre-configuring an IMAP4 account and make it unremovable

Hi everyone,
I'm just wondering if somebody here could help me out. For WM6.1 I'm thinking of creating a preconfigured-IMAP4 or POP3 email account and make it unremovable, i mean the Delete option is grayed out when a user wnats to delete it. Creating the pre-configured account is possible through:
<characteristic type="APPLICATION">
<parm name="APPID" value="110" />
<parm name="PROVIDER-ID" value="MyPOPMail" />
<parm name="TO-NAPID" value="IAP1" />
<characteristic type="APPADDR">
<parm name="ADDR" value="pop.mail.com" />
<characteristic type="PORT">
<parm name="PORTNBR" value="110" />
</characteristic>
</characteristic>
<characteristic type="APPAUTH">
<parm name="AAUTHNAME" value="IncomingName" />
<parm name="AAUTHSECRET" value="Password" />
</characteristic>
</characteristic>
<characteristic type="APPLICATION">
<parm name="APPID" value="25" />
<parm name="PROVIDER-ID" value="MyPOPMail" />
<parm name="TO-NAPID" value="IAP1" />
<parm name="FROM" value="[email protected]" />
<characteristic type="APPADDR">
<parm name="ADDR" value="out.mail.com" />
<characteristic type="PORT">
<parm name="PORTNBR" value="25" />
</characteristic>
</characteristic>
<characteristic type="APPAUTH">
<parm name="AAUTHNAME" value="OutgoingName" />
<parm name="AAUTHSECRET" value="Password" />
</characteristic>
</characteristic>
But how can you make it undeletable/unremovable? Is there any experts who's up to the challenege?

Categories

Resources