yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Software Development] ksmith173:
The SDK itself isnt being loaded into video memory. The video memory is being used when the SDK needs to draw on the screen (which is normal). I think the issue is that once a control has become visible (i.e., viewable on the screen), it is never considered not visible even when it is no longer visible on the screen. Since it is never considered not visible, the SDK is attempting to draw it, and all other controls that are currently or once were visible. This causes an OutOfMemoryException because the SDK is allocating Fonts, Pens, Brushes, etc for each control.

There is another Sense Interface that someone made for a Facebook app (it is linked somewhere on this forum), and that app is opensource (along with its Sense Interface). I have not yet tried it, so I cannot compare it with the features this one has, but it might be a better option, as it is actively worked on and is open source, whereas this project is closed source and has seen no updates from its creator since June 2010.
[Windows Mobile Software Development] djsolidsnake86:
you mean xdafacebook? there are oom crashes also there :(
[Windows Mobile Software Development] joe_coolish:
Yes, that is my SDK. I have some thoughts about the OOME (OutOfMemoryException) that both SDKs are receiving.

I don't think all of the Fonts, pens, brushes and so on are the problem. I've ran both SDKs through PerfMon and those particular objects are not even mentioned in the top consumers of resources. I would hope that most of the pens and brushes are disposed once they are used (I know they are in mine). The fonts are also not that big either.

This is where I believe the problem lies. Every time a Bitmap is created, it takes up 3 Bytes * Height * Width of memory. for the HD2, 800 * 480 * 3 = 1152000 bytes, or a little over 1 mb. Windows Mobile has the following restrictions: a process cannot have more than 32 mb allocated and single objects cannot be larger than 9 mb. The 32 mb is where the problems lie

If I'm trying to allocate a 1 mb object and I have 10 mb of room, but the largest continuous block of memory available is 900 kb, OOME is thrown. What is the solution? Manually run the Garbage Collector? Maybe. I don't know or else I would have a fix :p

So, that is one problem. Big continuous blocks of memory not being available. Also, I assume ebo is implementing some kind of Double Buffer, so that means that equation for the screen above is at least 2x. I have a triple buffer so mine is 3x.

I am working with some people trying to come up with a solution for XFSense. Once I find a solution, I will contact ebo and share my findings :)

Yes, I am aware. And I am working to get them fixed.
[Windows Mobile Software Development] muradmohdzain:
when we can have WrapPanel control in Sense? just like the wpf/silverlight wrap panel
[Windows Mobile Software Development] zzaakkii:
Tool box fix

Has anyone found a fix for the controls to appear in toolbox in VS 2008??

i wonder how come it is still not fixed yet..the controls are very attractive, but please i need to have them in toolbox
[Windows Mobile Software Development] joe_coolish:
Another thought about GWES growth and OOMEs

http://blog.opennetcf.com/ctacke/PermaLink,guid,987041fc-2e13-4bab-930a-f79021225b74.aspx
[Windows Mobile Software Development] djsolidsnake86:
the problem is that ebo don't wont update the sdk.. so what can do?
[Windows Mobile Software Development] djsolidsnake86:
but seem that joe coolish (the creator of xdafacebook) can't resolve the problem
[Windows Mobile Software Development] gmt2001:
----snip----
[Windows Mobile Software Development] djsolidsnake86:
no one found a oome solution for i8000??????
[Windows Mobile Software Development] eboelzner:
Sorry for the delay getting this update to you guys... have been VERY busy, but here ya go... Version 1.5!!!

Lot's of bug fixes, and some new features too!!

In the ROM that I cook for the Imagio, I have replaced this version for RSS Tab, Facebook Tab, and Cookie Home Tab Editor... with no issues, actually fixes a bug in CHTEditor 2.0!!!!!

Take care... Ed
[Windows Mobile Software Development] leen15:
Hi, thanks for your update! ;)

can we only replace the old dll with the new in program folder, or it need to recompile all?

I tried to change the dll but i see a problem: in my program, when the app is in minimize mode and i receive a notification from the server, the app (with old DLL) show a messagebox to tell that new notification arrived, and press OK i see my program. now with the new dll, the messagebox isn't on top of app, so the app resume from minimize but i don't see the messagebox. i have to press on app icon on start menu, and the messagebox appear.

