yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] rvin:
Yeah I wiped, now I've got nothing, which looks like I'm screwed now.
[G1 Android Development] lbcoder:
Can you still access recovery? If you can, just write the stock rogers update.zip
[Advantage X7500, MDA Ameo General] Cpt_kludge:
I now have another x7501 as a backup for my primary PDA/phone.

I have tried to get in touch with SPB to verify that their product will do a complete backup/restore to another identical unit. Their info indicates "DATA" backup so I am trying to get confirmation.

So for those who have one or the other....Issues? concerns?

Which program (I think these are the only 2 possibles) do you like best.

Both of my x7501's are totaly stock (no ROM changes) but I would like to backup all data, applications and preferences.

Thanks
[Windows Mobile Software Development] michyprima:
​

* Automatically detects screen size and dpi and adapt to it images

* Various manila styled controls, to allow you make a better-looking .net application

* Possibility to override automatical screen detection if it doesn't work for you

* Kinetic scrolling list control, where you can add any kind of control into it to make your app finger friendly

Download:

SDK: http://rapidshare.com/files/362516474/ManilaDotNetSDK_v3.rar

:D

PLEASE DO NOT MIRROR!!!

License:

You are not allowed to disassemble, reverse engineer or merge this dll in your projects.

You are allowed to use it in any kind of free project, referencing to it, without any charge. What I'm asking to you is just a little quote in your about screen :)

If you are going to use that in any application to sell, I appreciate a contribute :)

Classes included:

ManilaHeader, ManilaOnOffSwitch, ManilaButton, ManilaCheckBox, ManilaProgressBar, ManilaPanelButtonItem, ManilaPanelCheckBoxItem, ManilaPanelGeneralControlHost, ManilaPanelItem, ManilaPanelOnOffItem, ManilaPanelSeparatorItem, ManilaTextBox (OBSOLETE), ManilaMessageBoxHelper, ManilaNewTextBox

Changelog:

v1.0) Initial release (Released Oct, 1 2009)

v2.0) Added ManilaTextBox, ManilaMessageBox, ManilaTrackBar, fixed checkbox transparency, improved scroll speed, selectability support and IKListItem interface (Released Oct, 11 2009)

v2.1) Added ManilaNewTextBox (ManilaTextBox declared as obsolete), list items can have their own height, added ManilaSeparatorItem, various bugfixes and enhancement, plus removed unuseful things. (Released Oct, 31 2009)

v3.0) Bugfixes on the list, on the controls. Changed the way items on the list are managed and more. Enjoy... (19 march 2010)

Plan for next version: ManilaTabControl :)

Finally,

Remember that donations are never expected but always appreciated. :)

KListControl Origins: http://xdaforums.com/showthread.php?t=333124 (enhanced and fixed by me ;))

Donations received:

€10 - Makeveral

€10 - AgentBignose

€20 - Roccc

€10 - VPAFan

Thank you all!
[Windows Mobile Software Development] btxakita:
that's really what I want

Having been studying custom .netcf control for several days

gr8 realese.!
[Windows Mobile Software Development] sergiorus:
You want to say that terrible and long process of resizing/porting is in the past?

And it can resize only new packages like from Leo and Rhodium, which have grafics coordinates stored in .xml, am I right?

Will wait for release
[Windows Mobile Software Development] jmckeejr:
I believe this is a developer tool, ie netcf library for use with visual studio or similar program. This should enable developers to make applications universal to all resolutions that will flow nicely with manila interface. Very interested to see, as I am trying to learn a bit of programming myself. For resizing new packages that use xml I suggest programatix' xmlgui tool :)

cant wait to see some applications developed or updated with this. if it is easy enough to use, I would love to make some to replace some of the custom mortscripts that I am using in my ROMs now :)
[Windows Mobile Software Development] makeveral:
wow really nice! i'll try it!

thanks!
[Windows Mobile Software Development] jdiperla:
I know people hate these kinds of questions, but any news on how SOON the coming soon is?
[Windows Mobile Software Development] francarl:
waiting for release...thank you so much, this will be very useful!
[Windows Mobile Software Development] michyprima:
links added
[Windows Mobile Software Development] dobb:
awesome

Awesome Man,

I'm trying it rught now.

Only missing a textbox. If we have and a textbox it will be great!

