yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Software Development] meltwater:
Sorry to point this out, but it's been mentioned before (a few times).

SenseSDK .Net 3.5 only, manual coding only (you will not see the controls in 3.5 and you will not be able to run with 2.0).

Once you get used to it, manual coding it is not as bad as it sounds, the designer doesn't give you much extra.
[Windows Mobile Software Development] Nightstorm99:
@Ed

Hello!

When will the public 1.40? :D

Thanks
[Windows Mobile Software Development] meltwater:
@ed

Updates for post#2:

Greenhacks Ex controls

Also Facebook Tab v1.5 is out in the wild now, with senseSDK's help!
[Windows Mobile Software Development] heart_crafter:
o kool... i dint feel like reading all 90+ pages of this thread :D, o n i din read the first page completely also...:( might had this info... i did tried to search it alot...

thanks for pointing out about the manual coding....

i'll try to start using that..

thanks
[Windows Mobile Software Development] greenhacks:
@Ed,

I dont know what to say, but now i am going crazy with OutOfMemoryExceptions.

After lot of things i checked, i believe the problem is in SenseListControl which loads all SensePanel controls.

I tried to create an loop and added 500 SensePanelItem. After scrolling up to 300 item, it gave this exception.

Now i added 500 SensePanelItemEx which i created using SensePanelBase. My control has lot of data and properties which i would say approx 4 to 5 times more then normal SensePanelItem, so when i scroll up to 100+ items, i get this exception.

If you see my SensePanelItemEx code, you will notice that i handle most of the things properly. Also Dispose is called properly, but as you know dispose only gets called when control is being destroyed.

I also noticed that you are not rendering/re-rendering any control which go out of screen either above screen level or below screel level.

Which means that if i have 100 controls, and at a time only 6 can be seen on screen then, you are only rendering 6 controls. When i scroll up or down, and as other controls comes up, they are rendered.

Now in that case i can think of that when the control goes out of the screen, it is supposed to properly get disposed so that application at any given time only has objects for the controls which are visible else they are never created or they are destroyed properly. I hope i am correct and make sense.

Unfortunately nothing i can do to handle that part as it is already being controled by SenseListControl. So was thinking that if you are not destroying them properly on every scroll, then it can just add up the memory leading to OOM exception.

Another thing to notice is that, if in my applicaiton i get this exception, and then i start the application again and if i get exception again, in this process, my phone memory is not getting free up. So after couple of times with this issue, my phone starts getting slow, and like after few hours phone starts acting up where my menu's or application may not open. Only way is to soft reset it.

Please help with this issue, as this SDK is closed source, only you can help us.

Thanks.
[Windows Mobile Software Development] Nightstorm99:
Hello friends,

here is a new version of my SenseSDKExtensions.

Changelog:

v0.1.1.0 - 18.07.2010

- add SensePanelDirectory

- landscape support

- QVGA/VGA/WVGA supported resolutions

- SensePanelImageGallery show Image on click

v0.1.0.0 - 13.07.2010

- Alpha Preview

Give me your feedback

Thanks
[Windows Mobile Software Development] Nightstorm99:
Hello!

How can I use others SensePanelItems in my programmed SensePanelItem? :confused:

I need the SensePanelTextboxItem!

please help!

thanks
[Windows Mobile Software Development] serfer222:
XDA_UC_NET is released with new Sense GUI (v0.7)

Thank you for your great SDK!

SDK About screen is included.
[Windows Mobile Software Development] Toolmaker:
I want to try and make my application take screen size into account when it's setting up the GUI. However, when I use StedySoft.SenseSDK.DrawingCE.Resolution.ScreenHeight on my Touch Pro 2, I get a weird value that's 748, while I get the idea that my screen isn't 748 pixels high. Setting the form to 374(= 50%) will make it fullscreen already.

What am I doing weird in that department? I'm calling the ScreenHeight property in the InitializeComponent() function. Is it being initialized improperly, or is the value of 748 pixels correct, even tho setting the form to 374 will do fine?

When I test it on the Windows Mobile 6.5 Portrait QWGA Emulator, it returns sizes that are correct. Is this a bug on my HTC phone?
[Windows Mobile Software Development] greenhacks:
Not sure what you trying to do but:

Using StedySoft.SenseSDK.DrawingCE.Resolution.ScreenHeight will give height on any resolution after deducting height of top and bottom bars no matter if it is portrait or landscape or vga or qvga or wvga

Alternatively you can try this:

System.Windows.Forms.Screen.PrimaryScreen.Bounds.Height

But this will give you exact height of the screen.
[Windows Mobile Software Development] Toolmaker:
That returns 800, and geeting the WorkingArea.Height returns 748. How come the value returned is twice the actual working area? Am I missing something here? Does it have to do with the DPI settings on the form?
[Windows Mobile Software Development] meltwater:
I might be missing something here, but can't you just get the size from the form itself, this.Size.Height?

I'm wondering if the values you are getting are defaults doubling the size to ensure scrolling behaviour is active.
[Windows Mobile Software Development] greenhacks:
What is the resolution you are using?

Paste the sample code here which you are using.

This are basic things and hard to believe that it may have bugs.
[Windows Mobile Software Development] Toolmaker:
I don't think this is a bug. It's most likely my own incompetence in the field of programming for mobile systems.

As for resolution, what exactly are you looking for? I'm on an HTC Touch Pro2, which has a resolution of 480x800, which would explain the 800 and the 748(border areas), but doesn't explain why I can only fill 372 pixels until the screen is filled.

Code I'm using:

int height = StedySoft.SenseSDK.DrawingCE.Resolution.ScreenHeight;
/// ....
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.ClientSize = new System.Drawing.Size(240, height);
[Windows Mobile Software Development] greenhacks:
Sorry but i still dont understand what you are trying to acheive. code looks ok but also incomplete to understand.

What exactly you want to do, and if you can post screenshot with the issue.

When you say fill, what exactly you mean be that?
[Windows Mobile Software Development] Toolmaker:
What I am trying to achieve is to figure out how to get my application to be properly fullscreen without the need to actually scroll. I don't have a lot of controls on my form: Just a SenseNumericFSControl and a SenseListControl with 3 onoff panels and a button. What I am trying to achieve is simple:

Have my window be fullscreen with the SenseListControl in the bottom of the screen. It's around 190 pixels high with the 4 controls on it, and for the best look of my application, I want it to be in the bottom of the screen, with the numeric one in the middle of the form above it.

Full source code:

int height = StedySoft.SenseSDK.DrawingCE.Resolution.ScreenHeight;

this.minutes = new StedySoft.SenseSDK.SenseNumericFSControl();
this.header = new StedySoft.SenseSDK.SenseHeaderControl();
this.itemList = new StedySoft.SenseSDK.SenseListControl();
this.trackbar = new StedySoft.SenseSDK.SenseTrackbarControl();
this.SuspendLayout();
//
// minutes
//
this.minutes.Location = new System.Drawing.Point(70, 40);
this.minutes.Maximum = 60;
this.minutes.Minimum = 1;
this.minutes.Name = "minutes";
this.minutes.Size = new System.Drawing.Size(93, 84);
this.minutes.TabIndex = 0;
this.minutes.Value = 10;
//
// header
//
this.header.Dock = System.Windows.Forms.DockStyle.Top;
this.header.Location = new System.Drawing.Point(0, 0);
this.header.Name = "header";
this.header.Size = new System.Drawing.Size(240, 25);
this.header.TabIndex = 0;
this.header.Text = "Start new session";
//
// itemList
//
this.itemList.FocusedItem = null;
this.itemList.IsSecondaryScrollType = false;
this.itemList.Location = new System.Drawing.Point(0, height - 190);
this.itemList.MinimumMovement = 15;
this.itemList.Name = "itemList";
this.itemList.ShowScrollIndicator = true;
this.itemList.Size = new System.Drawing.Size(240, height);
this.itemList.Springback = 0.35F;
this.itemList.TabIndex = 0;
this.itemList.ThreadSleep = 100;
this.itemList.TopIndex = 0;
this.itemList.Velocity = 0.9F;
//
// trackbar
//
this.trackbar.Location = new System.Drawing.Point(10, 133);
this.trackbar.Name = "trackbar";
this.trackbar.Size = new System.Drawing.Size(220, 16);
this.trackbar.TabIndex = 1;
this.trackbar.Value = 0;
this.trackbar.Enabled = false;
//
// TimerForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.ClientSize = new System.Drawing.Size(240, height);
this.Controls.Add(this.header);
//this.Controls.Add(this.trackbar);
this.Controls.Add(this.minutes);
this.Controls.Add(this.itemList);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Name = "TimerForm";
this.Text = "MeditationTimer";
this.ResumeLayout(false);

When I use an emulator it returns the correct value and my screen uses the way it should look. However, when I test it on my Touch Pro 2, the wrong value is returned and the control is placed outside the screen. There isn't much of a screenshot to show, as the form is empty, where as it works fine in the emulator.
[Windows Mobile Software Development] greenhacks:
Your emulator is same resolution as your phone right? 480x800?
[Windows Mobile Software Development] Toolmaker:
I was using a different emulator, so I switched to the WVGA one with the same dimensions. The same thing happens: It returns the similar height on my phone, and if I use it, I get the same blank spot.

It seems as if the device is either zoomed in or uses half resolution.
[Windows Mobile Software Development] greenhacks:
I do notice that you are using values in size and location which are for QVGA, make them dynamic by getting screen width instead of 240.

Also if you do this: height - 190

That will have different effect on different resolutions.

for qvga if it is 190 then for vga or wvga should be double of it.

you need to fix all that first and then test.
[Windows Mobile Software Development] epiouf:
multiple images on panel

Hey,

Is there posibility to load multiple thumbnail in a same panel? in a controlList?

ths,
[Windows Mobile Software Development] greenhacks:
When you say panel i assume you are talking about panelitem, and when you say controllist i assume you are talking about senselistcontrol.

Answer to both is no.

What exactly you are trying to acheive?
[Windows Mobile Software Development] epiouf:
Yes sorry,

i am using panelitem.thumbnail

And i would like to add in my senselistcontrol but only on 1 panel i want to put like this :
[Windows Mobile Software Development] Nightstorm99:
Hello!

Please look here: http://xdaforums.com/showpost.php?p=7229349&postcount=986

Is that what you're looking for?

greets
[Windows Mobile Software Development] meltwater:
BTW, good news eboelzner was kind enough to respond to my PM asking about the future of the SDK as it's been very quiet recently.
[Windows Mobile Software Development] Nightstorm99:
Thanks for the info
[Windows Mobile Software Development] greenhacks:
Thats a good news. thanks for updating us.
[Windows Mobile Software Development] kliptik:
Very good news! I was starting to worry... This SDK is too awesome to let fall by the wayside!!!
[Windows Mobile Software Development] serfer222:
hi,

sdk is great, but there are two issues in 1.39, that I can't fix.

1. if I insert long line without spaces into multiline textbox, this line doesn't split at the edge of the textbox and characters at the end of the line become invisible.

for example it happens sometime with long path strings.

2. there is unhandled exception:

run sdk demo

make a gesture to scroll items

close form while it is scrolling

50% that application will crash with null pointer exception somewhere in springBack scroll.

I tried this also in several applications that use this sdk and it happens with most of them. if list is scrolling its items when you clear it - application exit.

can anybody help me with these issues?
[Windows Mobile Software Development] epiouf:
Yes great man :)