I've another problem: when the notification arrive, the app connect to the net and download some data. with the new dll i don't know why but try to connect about 5-6 times before estabilished the connection.

For me, i stay with the old dll. i'm sorry for the coredll.dll error of messagebox, but is a little issue vs. these with new dll.
[Windows Mobile Software Development] meltwater:
That is excellent news!

Will have a play tonight, even better that you've already tested it too. :D

The (in development) Feed Manager for the RSSTab also makes use of the sdk, so will hopefully help out with developing that part too.

Great to see you back!
[Windows Mobile Software Development] Tiemen_S:
What should you do if you want all this to work in all normal WinMo programs to do the same as Sense does with the menu's? At some times I like to turn Sense off and use an alternative Homescreen, but turning Sense off also turns off it's enhancements. Does your new version also include new files that could be implemented in that theme mentioned on the first page?
[Windows Mobile Software Development] BHS Interceptor:
Better late then never :D Muchas gracias for continuing the project ;)

To bad/sad it´s a bit weird on the HD Mini, but that´s what we get for having such a great but tiny device, lol

Btw, which bug in CHT Editor 2.0 are you referring to?
[Windows Mobile Software Development] djsolidsnake86:
doesn't seem that 1.50 solved the gwes.exe problem on i8000
[Windows Mobile Software Development] Nixeus:
Hello !

Thanks and Thanks a lot for this release :)

Can we use the toolbox with this release ?

Thanks :)
[Windows Mobile Software Development] matiq:
Hi, thanks for new version!

Could you add Slovak translation to next release?

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:
Excellent work :)

I was wondering if you have found a fix for the OOMEs that some users are experiencing? I'm also facing the same issues. Maybe if we share ideas, we can figure out what's up?
[Windows Mobile Software Development] MichelDiamond:
Great job - thank you very much - the first tests with CHTS & CHTSLoco were successful so far.

I let you know, if I find something.

Many thanx for this outstanding & hard work!

Micha
[Windows Mobile Software Development] djsolidsnake86:
isn't solved :(
[Windows Mobile Software Development] ai6908:
Many Many thanks for this....:D
[Windows Mobile Software Development] matiq:
Hi guys,

I am very frustrated with unspecified error - COMException...

System.Runtime.InteropServices.COMException was unhandled
Message="Unspecified error "
ErrorCode=-2147467259
StackTrace:
at StedySoft.SenseSDK.SensePanelItem._getImageSize()
at StedySoft.SenseSDK.SensePanelItem.OnRender(Graphics g)
at StedySoft.SenseSDK.SenseListControl._renderGraphics()
at StedySoft.SenseSDK.SenseListControl.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.WnProc(WM wm, Int32 wParam, Int32 lParam)
at System.Windows.Forms.Control._InternalWnProc(WM wm, Int32 wParam, Int32 lParam)
at Microsoft.AGL.Forms.EVL.EnterMainLoop(IntPtr hwnMain)
at System.Windows.Forms.Application.Run(Form fm)
at Restaurant.Program.Main()

Can somebody tell me where is the problem? Or any ideas how to fix it....

Thanks!
[Windows Mobile Software Development] Maverik82:
how can set backcolor dark same sense to header and list control

i can try in load and paint event form

sense.BackColor = Color.Red;

but not work

why?
[Windows Mobile Software Development] agcforum:
eboelzner, THANK YOU! I use your library in my iContact+++ Config. Very good!
[Windows Mobile Software Development] BigMani:
hi all

first, I want to thank eboelzner for this really great SDK! thanks very much for your effort.

I have a little issue with the SenseTextboxControl control.

I own an Samsung Omnia II. this device has per default a dark windows theme: the background system color is black and the font system color is white.

this has now the result, that the text in the SenseTextboxControl is not readable as it is white text on white background. when I mark the word, I'm able to read it.

I tried to change the BackColor and ForeColor properties on the control, but it has no effect.

would it be possible to have this fixed in the next version (either take color of ForeColor or use hartcoded black instead of system forecolor)?

thanks!
[Windows Mobile Software Development] ludo59210:
Speed of horizontal slide in Panels moreItems

Hello,

Is there a way to accelerate the horizontal slide of panels more item ?

Thank you.
[Windows Mobile Software Development] BigMani:
feature request: it would be nice to have buttons with variable height and with icons.

