yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Software Development] LORDShadowMan:
well, i dont understand your sentence in detail. you want to loop through your senselistControl and get the primary and secondary text?...

Well try it like this:

foreach (sensePanelCheckBoxItem item in YourSenseListControl)
{
item. primarytext = ...;
item. secondarytext = ...;
}

it this doesnt work go through the whole list and compare each element with the sensePanelCheckBoxItem class.....
[Windows Mobile Software Development] LORDShadowMan:
is it still usefull to report bugs?

does the developer still work on it???

If yes: there seems to be a problem with the senseTrackBar item.... it disappear if you use it on windows 6.5, but is avaible on 6.0 *confused*
[Windows Mobile Software Development] greenhacks:
That is strange, are you testing on emulator or device itself?
[Windows Mobile Software Development] LORDShadowMan:
both. on the emulator and the device....

the point is: the 6.0 device emulator shows the trackbar... without any changes in the code.
[Windows Mobile Software Development] Nixeus:
Hello my friends,

I have a strange problem.

I have create a WinForm, and added some SensLabel on this.

The project build without problem, but i have a refresh problem on my label.

Have you some idea please ?

Thanks a lot,

Here is a screenshot :

Thanks a lot :)
[Windows Mobile Software Development] LORDShadowMan:
read the previous pages.... some other guy had/has the same Problem. wihtout a solution yet.
[Windows Mobile Software Development] LORDShadowMan:
The Answer of many problems might be: read the debugger log :o

The reason for the problem is: (in German since my VS2008 is in german):

"Einzelschritt: StedySoft.SenseSDK.SenseTrackbarControl.Value.get-Methode ohne Symbole wird übersprungen.

Einzelschritt: System.Drawing.Bitmap.Bitmap-Methode ohne Symbole wird übersprungen."

I try to translate:

"Singlestep: StedySoft.SenseSDK.SenseTrackbarControl.Value.get-Methode without a symbol is skipped.

Singlestep: System.Drawing.Bitmap.Bitmap-Methode without Symbols will be skipped."

pls dont ask me what a symbol has to do with a get-method :confused:
[Windows Mobile Software Development] Nixeus:
So....no solutions ? :( :(
[Windows Mobile Software Development] greenhacks:
Can you attach the code which has that problem, so i can test it.

Thanks
[Windows Mobile Software Development] Nixeus:
Here is in attachment the projet with just a SenseLabel, and the problem.

Thanks a lot my friend,

regards,

Nixeus
[Windows Mobile Software Development] greenhacks:
Thanks, i am looking at it. I will try to stay with you till it gets resolved.
[Windows Mobile Software Development] Toolmaker:
I have a strange problem installing it. I did what is said in the documentation folder the 1.39 build:

- Copy the meta files to the designated directory

- Open VS2008, add the tab to the toolbar

- Create smart device project

- Execute the resetuserdata command and re-add to toolbar

However, it doesn't show up, unless I select the "Show all" option in the toolbar. My newly created tab does show up then, but it's "grayed out", as if the unusable by a smart device project.

What exactly am I doing wrong? I am running VS2008 with the latest Service Packs and I installed the Windows Phone 6.5 SDK. Target of my application has been WM5 and WM6, doesn't make a difference.

Any ideas on this?
[Windows Mobile Software Development] greenhacks:
No matter what you do, as of now there is no solution to this.

You need to code the controls manually and assign properties.

Refer to examples already provided.

No point in trying to get controls in Toolbar, as lots of people have tried with no success.
[Windows Mobile Software Development] greenhacks:
I can confirm, i have the same issue.

I am taking a closer look on this issue.

Will update you.
[Windows Mobile Software Development] Nixeus:
Thanks a lot, it's very niiiice :)
[Windows Mobile Software Development] Toolmaker:
Is this purely in VS2008 or is this a problem in VS2010 as well? Because I might actually get the express installation for it.
[Windows Mobile Software Development] Nixeus:
In VS2010 you CANNOT create smart device application....You can only creat WP7 applications. So you need to stay with vs2008.
[Windows Mobile Software Development] greenhacks:
After looking for few minutes, i think we all are wasting time with this label which surely has some issue in rendering.

I found no difference in regular label control which comes with visual studio.

Just use the backcolor of that label as:

lbl.BackColor = DrawingCE.SenseColors.List_Background

And it will look like same.

Unless you want features of multiline like SensePanelItem provides.

Let me know what exactly you want the label to do.

Windows label should just work fine.

What you think?
[Windows Mobile Software Development] Nixeus:
"lbl.BackColor = DrawingCE.SenseColors.List_Background"

Where i need to paste this code ?

Thanks a lot,

regards,

Nixeus
[Windows Mobile Software Development] greenhacks:
1. Create a new project

2. Drag and drop Label Control which comes with VS2008 on the form.

3. In properties for that label, name it something like lbl

4. In Code, FormLoad Event, assign new color to lbl as:

lbl.BackColor = DrawingCE.SenseColors.List_Background;

Just to make sure it looks like sense colors which comes with HTC interface.

hope that helps.
[Windows Mobile Software Development] Nixeus:
I have tried this whitout succes :

using System;
using System.Linq;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace SenseTest
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}

private void Form1_Load(object sender, EventArgs e)
{
this.senseLabelControl1.BackColor = StedySoft.SenseSDK.DrawingCE.SenseColors.List_Background;
}
}
}
[Windows Mobile Software Development] greenhacks:
Dont use senseLabelControl1 which comes with SenseSDK

