yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Software Development] go4saint:
I added one event handler, but I didn't managed to get it work :confused:

My code

Imports StedySoft.SenseSDK
Imports StedySoft.SenseSDK.DrawingCE

Public Class frmTables

Dim _processEntireButton As Boolean = True
Dim _buttonAnimation As Boolean = False

Private Sub frmTables_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load

'set the list scroll fluidness
Me.senseListCtrlTables.Velocity = 0.75F

'turn off UI updating
Me.senseListCtrlTables.BeginUpdate()

' add SensePanelItem(s) w/o thumbnail image
Dim hdr = New StedySoft.SenseSDK.SensePanelDividerItem()
hdr.Text = "Select Table"
Me.senseListCtrlTables.AddItem(hdr)

' add SensePanelMoreItem(s)
Dim itmMore As StedySoft.SenseSDK.SensePanelMoreItem = New StedySoft.SenseSDK.SensePanelMoreItem
itmMore.ProcessEntireButton = Me._processEntireButton
itmMore.PrimaryText = "Select Table"
itmMore.SecondaryText = "No Table selected yet!"
itmMore.Tag = "Tag1"

' add SensePanelRadioItem(s) in Child Container
Dim arrayTables1 As New System.Collections.ArrayList()
arrayTables1.Add("Table 1")
arrayTables1.Add("Table 2")
arrayTables1.Add("Table 3")

' add SensePanelRadioItem(s) in Child Container
Dim arrayTables2 As New System.Collections.ArrayList()
arrayTables2.Add("Lenght")
arrayTables2.Add("Weight")
arrayTables2.Add("Volume")

Dim j As Integer = 0
Do While (j <= 2)
Dim itm As StedySoft.SenseSDK.SensePanelRadioItem = New StedySoft.SenseSDK.SensePanelRadioItem
itm.ProcessEntireButton = Me._processEntireButton
itm.PrimaryText = arrayTables1(j)
itm.SecondaryText = arrayTables2(j)
itm.Tag = arrayTables1(j)
itm.GroupName = "RadioGroup1"

AddHandler itm.OnStatusChanged, AddressOf Me.OnRadioStatusChanged
itmMore.Children.Add(itm)
j = (j + 1)
Loop
Me.senseListCtrlTables.AddItem(itmMore)

hdr = New StedySoft.SenseSDK.SensePanelDividerItem()
hdr.Text = "Results"
Me.senseListCtrlTables.AddItem(hdr)

' added 2 textbox
Dim itmTXTbox1 As StedySoft.SenseSDK.SensePanelTextboxItem = New StedySoft.SenseSDK.SensePanelTextboxItem
Dim itmTXTbox2 As StedySoft.SenseSDK.SensePanelTextboxItem = New StedySoft.SenseSDK.SensePanelTextboxItem

itmTXTbox1.LabelText = "Current Table:"
itmTXTbox1.Text = ""
itmTXTbox1.ShowSeparator = False
itmTXTbox1.ReadOnly = True

itmTXTbox2.LabelText = "Category:"
itmTXTbox2.Text = ""
itmTXTbox1.ReadOnly = True

Me.senseListCtrlTables.AddItem(itmTXTbox1)
Me.senseListCtrlTables.AddItem(itmTXTbox2)

'we are done so turn on UI updating
Me.senseListCtrlTables.EndUpdate()

End Sub

Private Sub OnRadioStatusChanged(ByVal Sender As Object, ByVal Status As SensePanelRadioItem.ItemStatus)
Dim itm As StedySoft.SenseSDK.SensePanelRadioItem = CType(Sender, SensePanelRadioItem)
CType(Me.senseListCtrlTables.ParentFocusedItem, SensePanelMoreItem).SecondaryText = ("Current selection is " + itm.Tag.ToString)

itmTXTbox1.Text = itm.PrimaryText
itmTXTbox2.Text = itm.SecondaryText

End Sub