But i can't use SensePanelImageGallery on my application why ? how i can install this extension ?

Can you send me beta solution Vs2008 plz

Thanks ,
[Windows Mobile Software Development] leen15:
Hi, i've the same second problem.

Another problem is when i exit from a dialog with senselist control and then re-enter immediately, it often give me a COMException.
[Windows Mobile Software Development] Toolmaker:
I see. So when the StedySoft.SenseSDK.DrawingCE.Resolution.ScreenIsVGA flag is set to true, I need to use double sizes for everything. This explains a lot on why it doesn't work. I was looking at the SenseSDKDemo and it didn't really show that in the InitializeComponent function.

However, I tried changing it a bit around, and took the height/width of the screen and use that to create just 1 control, the header. The width returns 400, but when I set it to 400, the control is too big too fit the screen.

Do I need to take double values only for the height and use 240 for width? Or is there something I am missing?

EDIT: I've been messing around a bit, and I find this rather confusing. Is there any information on how to handle screen coordinates dynamically in regards to QVGA / WVGA? Because I have the feeling I keep messing about without any proper background knowledge and that won't do any good. I got something that sort of works, but I don't like that. I prefer to know why things do or don't work.
[Windows Mobile Software Development] kliptik:
ive got a quick question . i could swear i saw this answered before but i cant seem to find it....