use regular Label control from toolbox on left.
[Windows Mobile Software Development] AlexDias:
This dll didn't work for me :/

When i try to add it to the toolbox it starts crying around about unhanded exceptions. Does anyone knows how to shutup this baby? :D
[Windows Mobile Software Development] Nightstorm99:
Which NET version you use?

NET 2.0 does not work!

Greets
[Windows Mobile Software Development] greenhacks:
Never saw anyone with that error.

Try to create a new project and manually add code to create controls. (toolbox does not work as of now).
[Windows Mobile Software Development] AlexDias:
I'm using .net 3.5, plus that project is the demo one that comes with the dll

In a new project...the result of adding the dll, after those exceptions.

by the way, i'm using visual studio 2008 team edition
[Windows Mobile Software Development] LORDShadowMan:
Yep, thats what most user experience... you have to do it manually without the desinger. that should work.
[Windows Mobile Software Development] Nightstorm99:
The designer and cooperation with SenseSDK are still a problem.

Add the controls in code!
[Windows Mobile Software Development] AlexDias:
meh :rolleyes: I'll try to install a new computer with only visualstudio 2008 and try again :/
[Windows Mobile Software Development] greenhacks:
Still after doing that, controls will not work on toolbox. :), you will end up at same position like you are at right now.

Lots of people already tried.
[Windows Mobile Software Development] AlexDias:
That's wierd cause the demo projects seem to have been designed :/

There must be some way..
[Windows Mobile Software Development] AlexDias:
Just finished a new install, this time a windows server 2008 enterprise x64 + all updates + visual studio team edition 2008

I had the same exact problems with the designer, it just doesn't seem to be working. Maybe some time later it gets fixed and my visual studio stops crying about it :p
[Windows Mobile Software Development] greenhacks:
:), Didn't i mentioned that it will be of no use. All are hoping that in future it will get fixed.

But by now all are used with manual code. :)
[Windows Mobile Software Development] LORDShadowMan:
well, maybe! :p

its all about you habit....
[Windows Mobile Software Development] meltwater:
Yep, to be fair it would help to have the section about the designer removed from the install instructions for now, save this coming up again.

The manual code isn't too bad when you get into it, all the designer gives you is easy placement of items (which for the list panel items isn't much use anyway). Also it is good practise to make all your positions and sizes calculated from the screen-size, so by that point, the designer isn't much use anyway.

Good luck.
[Windows Mobile Software Development] Toolmaker:
Are there problems with the SenseNumericControl? For some reason it seems to be fixed on a size of (39,35). Trying to make it bigger doesn't seem to have any effect, which seems odd to me.

I've also noticed this with the SenseButtonControl, I can't seem to make it any larger than 28 pixels high. Am I missing something concerning how to set the size of the controls or is this a real bug in the code?
[Windows Mobile Software Development] greenhacks:
I believe it is fixed size because of the graphics used for background.

You may not be able to resize (height,width).
[Windows Mobile Software Development] digibum:
The instructions on how to install this SDK is wery por!

For "developers" like me, who are youst traying to get started with WindowsMobile thers nou way i can setup this to work.

There are four files in the bin folder.

SenseSDK.Resources.QVGA.dll - what to do with this file?

SenseSDK.Resources.VGA.dll - what to do with this file?