I understand when you, eboelzner, have no time/motivation to improve it as windows mobile 6.5 has no future.

So it would be very nice when you publish the source code that other may improve it (maybe unter a specific license to avoid comercial using).
[Windows Mobile Software Development] malhabibi:
senseNumericFSPage

Hello,

Can senseNumericFSPage display 3 digits

Thanks
[Windows Mobile Software Development] Nixeus:
Hello and thanks a lot for this new release :)

I would lilke to know what i don't see my contrôls properly on the form conceptor ?

I only see the contour of the control.

Any idea please ?

Thanks a lot :)

regards,

Nixeus
[Windows Mobile Software Development] Nixeus:
Hello my friend,

I have a second problem.

I have created a form with two SenseSDKButtons.

When i click on the first button, i load a second form, when my second form appear i can see a part of the first form's button.

I have try with "this.refresh()" in order to refresh my form -> Same problem.

I have try with "this.hide()" ( for the First form, before loading the Second Form) -> Same problem.

I don't understand why.

How can i solve this problem please ?

Thanks a lot for your helps,

Regards,

Nixeus
[Windows Mobile Software Development] dhruwal:
My best guess is possibly the first form is not getting unload properly and leaving its controls still on focused.

make sure you unload the form and if the button was created by code, then you need to destroy its object as well before loading a new form.
[Windows Mobile Software Development] Nixeus:
Thanks for your answer !

I have solved the problem with an other solution : Using standard Label controle instaed of the SenseLabel ! No problem with this ! Hope wi will having news from a new version of this fabulous SDK ! :)
[Windows Mobile Software Development] Skrobel:
Guys I want to ask for your help.

I'm trying to switch my SettingsExporter from standard NetCF controls to Sense SDK's ones. The application UI is very easy. Main form of the program (with 2 buttons and 3 checkboxes) and 2 other forms, even simplier.

I thought I just add identical controls to the forms and copy the code into the controls' handlers. It took me a while before I learned how to add controls to the form, but I finally got it.

Now I have a problem that some functions triggered by the Sense controls throw some exceptions. Example:

In the main form I have a following code to show an "About window":

private void menuAbout_Click(object sender, EventArgs e)
{
using (frmAbout fa = new frmAbout())
{
fa.ShowDialog();
}
}

Then in the frmAbout I have only one label, one locked text box and one button "OK". In this button I have only:

private void ButtonSense1_Click(object sender, EventArgs e)
{
this.Close();
}

When I put the code in the normal NetCF button the form closes, and the parent form appears. But when I put the same code into ButtonSense1 it gives me ObjectDisposedException in a place where I call the fa.ShowDialog(); - this looks like the frmMain would be disposed, but I don't see how it could happen. And why it works fine when I use normal button control?

Here's the error's stack trace:

Do I need to do anything special to use the SenseSDK (besides of making references to the SenseSDK libraries OFC)?
[Windows Mobile Software Development] Skrobel:
I see that most of the Windows Mobile developers have moved somewhere else, but I wan't to try my luck and as further questions.

After experiencing problems mentioned in previous post I decided to rewrite my app from scratch starting with the Sense GUI. And at last I understood how to add and work with the single controls on the form. Now my first question comes to mind:

- Is there any other way to make the form scrollable kinetically not by scroll bars than to add controlls to the Sense list control?

Second question is about the controls themselves. Is there any more convinient way to show the SaveFile and LoadFile dialog? I've found post from rublopez but the controls are not very convinient for users. First of all they demand to accept the choice bu pressing standard Windows OK button in the right top corner (assuming that I use WM6.5, not 6.5.x) and secondly I can't force the code to make it possible to open the FileDialogs in other folders than root folder. I've found the variable which stays behind it but my changes do not work.

On the other hand I've seen that other developers use another solutions (for instance serfer222 in his UC_NET ChooseFolder dialog where each folder looks like panel item with subitems. And johncmolyneux in his CHT Editor used yet another looking file "explorer". Are all these custom file dialogs made by that developers or they're available somewhere around here?

I would like to be able to open the SaveFile dialog in a desired folder, not to force the user to browse to that folder every time...
[Windows Mobile Software Development] smile_nik:
Feature request

great work eboelzner - the controls look very good

i have few feature suggestions that will help me and other developers

- add UP/DOWN and THUMB buttons to the List control

