[Controls] SenseSDK Extended Controls (6 Controls) Updated: 31July,2010 - Windows Mobile Software Development

Hello, i am trying to post few extended controls from SenseSDK from eboelzner with source code.
They all inherit SensePanelBase
http://forum.xda-developers.com/showthread.php?t=648906
They all will work under SenseListControl or direct on form.
Controls name starting with SensePanel only work under SenseListControl.
Code may be bit dirty, but is due to lack of time. But will surely be fixed and optimized.
Right now controls do not have documentation. I am working on it to make it and will post at earliest.
However there are examples for all controls in a demo app for VB.net and C#.net.
http://sensesdkextended.codeplex.com/SourceControl/list/changesets
Controls:
1. SenseButtonControlEx (very basic release)
2. SenseHeaderControlEx (2 Different Styles, see screenshots)
3. SensePanelItemEx (4 Different Styles, inludes multi columns, see screenshots)
4. SensePanelLinkLabel (see screenshots)
5. SensePanelNumericItemEx (2 and 3 digit support, see screenshots)
6. SenseSelectionControl (under development, do not use as it is incomplete)​
I did not get much time to test. however i am fixing bugs at earliest on them.
Give feedback with a reason on how you want to use this control as, helps me a lot to develop further, and if i know how it is going to be used, then it will give me motivation too
Requirements:
1. .Net Compact Framework 3.5 (requirement of SenseSDK)
2. Application running without any errors using SenseSDK​
Screenshots in Post #3
I know lots of developers are looking for this controls. Would be helpful to them.
If there are bugs, post them here, and they will be fixed for sure.
Feedbacks would be great.
Will add more controls soon.
Have Fun!!
[Downloads]
It was getting difficult to manage multiple versions, and release.
So now i am using Codeplex for everything.
It has Complete Source Code, screenshots, and releases for download.
Has a compiled Dll which simply can be added as Reference.
Project: http://sensesdkextended.codeplex.com/
Release: http://sensesdkextended.codeplex.com/releases/view/49857
Daily Updated Code: http://sensesdkextended.codeplex.com/SourceControl/list/changesets

Documentation Coming soon.
Please refer to demo app for now.

Screenshots:
http://s832.photobucket.com/albums/zz246/greenhacks/SenseSDKExtended/

Hi! nice work! is possibile to set font of SensePanelItemEx as "Bold"?

leen15 said:
Hi! nice work! is possibile to set font of SensePanelItemEx as "Bold"?
Click to expand...
Click to collapse
Yes, in few minutes , i will post v0.2 shortly for you.

greenhacks said:
Yes, in few minutes , i will post v0.2 shortly for you.
Click to expand...
Click to collapse
Oh thanks a lot.. I'm trying to implement it, but i use c# and not vb, so i'm curious to see if i did the right things

leen15 said:
Hi! nice work! is possibile to set font of SensePanelItemEx as "Bold"?
Click to expand...
Click to collapse
leen15 said:
Oh thanks a lot.. I'm trying to implement it, but i use c# and not vb, so i'm curious to see if i did the right things
Click to expand...
Click to collapse
It now has FontStyle property.

uhm.. but how can i use the class in my c# project? I add the SensePanelItemEx to my project and build successful, but if i try in any place to create an object derived from SensePanelItemEx i have :
"The name 'SensePanelItemEx' does not exist in the current context"

leen15 said:
uhm.. but how can i use the class in my c# project? I add the SensePanelItemEx to my project and build successful, but if i try in any place to create an object derived from SensePanelItemEx i have :
"The name 'SensePanelItemEx' does not exist in the current context"
Click to expand...
Click to collapse
I dont think you can include vb version in your c# project.
I think i will have to get c# versions also for this controls.
Will try to post tomorrow which should work for you.
If you want you can create a class library project in vb for smart device, and compile, and use the dll in your c# and that would work.

greenhacks said:
I dont think you can include vb version in your c# project.
I think i will have to get c# versions also for this controls.
Will try to post tomorrow which should work for you.
Click to expand...
Click to collapse
I'll wait you, very need this control!

Hi, i successful convert your SensePanelItemEx to C# with this:
http://www.developerfusion.com/tools/convert/vb-to-csharp/
So here is the working c# class
ps. I attach a little screenshot of the working item with Bold and Red Color

An idea:
I think it would be very useful integrate in this custom item the automatic resize of the height according to the length of the text and the screen position (portrait or landscape).
PS:No normal Thumbnail Support?

leen15 said:
An idea:
I think it would be very useful integrate in this custom item the automatic resize of the height according to the length of the text and the screen position (portrait or landscape).
PS:No normal Thumbnail Support?
Click to expand...
Click to collapse
There is no support for landscape in SenseSDK, so nothing much we can do as we are just inheriting SensePanelBase.
Regarding, thumbnail support, i will get it checked and get it drawn. thanks for noticing, missed it completely.
Good to know you was able to make it work.
I would also suggest you to study the code so you can understand it completely and also do changes like you need, that is the main reason i am providing code.
if you find bugs, do let me know.
thanks.

greenhacks said:
There is no support for landscape in SenseSDK, so nothing much we can do as we are just inheriting SensePanelBase.
Regarding, thumbnail support, i will get it checked and get it drawn. thanks for noticing, missed it completely.
Good to know you was able to make it work.
I would also suggest you to study the code so you can understand it completely and also do changes like you need, that is the main reason i am providing code.
if you find bugs, do let me know.
thanks.
Click to expand...
Click to collapse
I'm tring to understand the code for Thumbnail support but with no result because the SensePanelItem have Thumbnail and iThumbnail support and I try to integrate Thumbnail in your SensePanelItemEx but the text don't go at the right of the thumb, i think because i've problem to manage the Rectangole in the panel..
I need to have like as the screenshot, with bold support!
PS: i don't understand the no landscape support..
The senseSDK go fine in landscape.
I think that we can user the SizeF stringSize = g.MeasureString(s, f); that you call in OnRender function but that you don't use, and the text don't go in multiline.