End Class

I get "Name 'itmTXTbox1' is not declared."
[Windows Mobile Software Development] go4saint:
The solution of my problem is quite embarrassing. I should take a better, much better look at my code before asking help on forum!

But this is the advantage of newbies, you always find good people to help.

Thanks!
[Windows Mobile Software Development] Archer:
lol - glad to help mate. And don't worry - it happens to us all ;)
[Windows Mobile Software Development] karan999:
i have an HTC GENE.(64mb RAM/128mb ROM,qvga device).how can i use these libraries to cook roms for my device? i have downloaded the sense SDK but i dont have any clue how to make use of it.please help.
[Windows Mobile Software Development] Archer:
You use it when making .Net applications.
[Windows Mobile Software Development] Archer:
I know I've already got a couple of open questions/bug reports on this thread, but I'm using the controls quite heavily so I do keep finding things.

Is there any way to go from a SensePanelMoreItem "page" back to the parent in code? It's not immediately obvious that you need to swipe left to right to do it, and some of the testers of my app are asking for a back button.

I can't see a way to do this. Am I missing something, or would it need to be (could it be) added?
[Windows Mobile Software Development] PhilMorris:
Please somebody translate this to Vb.NET

StedySoft.SenseSDK.SensePanelComboItem itm = new StedySoft.SenseSDK.SensePanelComboItem();
itm.OnSelectedIndexChanged += new SensePanelComboItem.SelectedIndexChangedEventHandler(OnComboSelectedIndexChanged);
[Windows Mobile Software Development] Svesel:
@PhilMorris

Hehe, at this point im at too... ^^

My ComboBox does all, all except to fire an event if SelectedIndexChanged, why ever...

In FormTest.Designer => Code view i have added the combocontrol:

Partial Public Class BlaBlubb
<some code>

Private Sub InitializeComponent()
Me.Combo = New StedySoft.SenseSDK.SenseComboControl
Me.SuspendLayout()
End Sub

Friend WithEvents Combo As New StedySoft.SenseSDK.SenseComboControl
End Class

So if i use an Sub to fire an event, that looks like followed:

Private Sub OnComboSelectedIndexChanged() Handles Combo.OnSelectedIndexChanged
MessageBox.Show("Hello Mate")
End Sub

But - DOESNT WORK.... The funny site on this, with an OnClick it works correctly and fire up, but only the OnSelectedIndexChanged doesnt want to...

Any thoughts ?
[Windows Mobile Software Development] GeirFrimann:
Dim itm As StedySoft.SenseSDK.SensePanelComboItem = New StedySoft.SenseSDK.SensePanelComboItem

AddHandler itm.OnSelectedIndexChanged, AddressOf Me.OnComboSelectedIndexChanged

There is a couple of C#/VB.NET translator sites available:

http://www.carlosag.net/Tools/CodeTranslator/default.aspx

http://www.developerfusion.com/utilities/convertcsharptovb.aspx
[Windows Mobile Software Development] ng-gdata:
Excellent SDK, but can anyone tell me how to avoid that the first list control item disappears behind the header?
[Windows Mobile Software Development] Archer:
Dock the header to the top of the form.
[Windows Mobile Software Development] ng-gdata:
I did that:

Header.Dock = System.Windows.Forms.DockStyle.Top;
Header.Location = new System.Drawing.Point(0, 0);
Header.Name = "senseHeaderCtrl";
Header.Size = new System.Drawing.Size(240, 25);
Header.TabIndex = 0;
Header.Text = "Highscore";
[Windows Mobile Software Development] spastik:
after you dock the header to the top you need bring it to the front.

maybe something like header.bringtofront()
[Windows Mobile Software Development] Archer:
Here's what I've been using, and it works for me....

listControl = new SenseListControl();
listControl.Dock = DockStyle.Fill;
this.Controls.Add(listControl);

