Scrolling list - Windows Phone 7 Software Development

Hi guys,
Anyone have experience with lists? I've made one that seems to work fine (enough for now), but my problem is that it isn't scrolling in the emulator. I can see one item partially, and I can scroll up just enough to see this, but I cannot see any more items. I know there are like 41 items in the list, so I cannot figure why it's not showing.
Here's my xaml
Code:
<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
<StackPanel Name="SearchPanel">
<Image Height="150" HorizontalAlignment="Left" Margin="0,6,0,0" Name="image1" Stretch="Fill" VerticalAlignment="Top" Width="450" Source="/Prissøk;component/Images/partner_teknofil.png" />
<TextBox Height="72" HorizontalAlignment="Left" Name="textBox1" VerticalAlignment="Top" Width="493" />
<Button Content="Button" Height="72" HorizontalAlignment="Center" Name="button1" VerticalAlignment="Top" Width="381" Click="button1_Click" ManipulationStarted="button1_ManipulationStarted" />
</StackPanel>
<ScrollViewer Name="SearchResultPanel" Visibility="Collapsed">
<!--<StackPanel>-->
<ListBox Name="ProductList">
<ListBox.ItemTemplate>
<DataTemplate>
<Button Width="460" Height="120">
<StackPanel Orientation="Horizontal" Height="80" Width="400">
<Image Source="{Binding img}" Width="80" Height="80"/>
<StackPanel Orientation="Horizontal" Height="40">
<TextBlock Width="100" FontSize="22" Text="Navn: " Height="40"/>
<TextBlock Width="200" FontSize="22" Text="{Binding title}" Height="40"/>
</StackPanel>
<StackPanel Orientation="Horizontal" Height="40">
<TextBlock Width="100" FontSize="22" Text="Pris: " Height="40"/>
<TextBlock Width="200" FontSize="22" Text="{Binding price}" Height="40"/>
</StackPanel>
</StackPanel>
</Button>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
<!--</StackPanel>-->
</ScrollViewer>
</Grid>
</Grid>
I've tried putting the listbox directly in a stackpanel, I've tried putting this inside a scrollviewer etc etc.
Anyone got any good tips for me?
Cheers!

It looks like you're trying to get your ListBox to be clickable by adding a Button which contains everything. Your ListBox as a whole should use an event, like SelectionChanged, unless you want a ListBox to have multiple things in the same list item you can click on. (say a list of a album, and a play button, where the album opens a detail page and the play button plays the album)
Here's a ListBox i'm using:
Code:
<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
<ListBox Margin="0,10,0,6" ItemsSource="{Binding Items}" Name="serverListBox" SelectionChanged="serverListBox_SelectionChanged" d:LayoutOverrides="VerticalAlignment">
<ListBox.ItemTemplate>
<DataTemplate>
<toolkit:WrapPanel Margin="0,0,0,17" Width="400">
<TextBlock Text="{Binding servername}" TextWrapping="Wrap" Style="{StaticResource PhoneTextExtraLargeStyleWithoutForeground}"/>
<toolkit:WrapPanel x:Name="Layout" Width="380" Orientation="Horizontal">
<TextBlock Text="{Binding ip}" Style="{StaticResource PhoneTextSubtleStyleWithoutForeground}"/>
<TextBlock Text="{Binding isDefault}" Style="{StaticResource PhoneTextSubtleStyleWithoutForeground}"/>
</toolkit:WrapPanel>
</toolkit:WrapPanel>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
</Grid>
This is the corresponding list it generates:
{
"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"
}
in code, you would define the SelectionChanged event handler, and have something like this.
Code:
private void serverListBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
{
if (serverListBox.SelectedIndex == -1)
return;
MyItem item = (MyItem)serverListBox.SelectedItem;
}

Thanks, still doesn't scroll, though :S
One other thing - what's that toolkit your code refers to?