Good work one more time!!
[Windows Mobile Software Development] jdiperla:
Sweet. Thanks very much. I didn't expect it this soon.
[Windows Mobile Software Development] GuestK00306:
Beautiful! I think this is the one thing WinMo is missing - a decent standardisation of UI controls
[Windows Mobile Software Development] jdiperla:
This is awesome! As soon as I get some cash, I will donate for this. I tested it out, and it works like a charm. Keep it up. For the love of God, KEEP IT UP!

Move over Iphone! Here comes WinMo!
[Windows Mobile Software Development] jdiperla:
OK, I am trying to work something with this...

How do I check if an item in the listbox is selected? Thanks.

BTW: This control also works with Windows Apps as well.
[Windows Mobile Software Development] ND4SPD:
Amazing work! Just curious, are you thinking about making a .net cf Manila Tab Control?
[Windows Mobile Software Development] michyprima:
Thank you :)

I will add that in next version

maybe :)

btw...

:D
[Windows Mobile Software Development] jdiperla:
You are the man. You deserve to be in the windows mobile history books. Excellent contributions to WinMo community!
[Windows Mobile Software Development] jdiperla:
I noticed the rate it which it scrolls though is very slow on my Omnia. Is this something that will be corrected?

Any idea when we can see some documentation on this? Thanks again!
[Windows Mobile Software Development] TeDeV:
nice work, i would also love to see a manilla tab :)
[Windows Mobile Software Development] GeirFrimann:
Really weel done! But there is some work left to do...

I tried the Checkbox button. The text entered int the text property isn't displayed eihter in design mode or runtime mode,

Furhtermore, the control looks ok as long as the backgrounde is white, but not as goowd when (as in my case) having a background whit another color or a picture.
[Windows Mobile Software Development] GuestK00306:
Welcome to .NET :( You'll need to override your OnPaint method to get semi-decent background images without either flicker or that white you're seeing. Another thing which MS will take years to implement no doubt.
[Windows Mobile Software Development] ecmaba64:
Since you are working on the library, would it be possible to enable GotFocus and LostFocus handlers on the NewTextBox control? They look like they are available, but they are not really mapped to the actual text box that seems to lie within the control... I had to do a lot of black magic to get around that :) Same is true for other events as well....

I created my own "combobox" control for pTasks, which is based on a dedicated form (I think it is more suitable for situations when there exist a lot of options). Have a look :) I would also be happy to provide my numeric up-down control for prettification and inclusion if you like it :)

Some more properties that control the position and font of MainText and SecondaryText in panel controls is what would make the library an essential tool for all XDA developers :D
[Windows Mobile Software Development] ecmaba64:
Oh, forgot... and MANY THANKS!!! without your library, pTasks would not have existed :)
[Windows Mobile Software Development] ecmaba64:
You have to add a YIndex, then add it to the panel. Only after that can you set the checked property.
[Windows Mobile Software Development] ebernazz2:
??? You do if you are adding it to KListControl but that is not what the code was doing. It was using the non panel control in which case his null reference was caused by having no parent during the control invalidate on setchecked event.

Your suggestions are right on - It seems Michele will be releasing a new version soon and in the meantime it is pretty easy to make your own enhancements. Just use the SDK's resources and implement IKListItem and add whatever eventhandlers and render enhancements you like.

Eric
[Windows Mobile Software Development] drmadu:
Same problem

Hi I seem to have the same problem (visual studio 2005 though). Though reading the thread twice I couldn't find out how you solved it. The solutions in the thread dont't work for me as I see either no controls at all or on other instances controls I can't select.

Perhaps you could help me!

Thanks

drmadu
[Windows Mobile Software Development] lamajstro:
I managed to add the tools into the toolbox on visual studio 2008. But when I had one to a form, it will not be displayed. Instead I just see a simple frame. Is that the normal behaviour?
[Windows Mobile Software Development] michyprima:
normal. they are not displaied cause are designed to work only on windows mobile.
[Windows Mobile Software Development] ebernazz2:
Lets see where you are off. VS2005 is fine so its not that (well maybe it is what version of 2005?). Next please list your steps you use to start a new project. From there I will try and help.

Eric
[Windows Mobile Software Development] makeveral:
hey michy, great job!!

when you release new version i'll update my app :p

btw happy new year :D
[Windows Mobile Software Development] maxpg:
Damn, seen it too late. I just finished my combobox version myself. However, something that would be great for all components (which I used for my combobox), could you make use of GDI+ if it is available on the device (I think all >= Windows Mobile 6 Professional devices have this library, it is just missing in the compact framework). Here is a blog entry on how to make use of GDI+ http://community.opennetcf.com/articles/cf/archive/2007/10/31/using-gdi-on-windows-mobile.aspx