header = new SenseHeaderControl();
header.Dock = DockStyle.Top;
header.Text = "Project title";
this.Controls.Add(header);

I'm obviously declaring the listcontrol and header elsewhere, but you get the gist of it.
[Windows Mobile Software Development] PhilMorris:
The sub :

void OnComboSelectedIndexChanged(object Sender, int Index) {

}

is not working. It is never trigered if you select a different item on a combo.

Please do sth about it.
[Windows Mobile Software Development] alto:
Great project.

The about dialog looks great also, add it to the SDK also :)

I sent you a private message, did you got it?
[Windows Mobile Software Development] eboelzner:
Updates...

A new version with new controls(s) / bug fixes... will be available within the next 24hrs...

Thanks for the patience! I am here! LOL
[Windows Mobile Software Development] spastik:
Thanks ! :D

Please don't forget to correct the things that make impossible for me to obfuscate my application using your DLL.
[Windows Mobile Software Development] wesch00:
Is there any chance for a further development of this SDK? The 1.40 version was allready promised a half life ago.

If there is no more willing to enhace this SDK, then plz open the sources for the comunity.
[Windows Mobile Software Development] MichelDiamond:
Yes please, that would be very important for us. There were made so much apps with your great SDK.
[Windows Mobile Software Development] joe_coolish:
I would love to take over the SDK if you don't have any time for it! Send me a PM and we'll talk :)
[Windows Mobile Software Development] bfranco:
Nice work !

I'm currently developing an app using the SenseSDK too, but experience problems with the use of IThumbnails. Keep getting an error about imagesize ....

Can you show me how you add thumbnails to your panel items in the panel list ?

Hoping for a quick response,

Best regards,

Bart
[Windows Mobile Software Development] serfer222:
Yes, agree. +1.
[Windows Mobile Software Development] X0000:
+1. We need more functionality (for example : OnBeforeHideItemChildren event ...)
[Windows Mobile Software Development] mantesat:
+1. Also, it seems to me that scrolling in the list demo is not as smooth as it should be. I tried to experiment a little with the scrolling parameters, but there was no improvement. Has anyone been able to achieve a smoother scrolling behavior on the list demo somehow? I was hoping that the 1.4 version would solve this problem...
[Windows Mobile Software Development] Skadork:
That's great work! Thank you!
[Windows Mobile Software Development] eplixo:
If Apple sued everyone that used their layout and style on the applications of the iPhone apps I guess they would spend the next 500 years in court. HTC too would see this as a brand enhancement and thus would have little appetite to foster any illwill towards developers that show off the HTC theme...
[Windows Mobile Software Development] MichelDiamond:
@rublopez:

thanx 4 sharing! great work.

now we would have 2 main devs - you and joe_coolish to develop SenseSDK on. I hope ebhoelzer reads it and thinks about making open source or does integrate your great work.

It's frustrating, if you dev a big app and the great SDK is not more supported and there would be so much opportunities.

thank U very much!

Micha
[Windows Mobile Software Development] TeDeV:
has anyone tried to contact ebo?

there are somethings that need to be fixed asap.

if he doesn't want to continue this project, let it be open source, so we can help.

i can't use any other project, because i don't have the same possibilities with them.
[Windows Mobile Software Development] joe_coolish:
I'm building a sense SDK currently. what does this one do that no one else does? and what needs to be fixed?
[Windows Mobile Software Development] TeDeV:
well consider all the controls this sdk has, and include the sensesdk extra controls from greenhacks.

do you have something that can replace them?

as for the fixes, we need more things to be customized and some more controls, plus the memory problems we sometimes get.

as for greenhacks, his wrap code has bugs in the sensepanelitem and considering my last active application (RapidRead) i need some fixes.
[Windows Mobile Software Development] leen15:
in my application i partially resolved with +1 to font size parameter.