leen15 said:
I'm tring to understand the code for Thumbnail support but with no result because the SensePanelItem have Thumbnail and iThumbnail support and I try to integrate Thumbnail in your SensePanelItemEx but the text don't go at the right of the thumb, i think because i've problem to manage the Rectangole in the panel..
I need to have like as the screenshot, with bold support!
PS: i don't understand the no landscape support..
The senseSDK go fine in landscape.
I think that we can user the SizeF stringSize = g.MeasureString(s, f); that you call in OnRender function but that you don't use, and the text don't go in multiline.
Click to expand...
Click to collapse
I dint knew landscape was supported. i will get it checked.
If you can post a screenshot in landscape mode, would be appreciated.
Thumbnail support is already coded few hours ago, and going through some basic testing.
should be posted in next few hours.
and will look same like your screenshot.

in the last screenshot you provided, i believe you are setting the height yourself for the panelitem?

greenhacks said:
in the last screenshot you provided, i believe you are setting the height yourself for the panelitem?
Click to expand...
Click to collapse
Yes, it is because i need MeasureString onRender!
Now i manually add a \r\n when the string is upper of the width of the panel, and add a costant height on every new line , but not working good in landscape mode and in different resolution mode.
See my screenshot for landscape mode.

leen15 said:
Yes, it is because i need MeasureString onRender!
Now i manually add a \r\n when the string is upper of the width of the panel, and add a costant height on every new line , but not working good in landscape mode and in different resolution mode.
See my screenshot for landscape mode.
Click to expand...
Click to collapse
thanks for screenshot.
I already figured out the issue for height, and MeasureString is being integrated.
Will get the landscaped support working.
Do you think in first screenshot of SMS you showed, the thumbnail should have been moved to top align, rather then middle? or should have option for top,middle,below?

greenhacks said:
thanks for screenshot.
I already figured out the issue for height, and MeasureString is being integrated.
Will get the landscaped support working.
Do you think in first screenshot of SMS you showed, the thumbnail should have been moved to top align, rather then middle? or should have option for top,middle,below?
Click to expand...
Click to collapse
I think that would be great to set the position in screen.
In my app i need in the list of sender this right size and middle, but in SMS that i show i would have the thumb a little small and at the top (align of the first line of Primary Text, that is the contact name )
Thanks for your work i wait for automatic height of the panel!

leen15 said:
I think that would be great to set the position in screen.
In my app i need in the list of sender this right size and middle, but in SMS that i show i would have the thumb a little small and at the top (align of the first line of Primary Text, that is the contact name )
Thanks for your work i wait for automatic height of the panel!
Click to expand...
Click to collapse
Auto height and thumbnail support added.
thanks and do give feedback.

Related

[upd. Nov 17, 2008] hgToday & hgAgenda: Fingerfriendly calendars