tiwas said:
Thanks, still doesn't scroll, though :S
One other thing - what's that toolkit your code refers to?
Click to expand...
Click to collapse
http://silverlight.codeplex.com/releases/view/52297
The silverlight toolkit has a ton of features, and a pretty great solution you can download which shows you what everything is.
If you aren't able to scroll, are you seeing more than 1 item on the screen? You may not be having the ListBox update properly.
Are you using a List as your ItemsSource? You should be using an ObservableCollection instead. (using System.Collections.ObjectModel
What is the type your storing? You may need to make it implement INotifyPropertyChanged.
https://soumya.wordpress.com/2010/0...tifypropertychanged-and-observablecollection/

Thanks for helping me out.
I have an array of Product, which contain all the details I need. The list is just an example I found on the net that I changed the bindings for, so I guess that part should work.
When I populate the list, it shows me 8 items, which is 7 fully displayed and the last one is partially displayed. It will let me scroll just enough to see the last one of the 8, but not the 30+ more in my Array. Could this be a binding problem?
This is what I have in the callback function to my WebClient downloader
Code:
if (e.Error == null)
{
Stream responseStream = e.Result;
DataContractJsonSerializer ser = new DataContractJsonSerializer(typeof(Products));
Products prods = (Products)ser.ReadObject(responseStream);
if (prods.Count() > 0)
{
SearchPanel.Visibility = System.Windows.Visibility.Collapsed;
SearchResultPanel.Visibility = System.Windows.Visibility.Visible;
ProductList.ItemsSource = prods;
}
}

tiwas said:
Thanks for helping me out.
I have an array of Product, which contain all the details I need. The list is just an example I found on the net that I changed the bindings for, so I guess that part should work.
When I populate the list, it shows me 8 items, which is 7 fully displayed and the last one is partially displayed. It will let me scroll just enough to see the last one of the 8, but not the 30+ more in my Array. Could this be a binding problem?
This is what I have in the callback function to my WebClient downloader
Code:
if (e.Error == null)
{
Stream responseStream = e.Result;
DataContractJsonSerializer ser = new DataContractJsonSerializer(typeof(Products));
Products prods = (Products)ser.ReadObject(responseStream);
if (prods.Count() > 0)
{
SearchPanel.Visibility = System.Windows.Visibility.Collapsed;
SearchResultPanel.Visibility = System.Windows.Visibility.Visible;
ProductList.ItemsSource = prods;
}
}
Click to expand...
Click to collapse
If you put a Breakpoint after ProductList.ItemsSource = prods, is the Count 8 or the number you're expecting?
The Products Object is a container for a array of Product? If it's that easy, I'd try just changing it into an ObservableCollection and seeing if that fixes your problem.
You might want to post this on create.msdn.com and see if you get any responses there too.

Thanks
Guess I'll have to - the reason I posted here is that most of the time people around here are more interested in helping people And...I don't have a developer account, so I wasn't sure if people would help me over there, but I'll give it a shot
Did the breakpoint to be sure
prods.Count(): 75
ProductList.Items.Count: 74
Visible items: 8 :S
Guess I will have to take a look at what the ObservableCollection is all about...never heard of it

Your problem seems to be that you have a listbox inside a scrollviewer...
Listboxes allready have scroll viewers inside them, so you dont need it.
And use x:Name rather than Name for naming xaml elements.

Related

NavNGo iGO 8 on touch HD

Hi guys,
I've read a lot of threads about GPS Software on our beloved Touch HD but I don't lots of information avec this GSP solution for windows mobile devices ?
iGO seems pretty cool but the big question is : will it work on the touch HD ?
has anyone have tried it yet ?
It looks like a good alternative to TomTom but I wanna make sure it works before I buy it ...
What do you think ???
Ouaza
igo 8
igo 8 does work on the HD it looks great, and after using tomtom for years (i also have TomTom7 on my HD)i think its better than tomtom, and dont believe that IGo does not do full postcode search...it does,( you just have to make sure you have the right map(unitedkingdom7),and when you enter the postcode make sure you leave a gap eg. DL7 9TP. if you enter DL79TP you will only get the first 5 digits) the 3d landscapes are very nice, as are the buildings and texture landscapes. the extras like, trip computer etc are also very good. ive attached the address' for the files you need to work on HD
Have Fun
MOD EDIT YOUR LINKS IS TO WAREZ....PLEASE TAKE THE TIME OFF TO READ THE RULES BEFORE YOU POST AGAIN IN THIS FORUM.
Works very well, but a bit slow generally compared to good old Tom Tom. But as an occasional GPS, it's fabulously informative.
{
"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"
}
V
cool thanks guys !
iGo 8
darrenmc168 said:
igo 8 does work on the HD it looks great, and after using tomtom for years (i also have TomTom7 on my HD)i think its better than tomtom, and dont believe that IGo does not do full postcode search...it does,( you just have to make sure you have the right map(unitedkingdom7),and when you enter the postcode make sure you leave a gap eg. DL7 9TP. if you enter DL79TP you will only get the first 5 digits) the 3d landscapes are very nice, as are the buildings and texture landscapes. the extras like, trip computer etc are also very good. ive attached the address' for the files you need to work on HD
Have Fun
MOD EDIT YOUR LINKS IS TO WAREZ....PLEASE TAKE THE TIME OFF TO READ THE RULES BEFORE YOU POST AGAIN IN THIS FORUM.
Click to expand...
Click to collapse
Where is your attachment?
The attachment has been removed as it promotes Warez.
Please don't pirate software.
V
Which version works best with a device that can see the vertical and horizontal mode?
Please HELP with iGO...!!
I just changed mu i780 to a new Touch HD, installed Go8.3.2.64873 on my card, and it works!!..I have 2 problems, and 1 question:
Problem 1 after copying skin to content, still the skin selection is grayed out..!!
Problem 2 when setting the screen to be at all time on, the HD is starting to "tick" all the time
Please help
Question: How do I enable to roadsigns to show when traveling on Highway??..is it a matter of the maps??
my sys.txt:
[folders]
app="%SDCARD%/iGO8"
[device]
sdcard_dsk_num=7
[interface]
maxzoom2d=6000000
show_exit=1
skin="ui_igo8"
resolution_dir="480_800"
maxzoom2d=6000000
screen_x=480
screen_y=800
vga=1
[rawdisplay]
highres=1
screen_x=480
screen_y=800
class="portrait"
driver="GX"
[3d_config]
roadsign_lines_per_screen=28
[map]
2dheadup=1
3d_scale_carmodel=1
3dcarsizemin=3500
3dcarsizemax=5000
3dcarsizemul=10000
[msnd]
enabled=0
Adam4U said:
I just changed mu i780 to a new Touch HD, installed Go8.3.2.64873 on my card, and it works!!..I have 2 problems, and 1 question:
Problem 1 after copying skin to content, still the skin selection is grayed out..!!
Problem 2 when setting the screen to be at all time on, the HD is starting to "tick" all the time
Please help
Question: How do I enable to roadsigns to show when traveling on Highway??..is it a matter of the maps??
my sys.txt:
[folders]
app="%SDCARD%/iGO8"
[device]
sdcard_dsk_num=7
[interface]
maxzoom2d=6000000
show_exit=1
skin="ui_igo8"
resolution_dir="480_800"
maxzoom2d=6000000
screen_x=480
screen_y=800
vga=1
[rawdisplay]
highres=1
screen_x=480
screen_y=800
class="portrait"
driver="GX"
[3d_config]
roadsign_lines_per_screen=28
[map]
2dheadup=1
3d_scale_carmodel=1
3dcarsizemin=3500
3dcarsizemax=5000
3dcarsizemul=10000
[msnd]
enabled=0
Click to expand...
Click to collapse
me 2....!!! Try everthing, data.zip, branding, sys.txt....no thing work...!! please help.

Customizing Titanium - the overview

Hi guys,
Please post all customizations in this thread related to winmobile 6.5 titanium.
I have changed the calender item so you can see the next appointment for today or tomorrow on your today screen.
{
"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"
}
Just unzip the file and put it in the \windows directory
View attachment Titanium_480x800.zip
More to come (like custom programm launcher).
wm 6.5 menu
cardefbel said:
Hi guys,
Please post all customizations in this thread related to winmobile 6.5 titanium.
I have changed the calender item so you can see the next appointment for today or tomorrow on your today screen.
View attachment 175141
Just unzip the file and put it in the \windows directory
View attachment 175142
More to come (like custom programm launcher).
Click to expand...
Click to collapse
Thanks, great work.....
Do you Know the file that I need to translate to put the wm 6.5 menu in spanish????
(For example: phone=Teléfono; music=Música....).
Thanks in advance.
Oh thank you so much!!!!
I just thought im opening a new thread about titanium customization for newbie (like me hehe)because i really like this new design in wm6.5 but i miss some thing from titanium srolling menu like Touch Flo's weather or any other good looking weather app, and i would like to change internet explorer to opera in Favourite menus section, and add some new menu.
So if anyone can help me, write down step by step what should i do, would be great!
ILIGCONS said:
Thanks, great work.....
Do you Know the file that I need to translate to put the wm 6.5 menu in spanish????
(For example: phone=Teléfono; music=Música....).
Thanks in advance.
Click to expand...
Click to collapse
You can edit the Titanium_480x800.cpr manualy. Search for the plugin id's. Standard you have the following text for the favorites.
<Text ID="PluginLabel" Left="20" Top="8" Width="440" Height="68" FontFamily="Tahoma" FontSize="18" FontStyle="Regular" Wrap="False" VerticalAlignment="Top" Trimming="EllipsisCharacter" InnerTextType="Resource" Text="cmhomeres.dll,1025">
change it to:
<Text ID="PluginLabel" Left="20" Top="8" Width="440" Height="68" FontFamily="Tahoma" FontSize="18" FontStyle="Regular" Wrap="False" VerticalAlignment="Top" Trimming="EllipsisCharacter" Text="your text">
Always make a backup when changing this file, so that you can go back.
Is that possible somehow that if i touch Calendar then it starts to run the TF3D's new calendar (the black one you know) instead of the built in ugly microsoft's calendar?
wm 6.5 menu
cardefbel said:
You can edit the Titanium_480x800.cpr manualy. Search for the plugin id's. Standard you have the following text for the favorites.
<Text ID="PluginLabel" Left="20" Top="8" Width="440" Height="68" FontFamily="Tahoma" FontSize="18" FontStyle="Regular" Wrap="False" VerticalAlignment="Top" Trimming="EllipsisCharacter" InnerTextType="Resource" Text="cmhomeres.dll,1025">
change it to:
<Text ID="PluginLabel" Left="20" Top="8" Width="440" Height="68" FontFamily="Tahoma" FontSize="18" FontStyle="Regular" Wrap="False" VerticalAlignment="Top" Trimming="EllipsisCharacter" Text="your text">
Always make a backup when changing this file, so that you can go back.
Click to expand...
Click to collapse
Thanks, Thanks, Thanks....now I have the main menu translate to spanish......
Regards
First sorry for my english, it's possible to work this app on Diamond?
Thank you.
AUs
jaycee1981 said:
Is that possible somehow that if i touch Calendar then it starts to run the TF3D's new calendar (the black one you know) instead of the built in ugly microsoft's calendar?
Click to expand...
Click to collapse
Nope, its only working when manilla is running.
Love the calendar hack, and eagerly awaiting the custom program launcher...
When you copy a file is lost tab fave people :-(
Is it possible to assign galarm so that it is the default alarm-application?
Unfortunately SSMaPa and SSMaHo do not work with Titanium.
I lost both weather and fav people, when I installed this. Anny fix?
radospol said:
When you copy a file is lost tab fave people :-(
Click to expand...
Click to collapse
Ahoj radospol, this happens when you just overwrite the Titanium settings file, which was already adjusted for fave people, weather and Opera. So better to document changes made to cpr settings file for each edit, and post them here.
chriss66 said:
I lost both weather and fav people, when I installed this. Anny fix?
Click to expand...
Click to collapse
There You go...modified cpr with both weather and fav people panels....
Thank You Cardefbel
Thanks, works it!
request
it would be nice if it was possible to swap the "voicemail" tab for a "friends" tab where you could have speed-dial..
change font parhaps? not sure what fonts are installed in wm6.5, but the one used in titanium is a bit boring.
It is cool that someone made a thread for this.. great work guys
jaycee1981 said:
Is that possible somehow that if i touch Calendar then it starts to run the TF3D's new calendar (the black one you know) instead of the built in ugly microsoft's calendar?
Click to expand...
Click to collapse
hmm that would have been very nice. hate that ugly microsoft one. How hard can it be to make it a litte more user friendly and not some damn ugly??
soppefitte said:
hmm that would have been very nice. hate that ugly microsoft one. How hard can it be to make it a litte more user friendly and not some damn ugly??
Click to expand...
Click to collapse
I've been using ThumbCal with my WM6.5 Titanium ROMs and I think it looks great. It opens with any calendar link.
Thanks a lot for that wondrful CPR file
Can you pls. refer me to any tutorial to cutimise titanium?
Thanks in advance
[email protected] said:
There You go...modified cpr with both weather and fav people panels....
Thank You Cardefbel
Click to expand...
Click to collapse
Is it possible to show long date format in titanium (i mean showing day along with date)

Unlocked Emulator ROM, Revisited (e.g. working HTTPS)

(I'm only two days into WP7, so don't smack me too hard.)
While attempting to debug some Windows Phone 7 behavior via RustyGrom's unlocked images, I stumbled across the whole "/h/ttps issue". This forced me to re-look at how the original mod was performed.
The original method, as outlined in this blog post, involves manipulating the read-only portion of the system registry -- default.hv. Doing so invalidates its baked in signature, wrecking havoc (manifesting itself as broken /h/ttps and other assorted crappiness).
To work around this, I instead made a change to an internal function within AppMetadata.dll, causing all requests to blacklist to return empty handed. (A one byte change at 0xAC8A, 75->EB.) That unlocks the applications on the splash screen.
To unlock the "settings", however, is a trickier matter and involves those irritating "SecureItem" values and the parsing code within SplashSettingsDll.dll. (If you're wondering what the GUIDs mean, there's a translation to canonical names in 8C9C0C34-B77D-45FB-9E4E-D53AC5900244.rgu).
Code:
Themes = {165705CD-200B-4b23-961D-E3F66F844514}
Sounds = {92F34415-4D78-4430-9933-D2DEEA0C9D3D}
FlightMode = {1DEF9B7D-2322-40eb-A007-16A75D5CDA62}
Accessibility = {C5A90F1C-112F-43d3-8C80-C5D1746F3B68}
WiFi = {291A7CF3-48C4-4319-A6F6-E4BABFCCB8E8}
Bluetooth = {BFBBBF37-35E3-447b-BE65-DFC149EF614F}
Location = {41954AAF-E1C4-4b81-A5EC-A5C8961FE34C}
CellularConn = {FD427838-F373-40a3-9FEC-76C6CFFAFC04}
Accounts = {87F5E764-4AB3-4664-B2A3-BE00A2E8AF4A}
Brightness = {B7AFEE4D-7738-48df-8CA4-588D14AE256B}
TouchKeyboard = {071692BE-EC17-463e-94C7-64FB874A6180}
Regional = {E37398A2-CEAD-423c-9EC2-F43251C0B2CE}
DateTime = {9CB05CAE-D2CF-4409-8E64-352DD8F6FDE2}
PhoneLock = {37966764-79C8-4090-A8CF-FB65D638E529}
Updates = {C956380A-087F-4548-A5F6-CEF3616A55DA}
About = {9DAD8821-3F8C-474f-AB2B-D120BA03AFDC}
Speech = {7D878951-E418-46a3-AF6B-DCB45CD375B9}
Contacts = {2D267C1E-C53A-4718-8032-FAC545DDDF8C}
Photos = {864AAEB9-9419-40f9-BA88-03E986859450}
Messaging = {D651D70D-B141-4d71-8FFB-1004C24FB12B}
Phone = {83171528-D3B9-49b6-BC05-BBB3B4B25460}
IE = {A7DD1D7D-C7CA-4566-A5E7-015C7940276E}
Maps = {21EF1D0A-5EBE-4056-9622-2D9615C967E1}
Search = {90A593C1-F945-4bf7-AB56-A999E425F16F}
OfficeMobile = {5962CFCF-8008-4d55-B048-BDCDD7A90EAB}
Games = {B193A538-115B-4789-93D1-F3981B9D7B11}
Radio = {18916419-df98-4042-bb27-6ae39dbc3310}
FindMyPhone = {1691B767-686D-4934-A844-C0057C6024A0}
Feedback = {BF0D001A-1988-4cf3-81E1-16A1CCAB5DA3}
Marketplace = {1D36BBB8-9EEE-4e30-A72B-77ED9CFF11D1}
Unfortunately, Microsoft decided to put required data in these SecureItem values. It appears this data drives what order the application shows in the Settings list and/or the "type" of task. (Unsure about that last bit.) If this data is empty -- for example, I skip over all the SecureItem parsing -- the item vanishes.
I wrote some assembly to simulate returning order data, in an incrementing fashion (10, 20, 30, ...) -- which was fun -- but utterly useless. I'm obviously not putting this data where it wants it to be. I believe the second parameter to an internal function that handles enumerating all the SecureItems (va 41415066/offset 0x4266) is some sort of structure (with two members?) that's key here.
Without a debugger, probing this structure is nearly impossible -- I'm open to ideas here... The only idea I have is making the application crash on "executing" those members, then using the output window to get the values... but this'll be super difficult to pull off.
(If you could convince a mod to lift the restrictions on my account, that'd be wonderful. I can't post links or do anything useful.)
Thanks for the work.
mod speaking: about the link as you are a new member you need 5 posts before you can post link so only one post left until you can edit and post comment
Great work! One thing I thought about, what about just editing the RGU files to get to the same goal of writing to the registry? It seems like those are applied at boot time and presumably wouldn't be under the 'read only'.
RustyGrom said:
Great work! One thing I thought about, what about just editing the RGU files to get to the same goal of writing to the registry? It seems like those are applied at boot time and presumably wouldn't be under the 'read only'.
Click to expand...
Click to collapse
I don't know much about those files, but each RGU file has a corresponding DSM which appears to have certificate information. I'll see what happens tho. (I'm guessing these files were designed for OEM use.)
Update: Yeah, as I thought. The (signed) default.hv references the RGUs, so you can't just rip one out. And you can't tinker inside because they're signed. You can't replace the DSM either because its root certificate is checked against the baked in few (similar to desktop Windows). Ahhhh. We might be forced to patch up the boot/kernel binaries... that sucks tho.
Update 2: ... and no, you can't replace the RGU/DSM pair with a "valid" one. The files are SHA160 hashed, with the first 16 bytes put into default.hv -- HKEY_LOCAL_MACHINE\System\ObjectStore\RegistryUpdate. I suppose since the hash is truncated, you could -- in theory -- edit a RGU until it generated a similar hash... but that's crazy talk.
Keep up the good work Rafael, I'm sure you will figure out a way around it. You always find the craziest ways around Microsoft's lock-downs. Good Luck and I can't wait to see the results .
Just an update: I was able to build an SDK that works pretty damn well for native WP7 binary creation. After some fiddling with the buggy XIPPort tool and VS2010, I was able to produce a binary that runs just fine in WP7. (Currently, I just replaced Settings3.exe and used the menu's Settings link as an entrypoint.)
Now I can fiddle with more fun things, like accessing the registry and inserting those elusive SecureItems Not sure if those values are checked all the time tho -- if it's a one-time deal, I'll need to "reboot" the home screen.
Code:
INT start(
__in HINSTANCE hInstance,
__in HINSTANCE hPrevInstance,
__in LPWSTR lpCmdLine,
__in int nCmdShow
)
{
NKDbgPrintfW(L"[Hello, WP7. I haz you.]\r\n");
return 0;
}
{
"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"
}
Awesome stuff man. This should be extremely valuable once we figure out how to mod the ROM.
Settings3.exe is an application that runs in a normal user context, i.e. isn't very useful. Preload.exe, however -- which is used to insert dummy address book data at boot -- runs at a higher level. I replaced that with my code and was able to edit the registry (blacklist, secureitems) just fine... but it's too late during boot (damn!). The splash screen starts before my code is executed.

[MOD] ICS Style Settings for GB. ~ALPHA!

Hey guys, this morning I was in modding mood and I started making this mod to Settings.apk.
Here are the screenshots of the Alpha version, the final one will look just like ICS.
Thanks to balamu96m for THIS GUIDE!
{
"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"
}
This looks similar to the one done by doles. Great work~
Great Look ... but I try to apply the ICS Style Setting By doles in ROM XXLM6, It Work fine.
but unfortunately can not be Set Face Unlock/Recognition .. Maybe because of the ROM based JPLC1. Can you make it from the Default Settings.apk XXLM6?
I already make that thing on Blacknote Hybird 2nd gen plus little theme modification with ICS trasision effect, etc
if some one interested just PM me.
i cant post on dev thread coz iam undur 10 post lol
doles said:
I already make that thing on Blacknote Hybird 2nd gen plus little theme modification with ICS trasision effect, etc
if some one interested just PM me.
i cant post on dev thread coz iam undur 10 post lol
Click to expand...
Click to collapse
I'm trying to make it with the toggles too, but it's kinda hard since I don't know anything about code so I'm kinda going randomly :
I actually managed to add the toggles, but they don't do anything >.<
Code:
<PreferenceScreen android:title="@string/settings_label" android:key="parent"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory android:title="@string/settings_ics_radio" />
<CheckBoxPreference android:persistent="false" android:title="@string/wifi_quick_toggle_title" android:key="enable_wifi" android:summary="@string/wifi_quick_toggle_summary" />
What do I need to add to make the toggle actually toggle Wifi?
Code:
<CheckBoxPreference android:persistent="false" android:title="@string/wifi_quick_toggle_title" android:key="enable_wifi" android:summary="@string/wifi_quick_toggle_summary" />
<CheckBoxPreference android:persistent="false" android:title="@string/wifi_notify_open_networks" android:key="notify_open_networks" android:summary="@string/wifi_notify_open_networks_summary" android:dependency="enable_wifi" />
<com.android.settings.ProgressCategory android:persistent="false" android:title="@string/wifi_access_points" android:key="access_points" android:dependency="enable_wifi" />
<Preference android:persistent="false" android:title="@string/wifi_add_network" android:key="add_network" android:dependency="enable_wifi" />
</PreferenceScreen>
That is the code in Wifi_Settings, and in that tab the toggle works, of course.
fender90 said:
I'm trying to make it with the toggles too, but it's kinda hard since I don't know anything about code so I'm kinda going randomly :
I actually managed to add the toggles, but they don't do anything >.<
Code:
<PreferenceScreen android:title="@string/settings_label" android:key="parent"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory android:title="@string/settings_ics_radio" />
<CheckBoxPreference android:persistent="false" android:title="@string/wifi_quick_toggle_title" android:key="enable_wifi" android:summary="@string/wifi_quick_toggle_summary" />
What do I need to add to make the toggle actually toggle Wifi?
Code:
<CheckBoxPreference android:persistent="false" android:title="@string/wifi_quick_toggle_title" android:key="enable_wifi" android:summary="@string/wifi_quick_toggle_summary" />
<CheckBoxPreference android:persistent="false" android:title="@string/wifi_notify_open_networks" android:key="notify_open_networks" android:summary="@string/wifi_notify_open_networks_summary" android:dependency="enable_wifi" />
<com.android.settings.ProgressCategory android:persistent="false" android:title="@string/wifi_access_points" android:key="access_points" android:dependency="enable_wifi" />
<Preference android:persistent="false" android:title="@string/wifi_add_network" android:key="add_network" android:dependency="enable_wifi" />
</PreferenceScreen>
That is the code in Wifi_Settings, and in that tab the toggle works, of course.
Click to expand...
Click to collapse
i thing we must find the activity first
doles said:
i thing we must find the activity first
Click to expand...
Click to collapse
Must be around here.
doles said:
I already make that thing on Blacknote Hybird 2nd gen plus little theme modification with ICS trasision effect, etc
if some one interested just PM me.
i cant post on dev thread coz iam undur 10 post lol
Click to expand...
Click to collapse
Yup. But Rio have taken down the ICS layout as it doesn't show the Face unlock function. Maybe u can amend it with adding in the option of face unlock.
yewsiong said:
Yup. But Rio have taken down the ICS layout as it doesn't show the Face unlock function. Maybe u can amend it with adding in the option of face unlock.
Click to expand...
Click to collapse
that true, coz JPLC1 doesnt have facial unlock.
and i already sent my modded theme and setting to rio
but how to download it?? i cant even see the download link.. sorry noob..
Umm.. Fender... is it... uhh..
Does the title area a bit. you know.. to small? Like the font is cut down there.. the 'p'
Maybe you want to search something to make it a bit bigger
Italian developer,good
Inviato dal mio GT540 con Tapatalk 2
deodexed odexed rom?
Download link please?
thanks

[MMS] iOS bubbles + Emoji + Direct call

{
"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"
}
============================
Originally made for PA 3.5
Signed apks
Based on DaxxMax Mms from xylon 2.4.2
============================
>> /!\ MAKE A BACKUP ! /!\ <<​
DaxxMax features :
Direct call | Hide avatar from conversation list | Emoji | Change message font size | Privacy mode | Breathing SMS | Attachment save folder
Tweaks from the first version :
Changed received font color | Changed icon color | Replaced delivered icon by a green dot | Deleted timestamp in the conversation
>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<​
How to install :
Easy way > Put the apk in a folder then install it ( Dont forget to turn halo off ) [ This way will make the apk uninstall itself on reboot, or you can do it directly from application manager without recovery ]
Hard way but definitive > Put the apk in the folder given bellow then flash it trough a recovery​
request
black text and possible to include contact photos?
Can someone post directions on how to install the apk
Looking good, thanks for sharing this.
Any chance of a dark themed version with contact pictures?
I just installed the gray and blue and my incoming are blue and outgoing and gray, is there a reason who is the opposite of ios??
m0bstr said:
I just installed the gray and blue and my incoming are blue and outgoing and gray, is there a reason who is the opposite of ios??
Click to expand...
Click to collapse
There is no reason, i just colored the bubble without looking at iOs colors
For the ones who want to edit somethings
1 - Decompile rom ( with apk multi tools for exemple )
2 - Look for res/layout/message_list_item_send or recv and modify this in bold, at line 6
For the ones who want contact pictures back: Line 6
<view android:id="@id/avatar" android:layout_width="0.0dip" android:layout_height="0.0dip"
Click to expand...
Click to collapse
For the ones who want black text: Line 9
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="16.0sp" android:textColor="#ffffffff"
Click to expand...
Click to collapse
i'm working on replace the delivered icon by a green, red or orange dot AND get a contact picture on the top bar instead of the number.
This is my only issue. It's white on white with the text so I can't see it. I'll still use it cuz the actual individual text box is fine.
From me to you thru my Gnex
Vicious Von said:
This is my only issue. It's white on white with the text so I can't see it. I'll still use it cuz the actual individual text box is fine.
From me to you thru my Gnex
Click to expand...
Click to collapse
Is it my apk that you are running ?
I Have not modded the conversation_list_item, i'm still on stock apparence. So you can edit it to get black text instead of white.
That's white with all of my apk ?
fatal flaw guys. . . in group MMS text . . . can't see the individual senders name. . .
PS link to a list of others http://forum.xda-developers.com/showthread.php?t=2213965
sorcery is killing it!
Hey, I'm trying to mod this app a little bit, but I'm having a hard time changing the background color while in conversation from grey to white. Could you please shed some light on how to do it? Thanks.

Categories

Resources