instead i've problem with text that don't have spaces between words, no word wrap for it! :(
[Windows Mobile Software Development] joe_coolish:
Yeah, he does have a lot of controls!

I'm writing a UI SDK (An SDK to make Custom UIs) and I made a quick demo of how you can make a Sense SDK with it. The purpose of my SDK is to give generic tools for people to build custom controls for there applications w/o having to worry about memory management, scrollability (is that even a word?), or all the lame .netCFisms like P/Invoking to get alphaChannels from 24bit PNGs. Also it is open source so that people can read and learn from it.

It suffers from the strengths of this SDK (there aren't very many controls) but its strengths are all the things that you want. It's fast, opensource, easy to build custom controls, and extensible. The best example of how to use it to make custom UIs, is my XDAFacebook application (also opensource).

That's one of the reasons I want to help with this project is because combined, we can have a great package!
[Windows Mobile Software Development] TeDeV:
well i hope that you can join projects, so that we can finally have a good control package.

leen15... you mean that if i increase the font +1 it will solve the huge empty space the sensepanel leaves?
[Windows Mobile Software Development] leen15:
My problem with the panelEx, was that very often it cut the last row of the text, because the measureString don't work very well. So i partially solve with add a "+1" to Font Size parameter, so i have always a little of space under the text, and no problem of cut row. Obviously in very very long text, i can have too much empty space, but for my scope (conversations of SMS) not a big problem for me and my users. :)

Now i've another problem.. if i write a URL link, or a text with no space between words, the word wrap not work and the text go out from the screen! :(
[Windows Mobile Software Development] joe_coolish:
i see, both problems are pretty easy to fix in the code. i will work on making my sense SDK a little more feature rich until this one gets updated. really this SDK is one of the best on the net. i hope production continues on it!
[Windows Mobile Software Development] hastxpak:
I didn't read the entire thread, so apologize if someone already mentioned this..or already proposed a permanent solution to this.. but..

For the greyed-out items in VS2008, a workaround I found for design-time support was to create a project using the .net 2.0, and creating the forms as needed. Then in your actual .Net 3.5 project, import your designed form from the .Net 2.0 project using the Add Existing Item...

Admittedly, it's a hassle, but it worked for me :)

So, in other words, have 2 projects simultaneously: one in .Net 2.0, the other in 3.5.

For design time control, design the full form in the 2.0 project - don't compile or run it, but just save it.

Then in your 3.5 project, just go to the solution explorer and right click and select Add.. Existing Item... and select the 3 files for each form:

1. Form1.cs

2. Form1.designer.cs

3. Form1.resx

Compile, run and give it a go.
[Windows Mobile Software Development] Nixeus:
Any news for the 1.4 version ?

Is this project dead ?

Thanks a lot
[Windows Mobile Software Development] cyberde:
It slowly seems to be that way :(
[Windows Mobile Software Development] MichelDiamond:
Yesterday I saw eboelzner online, and I hoped for a reaction. If he will go on with the SDK or make it open source (2 other developers already said, that they would go on with further developing SenseSDK) or any other announcement, but unfortunately no reaction here.

there are alone 3 apps for CHT , which are written with this SDK, and also much other apps.

I don't know, what to do, that eboelzner could at least react onto the developers, who have believed in. To switch to another SDK is too much work for an existing app, especially they don't have the same controls.

We feel a bit left high and dry now as devs, the SDK is great, and it would be fair to get a simple announcement, how it goes on.

please answer

Micha
[Windows Mobile Software Development] TeDeV:
As contribution to ebhoelzer's work - new app with this SDK:

RapidRead - A forum reading application
[Windows Mobile Software Development] Nixeus:
Hope news from elboenzer !
[Windows Mobile Software Development] leen15:
Hi at all!

Anybody know how i can enable "Right-Click" on a SensePanelItemEx?

Thanks! :)
[Windows Mobile Software Development] eboelzner:
Hey...

Sorry for being absent... been VERY busy on a few projects. (Using the SDK, of course)

Couple of notes...

1) I have not abandoned the SDK, actually, I ported a portion of it to .netCF 2.0 and run it on Windows CE devices.

2) I have fixed/updated numerous portions of code since I was using it extensively on my projects.