StedySoft.SenseSDK.dll - ad this to the tollbox (i newer don this before and your instructions didnt help at all)

StedySoft.SenseSDK.PocketPC.asmmeta.dll - copy to the DesignerMetadata folder (the only thing that i understen)
[Windows Mobile Software Development] LORDShadowMan:
currently a really ugly missing feature if you try to be fingerfriendly.... hopefully fixed in the next release? ;)
[Windows Mobile Software Development] greenhacks:
There are sample project provided in the zip file.

Take a look.

All dlls should be added as reference in project.

You can run the examples and study how things are coded.

that should get you going with the sdk.
[Windows Mobile Software Development] Toolmaker:
That's kinda silly. Esp. the numeric control is WAY to small to be able to finger operate. The button is somewhat smallish, esp. since the messagebox dialog has a bigger button on it. And the time picker seems to use 2 numeric controls, and that one can be resized.
[Windows Mobile Software Development] greenhacks:
Well, there are 2 properties called as AutoDialog in example.

make them true, and then when you click on numeric control, a messagebox style dialog box open with numeric control in big size.

This are the properties:

itmNum.AutoShowDialog = True

itmNum.AutoShowDialogText = "Select a number..."
[Windows Mobile Software Development] Nixeus:
Hope the 1.40 version will be out soon :)
[Windows Mobile Software Development] kliptik:
has anyone heard from OP recently? I PM'd him a week or so ago and no response... Hopefully he's back soon cuz this SDK is rockin!
[Windows Mobile Software Development] Nightstorm99:
Hi friends,

I designed two new panels for the SenseSDK.

They are not quite finished, but here's a small preview.

The SenseSDKExtensions are only for WVGA!

Just down load and copy machine.

When I'm done then I open a new thread!

Thank you

(My English mistakes can keep it)

nightstorm99

SenseSDKExtensions:

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

SensePanelImage:

- PrimaryText with TextColor/TextAlignment/TextFont/TextFontSize/TextStyle

- SecondaryText with TextColor/TextPosition

- Image with Size/Position (left,center,right)

- BackColor

- Border (show demo)

SensePanelImageGallery:

- PrimaryText with TextColor/TextAlignment/TextFont/TextFontSize/TextStyle

- images per Line -> 3, 4, 5 or 6

- read files from directory or add images from resource

- click on image to show big (cooming soon)

- filename from image, show under image (cooming soon)

v0.1.0.0 - 13.07.2010	- Alpha Preview
[Windows Mobile Software Development] kliptik:
Nicely done!!! I will definitely check these out!
[Windows Mobile Software Development] recrack:
Wow!!, really nice!!
[Windows Mobile Software Development] greenhacks:
I was about to write it after 1 control i was working on :), thank god i did not, otherwise there would be 2 same controls.

Image control looks good. good work.
[Windows Mobile Software Development] LORDShadowMan:
Klasse Sache!!!! Wäre noch besser wenn du es auch VGA fähig bringen könntest!! ^^
[Windows Mobile Software Development] Nightstorm99:
Thank you

the PrimaryText and SecondaryText properties come from you. ;)

You've also done good work!

greets
[Windows Mobile Software Development] meltwater:
Wow that is superb! Excellent work.

It's just the kind of stuff which will be perfect for my tab projects.

I don't suppose I could be really cheeky and ask from some other controls... seems like the quality will be far greater than my custom control skills are able to produce.

I have a custom control which does this, where each image is cycled through as your press on the left or right, but it would be nice to have gesture support etc and even animated transitions.