or just make the scroll position indicator with the adjustable size and make him behave as a thumb control in a normal list

and something else i believe ill be appreciated from all developers here - a function/features list with 5-10 words description.
[Windows Mobile Software Development] X0000:
No news ...

No new release or source code to share ? :(
[Windows Mobile Software Development] Archer:
Thanks a lot Ed - really looking forward to it.

Here's what I've done with it so far ;)

http://xdaforums.com/showthread.php?t=633590
[Windows Mobile Software Development] Admiraliss:
very nice sdk! Tx for sharing nice stuff
[Windows Mobile Software Development] spastik:
eboelzner, any news regarding the SDK ?
[Windows Mobile Software Development] chitza:
Congratulations for the hard work. It's nice to have a usable library at last.

But I have a few observations:

- button raises OnClick event twice: once by the Control class, second by the OnMouseUp method

- having a ItemStatus for each control class is very hard to use (i.e.: conversions from/to boolean values). You could use boolean instead, or at least define just one enum instead of 6 different ones (all with the same values, On/Off)

Instead of:

bool someVar = (control.Status == SensePanelCheckboxItem.ItemStatus.On);
control.Status = someVar ? SensePanelCheckboxItem.ItemStatus.On : SensePanelCheckboxItem.ItemStatus.Off;

we could write

bool someVar = control.Status;
control.Status = someVar;

- the signature for StatusEventHandler delegates makes using databinding impossible (using databindings drastically reduces the amount of code for monitoring control <-> property notifications)

Let's say we have this class

class Settings
{
public bool BoolProperty;
}

Now I have to write this:

//set initial control status
chkCheckBox.Status = settings.BoolProperty ? SensePanelCheckboxItem.ItemStatus.On : SensePanelCheckboxItem.ItemStatus.Off;

//monitor changes
chkCheckBox.OnStatusChanged += new SensePanelCheckboxItem.StatusEventHandler(chkCheckBox_OnStatusChanged);

//handle control change
private void chkCheckBox_OnStatusChanged(object Sender, SensePanelCheckboxItem.ItemStatus Status)
{
settings.BoolProperty = (Status == SensePanelCheckboxItem.ItemStatus.On);
}

Instead, a single line would achieve the same effect:

chkCheckBox.DataBindings.Add("Checked", settings, "BoolProperty");

So, maybe you could take into consideration making your library as compatible as possible with paradigms developers are used to.

And it would be even nicer if you open-sourced it, the whole community would benefit and it would certainly be improved by others.
[Windows Mobile Software Development] Admiraliss:
what about color properties for the text ?
[Windows Mobile Software Development] ebernazz2:
Installed and worked perfect.

Great job.
[Windows Mobile Software Development] wesch00:
Today I've got the hint to that library, because I only did know the ManilaSDK and there I was missing several features they seem to be implemented here. I allready started to write my own because of the mssing ones in the ManilaSDK.

Unfortunatly I do need a list item which enables entering date and time. Is there a possibility to extend the items whit my own controls?
[Windows Mobile Software Development] Archer:
As well as having "panel items", similar to the other manila style controls sets I've seen, you do also have the base controls that go into them, so you could build your own from scratch. It may take you a while, but that would be a great control in it's own right, if it looked just like the manila one!
[Windows Mobile Software Development] GeirFrimann:
Hmm, wonder how you calculate hours in the US ;-)

Just kidding, and eagerly want to try out the new release. Keep up the GOOD work!

BTW, remeber to add a "Donate" link". I am sure you will get plenty!
[Windows Mobile Software Development] eboelzner:
Ok... New version is up... and per your request... the donate button! LOL

Please let me know if you have any issues with the new SDK...

Thanks! Take care!
[Windows Mobile Software Development] eboelzner:
New version info...

On the heels of the latest version, v1.2... I am working on the next release that will include some new controls...

What I have in mind...

Link to HTC's calendar dialog (If anyone has some hints to the correct C# code, please forward to me)

Date and Time full screen controls like the current numeric input

Multiline textbox implementation... properties already in place with current control

What do you have in mind? Please help me with your ideas...

Till next time...

Ed
[Windows Mobile Software Development] alto:
Great control, few points I have in mind:

- Need to solve the issue of add controls to .Net 3.5 framework, at list for me and others also its possible only in .Net 2.