11/17/08: Version 0.31 of hgToday
Bugfix
Added hgColors 0.3 config file in zip archive. This makes it possible to change the font size of the list, and the height of the individual list items.
11/10/08: Version 0.3 of hgToday
Updated to work with the latest version of Christec's framework
Rewritten list control (loosely based on KListControl)
Removed buttons on top, menus included in popup menu, moving to next/previous day through finger movement.
New popup menu is now scrollable with finger.
New datepicker, more fingerfriendly.
Skinning with bitmaps has been removed in order to reduce memory usage.
Colors can still be changed.
9/11/08: Version 0.2
Added the program hgColors to make it possible to customize all colors.
Added the option of seeing all appointments and all tasks together.
Bugfix for the calendar dialog (got stuck on the screen sometimes).
9/5/08:
Added hgAgenda to the files below. This is the standalone full screen version of hgToday. It also has some more images for skinning.
Also added some more screenshots.
Earlier:
hgToday
This is a small fingerfriendly plugin I've put together for my todayscreen. I use it as one of my views in my Homescreen++ setup (prev. BatteryStatus). It can also be used as a regular today plugin.
hgToday will show you the current appointments and all tasks not completed with a due date on or before today, or with a start date on or before today (i.e. all tasks that should be worked on).
The list can be scrolled with a finger.
If doubleclicked, it will mark the item completed.
To view the task, hold the finger long enough for item to be selected and popupmenu to show, tapping view will take you to the default calendar/task application for editing and viewing.
Scroll left or right for next/previous day.
Skinning
This can be done with hgColors. Just click on the various items, choose save, and restart hgToday.
Both list height and item height can be changed.
Font size can also be changed, although if too large, the day will be mixed with the description.
The file hgColors must be in the same directory as hgToday or hgAgenda.
Future plans:
More fingerfriendly editing, entering new items.
Update hgAgenda to 0.3.
+??
To install hgAgenda:
Just unzip the files to any directory - can be used on a storage card too.
To install hgToday:
Must be installed to main memory.
1) Uninstall previous version of "ChrisTec Managed Today Screen Item Framework" and hgToday.
2) Unzip and install the "ChrisTec Managed Today Screen Item Framework" (see separate copyright notice).
3) Copy hgToday.dll to the same directory where the ChrisTec Framework is installed (normally "Program Files\Managed Today Screen Framework").
4) Go into settings, Today, Items: and make sure the "Managed Items" is checked.
Thanks to dosfan for his KListControl (http://forum.xda-developers.com/showthread.php?t=333124)
I don't take any responsibility for the problems this program might cause on your device, but it seems to work for me on a smartphone running Microsoft Mobile 6.
I value comments, but can't promise anything,.
Hope it can be useful for other people.
Great software calendar .. thank you veru much for this release
any "working" screenshot please ?
Im not able to get working on Sprint Touch 6.1. I had the HGplugin showing in the settings/home/items. I then closed out and went back in and its gone. I have tried to reinstall a few times with no luck.
Screenshots
I'm sorry, but I didn't know that you had to have a url to post a screenshot. Therefore the small bmp file.
Installation
Csquared said:
Im not able to get working on Sprint Touch 6.1. I had the HGplugin showing in the settings/home/items. I then closed out and went back in and its gone. I have tried to reinstall a few times with no luck.
Click to expand...
Click to collapse
Sorry about your problems.
Did you try going into the registry to see that the height is correct? Do you have other plugins? Can you run the file hgToday.exe directly? Can you try to put a checkmark in the today settings for Managed items?
It doesn't work. The item doesn't appear in settings/home/items. I tried to open the executable and I get an error: Null reference exception.

			
				
dancer_69 said:
It doesn't work. The item doesn't appear in settings/home/items. I tried to open the executable and I get an error: Null reference exception.
Click to expand...
Click to collapse
Have behavior here. item not showing in today setting. launching the exe returns this error.
hgToday.exe
NullReferenceException
en Christec.WindowsMobile.TodayScreen.TodayScreenPluginForm.OnLoad(EventArgs e)
en System.Windows.Forms.Form._SetVisibleNotify(Boolean fVis)
en System.Windows.Forms.Control.set_Visible(Boolean value)
en System.Windows.Forms.Application.Run(Form fm)
en SampleTodayScreenItem.Program.Main()
updated plugin
It seems my app was based on an early version of "ChrisTec Managed Today Screen Item Framework".
So I've attached that version in my first post. That should the program run. I have had it on my device for about a month now.
However, I probably should upgrade my app to take advantage of the newer version of the framework. The reason I didn't do that in the first place, was because it used an exe file that could be run by itself. The newer version requires a dll file.
It works good on my Kaiser - thanks.
Screenshot? I can't see anything on that small 1x1 pic!
NotLutzik said:
Screenshot? I can't see anything on that small 1x1 pic!
Click to expand...
Click to collapse
Did you see post #8?
It's quite similar to the gslide file explorer (we use the same list control), except hgToday doesn't have to be full screen.
I'm also hoping to release a non-plugin version later today.
Feedback: ))
the viewing options of all appointment and all tasks and so on are wonderful. also the option to change the height..
the scrolling thing is VERY important and useful..
the gray background is heavy on the eyes... i'd make it compatible with the tsk.. that is, transparent.
an option to view all appointments+all tasks is important in my eyes... for day to day use..
thank you so much.. i'm using your thing instead of Calendar+ now
Thanks!
nir36 said:
Feedback: ))
the viewing options of all appointment and all tasks and so on are wonderful. also the option to change the height..
the scrolling thing is VERY important and useful..
the gray background is heavy on the eyes... i'd make it compatible with the tsk.. that is, transparent.
Click to expand...
Click to collapse
The color scheme is based on the system colors, i.e. the list takes it's color from the active caption color. I'm planning skinning in a future version. As for now, in order to have a different background when there is no selection, you can add an image file called noselect.png (similar to the select.png file) and the program will show that for the list items, instead of the current background. However, the app will use a lot more resources that way. That's why I'd like to make some configuration file to store colors and other stuff.
an option to view all appointments+all tasks is important in my eyes... for day to day use..
Click to expand...
Click to collapse
I'm not quite sure what you mean, because the program should show all appointments AND all tasks on the screen for today or other chosen days.
thank you so much.. i'm using your thing instead of Calendar+ now
Click to expand...
Click to collapse
Added hgAgenda, the full screen standalone version of hgToday.
This can be run as a separate program.
Also included some more screenshots.
See first post.
I should probably do some version numbering. Any ideas?
ajige said:
The color scheme is based on the system colors, i.e. the list takes it's color from the active caption color. I'm planning skinning in a future version. As for now, in order to have a different background when there is no selection, you can add an image file called noselect.png (similar to the select.png file) and the program will show that for the list items, instead of the current background. However, the app will use a lot more resources that way. That's why I'd like to make some configuration file to store colors and other stuff.
I'm not quite sure what you mean, because the program should show all appointments AND all tasks on the screen for today or other chosen days.
Click to expand...
Click to collapse
i meant having All appointments+All tasks... for all days... not just for one specific day.
and i see what you mean about the background. unfortunately my background is black
thanks
nir36 said:
i meant having All appointments+All tasks... for all days... not just for one specific day.
and i see what you mean about the background. unfortunately my background is black
thanks
Click to expand...
Click to collapse
With the way the program is written, that would not be possible. What can be done, is to have all the appointments first and then all the tasks, but I assume you mean you want it sorted by date. To accomplish that, I have to do a complete rewrite of the program.
Right now I am working on a settings app so that all colors can be easily configured by the user.
ajige said:
With the way the program is written, that would not be possible. What can be done, is to have all the appointments first and then all the tasks, but I assume you mean you want it sorted by date. To accomplish that, I have to do a complete rewrite of the program.
Right now I am working on a settings app so that all colors can be easily configured by the user.
Click to expand...
Click to collapse
even having tasks after appointments would be great.
and of course having it arranged by date would be even better, but i understand it can be hard to accomplish. thanks.
btw, it's very very useful and i'm enjoying it.
New version 0.2
nir36 said:
even having tasks after appointments would be great.
and of course having it arranged by date would be even better, but i understand it can be hard to accomplish. thanks.
btw, it's very very useful and i'm enjoying it.
Click to expand...
Click to collapse
New version with all appointments and all tasks on one screen.
Also skinning via separate program.
See more details in first post.

[APP] Shopping Cart v 5.3 available now!