[I've attached the source, it's a little rough since it was only a proof of concept at the time, yet to clean it up (choice of item #1 being centre also probably wasn't the best one)]

Also, an extended Panel List Item which has Image box (location definable, at least left/right), a Title and then multiline text (ideally height auto-adjusted to fit) and field for date/time (location definable).

Essentially along the same format as the items on the facebook tab [2+2 together you can guess where I'm going with it]... Again, I've got the basics of a custom control for this, but again, it's not great.

Obviously it's a cheeky ask, so feel free to reject it! ;) Excellent work with the other controls.
[Windows Mobile Software Development] greenhacks:
I am glad my code was useful, that was my main purpose to put with source so many people can start extending and make great controls on top of sensesdk.
[Windows Mobile Software Development] greenhacks:
In my next release of sensepanelitemex, i will be allowing to change location of thumbnail and size.

Currently there is already auto height feature in it.

Also there is an additional Text line called as Footer for extra text other the primary and secondary text.
[Windows Mobile Software Development] meltwater:
Excellent, will look forward to making use of it! :)

Colours will be adjustable too I hope.

Will mean I can focus directly on implementing features rather than wrestling with trying to create custom controls, so in return will be a better facebook tab for all!
[Windows Mobile Software Development] greenhacks:
Colors are already adjustable.

http://xdaforums.com/showthread.php?p=7124325

Feature list:

01. VGA & QVGA

02. Portrait & Landscape

03. Auto Height for Primary/Secondary/Footer Text

04. ForeColor for Primary/Secondary/Footer Text

05. Font Name/Size/Style for Primary/Secondary/Footer Text

06. Font Text Alignment (Near=Left, Center, Far=Right)

07. A Hidden Field to store any other data for storage

08. Selection Property with BackGround and CheckBox Presentation style

09. With completely commented Source Code (VB)

:)
[Windows Mobile Software Development] crypt0r:
Hi,

When I try to add the

StedySoft.SenseSDK.dll

To my Toolbox nothing happens.

There is only

"There are no usable controls..."

I placed the

StedySoft.SenseSDK.PocketPC.asmmeta.dll

In this folder.

I'm using

HTC HD2 of course

VS 2008, VB.NET

Microsoft Mobile 6.5.3 SDK

3.5 .NET CF

Any suggestions?
[Windows Mobile Software Development] greenhacks:
There is no fix for this. (no matter what you do, it wont show up)

Try to code manually, refer to examples given in zip file.
[Windows Mobile Software Development] zaijian:
Do have signed versions of the dlls?
[Windows Mobile Software Development] zaijian:
Some other needed features:

SensePanelBase.Parent property - so we can traverse the control hierarchy.

SensePanelBase.SwipeToChildren - to programatically invoke the swipe over.
[Windows Mobile Software Development] heart_crafter:
...

It's funny i also have almost the same prob... most of my controls shows up except Sense Interface SDKs and for some reason all controls shows up if i start the project using net cf 2.0.

Edit: All Contols shows up. Some with OutOfMemory erros (same errors when i open the sample project that is set to use 3.5, and in which controls dont show up.

so now im thinking may be somehow net cf 3.5 is not registered fully... and may be thats why controls does not show up.

issue still unresloved :D

Edit2: So finally i just ran(debug mode) the sample app on an emulator... and it worked flawlessly...

I guess it's just the form view that's not displaying the controls correcty...

so my work arround would be placing the contols by starting the project wih 2.0 support, after placing all controls upgrading the project using Project (menu)> Upgrade Project...

Edit3: So i made a new app using 2.0 placed all my controls... upgraded to 3.5... thinking i should replicate the demo project just to test... now i was trying to put sip control! and its not there :D i guess all controls get lost in 3.5 :D ... i feel like im writing a blog haha

LastEditForThisPost: BTW i have tried the reset fix [cmd /c start /wait devenv /setup /resetuserdata /selfreg /resetskippkgs], it did not work for this issue.
[Windows Mobile Software Development] Archer:
If you add \r\n into the text property where you want the line break and then make the height += 25 then it should suit your needs.
[Windows Mobile Software Development] :
It would be nice to see more applications using this SDK. I think HTC has come up with one of the best interfaces in the mobile market. Very beautiful and easy to read while remaining finger friendly.

Very good work!
[Windows Mobile Software Development] spastik:
Thats a good tip but how can i now how much words each line can handle ? Isn't that depending on the resolution of each device ?

EDIT: One other thing : labels should have a fixed width because text is getting underneath other objects (on/off switch, etc). To break the string I need to count all the words, check which word is closer to the "per line limit" and then split it. There has to be some other (easier) way. :-(
[Windows Mobile Software Development] go4saint:
This worked for me! I just copy-ed all the controls from sample, into a form in my project, no need for toolbox now.

I can't manage to enable SIP in .VB Net, when textbox get focus

sip.Enable(Me.senseListCtrl.Handle)
AddHandler sip.EnabledChanged, AddressOf Me.sip_EnabledChanged

i get

Error	1	'Enable' is not a member of Microsoft.WindowsCE.Forms.InputPanel'.
[Windows Mobile Software Development] spastik:
I'm now trying to protect my application but it seems impossible to do it. Could you please check this thread ? http://xdaforums.com/showthread.php?t=656867
[Windows Mobile Software Development] Slimshady007:
Will it work on my htc new gene...qvga resolution..wm 6?
[Windows Mobile Software Development] Archer:
It would be a bit fiddly, sure, but use Graphics.MeasureString to get the width and height of a string, and compare that to the width of the sense control that you're using. You will need to hardcode some values, like the size of the controls on the right of each panel type, but you can at least work out if the string is too wide for the control. After that, it's up to you to figure out where to put the newline, but it's pretty easy.

You could always ensure which font is used, rather than allow for system fonts. That way you could be 100% sure what it will look like on any device (of the same resolution).
[Windows Mobile Software Development] Bloodwah:
First up great work on this SDK, been looking for something like this and I must say yours is one of the nicest implementations I have seen.

One thing though I haven't been able to add a TextBox Panel to the More Panel, it throws an exception when it tries to display its children.

Also one very small suggestion, any possibility of an option to set focus to the TextBox in the TextBox Panel whenever any area of the panel is clicked.
[Windows Mobile Software Development] PhilMorris:
I think that the MorePanelItem can accept only radio items as children.

It would be great to accept textboxes and combos.

Everytime I add sth different than radio item, it throws a form exception.
[Windows Mobile Software Development] Sl4sher:
Really like this SDK despite the fact that I can't use it in designer :P . Actually I need to create elements dynamically anyway so this is perfect.

Just wanted to point out, if you set the passwordchar property on a SenseListTextbox control, it's only obfuscated while you type in text. After it looses focus the entry is in plain text.

Also, I'd love a date and a time control, or a way to use the pop-up from the numeric control to hold any arbitrary .net control that can define a value.
[Windows Mobile Software Development] PhilMorris:
Somebody please tell me a way to capture SelectedIndexChanged event for SensePanelComboItem in VB.NET

I translated C# code from the example, but I get an error.

Please help...
[Windows Mobile Software Development] Lexx01:
Really like this, good work.

just a question, am i missing some settings or there is no kinetic scrolling in SenseListControl? or any chance it will be added in next version?

also.. setting

senseListCtrl.ShowScrollIndicator = true;

makes scrollbar visible, but not working. cannot scroll list using it.
[Windows Mobile Software Development] Svesel:
Mhmmm, become some exceptions about "index out of range" errors in SenseListControl if i add more than 35 Items... how did you worked out that thing, did you give manually every item an index ? or is it just me ?

greets
[Windows Mobile Software Development] TeDeV:
when can we expect a new version? (with designer)
[Windows Mobile Software Development] hzggz:
thans for the good work
[Windows Mobile Software Development] Archer:
It's not a scrollbar - it's a scroll indicator. It just shows where you are in the list.
[Windows Mobile Software Development] go4saint:
Thanks for this great SDK!

I use .vb net to create a small app and I need a little help

I have a list with a SensePanelMoreItem and 2 SensePanelTextboxItems.

How to change the values of SensePanelTextboxItems according to SensePanelMoreItem selection ?

For example, if I select a Children from SensePanelMoreItem with

Primary text = "Michael"

Secondary text = "Jordan"

Result should be

SensePanelTextboxItem1.Text="Michael"

SensePanelTextboxItem2.Text="Jordan"

Thanks!
[Windows Mobile Software Development] Archer:
It sounds like you might be getting the use of the "more" item a bit confused. What are you trying to do? If you change page by clicking a "more" item then you won't even be able to see the textbox controls.
[Windows Mobile Software Development] Archer:
I can confirm what someone reported earlier.

When using a SensePanelMoreItem and adding a SensePanelTextboxItem, I get a System.NullReferenceException in the SenseSDK.dll.

I was hoping to get a release of one of my apps this weekend, so I'm going to have to find an alternative to just using a textbox. (I'll probably end up doing a dialog style form and using a SensePanelItem that opens the dialog when you click it.)

So not a showstopper, but a pain.
[Windows Mobile Software Development] go4saint:
To be more explicit,

On a SenseListControl I have

- 1 SensePanelMoreItem (which contains several SensePanelRadioItems - with primary and secondary text)

- 2 SensePanelTextboxItems.

After selecting a SensePanelRadioItem from SensePanelMoreItem and return back to SenseListControl, I want that first SensePanelTextboxItem.text to get the value from SensePanelRadioItem primary text and second SensePanelTextboxItem.text to get the value from SensePanelRadioItem secondary text.

I hope I made myself clear, as English is not my native language :)