Manilla 2D XML - Trouble Adding a New Tab! - Windows Mobile Development and Hacking General

Does anyone know where ive gone wrong and why it doesnt work?
Ive done the follwoing
Under Tabs i have added the following
<HomeWidget enable="1" tab_bg_icon="7,8" tab_icon="69,70" big_icon="29,30" />
<CalenderWidget enable="1" tab_bg_icon="23,24" tab_icon="172,173" big_icon="63,64" />
<OperatorWidget enable="0" tab_bg_icon="120,129" tab_icon="145,147" big_icon="200,218" />
This shows up as an option under the manilla 2d customizer by Mpenguin14
And also i have added this in teh main body of the xml as coding for the tab itself
<CalenderWidget>
<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" />
<Property name="IDHMWG_LINE_IMG" id="100" value="180" />
<Property name="IDHMWG_LINE1_IMGPOS" id="101" value="28,148" />
<Property name="IDHMWG_LINE2_IMGPOS" id="102" value="28,177" />
<Property name="IDHMWG_LINE3_IMGPOS" id="103" value="28,206" />
<Property name="IDHMWG_DATE_RECT" id="104" value="28,127,212,148" />
</CalenderWidget>
However when i try and reload m2d it wont load so i think there is an error somewhere but i dont know if i have missed a bit out!!
Any Ideas?????

Please ask questions in the right forum, or under the correct thread relating to your developed program.

Related

TF3D problem with right virtual soft menu key in SMS tab

I have problem with right virtual soft menu key in SMS (Messages) tab in Touchflo 3D. There is no problem with this right menuin other tabs of tf3d and I can open menu for all the tabs except messages. Does somebody know what do I need to change to make it work ?
I've the same problem, somebody knows how to fix ?
fix
install new theme ... this helped me ...
Done, i solved the problem, in my 26948339_manila i add this
<SimpleDialog Name="MessagesGizmoResponse_Forward.dialog" PackageName="HTC">
<ComponentReference Name="dialogItem" Mode9Path="HTC\simpledialog.mode9" Component="SimpleDialog" SmartComponent="true" />
<DialogItem Name="Menu">
<DialogItem Name="New" Title="[[IDS_MESSAGING_NEW]]" />
<DialogItem Name="Reply" Title="[[IDS_MESSAGING_REPLY]]" />
<DialogItem Name="Forward" Title="[[IDS_MESSAGING_FORWARD]]" />
<DialogItem Name="Delete" Title="[[IDS_MESSAGING_DELETE]]" />
</DialogItem>
</SimpleDialog>
for more information you can see this:
http://forum.xda-developers.com/showthread.php?p=2695679#post2695679
thank you sir
antonhio said:
Done, i solved the problem, in my 26948339_manila i add this
<SimpleDialog Name="MessagesGizmoResponse_Forward.dialog" PackageName="HTC">
<ComponentReference Name="dialogItem" Mode9Path="HTC\simpledialog.mode9" Component="SimpleDialog" SmartComponent="true" />
<DialogItem Name="Menu">
<DialogItem Name="New" Title="[[IDS_MESSAGING_NEW]]" />
<DialogItem Name="Reply" Title="[[IDS_MESSAGING_REPLY]]" />
<DialogItem Name="Forward" Title="[[IDS_MESSAGING_FORWARD]]" />
<DialogItem Name="Delete" Title="[[IDS_MESSAGING_DELETE]]" />
</DialogItem>
</SimpleDialog>
for more information you can see this:
http://forum.xda-developers.com/showthread.php?p=2695679#post2695679
Click to expand...
Click to collapse
I was about to hard reset again because of this problem...but this worked like a charm...(and relieves me from a headache...) thanks
Same for me, i'm gonna try this! thank you
thanks a lot for help.it works, finally I solved this issue

changing the word 'slide' on the lockscreen to something else