** version 5.3 available now! **
Information:
You no longer need to uninstall previous version(s) before installing the latest version!
If you have AppToDate you can use that to update the application to the latest version!
This requires .NET compact flash 3.5!
This supports Windows Mobile 6, 6.1 and 6.5.
Supported resolutions are 240x320, 320x320, 240x400, 480x640 and 480x800 in both portrait and landscape modes.
Downloads are in post 2 or you can use AppToDate to update it.
If you create your own language files please upload them to this thread so I can include them with the application!
Upcoming:
Add language support for configuration utility and save/open/browse dialogs. Currently only the main application supports alternate languages.
Possibly adding price information option per item (this would toggle-able by a setting).
Possibly adding finger gesture recognition for different things.
Possibly adding SMS support.
Possibly adding Today plugin.
Possibly add D-pad support.
Version 5.3:
New features:
Shopping Cart Companion - You can use this tiny application to easily create and manage lists (both standard and master lists) from your PC and transfer them directly to your device.
Fixes:
Optimized code greatly for larger lists. Opening a large list, e.g. 40 items per tab over 3 tabs opens in 5 seconds instead of 30. This has a huge impact on older / slower devices.
Version 5.2:
New features:
Shopping lists now have the typical elastic rebound effect when a list is scrolled beyond the beginning or end of a list.
Fixes:
The position of a shopping list no longer automatically scrolls to the top of the list if you click an entry that is below the "first page" of the list.
Version 5.1:
New features:
Save As menu option for new lists.
New setting to save a new list automatically.
New option under Settings/General/SIP. Show automatically when entering: Enabled, Enabled in Portrait Only, Disabled.
Fixes:
Exporting all marked items of a master list to a regular list doesn't work when using "mark all items".
Exiting from the master list without saving or anything says that the user tried to save the masterlist as a regular list.
Various errors with save dialogs not appearing and files not being saved.
Version 5.0:
NOTE: You will have to uninstall the previous version because of the name change! Otherwise you will have both applications installed!
New features:
Landscape for all supported resolutions. This is currently only within the main application screen, not the settings screen, save/open screens, etc.
New initial GUI upon start of application (enabled or disabled by a setting)- a "home" screen with more intuitive quick-launch buttons to access application features.
New option on long-press-hold over an item - copy item text to input field.
Language files included have been updated with the new entry above and need to be translated. When you do, please upload them to this thread.
A new setting to prompt a user to overwrite an existing saved cart rather than just doing it.
Application will be renamed to "Digicast Solutions' Shopping Cart" from "cRaCKwHoRe's Shopping Cart"
Fixes:
Intermittent application errors / crashes when deleting / duplicating items / opening and closing SIP.
Application not remembering last opened list.
Saving a list sometimes doesn't actually save it. This is fixed.
I am trying to prevent where a list of items scrolls back to the top if you are scrolled down and click an item.
Version 4.2:
Fixes:
Scrolling issue resolved.
Inability to add new categories/tabs resolved.
Resampled and resized images thanks to aiiro.
Version 4.1:
Fixes:
Opening a saved master list would cause an error. This has been fixed.
Installing the latest version of Shopping Cart will no longer overwrite your customized application settings with the default ones. They are now saved between versions.
Adjusted size of item container on different resolutions so that all items can be seen completely when you have a larger list.
Other:
Still trying to duplicate the "scrolling" issue affecting some users so that I can fix it...
Version 4.0:
New features:
Duplicate item (context item)
Rename item (context item)
Move item up/down (context item)
Check / uncheck item (context item)
Rename tab (context item)
Rename tab (menu item)
Add tab (menu item)
Delete all items (menu item)
Sort list (menu items)
Addition of master list functionality
Addition of Help screen
Addition of AppToDate support
Changed application installation location and registry location to "Shopping Cart" instead of "Shopping Cart v x.x" for compatibility with Sashimi and AppToDate
New setting for prompting user to clear cart
New setting to disable single-clicking an item to check/uncheck it. Disabling it requires a tap+hold and select from a context menu to check/uncheck an item.
Fixes:
Application now shifts/resizes when SIP is displayed so you can see everything (may add a setting for this, what do you guys think?)
Lots of new language items so language files will have to be edited
Tweaked some code and fixed a few memory leaks to make application faster overall
Saved lists are now automatically saved as Unicode files to preserve special characters.
Version 3.1:
New features:
Multiple resolution support - now currently 480x800, 480x640, 320x320, 240x400, 240x320. I only have a 480x800 device but on my emulators everything looks fine on the other resolutions. Let me know what you find!
Included updated/new language files posted to thread into cab file.
Fixes:
Saved cart being opened in reverse.
Version 3.0:
New features:
Multiple resolution support - currently 480x800, 320x320, 240x320. More coming...
Functionality to remove an entry altogether.
Tabbed cart lists to separate shopping carts for different stores.
Custom/enhanced save/open/browse dialogs. Default Windows Mobile ones are awful.
Context menus.
New configuration utility to change application settings, rather than modifying the registry.
Numerous new user-configurable settings and options via configuration utility.
Saving a list now retains the marked/unmarked status of a list when it is saved and re-imported.
New menu item(s) to check / uncheck all items in the cart list at once.
Fixes:
Slow scrolling issue.
Rearrange status and item list columns so longer items don't display over or behind the status checkbox.
Unicode character display issues with language files.
Labels no longer cut off in different languages.
Other:
Changed checked-item image to green checkmark to match "Manila" styling.
There are 15 language files now included, thanks to all the contributors for making the changes from the previous version. Old language files are not compatible with this release and will cause an issue when the application loads if you try to use one.
Had to temporarily remove color and strikethrough options for compatibility. Will try to add this back in for next release.
Version 2.1:
Fix startup issue for alternate language roms.
Remove scrollbars but still allow scrolling, to be more like other touch-sensitive scrolling applications.
Ability to customize the color of checked / unchecked items if MultiColorFonts is enabled.
Multiple language support.
Moved application settings into registry rather than .xml file.
Downloads
The files are below. Shopping Cart Companion needs to be extracted. It requires .NET 3.5 framework on your computer.
Also, here is a link to all the .NET 3.5 compact framework installation files.
You specifically need to have:
NETCFv35.wm.armv4i.cab
NETCFv35.Messages.XX.wm.cab (where XX indicates your phone's language)
Hi thanks, that's really cool. I will use it as a to do list (I had raised this question a while back). It's not quite as good as getting it as a front page tab, but it will suit me fine. Cheers!
Fantastic, thank you.
Just last week I was thinking that it would be better to have a program that I could easy mark off what I have got. Now it is here. Cool
Thanks
Looks good...thanks!
Looking mighty fine crack . Lol @ forgetting cab file in first post.
/a
great work buddy.
Any one has ried on qvga?
Hey just tried this and on QVGA and it works but it seems that the spacing is slightly out compared to yours on the WVGA? Have a look
Apart from that all seems good!
great work, thanks!
cRaCKwHoRe said:
A while back I wrote a very basic utility where I could write a shopping list and use it on my phone to go shopping with rather than taking a piece of paper and a pen with me. I got tired of forgetting stuff LOL! I use it every time I go to the store. I just thought I would share it with you all.
You can manually type in items to add to the shopping list or you can type up a list in Notepad or something similar. If you want to import a list in the application just save the file as a text file with each entry separated by a carriage return (new line / Enter) and copy it to your device. Then, in the application click File and Open and browse to where you copied the .txt file.
When you tap an item (click it) it toggles strikethrough text style, in effect marking it as found
Attached are a few screenies.
I'm open to suggestions as far as modification and such. It is designed for and works for the Touch HD as far as resolution is concerned. I don't know about other devices as I haven't tested it on any as I have no others.
Also, it requires .NET compact flash 3.5.
Click to expand...
Click to collapse
I like it
How about I help you with designing some graphics for this? It's functional as it is, I'd just like to see it a bit prettier
antrak said:
Looking mighty fine crack . Lol @ forgetting cab file in first post.
/a
Click to expand...
Click to collapse
Hush you! I was drinking last night!!!
chris10230 said:
Hey just tried this and on QVGA and it works but it seems that the spacing is slightly out compared to yours on the WVGA? Have a look
Apart from that all seems good!
Click to expand...
Click to collapse
What resolution is that? I know I can fix it... just forget what that resolution is
Rozenthal said:
I like it
How about I help you with designing some graphics for this? It's functional as it is, I'd just like to see it a bit prettier
Click to expand...
Click to collapse
Please do! I am the suck at graphics but can develop anything
Anyway of getting it to work on TF3D home screen as a plugin? Like it could say "10 items on list" then you click it and it loads the program?
nicelad_uk said:
Anyway of getting it to work on TF3D home screen as a plugin? Like it could say "10 items on list" then you click it and it loads the program?
Click to expand...
Click to collapse
You mean the home screen being where it shows the clock, your missed calls, voicemails, calendar events, etc. right? If so, I wasn't aware things could be added to that. If they can I could look into it.
saw your announcement in Dutty's area, and got it. Work like a charm, man, thanks. I have been looking for a super simple one like this for long
Simple and useful...
Thanks!!
cRaCKwHoRe said:
You mean the home screen being where it shows the clock, your missed calls, voicemails, calendar events, etc. right? If so, I wasn't aware things could be added to that. If they can I could look into it.
Click to expand...
Click to collapse
That would really make it perfect for me for what I was after to use as a to do list.
cRaCKwHoRe said:
What resolution is that? I know I can fix it... just forget what that resolution is
Click to expand...
Click to collapse
That would be 240x320 mate and good work simple and easy to use, its just a shame so many good apps get lost in the different development threads, i only found this due to pocketnow.com

[APP] Theme Switcher Version 1.6 [2 Feb 2010]

I couldnt find an app so I wrote one.
This small app will give you the option to Save your current Settings or rather Mods to Manila/Sence or whatever you call it.
Im no good at graphics so I need someone to give me ideas on how to make it look better.
It will scan the windows folder for all *manila files that has a different date to the original Rom installation. It will take all these files and backup them to a specified folder. So when you flash and you had special clocks,icons,sliders, etc etc you can simply restore it instead of having to reapply all these custom items.
O yes please install on the Storage Card. Might waste too much space on the Internal memory.
I tested it and seems ok but all apps has bugs so please be nice. Leme know if any body wants the source code. Written in C# VS2008
Version 1.1
Please uninstall the old version. I changed the name to Theme Switcher so it will install into a different folder. You can just move the Backup Folder Across. Got some nice graphics and changed the wallpaper. The Config.txt file have some settings in it. Have a look.
Also Any files listed in extrafiles.txt will be backed up and restored as well so one can easily backup the current wallpaper etc
Version 1.4
Just added an Image so if you add a file by the name of "theme.jpg" in the folder where its backed up to it will show the image before you can apply it
Im sorry I re Uploaded the Cab File forgot to include the txt files.
If the Application Icon didnt show in the start menu its been fixed as well. Please show me some screen shots on a diamond
Version 1.5
Rebuild Cab file
- Icon Shows correctly
- All files included
- Added option to Exit without refreshing TF3D
Version 1.6
- Small Graphical changes
- Added following entries to extrafiles.txt which should backup the taskbar etc as well:
top.png
bottom.png
hdwall_softkeybar.png
hdwall_taskbar.png
homebackground.img
BT Discoverable.bmp
BT On Mode.bmp
BT Stereo headset.bmp
GPS-icon Mask.bmp
GPS-icon.bmp
HTCVolumeControl.dll
MMSRes_480x800.dll
outres.192.dll
phcanOverbmp.dll
shellres.192.dll
Stereo headset.bmp
tapres.192.dll
notify.dll.0409.mui
notify.dll.040C.mui
CDMA_RSSI_PPC.dll
WLMMessengerResources.192.dll
Stereo headset Mask.bmp
tshres.192.dll
PictureMailRes.dll
BT Stereo headset Mask.bmp
BT Discoverable Mask.bmp
BT On Mode Mask.bmp
shellres.192.dll.0409.mui
VoiceCmdRes_PPC.dll
htcStartMenuService.dll
LargeTitleBar.dll
NotificationManager.dll
Spare
Just a spare post incase of sumting
Move
Can a Mod please move this thread to Software development please
THANK YOU
Grumps, great job I love this app. Simple and works great.
I will be using it, not only as a theme saver, but also as a theme changer.
I just tried it to switch themes and it worked great.
I haven't used it much yet, so I don't have much feedback.
The only thing that I have come across that needs fixing is that the drop down list for the restore saved theme.
It is hidden behind the restore saved theme button.
Everything else works great.
Thank you so much.
Wouldnt i be nice to save phcanover & the other dlls with icons, too?
Seems to be a great app that will save me a lot oft time,
thx³
Greetz
Boris
howzeet
Phonatic said:
Grumps, great job I love this app. Simple and works great.
I will be using it, not only as a theme saver, but also as a theme changer.
I just tried it to switch themes and it worked great.
I haven't used it much yet, so I don't have much feedback.
The only thing that I have come across that needs fixing is that the drop down list for the restore saved theme.
It is hidden behind the restore saved theme button.
Everything else works great.
Thank you so much.
Click to expand...
Click to collapse
what phone did u try it on . i made it on my rhodium. if its a vga device ill fix it. have a diamond as well that ill try it on
borisku said:
Wouldnt i be nice to save phcanover & the other dlls with icons, too?
Seems to be a great app that will save me a lot oft time,
thx³
Greetz
Boris
Click to expand...
Click to collapse
i can do that if you can gimme a list of the files. or maybe i can create a text file and one can list all the files in there that it should include in the backup? does anybody know which files contain the wallpaper and the top and bottom bar. guess its called the taskbar. the ones thats part of the top icons and bottom buttons. then it could be a complete theme changer. i use it as that as well
Grumps, thanks for the app. I believe that I am having the same condition that Phonatic describes. I have a Rhodium with stock rom, manilla 2.1.
But that shouldn't matter, should it?
My screenshot has differences from yours, aside from the bottom bar difference between your sense and my manilla.
Mine has the top task bar and less space between the drop-down list and the "restore saved theme" button.
Also mine has nicer looking buttons.
Do I have the wrong version?
When you have more items in your drop down list, does your list stay above the button?
I still am using it. I just use my arrow down/up to make my selection.
Grumps, as a suggestion to fix the problem that I have,
would it be easier to adjust the layout?, than to change the drop down to render in front of the buttons.
Something like this.
Also, since you asked for graphic suggestions, what do you think about making all the buttons have the same look.
Another suggestion is for your startup.jpg.
Instead of your screenshot, which is very nice, how about something that displays the program name and authored-by info.
With a "tap screen to proceed" kinda instruction placed somewhere.
Here are quick mock-ups of the idea that I am trying to convey.
I'm actually using it for your app, they look good on my Rhodium, much better than this screen shot.
I used screenshots from this site to make these mock-ups. Thanks to the OPs.
If anyone minds that I used their image, please let me know and I will replace it.
Anyway, just some food for thought.
Thanks again for the great app, Tilt
This awesome and such a time saver, thank you so much! One thing is I can not delete theme i have saved, I store on storage card but it says I can not delete it is denied other than that it is exactly what I have been looking [email protected]
Thank you for this program!
Tilt ommarow said:
Grumps, as a suggestion to fix the problem that I have,
would it be easier to adjust the layout?, than to change the drop down to render in front of the buttons.
Something like this.
Also, since you asked for graphic suggestions, what do you think about making all the buttons have the same look.
Another suggestion is for your startup.jpg.
Instead of your screenshot, which is very nice, how about something that displays the program name and authored-by info.
With a "tap screen to proceed" kinda instruction placed somewhere.
Here are quick mock-ups of the idea that I am trying to convey.
I'm actually using it for your app, they look good on my Rhodium, much better than this screen shot.
I used screenshots from this site to make these mock-ups. Thanks to the OPs.
If anyone minds that I used their image, please let me know and I will replace it.
Anyway, just some food for thought.
Thanks again for the great app, Tilt
Click to expand...
Click to collapse
Wow I like this. Think its a good idea. Maybe I should change the Name to Them Switcher. Dont you wanna do the images for me with the name Theme switcher? I dont know quote how to do all this but ill try and make graphics work as button thingys. Leme see what I can do.
Tilt ommarow said:
Grumps, thanks for the app. I believe that I am having the same condition that Phonatic describes. I have a Rhodium with stock rom, manilla 2.1.
But that shouldn't matter, should it?
My screenshot has differences from yours, aside from the bottom bar difference between your sense and my manilla.
Mine has the top task bar and less space between the drop-down list and the "restore saved theme" button.
Also mine has nicer looking buttons.
Do I have the wrong version?
When you have more items in your drop down list, does your list stay above the button?
I still am using it. I just use my arrow down/up to make my selection.
Click to expand...
Click to collapse
Cool ill fix this
Thanks
Grumps said:
Cool ill fix this
Click to expand...
Click to collapse
I will patiently wait for the fix. It still works as is.
By the way I like the taskbar showing on top.
Would you please do me the honor of putting this Startup.jpg on your Rhodium.
I just want you to see how it looks on the phone.
The screenshot just doesn't do it justice.
@anyone that wants to see how this looks on the phone, just right click on the image,
save as Startup.jpg and use it to replace the one in your phones Theme Saver folder.
Tilt ommarow said:
I will patiently wait for the fix. It still works as is.
By the way I like the taskbar showing on top.
Would you please do me the honor of putting this Startup.jpg on your Rhodium.
I just want you to see how it looks on the phone.
The screenshot just doesn't do it justice.
@anyone that wants to see how this looks on the phone, just right click on the image,
save as Startup.jpg and use it to replace the one in your phones Theme Saver folder.
Click to expand...
Click to collapse
Ihave and I am using it. Im batteling to make it look right on Windows 6.5 and 6.5.3 because of the topbar being smaller and bigger. Can you also give me one without any writing eg theme switcher and save/restore/switch and press any key. Trying to use it as a background image for the app and moving the controls to the menu items
Grumps said:
Ihave and I am using it. Im batteling to make it look right on Windows 6.5 and 6.5.3 because of the topbar being smaller and bigger. Can you also give me one without any writing eg theme switcher and save/restore/switch and press any key. Trying to use it as a background image for the app and moving the controls to the menu items
Click to expand...
Click to collapse
I will alter it however you like.
I have time tommorow. For now I must get 3hours sleep before I go to work.
Here is a background.
Goodnight, Tilt ommarow
Tilt ommarow said:
I will alter it however you like.
I have time tommorow. For now I must get 3hours sleep before I go to work.
Here is a background.
Goodnight, Tilt ommarow
Click to expand...
Click to collapse
You got a private message. Thanx for the image
What do you think of these buttons?
Here's a template that I made for you.The dimensions are exact to the current layout.
If you were to replace the current background with this, it would be functional.
Some graphics should be added, especialy to brighten the lower section.
The size of the top button looks off, I suggest either make it bigger to match
(which would look crowded with the task bar, unless you lower everything),
or I can change it into a text box or no box just text.
Do you need text added, or is the text part of the app?
Anyway, just let me know your preferences ie graphics, text, color, button style etc., and I will adapt accordingly.
Tilt ommarow said:
Here's a template that I made for you.The dimensions are exact to the current layout.
If you were to replace the current background with this, it would be functional.
Some graphics should be added, especialy to brighten the lower section.
The size of the top button looks off, I suggest either make it bigger to match
(which would look crowded with the task bar, unless you lower everything),
or I can change it into a text box or no box just text.
Do you need text added, or is the text part of the app?
Anyway, just let me know your preferences ie graphics, text, color, button style etc., and I will adapt accordingly.
Click to expand...
Click to collapse
This looks very nice. The reason why there is such a big gap at the bottom is that im not sure if it will all fit on a vga device. The buttons look nice. I also cant use it as is because on different device with different os's like 6.1 6.5 6.5.3 the image moves slightly up and down. so you will have to include the images with the text on it, as individual images and they have to be square cause i dont know how to program transparency as yet. Hope it would be possible. Thanx soo much for the effort so far It looks awesome
Grumps said:
This looks very nice. The reason why there is such a big gap at the bottom is that im not sure if it will all fit on a vga device. The buttons look nice. I also cant use it as is because on different device with different os's like 6.1 6.5 6.5.3 the image moves slightly up and down. so you will have to include the images with the text on it, as individual images and they have to be square cause i dont know how to program transparency as yet. Hope it would be possible. Thanx soo much for the effort so far It looks awesome
Click to expand...
Click to collapse
Grumps, I just read your pm. Gimme a minute. I think I have something for you.
Thanks for the info above.
As I understand it, you need buttons with text and the background seperate.
I am uploading a file for you. Please let me know how these work for you.View attachment Grumps.zip

[win32] API - New Sense interface Look 'n Feel V1.6.4 (01/28/11)

I have created a win32 API for C++ that mimics HTC's Sense UI Look 'n Feel... More informations on my website: charlie-soft.com
DOCUMENTATION : http://charlie-soft.com/Software/Manila_SDK/html/
This SDK is designed for speed: .NET applications are usually very slow to load and not fluid. I use some tricks to improve speed, like drawing only area having changes, scrolling without backbuffer or creating textures for text (GDI text drawing was slower…).
What’s in the box:
PNG resources for VGA/WVGA. They can be easily modified. SDK will resize automatically the resources if your device has a smaller (or higher) resolution!
Design your app for VGA, the SDK will adjust the layout for other resolutions!
Full Finger Control.
Source files (.cpp and .h) of library.
Source files of example.
Class:
MyEditControl: Edit box with different width. Easy get and set text. SIP detection: scroll Edit area.
MyItem: Button (3 types), checkboxes and switch (TripleState!). Event on click, visibility and state can be changed/get easily.
MyPanel : This element is not visible but is used to bring together elements. This element can have a title and dotted separator between each element.
ChildSection : Contains a subsection which is displayed with a sliding effect.
MyLabel: Print text with different font and color.
MyPictureBox: To print image (png, jpg, bmp, gif…)
MySelector: Like the HTML select. Scroll screen if list is out of screen (see video below).
Section: A section is a panel which can be scrolled up/down. It contains the different elements.
MessageBoxSense: Four type of messagebox: info, Ok/Cancel, Abort/Retry and Yes/No.
MySlider: A simple slider of any size... The min and max values can be changed easily, as the cursor position.
Change log
V1.6.4
Added the possibility of multilines in edit control
V1.6.3
Added possibility to add picture to slider of ChildSection...[bug solved]
Explorer bug solved
V1.6.2
Added an event when user click on screen...
V1.6.1
Memory usage improved
V1.6
Loading of image is now safe (use video memory by default but if problems use device memory)
File Explorer
Icons
Speed and memory improvement
V1.5
just add possibility to change color of text for hover and selected...
Minor bug changes:
items out of screen no longer try to redraw
text of items recompute their size when changing
background color is correctly changed
The SDK is now multi thread safe!
Add the possibility to right clicks (long press)
Add the possibility to hook windows message (WM_ACTIVATE for example)
Add the possibility to have a bottom bar.
Add the possibility to have a background image (landscape and portrait).
If the app is allready started, close the new instance and show the previous one.
MySelector can be scrolled if the list is too long.
Text is now printed with alpha transparency.
Compatible with any character (hebrew, vietnamese...).
MyPictureBox can now be stretched.
Memory usage reduced.
V1.4
Minor bugs fixed
Add the possibility to show MessageBox without a main application.
V1.3
Background can be transparent ! (see this app for demo)
Native drawing (DirectDraw was too slow in landscape)
Slider can have a force feedback (see this app for demo)
V1.2
MySlider added
drawing process rewrited: less redraw->less computation->less CPU utilization -> battery consumption reduced
Loading optimisation
The layout is now independent of screen resolution!
top taskbar is occassionally cleared [fixed]
White screen, touching the panel brings it back [fixed]
landscape items position incorrect [fixed]
V1.1
landscape compatible
Abort/Retry added to MessageBoxSense
TripleState Checkboxes and OnOffItems added
FAQ
is QVGA resolution supported?
Yes, SDK will find the correct resolution and select the appropriate resource resolution. The SDK will delete the other resources...
have you planned to extend MessageBox types to Abort/Retry?
Yes, to create one:
MessageBoxSense::show(L"Hello",L"Try again ?", MESSAGE_ABORTRETRY);
is this landscape compatible?
Yes but having refresh rate issue. Seems to be a DirectDraw problem (S2U2 was subject to the same issue...)
If someone know how to solve this problem, send me a message !
Back button too slow.
You can change the speed anim using this function: changeSpeed(double nbMilisecond)
why aren't you including some TripleState Checkboxes and OnOffItems ?
Both are now included:
new MyItem(1,5,15,ITEM_IS_CHECKBOX,ITEM_THIRD_STATE,L"My third checkbox (Third state)");
Other apps
Wake on Wan is a new app which use this SDK. Sources are available!
Quick shutdown is a software which use this SDK too. It can turn off, restart or set the phone in sleep mode. Sources are also available!
"
Sense SDK win32 C++
For informations about SDK (installation, use compile...), see here: http://charlie-soft.com/Software/Manila_SDK/html/
Good work ! thanks for sharing hope devs will use it.
Hello my friend !
Great work !
( C'était exactement ce que je cherchais en c++ pour mes MFC smart device !!! )
Great Work, Thx for the source!!
Really great work!
but I have two questions:
- is QVGA resolution supported?
- have you planned to extend MessageBox types to Abort/Retry?
thank you
regards
NIce work
Altough i don't really know what todo with it... i instalt the example.cab and it was really smooth!
Only one thing if i go to other controls and i want to change the value then the onscreen keyboard should show up right? But it doesn't.... So i slide my qwerty keyboard open, and in landscape i get an error message: DDERR_SURFACELOST(back buffer)
I dont know what it means... is this landscape compatible?
Good job man !
Nice works !
I just have a feedback, I find too slow the animation when you click on the "back" button, is there is a way to speed it up ? (or disable simply the animation)
SDK Manila
Hello all !
I will try to answer all your questions. So :
- is QVGA resolution supported?
No but easy to implement... Just resize resources to correct resolution. I will post resources shortly.
- have you planned to extend MessageBox types to Abort/Retry?
If it's something wanted, I will do it.
- is this landscape compatible?
No, not yet. But will be in next release!
-Back button too slow.
I will add a method to set the speed of animation... in the next release
-Bug with hardware keyboard
The onscreen keyboard don't show up and I don't know why... I will look around for a fix.
If a developer wants to translate .NET applications into C++, feel free to post I will try to help you!
There is still lot of work, but I will try to do this quickly!
petititi said:
- have you planned to extend MessageBox types to Abort/Retry?
If it's something wanted, I will do it.
Click to expand...
Click to collapse
thank you for quick reply. I need this extension for my app "htc menu loader" (link in signature) to migrate from .net to c++
again, really great work. You are making something that HTC should have done months ago.
Great project !
I don't know if you notice but I disabled the bottom taskbar... Do you think that I should add the possibility to enabled it? I saw that your application needed one...
I hope you will find my SDK easy to use !
Hey, this looks awesome.
Question though: I'm just shy of clueless when it comes to making an actual working app. Is there any place I can go to read/learn the coding I will need to actually use this?
Application win32 c++
You can use the example application included into the SDK to learn basic stuff or you can download this application: WakeOnWan. It’s based on my SDK (here are the sources).
You need some basic knowledge about Object-oriented programming and C language. I try to explain how to use the SDK in the example using comments or on my webpage.
I will also post a short tuto in second post...
Very, very nice! The demo runs very smoothly on my stock Touch Pro 2.
petititi said:
You can use the example application included into the SDK to learn basic stuff or you can download this application: WakeOnWan. It’s based on my SDK (here are the sources).
You need some basic knowledge about Object-oriented programming and C language. I try to explain how to use the SDK in the example using comments or on my webpage.
I will also post a short tuto in second post...
Click to expand...
Click to collapse
Awesome thanks!
What's sad, is when I was young, I used to be able to code in C. Made my first video game when I was 6 on a Commodore 64 (ok i dated myself here) Now, can't remember very much
C++ ? It's just like riding a bike!
Hatefly said:
Awesome thanks!
What's sad, is when I was young, I used to be able to code in C. Made my first video game when I was 6 on a Commodore 64 (ok i dated myself here) Now, can't remember very much
Click to expand...
Click to collapse
I'm sure you can!
It's just like riding a bike - you never really forget how. And we are here to help you to refresh your memory.
petititi said:
I'm sure you can!
It's just like riding a bike - you never really forget how. And we are here to help you to refresh your memory.
Click to expand...
Click to collapse
Sweet thanks! Just downloaded an ebook on c programing.
Sounds (and looks) great, although there are still to many glitches (like not working in landscape etc.) which are preventing me from using this package.
But I have one question, why aren't you (all) including some TripleState Checkboxes and OnOffItems ?
I need them often but you cant find such controls online - not to speak of sense.
TripleState Checkboxes ?
Hello,
the TripleState Checkboxes is a simple feature I can add. To be sure, TripleState Checkboxes will looks like:
And tripleState On/Off:
I will include them in the next release... Be patient, the next release is coming soon and adds support for portrait and fixes a few bugs...

[24/08/2010] first development project 4 on 1 row

intro: I'm a bachelor student who has a little knowledge of programming.
For the first time i try to make a simple game that i already wrote in java work in vb.
I'm planning to make this a full working game that I can place on the market place for free.
I already have the idea how to make the AI to play 1 vs PPC
I wrote it for a WVGA screen but its completely dynamic so it should work on other screen sizes.
Only when you change the orientation the text will not be visible (need to think where i'm gonna place it)
pls feel free to give input on the project.
I uploaded the whole vb net directory so its open for everybody
(Im still a bit strugling with a cab file that has links in it
if you instal it, it should be visible in the programfiles dir)
--edited 24/08
-thanks to Gaz25 the refresh problem is soved
-the 4 on a row detection algorithm is completed
Hi, I had a look at your code and fixed your flicker problem.
Basically, when you do you own drawing on a control like a panel you need to take control of painting the background as when a control is redrawn it paints the background first and then anything else on top like text, images etc...
The best thing to do is create a custom control. Then you can override the OnBackgroundPaint event and say do nothing.
Then override the OnPaint event and here is another trick.
In the OnPaint event, create a bitmap. This will be the 'backbuffer' which you will do all your drawing on. Then when you have done all your drawing on the backbuffer, you draw the backbuffer to the screen.
I have included your solution with my modification which I hope make more sense .
If you need more explanation then let me know and I will go into more detail.
Gaz25 said:
Hi, I had a look at your code and fixed your flicker problem.
Basically, when you do you own drawing on a control like a panel you need to take control of painting the background as when a control is redrawn it paints the background first and then anything else on top like text, images etc...
The best thing to do is create a custom control. Then you can override the OnBackgroundPaint event and say do nothing.
Then override the OnPaint event and here is another trick.
In the OnPaint event, create a bitmap. This will be the 'backbuffer' which you will do all your drawing on. Then when you have done all your drawing on the backbuffer, you draw the backbuffer to the screen.
I have included your solution with my modification which I hope make more sense .
If you need more explanation then let me know and I will go into more detail.
Click to expand...
Click to collapse
i will look at it monday when i'm back from a festival
thanks in advance.
sended from x1
Thank you very mutch,
i just tested it and it works perfect.
I will try to make it better in the following weeks.
Only one thing that you changed in my code that wasn't correct "speler = 0" (on load, needs to be 1 or 2) (speler = player)
I also found an error in my own algortim for the 4 on a row detection
"teller1 = teller2 = 0" ( gave me a -1 on teller1)

Categories

Resources