I used it to draw gradient background colors, antialiased rounded rectangles for the button, dotted lines separating the list entries (but beware, drawing dotted lines is slow -> cache them within a bitmap),... I make a check to see whether GDI+ can be used, if so I use the additional stuff, if not I draw a simpler version.

By the way, how did you solve the problem of painting outside of the parent control in your combo box (when you show the expanded list)? I found no better solution as placing the list within its own form that I located properly.
[Windows Mobile Software Development] michyprima:
There's no other way than to add a control in the Parent of the combobox.

It works nicely that way.

Btw why use GDI+?

NETCF uses GDI; both uses the same processor to draw to screen.

I think that will not be any speed enhancement.

And since NETCF controls doesn't support transparency, them will always need to be rectangular :D

(of course there are some ways to get around this, but is still no real transparency)
[Windows Mobile Software Development] dattrax:
Btw why use GDI+?

NETCF uses GDI; both uses the same processor to draw to screen.

I think that will not be any speed enhancement.

And since NETCF controls doesn't support transparency, them will always need to be rectangular :D

(of course there are some ways to get around this, but is still no real transparency)

This may be true, however lots of devices now come with hardware OpenVG support, such as the HD2. Technically GDI+ should be able to take advantage of the hardware support in the device. GDI+ supports transparency (at least on the desktop). A software implementation of GDI+ will be slower than GDI, but a HW implementation will be much faster.

Jim
[Windows Mobile Software Development] michyprima:
Actually GDI supports a kind of transparency; you can use imageattribute class to set a color which indicates transparency.

The problem is that NetCF Controls DOESN'T Support that!

They are painted in a screen region which is rectangular and there's no way to change this...(apart write new classes for forms and controls which may support transparency, or use fake-transparency workarounds...)

Btw I don't think changing all the code to GDI+ is a good idea...

Ok, newer devices will have OpenVG support...but older ones doesn't...

And change all graphics codes to adapt this to GDI+ is not extremely useful
[Windows Mobile Software Development] t0flus:
Do you have an alternative download location? I have tried for a week but get this message all the time: "Unfortunately right now our servers are overloaded and we have no more download slots left for non-members. Of course you can also try again later."

Øystein
[Windows Mobile Software Development] maxpg:
The advantage of GDI+ is not performance, but the possibilities. For example I used it for my ComboBox as the Button has rounded edges within the Manila Interfaces. With GDI+ I was able to draw the button with rounded edges that are antialiased, which looks nicer.

Another example are dotted lines. As far as I've seen, dotted lines cannot be easily painted with GDI in the compact framework. However, manila uses these lines, so I also wanted to use them. The same is true for complex brushes that draw gradients etc.

Just wanted to tell you about the GDI+ possibility as it might allow you to improve the visual appearance of your components even more.

Here is an image of my ComboBox, I think the antialiasing of GDI+ allows really nice rounded corners.
[Windows Mobile Software Development] michyprima:
nice work on the control ;)

btw thank your for your info on GDI+.

I think I'll take advantage of it nextly ;)
[Windows Mobile Software Development] drmadu:
Thanks

Hi Eric - thanks for trying to help me!

First I'm using VS 2005 Standard Edition. I tried several ways e.g. creating a new project (C#, Smart device, Windows mobile 6 Professional, Device Application), then adding a new item ("Registerkarte" in German) to the toolbox called "manilatools". After activating it I rightclick and select "add items". In the following dialogue I select "search" and then ManilaDotNetSDK.dll then I click OK. After that there is - nothing. If I select "show all" in the toolbox contextmenu I see the controls, but they are not useable (greyed out).

Perhaps you do need compact framework 3.5 for this SDK?

Thanks again for helping me

drmadu
[Windows Mobile Software Development] Wareczek:
michyprima when we'll see next version? :)
[Windows Mobile Software Development] ebernazz2:
You have answered your own question! 3.5 will activate them.

Eric
[Windows Mobile Software Development] ChrisX81:
Don't see controls in toolbox

Hi!

I'm new in mobile developing and found that interesting sdk (I own an HD2 - so it just make sense to create an application which has a touch of manila).