i have a sense list control, with several (5) sensepanelmore items. 3 of the moreitems have several sensepanelradio controls. what is the best way refresh the children ? the user can make a change in the settings of the app, that will change the children (radio itemss) displayed.

Thanks and let me know if thats not clear enough.
[Windows Mobile Software Development] serfer222:
There is simple solution:

create member variables for all control that you want to update.

that's it.

Than create member function that updates all linked controls.

for example:

void SetOption1(bool bSet)

{

menuItem_Option1.Checked = bSet;

radio_Option ... //set it to Option 1

//... and so on.

}
[Windows Mobile Software Development] greenhacks:
Well when the moreitems loads its childrens, it always reads the values again if from config file.

From what screen the user will change the settings, and from where are the settings read from?
[Windows Mobile Software Development] kliptik:
the children that are added are based on certain nodes within an .XML file. there is an option to download a new version of said .XML file. so here's what it looks like currently...

1) the user opens SensePanelMoreItem "X", so it loads the children based on the contents of the .XML file

2) the user then goes back to parent

3) the user enters SensePanelMoreItem "Y", and selects the "Update" function which downloads a new .XML file

this is where the problem comes in. "X" still has the same children as it did before the update. i need it to regenerate the children based on the new .XML file.

Kliptik
[Windows Mobile Software Development] greenhacks:
Well actually not sure when you creating those childrens.