3) Look for a minor update, to bring my changes to you... then, with some help hopefully, I can get my hands around all of your issues and request to start implementing them.

Possible that there is a request/bug rollup post... as I won't be able to review all the posts for a few days...

Thanks for your patience...

Ed
[Windows Mobile Software Development] joe_coolish:
Sweet! Sounds great :) If you need help, I would love to help with coding. You can look at my XFControls project as a resume if you'd like! Send me a PM if that sounds like something you would like
[Windows Mobile Software Development] TeDeV:
wow i am glad to see you.
[Windows Mobile Software Development] Nixeus:
Yess and Yess ! Thanks a lot eboelzner :)
[Windows Mobile Software Development] MichelDiamond:
yes, absolutely d'accord - also thanx for the answer by PM, Ed.

The ideas for your updates makes a nice view in the future, also the offer of joe to extend SenseSdk by his great controls:

a really win-win-win-win-situation.

thanx for all what you made, Ed and also for all what you will make.

Regards

Micha
[Windows Mobile Software Development] cyberde:
third! Glad to know this SDK is still being developed! :)
[Windows Mobile Software Development] meltwater:
Great to hear that we will see more of the Sense SDK and eboelzner.

Can we gather together a list of issues which are present on the current version so that eboelzner can make sure things are covered.

For me the main issue of the OutOfMemory exception is a problem when dealing with images, using the IImage objects help a lot but the problem is still there I think.

Another niggle is when using the Dialogue box and ListItem with text more than a few lines (the top section of space gets increased the more text you add).

As-side from that, with the extended controls from greenhacks, it is still very usable. I did have issues when trying to reference specific items in a list and controlling what occurs (i.e. press an item and then to be able to reference the next item below - to hide/show it) or to detect a long press and present a context menu related to a specific item.

Anyway, hope to see more soon from the SDK. Fingers crossed joe_coolish can combine some of his work too.
[Windows Mobile Software Development] vramvram:
another application with sense SDK

Thank you very much for this SDK.

Waiting for new version! I've made little application for fitness and bodybuilding in russian. Here are screenshots:

Download from http://aartak.wordpress.com/2010/09/25/gym-for-windows-mobile/

It would be cool if You improve Label control. Thanks a lot.
[Windows Mobile Software Development] serfer222:
here are the bugs I found in 1.39

http://xdaforums.com/showpost.php?p=7292627&postcount=1008

and one more - if I use SenseAPIs.SenseMessageBox.Show

and then device goes to sleep mode, application will exit with error when I turn my device on again.
[Windows Mobile Software Development] radua_ro@yahoo.com:
Font and Background color

Hello,

...does somebody know how to change the color for Fonts and/or Background of the sense panel?

Also when it is planned to release a newer version of the SDK?

Thanks,

Adrian
[Windows Mobile Software Development] ludo59210:
Hello,

Is there a way to speed up the horizontal scrolling of SenseMore Items ?
[Windows Mobile Software Development] Dragon-6:
Thanks for share!:D
[Windows Mobile Software Development] jmart518:
Hey guys, looking for a little programming help. I am VERY new to programming and I have been playing with this SDK with VS2008. So far, with the help of this thread, I have been able to get my little program working. The only thing I can't figure out is how to make the onoff toggle switch to be "aware".