I use Visual Studio 2005 Professional on Windows 7 and tried both, C# and vb.net. I created a Windows CE 5.0 Device Application. After creating the solution I tried to add the controls to the toolbox ("Choose Item") but nothing happens. The controls are checked in the "Choose Items" Dialog, but not visible in the toolbox.

Have I done something wrong?
[Windows Mobile Software Development] ebernazz2:
I would try MS Windows 6 Pro SDK download and also make sure you are using CF 3.5. That way once you start a new project - Smart Device - you would select Windows Pro 6 SDK and .Net Compact Framework 3.5.

Eric
[Windows Mobile Software Development] drmadu:
If I'm not mistaken you can't use Compact framework 3.5 with VS 2005! Please correct me if I'm wrong because thats hindering me from using the SDK too!

Martin
[Windows Mobile Software Development] Roccc:
Yes, you can use Compact framework 3.5 with VS 2005 (or VS 2008).
[Windows Mobile Software Development] t0flus:
Checkbox in List

I love your controls and I'm testing them in my applications. I could need some help with adding a checkbox inside the list control. Do you guys have a suggestion on how this can be achieved...?

Øystein
[Windows Mobile Software Development] Lmiller1708:
Does anyone have Test2.1.rar?

Rapid Share is not working... Been not working all day...:mad:

Thanks!:D

Edit: Got it cleared Up! Thanks!
[Windows Mobile Software Development] drizztzou:
Use this tool for a long time, thanks
[Windows Mobile Software Development] maxpg:
Is there a possibility to switch the ManilaHeader to the dark design used by most manila apps outside of the configuration dialogs?
[Windows Mobile Software Development] VPAFan:
What is wrong

Hi michipryma,

I'm using your great SDK in my App "Manila Birthday"

When I do the following

ManilaPanelButtonItem item = new ManilaPanelButtonItem();
item.YIndex = 0;
item.Text = "select all";

I get an NullReferenceExeption at assigning "item.Text"

Can you please give me a hint what I did wrong;

greetz
[Windows Mobile Software Development] ecmaba64:
you have to add it to the list before setting the text property...
[Windows Mobile Software Development] smog:
Hi micky, thanks for this awesome library. I am experiencing a problem with the KListControl, I have the feeling that the OnMouseUp event of the controls in the list gets fired only when the control is not moved (isSamePoint = true).
[Windows Mobile Software Development] zzattack:
hm, it fires either if isSamePoint, or if !doScroll
[Windows Mobile Software Development] smog:
Yes but one could need it even if the list is moving. In my case I need that event to remove the highlight from the element, right now I am setting a timer at 1 sec to clear the highlight but it is not the way I expected it to work.
[Windows Mobile Software Development] ShinmenTakezo:
Hi,

first of all your sdk is really looking great but i've to give some constructive feedback. it's a real memory killer.

I made a little sudoku using the manilabuttons and it took around 16-17 mb memory. after i replaced the manilabuttons with normal buttons it was around 6-7 mb. each button has around 400 kb which is quiet a lot.

Best regards

Benni
[Windows Mobile Software Development] F!r3f0x:
is it possible to have a kinetic scrolling list like in the htc sense contact list?

the speed of scrolling in sense is much better than in your SDK.

would be great if there is a feature for this because every time I use a app including your SDK the scroll feeling is very different from the htc one :(
[Windows Mobile Software Development] t0flus:
I'm having trouble while populating the List with 500 ManilaPanelCheckBoxItem items. The list gets really slow when scrolling...

Here is the code I use to add items:

Cursor.Current = Cursors.WaitCursor;
OutlookSession session = new OutlookSession();

this.kListControl1.BeginUpdate();
this.kListControl1.Clear();

for (int i = 0; i < session.Contacts.Items.Count; i++)
{
Contact c = session.Contacts.Items[i];

ManilaPanelCheckBoxItem item = new ManilaPanelCheckBoxItem();
item.YIndex = i;
this.kListControl1.AddItem(item);
item.SecondaryText = c.MobileTelephoneNumber;
item.MainText = c.FileAs;
item.Checked = true;
item.Image = null;
}

this.kListControl1.EndUpdate();
session.Dispose();
Cursor.Current = Cursors.Default;

Any suggestions to make it faster? It takes ages to reach the bottom of my list with 524 items....

Øystein
[Windows Mobile Software Development] michyprima:
yep , wait new version, the current one has a conceptual error, which mades it scrolling very slow with a large number of items.
[Windows Mobile Software Development] Wareczek:
How much time we have to wait?
[Windows Mobile Software Development] t0flus:
Thanks Michele!

Looking forward to try the new version. I'll donate when the list is working with lots of items because I love everything about it. The only thing I could need is a Tag property on the items in the list so I can uniquely identify each item without using the YIndex.

If you have a date on the new version I'll be glad to know it.

Øystein
[Windows Mobile Software Development] Wareczek:
Agree with you! This will make life easier ;)
[Windows Mobile Software Development] michyprima:
if u need tag there's an easy way to add it:

Public Class CheckBoxListWithTagItem
Inherits MichyPrima.ManilaDotNetSDK.ManilaPanelCheckBoxItem
Dim _Tag As Object
Public Property Tag() As Object
Get
Return _Tag
End Get
Set(ByVal value As Object)
_Tag = value
End Set
End Property
End Class
[Windows Mobile Software Development] t0flus:
I know, and I´ve already implemented my own Tag property by inheriting your class. I´ve also included a FindByTag method. Just wanted to point out that I think that a lot of users would need one, so including the Tag property in your SDK could be a good idea.

Keep up the good work!

Best regards

Øystein
[Windows Mobile Software Development] lap33733:
Agree, I've also implemented a tag property, it looks like it is a basic need!
[Windows Mobile Software Development] spastik:
CellId = New ManilaDotNetSDK.ManilaPanelCheckBoxItem

CellId.YIndex = 1

CellId.MainText = "Test"

CellId.Checked = True

KListControl1.AddItem(CellId)

Everytime I try to use de Checked property it gives me an error "null reference exception".... why ?
[Windows Mobile Software Development] sproxy:
Thanks for this SDK. I have just uploaded a UK Rail Departure application at the following URL using this SDK:

http://xdaforums.com/showthread.php?t=620076

I have taken a shortcut and used default CF comboboxes in the application but rest of the controls are from Manila SDK and having them available made it look much better than using 100% stock CF interface set.
[Windows Mobile Software Development] guy1218:
The SDK is very hard to download, could you put it somewhere else? Thanks a lot~
[Windows Mobile Software Development] mike2nl:
After reading the thread, i have NOT tested the SDK, there is one question open for me:

When i will write my own application (something for paragliding), have i the possibillity to skin it later with my own and the official dusk grafics?

I can be a stupid question, but please help me out to make things clear..
[Windows Mobile Software Development] t0flus:
Try to move the line : KListControl1.AddItem(CellId); above the .Checked = true; line

Øystein
[Windows Mobile Software Development] Wareczek:
Add this line:

CellId.Parent = KListControl1
[Windows Mobile Software Development] t0flus:
Both suggestions probably work. I believe the Parent property is set when you add the item to the list.

Øystein
[Windows Mobile Software Development] Wareczek:
Øystein, try to add 2 checkboxes to this list in your way:

KListControl1.AddItem(CheckBox1);
CheckBox1.Checked = true;
CheckBox1.YIndex = 0;
CheckBox1.MainText = "First checkbox";

KListControl1.AddItem(CheckBox2);
CheckBox2.Checked = false;
CheckBox2.YIndex = 1;
CheckBox2.MainText = "Second checkbox";

You will get error: "Value does not fall within the expected range."
[Windows Mobile Software Development] t0flus:
That is because YIndex must be set before you add the Item.

I run this code in without any problems:

for (int i = 0; i < test.Count; i++)
{
ManilaPanelCheckBoxItem item = new ManilaPanelCheckBoxItem();
item.YIndex = i;
this.kListControl1.AddItem(item);
item.Checked = true;
item.MainText = "Testing";
item.SecondaryText = "Testing";
item.Image = null;
item.StatusChanged += new ManilaPanelCheckBoxItem.StatusChangedEventHandler(item_StatusChanged);
}

I think I read that in the next version you don't have to set YIndex manuall as it will be incremented when you call AddItem. But for now you have to set it before you add it to the list....
[Windows Mobile Software Development] Pacman15:
I am having a hard time adding the text from a text box into the ItemList. Can you help me out. I'm using c#. do you have some documentation?

I can't seem to create a IKListItem so I can add it to the list.
[Windows Mobile Software Development] t0flus:
You don't create a IKListItem class... you create a class that implements the IKListItem interface.

If I remember correctly there is a example in C# attached in one of the replies in this thread.....

Øystein
[Windows Mobile Software Development] spastik:
Yup, both solutions worked ! thanks ! :)