But they need to be created in OnBeforeShowItemChildren

So every time you click on parent, childs will be created again and they will read the values as well.
[Windows Mobile Software Development] greenhacks:
PS: anyone know where i can get this kind of icons:

thanks.

Update: Nevermind, i found similar like them:

http://xdaforums.com/showthread.php?t=721095&highlight=icons

http://s652.photobucket.com/albums/uu249/E-Minor/GTX Release/?start=20
[Windows Mobile Software Development] kliptik:
yes i am creating them in OnBeforeShowItemChildren. but it seems that its not updating it every time the user enters the SensePanelMoreItem.... Do I need to remove the children in OnHideItemChildren?
[Windows Mobile Software Development] greenhacks:
Can you show me few lines of OnBeforeShowItemChildren.

The way we need to do is to create each moreitem children in it. so everytime this methods gets called those children will be created.
[Windows Mobile Software Development] kliptik:
yeah ill post up some code later today, cuz im mobile right now.
[Windows Mobile Software Development] kliptik:
OK here we go:

private void OnBeforeShowItemChildren(SenseListControl.ISenseListItem Sender, ref bool Cancel)
{
SensePanelMoreItem spmItm = Sender as SensePanelMoreItem;

if (spmItm.Children.Count != 0)
{
return;
}

string[] activeFonts = //Active fonts from XML file
for (int i = 0; i < activeFonts.Length; i++)
{
SensePanelRadioItem sprItm = new SensePaneRadioItem("sprItm" + i.ToString());

sprItm.OnStatusChanged += new SensePanelRadioItem.StatusEventHandler(/*method*/);

spmItm.Children.Add(sprItm);
}
}

And you know as I'm writing this post, I'm thinking that my problem lies in this:

if (spmItm.Children.Count != 0)
{
return;
}

So I'm going to go play with this and see if that's my issue

EDIT* Yeah that was it... I changed that one line to:

if (spmItm.Chldren.Count != 0)
{
spmItm.Children.Clear();
}

It works like a charm now... Isn't that how it goes? One little line of code can throw you off for a long time...
[Windows Mobile Software Development] greenhacks:
Yes that return is surely a problem, it was not letting new childs to be created. And just used to exit the method.

I knew some small issue in code only, thats why i asked you to show code, but lol, you noticed it yourself.
[Windows Mobile Software Development] MichelDiamond:
yes,really good news.there are much developments with this sdk right now.I'm also about to develop an (larger) app,which uses this sdk as gui.

I only asked only short here one question, because of the helping postings in this thread or by Johnc.. and Thumys,who already released successful apps with sense sdk.

only one question/request (sorry, I'm more experienced in C or C++, especially without a special gui) - is it possible to use some items also in dialog-apps,which are not fullscreen? like a message-box? perhaps with transparent background and no borders? it would be enough to tell me a link,where I can read about coding of that,if that doesn't concern especially sense sdk items.but an "extended message box" with sense sdk-items would be cool.

sorry for my english.

Thanx for this great work and this great helping devs here!

Micha
[Windows Mobile Software Development] kliptik:
I'm not sure I entirely understand, but this SDK does have a messagebox. its in: StedySoft.SenseSDK.DrawingCE.SenseAPIs.MessageBox

Hope that helps!
[Windows Mobile Software Development] MichelDiamond:
yes, I know :) But only idyes/no/ok and I would like to add e.g. a sense sdk combobox or a (bitmap) button. And eventually something to make background and window border transparent.