Hello, this is my first post on this forum, so sorry if it's in the wrong thread.
I searched around on the internet , and couldn't find an answer too my question.
i would like to change the word 'slide' on the lockscreen to my own name.
does someone know how i to do that?
wowojaakie said:
Hello, this is my first post on this forum, so sorry if it's in the wrong thread.
I searched around on the internet , and couldn't find an answer too my question.
i would like to change the word 'slide' on the lockscreen to my own name.
does someone know how i to do that?
Click to expand...
Click to collapse
It is a Text value in the Lockscreen CPR's. The CPR's are a XML layout file. Open them with any text editor like notepad/wordpad/etc... The files are found in \Windows\ or \Windows\Lockscreen\. They are named LS_LockScene_480x800.cpr & LS_LockScene_800x480.cpr or htc_LS_LockScene_480x800.cpr & htc_LS_LockScene_800x480.cpr.
Find these lines of code;
Code:
<Text ID="TapOrSlide" Top="90" Width="800" Height="34" FontFamily="Tahoma" FontSize="9" Wrap="False" HorizontalAlignment="Center" VerticalAlignment="Middle" InnerTextType="Resource" Text="shellresapps.dll,18150">
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
</Text>
<Text ID="SlideToUnlock" Top="90" Width="800" Height="34" FontFamily="Tahoma" FontSize="9" Wrap="False" HorizontalAlignment="Center" VerticalAlignment="Middle" InnerTextType="Resource" Text="shellresapps.dll,18149">
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
</Text>
Delete InnerTextType="Resource" from both entries & change what's in the " after Text= to what ever you want.
Note: there are 2 seperate Text entries you see there. One is for the "Slide" text when you have no Notifications & the other is for when you have Notifications.
thx, i will try that, i will leave a comment if it works.
thx, it works! i know it's a maybe stupid change, but i like my phone a lot more now

x264/H.264 High profile support ??

Guys does this mobile play x264(H.264) high profile
(not the basline or main profiles which it already supports)
like atleast BoB reenc, minishares, mSD 480p tv shows minitheatre animes (low bitrates High @ L2.1 3.1 and 4.1 - around 200mb size for 1 hr)
with moboplayer, dice player etc etc player
anyone guys ...almost everybody visiting this section must own a blade unlike other forums
planning on gettting this phone ...need replies asap
max for zte blade camera coding:
<EncoderProfile quality="high" fileFormat="mp4" duration="60">
<Video codec="h263"
bitRate="2000000"
width="800"
height="480"
frameRate="30" />
<Audio codec="aac"
bitRate="48000"
sampleRate="16000"
channels="1" />
<VideoEncoderCap name="h263" enabled="true"
minBitRate="64000" maxBitRate="2000000"
minFrameWidth="176" maxFrameWidth="800"
minFrameHeight="144" maxFrameHeight="480"
minFrameRate="1" maxFrameRate="30" />
KapTmaH said:
max for zte blade camera coding:
<EncoderProfile quality="high" fileFormat="mp4" duration="60">
<Video codec="h263"
bitRate="2000000"
width="800"
height="480"
frameRate="30" />
<Audio codec="aac"
bitRate="48000"
sampleRate="16000"
channels="1" />
<VideoEncoderCap name="h263" enabled="true"
minBitRate="64000" maxBitRate="2000000"
minFrameWidth="176" maxFrameWidth="800"
minFrameHeight="144" maxFrameHeight="480"
minFrameRate="1" maxFrameRate="30" />
Click to expand...
Click to collapse
I have blade with 5mpix camera (RBM One in RedBull mobile) and 640x480 is max 800x480 freezes camera

New LEO Advanced for WP7 v2.6.57.0 (14 languages)

http://forum.xda-developers.com/showthread.php?p=24489201
New LEO Advanced for WP7 v2.6.57.0 (14 languages)
Hd2 Leo wp7<br />
<br />
<font color="blue"><b>Old versions </b></font>
<br />
<font color="Blue"><b>In other ROMs New Installation Fix:<br />
1. Install File WPfix.xap Run (Fix Button) Click......
oboy
thank you very much

Improving Audio Quality in Video

I've had a problem with the sound quality of my Mi A2 when recording video. I'm a musician and I like to take videos of myself playing music but ever since I got this phone, I haven't been able to do so because the music sounds like garbage because of the sound quality. But I finally figured out a way to improve the quality significantly.
Pre-Requisites
Android Pie (I think Oreo will work as well)
Root
Root Explorer + Build.prop Editor
Instructions
- Locate media_profiles.xml and media_profiles_sdm660_v1.xml in /system/etc/
Open each file with an editor and change each profile's audio bitrate from 156000 to 256000
from
<EncoderProfile quality="1080p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="20000000"
width="1920"
height="1080"
frameRate="30" />
<Audio codec="aac"
bitRate="156000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
Click to expand...
Click to collapse
to
<EncoderProfile quality="1080p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="20000000"
width="1920"
height="1080"
frameRate="30" />
<Audio codec="aac"
bitRate="256000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
Click to expand...
Click to collapse
alternatively if the editor you are using supports it, you can do a quick Find & Replace and do it for the whole file.
- Edit your Build.prop file
Find audio.deep_buffer.media and change the value from true to false
audio.deep_buffer.media=false
Click to expand...
Click to collapse
Let me know if you have any questions.

Resources