(req) lockscreen 6.5 weather - Windows Mobile Development and Hacking General

hi guys i see this in modaco for omnia http://www.modaco.com/content-page/287749/omnia-windows-mobile-6-5-goodies/page/820/ can someone please make it work in other resolution (wvga,vga) please thanks in advanced and sorry my english

nirvanax said:
hi guys i see this in modaco for omnia http://www.modaco.com/content-page/287749/omnia-windows-mobile-6-5-goodies/page/820/ can someone please make it work in other resolution (wvga,vga) please thanks in advanced and sorry my english
Click to expand...
Click to collapse
It doesn't really work. It covers up notifications and you have to soft reset to get the weather updated. Not very convenient.

blazingwolf said:
It doesn't really work. It covers up notifications and you have to soft reset to get the weather updated. Not very convenient.
Click to expand...
Click to collapse
ok thanks for the information mods you can delete it

The idea of being able to have the weather on the lockscreen along with time and notifications is really nice though... it would be nice if someone figured out how to do so.

Ok so we know the current version of getting TWeather on the lockscreen to not work great. This is because it's replacing a specific Image. The Image is loaded once & that's it. My though is can someone make a DLL (Example: LS_TWeather.dll) that reads
Code:
HKLM:Software\Microsoft\CHome\TitaniumWeather\Page1
Code:
CurrentIcon="***"
&
Code:
CurrentTemp="***"
& using them as resouces. Than we use code like this in the LS_Lockscreen CPR's.
Code:
<Image ID="TweatherIcon" Left="75" Top="114" Width="100" Height="100" Visible="True" [COLOR="#ff0000"]Source="LS_TWeather.dll,1001"[/COLOR] />
<Text ID="TweatherTemp" Left="180" Top="114" Width="40" Height="100" Visible="True" FontFamily="Control Freak" FontSize="14" FontStyle="Regular" Wrap="False" HorizontalAlignment="Left" VerticalAlignment="Top" Trimming="EllipsisCharacter" Opacity="1.0" [COLOR="Red"]InnerTextType="Resource" Text="LS_TWeather.dll,1002"[/COLOR] >
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
</Text>
Than if TWeather is installed, we should by theory have the Weather show up onscreen & have it actually Dynamically Update as DLL resource are infact loaded dynamically as shown in with Clock. Just a thought.

Sorry that I'm digging up this thread, but this is very interesting, drkfngthdragnlrd. As far as I know, though, apps aren't able to use DLLs to store such information, but I am no real dev so I hope this is not true. Anybody can say something about this?

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

Manilla 2D XML - Trouble Adding a New Tab!

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.

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

[Help] Template Hubtiles with 2 colms

Hi,
I develop a APP where I need to use a hubtiles. But I don't know how I developer it in order to use hubtiles with 2 columns because it is content in a listbox. How should I implement it?
Thank you again
Hi,
After 2 weeks with developing the App, I thougth that I had finished, I was wrong because I have a problem with 2 columns of hubtiles. My new problem is that there are 3 scroll and I want to have 1 scroll (general). And now I have one general scroll that it do nothing and 2 individual scrolls. This is my code xaml:
Code:
<ScrollViewer VerticalScrollBarVisibility="Auto">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<Grid Margin="0,0,5,0">
<ListBox Name="lista" VerticalAlignment="Top" ScrollViewer.VerticalScrollBarVisibility="Disabled" SelectionChanged="Visionar" Height="535" >
<ListBox.ItemTemplate>
<DataTemplate>
<Grid Margin="5">
<toolkit:HubTile Title="{Binding Titulo}" Message="Ver" Source="{Binding Logo}" />
<toolkit:ContextMenuService.ContextMenu>
<toolkit:ContextMenu>
<toolkit:MenuItem x:Name="menu1" Header="Anclar" Click="mnuAnclar1"/>
</toolkit:ContextMenu>
</toolkit:ContextMenuService.ContextMenu>
</Grid>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
</Grid>
<Grid Grid.Column="2">
<ListBox Name="lista2" VerticalAlignment="Top" ScrollViewer.VerticalScrollBarVisibility="Disabled" SelectionChanged="Visionar" Height="535" >
<ListBox.ItemTemplate>
<DataTemplate>
<Grid Margin="5">
<toolkit:HubTile Title="{Binding Titulo}" Message="Ver" Source="{Binding Logo}" />
<toolkit:ContextMenuService.ContextMenu>
<toolkit:ContextMenu>
<toolkit:MenuItem x:Name="menu2" Header="Anclar" Click="mnuAnclar1"/>
</toolkit:ContextMenu>
</toolkit:ContextMenuService.ContextMenu>
</Grid>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
</Grid>
</Grid>
</ScrollViewer>
Are there somebody that can help me in order to get one scroll general?
Thank you again

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.

Categories

Resources