thanx 4 your answer.
[Windows Mobile Software Development] kliptik:
I understand now... Yeah I was wanting to be able to add a checkbox control to a messagebox... I know there are a few devs working on some extended controls around here. Maybe they could work something up. Or eboelzner (OP) is supposed to be back on here in a couple weeks, so maybe he can work something in.
[Windows Mobile Software Development] greenhacks:
If you guys can make a screen on how it will look, i can work on it after i finish current list in next couple of days.
[Windows Mobile Software Development] MichelDiamond:
hey, thank you. But a screenshot-concept - only the possibility to add e.g. a combobox to the message box, perhaps in the same way with additem as you can add it to a full window. The same for bitmap buttons.

Or would only predefined layouts possible?

then I would propose one messagebox with a combobox, return value is chosen index and the string by ref.

then another messagebox with clickable bitmaps, return value the clicked icon. only a cancel button below the bitmap buttons.if possible with a flexible grid,e.g. 3*5 or 4*4

Is something like that below mission impossible? :)

thanx for your kind answer

Micha
[Windows Mobile Software Development] greenhacks:
Both things are possible. I will add it to my todo list. Just have a little patience :). I will make both of this.
[Windows Mobile Software Development] drizztje:
sense slider

Thanks for this great library. I have one problem, I still can't use them in VS2008 designer, no big deal though. I also have a request, sorry if this is asked before in the thread, do you have any plans to make a tab control, something like the senseslider in this thread?
[Windows Mobile Software Development] greenhacks:
Why not just use that?
[Windows Mobile Software Development] cyberde:
That would be awesome since I also can't get it to work in design itme :( Other than that, awesome SDK!!!
[Windows Mobile Software Development] MichelDiamond:
thanx,mate,cool!

I have enough patience, looking forward to it.the first possibility would be the most flexible, but the quick link variant is perhaps something, which would much devs use for an easy app.

thanx in advance!

Micha
[Windows Mobile Software Development] Nixeus:
Hello my friends,

Anyone have news about eboelzner ?

Is this project dead ?

Thanks a lot !
[Windows Mobile Software Development] greenhacks:
I dont think so this project is going to die.

Except OutOfMemoryException, everything is cool.

He will fix it someday :)
[Windows Mobile Software Development] cyberde:
No problems here, but I'm using CF.NET 3.5. Maybe that's where the warning is for in the first post :P

I'm anxiously waiting for it to work in designtime so that designing apps with this SDK will become easier.
[Windows Mobile Software Development] Nixeus:
Yes, i hope too the designer in order to make easily design, and maybe a documention with all the property for each control ( or, some properties, in object inspector)
[Windows Mobile Software Development] greenhacks:
If you are planning to use SenseListControl which i am sure you will, then Design support is of no use.

Manual coding is better way, and gives much more control.
[Windows Mobile Software Development] cyberde:
True there, I'm using SenseListControl right now to add controls and such, only it creates so much code that the designer normally does for you. And you always need to run the app to see if the design/layout fits your needs.

Just because of that designtime would be nice.
[Windows Mobile Software Development] Nixeus:
Hello,

I have create an apps with 3 controls !

When i quit my apps ( application.exit()) i have an exception :

ObjectDisposedException

Nevertheless, i use the Dispose() method on my SenseSDKControl before my application.exit.

I don't knwo why i have this problem

Anyone have an idea ?

Thanks a lot, :)

regards,

Nixeus
[Windows Mobile Software Development] greenhacks:
You are surely missing something. You can attach that sample project here and we can take a look.
[Windows Mobile Software Development] Nixeus:
Thanks a lot my friend,

here is my mini project !

For crashing the application it's very simple : Run the app, clik on the button, clik on back, and click on Exit.

Thanks a lot my friend,

regards,

Nixeus
[Windows Mobile Software Development] greenhacks:
I am not sure if you can dispose your main form.

See the attached project, does not give any error. notice the lines which i commented.
[Windows Mobile Software Development] d1k_is:
Has anyone tested this SDK on Windows CE 5?

Doing a project with a CE 5 Device and would love to use something like this...