What I am doing is using the onoff switches to toggle registry entries to change different settings in WM. Right now, after the switch is on, it sends the reg entry and then the user is prompted to soft reset. However, when the program is opened again (before and/or after a soft reset), the switch is still in it's original state (off). I am sure there is a way (maybe if then statement?) and it is probably really simple, but I can't seem to crack it. Thanks in advance!!
[Windows Mobile Software Development] joe_coolish:
Well, it all depends on how you are saving the information. If you are saving a Boolean (bool in C#) value in the registry, just set the ItemStatus accordingly. If it is some other data type, manually convert it to a Boolean value and use that :)
[Windows Mobile Software Development] jmart518:
EDIT: Thanks joe, I have it going now!
[Windows Mobile Software Development] matiq:
Translation To: Slovak

CultureInfo String (if known): sk-SK

Cancel = Zrušiť

Hour = Hodina

Ignore = Ignorovať

Minute = Minúta

No = Nie

Off = Vypnuté

On = Zapnuté

Retry = Opakovať

Set = Nastaviť

Yes = Áno
[Windows Mobile Software Development] joe_coolish:
Sweet :) sounds good!
[Windows Mobile Software Development] jmart518:
Please forgive me if this has been covered, but I have searched and even gone through the entire thread and couldn't find exactly what I am looking for. Basically I am trying to change the About box/screen and haven't had any luck (even with the Sample at my disposal, no dice). Does anybody know how this is done in VB, I am still very inexperienced with programming and trying to figure it out. Thanks and sorry again if this is a stupid question!
[Windows Mobile Software Development] Bonusbartus:
senseListControl

Hey,

I noticed there isn't much going on in this forum, anyone still here who can help?

I am trying to use the senseListcontrol as a very simple Datagridview, by compying items from a senseComboControl to my listcontrol as sensePanelCheckboxItem.

By clicking a button called "Add" an item is moved from the combobox to the listcontrol, and by clicking a "Delete"button every checkboxitem in the list that is checked is removed from it.

The form itself is called from a parent with form.ShowDialog();

Most of the times this works great. but randomly it somehow crashes and Visual studio give a Null reference exception while pointing to the line where form.ShowDialog() is called, so in the parent form....

I tried catching errors by putting the whole code of the buttons between a try catch block, but the form just crashes, sometimes when adding and sometimes when deleting an item...

I traced the problem back to the form.update() method. after calling listcontrol.endupdate() and combocontrol.update().

anyone any idea about this?
[Windows Mobile Software Development] djsolidsnake86:
anyone experienced the outofmemory exception?
[Windows Mobile Software Development] silviaccio1:
The question is:

there is any I8000 user that hasn't experieced that error with the applications making use of senseSDK (RapidRead, Profile Switch, ..) ?

This in fact happens on i8000 even if the NET CF 3.5 is installed and even if the free memory for programs is >50MB and the free device memory is >20 MB.
[Windows Mobile Software Development] djsolidsnake86:
i found that also jacksms has this error and use this sdk, so is needed a solution, someone can help us?
[Windows Mobile Software Development] MichelDiamond:
it seems that it's a problem of combobox made in VisualBasic. I made my apps in C#, there the comboxes of Sensesdk doesn't throw an error.
[Windows Mobile Software Development] djsolidsnake86:
and there is a solution?
[Windows Mobile Software Development] leen15:
JackSMS is in C#.;)
[Windows Mobile Software Development] djsolidsnake86:
ehy ma pure qua sei? potevi dirmelo :D

però è sempre un'errore causato dal sense..
[Windows Mobile Software Development] leen15:
Io ci sono dappertutto! :D

Discutiamone sul forum nostro per capire se riusciamo a risolvere ;)
[Windows Mobile Software Development] meltwater:
Remember the rules guys...at least translate for english forum.

--------------------------------

but hey well here are you? you could tell me

But it is always a mistake caused by the sense ..

-------------------------------

I exist everywhere! : D

Discuss on our Forum to see if we can solve;)
[Windows Mobile Software Development] leen15:
Yes, sorry ;)
[Windows Mobile Software Development] shockedpie:
It would be great to see a video showing Sense Ui in action.

thanks guys for this nice looking UI. I'm gonna use it for my app. I have to test somethings, but the look is great. well done!

Edit:

so this means that I can't write an app and sell it if I use this? or what?