- some of the controls are no showing he actual control on design form but red X.

- More controls I would love to see:

- Wheel (like in Iphone)

- Search box

- progress bar

What about my question in the messages?

Thanks, Arnon
[Windows Mobile Software Development] sorien:
what about sense tabs? :)
[Windows Mobile Software Development] Nightstorm99:
Hello!

What you have in your CHT-EDITOR created the About screen?

Sorry for My english, it's from google!

Thanks
[Windows Mobile Software Development] kewl01:
Hi,

I tried to add a SensePanelItem which just consists of a thumbnail and primary text. What i'm trying to achieve is to use a slightly bigger thumbnail image that is not really a square.

While the image and the text is displayed properly as I wanted, the text seems to be cut off on the right side. It seems like for whatever the width of the picture is on the left, the same amount of space is reserved on the right. Is there any way to make the text flow all the way to the edge, and also to wrap over multiple lines if possible?
[Windows Mobile Software Development] Archer:
It's all looking great to me Ed. Just a quick search and replace for all the event handlers that used SomePanelControl.ItemStatus and everything compiled straight away.

Thanks for all your hard work on this :)

That was something I coded myself that doesn't use any of these controls. I'll pm you.
[Windows Mobile Software Development] VPAFan:
Need template for own PanelItem : ISenseListItem

First of all this SKD is a really good work and we all have to thx eboelzner for that.

@ johncmolyneux

You are using this SKD from the beginning and you released your famous CHTEditor with this SDK.

I started a new project based on ManilaDotNetSDK and now I want to switch to SenseSDK.

I created some own PanelItems and want to modify them to work as ISenseListItem.

Do you have a sample or a template how to implement this ISenseListItem Interface?

greetz
[Windows Mobile Software Development] Archer:
I originally used ManilaSDK, but when this one came out I instantly decided to change for the next version of CHTEditor. I basically completely gutted the ManilaSDK control generation and rewrote it using this SDK. I've not actually used anything other than the included controls, so I can't give you any hints on implementing the interface to create your own controls.

Try getting in touch with kewl01 above - he's obviously done it so should be able to help you.

I can't see it being difficult though, if you're used to creating custom controls with inheritance from others.
[Windows Mobile Software Development] kewl01:
You're mistaken :) The panel items I used are the existing one available in this API.

WOuld love to have an example where you can extend the existing items to create your own custom ones :)
[Windows Mobile Software Development] Archer:
Ah my mistake. I assumed that you'd created a subclass of the panel item and were having problems with that.
[Windows Mobile Software Development] kewl01:
no worries.. but would you have any idea why the space on the right hand side of the default panel item is the same as the space allocated for the thumbnails? Shouldn't it be occupied by the text and not have an empty space?
[Windows Mobile Software Development] divinglog:
Great work, congratulations! An additional tab control would be awesome :-)
[Windows Mobile Software Development] TeDeV:
still no design mode? i tried it, and nothing.
[Windows Mobile Software Development] Archer:
No idea mate. I guess the best thing would be to do what we were discussing earlier and make your own list item.
[Windows Mobile Software Development] owtommywo:
Hi,

I have a VS2008, and I've a installation problem:

1) I have copy DDL file "StedySoft.SenseSDK.PocketPC.asmmeta.dll" in this path "C:\Program Files\Microsoft.NET\SDK\CompactFramework\v3.5\WindowsCE\DesignerMetadata"

2) I have click with right mouse button on toolbox and select "choose items".

after i click on "Browser" I select the file "StedySoft.SenseSDK.dll".

After this operation i don't see the object.

(I execute this command "cmd /c start /wait devenv /setup /resetuserdata /selfreg /resetskippkgs" but don't work)

Help please
[Windows Mobile Software Development] eboelzner:
I see what the issue is... I will add that fix to my next release...
[Windows Mobile Software Development] eboelzner:
Yes... It seems that although all my dev pc's show the controls in design mode... there is still an inherent issue with .NET 3.5 CF and custom controls... this is a known MS issue. I will do some more research

BTW... this SDK requires .net 3.5 !!!!

It might seem to work with 2.0 for a bit, but eventually you WILL get severe OutOfMemory issues, etc...

Use .net CF 3.5!!!
[Windows Mobile Software Development] eboelzner:
See post above... I will research any other fixes, etc... Hang in there... I will find a work around!