How to create like this image.
Here is a working example. I made this Sense UI example in about3 hours15 hours. It isn't complete but gives a good example of how to/why use this SDK. There are 3 screenshots of what this demo looks like.
I'll explain some of the pieces of code when I get some time later today.
The other great example of how to use this SDK is the XFAFacebook Application.
The source for this project is located @ http://code.google.com/p/xda-winmo-facebook/source/browse/#svn/trunk/XFSenseUI
There are a few screenshots of the XDAFacebook application included.
Finally, a quick start tutorial.
- Start a new Smart Device project.
- Add a reference to the XFControls.dll
- Place the following lines of code in the Form1 constructor (after the InitializeComponent()
Code:XFPanelContainer container = new XFPanelContainer(); container.Dock = DockStyle.Fill; Controls.Add(container); XFPanelList list = new XFPanelList(); container.SetMainPanel(list); list.ShowScrollbar(true); for (int i = 0; i < 50; i++) { list.Add("This is item " + i); }
Run the project and you will get an output like the "SimpleText.png"
It's that easy!
UPDATE: I've added the XFSense to the Google Code page and have made some pretty extensive updates to it. I've added a few controls including sliders, toggles, checkboxes and radio buttons. It still isn't complete but I will be working to make it a full fledge Sense SDK.
Stay tuned!