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

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...

Related

[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

[DEV][GAME/PANEL] Bubble Advanced Beta (Update1)

UPDATE 1:
- i guess i did find the "move to right" bug where bubbles did not move correctly in some cases. so it should work fine now.
--------------------------------------------------------------------------
i plan to develop a flashlite puzzle-game panel for the X2 ;-)
but before starting a "bigger" project i did a "redesign" of bubble breaker to test handling and some issues with flash lite and (of course) compatiblity with my x1:
Bubble Advanced (Beta):
gameplay:
its the same as in bubble breaker. the basic strategy is to "cluster" one dominant color to get as many points as possible.
differences to bubble breaker:
- empty collumns will not "close" automatically.
- if you doubleclick on a single bubble you get special moves (move all bubbles to left or right).
- coming soon: more specials and difficultys
you are free to test it and report all issues
so lets go:
PC-VERSION (BubbleBeta.zip):
-------------------------------------------
Info:
this is the PC reference-version to compare speed and behavior.
of course this runs very smooth
Online Demo:
BubbleBeta
or:
Installation (PC):
download and extract BubbleBeta.zip
doubleclick the BubbleBeta.swf (or drag and drop into a browser if you have no flash standalone player installed)
THIS IS ONLY FOR BETATESTING. PLEASE DO NOT REDISTRIBUTE THIS SWF
Known Issues:
none (so far)
X1-GAME-VERSION (BubbleBeta_0.8.0_English (Game).cab):
-------------------------------------------
Info:
this is the "non-panel" version. it runs with the flash-lite standalone player.
the flash-lite standalone player is not the same as the Sony Ericsson ActiveX Deployment Flash Plug-in. you need to install it additionally.
Installation:
- download and install Flash Lite 3.1 Standalone Player on your X1.
- install BubbleBeta_0.8.0_English (Game).cab
you will find the game in you games folder
Known Issues:
- slow but playable
- "tap&hold" is a pain in the a**. but there is no way to disable the context menu in the standalone player.
X1-PANEL-VERSION (BubbleBeta_0.8.0_English (Panel).cab):
-------------------------------------------
Info:
this is the "panel" version. it runs with the se-flashlite-deployment plugin (also used by various other flash-panels).
Installation:
- download and install Sony Ericsson ActiveX Deployment Flash Plug-in on your X1 (if you havent already installed it).
- install BubbleBeta_0.8.0_English (Panel).cab
- add the panel to your panel-manager
Known Issues:
- slow but playable
- (r3a rom and "old" panel manager): fast doubleclick on the same bubble is somehow blocked. you have to wait like 1 second to click the same bubble again. tip: you can still fastclick another marked bubble (next to the first clicked) to avoid this. it seems to me this is a problem of the panel manager.
- (r3a rom and "old" panel manager): after activating the bubble-panel the "old" panel manager quits if you press the panel-button again (maybe this will work with the new panel manager).
BETA RESTRICTIONS:
--------------------------
- highscore will not be saved
- screen rotation (landscape mode) is not supported
- no sound
QESTIONS:
-------------
can someone please test it with the r3a rom and the "new" (inofficial) R3A panel manager ?
thanx and have fun,
- QuadWord
Update1:
- i guess i did find the "move to right" bug where bubbles did not move correctly in some cases. so it should work fine now.
- did some _minor_ speed improvements
.cabs in the first post are updated.
- QuadWord
panel doesn't work with new panel manager. tried softreset, still nothing, maybe because i run a stock rom
and for the game itself... well, its slow and the context menu is annoying but the graphics look really good and the extra features are making the game more interesting.
austrianX1user:
thanx fou your feedback!
sadly there is no way to disable the context menu :-(
i will however look into the panel issue.
just one question: normally you can double-click on bubbles to remove them. in the "old" panelmanager you have to wait like 1 second anfter the first click before clicking the second time. did you have the same issue with the "new" r33 panelmanager?
- QuadWord
Im using a custom rom which i believe also uses the new panel manager (Touch-IT 7.2) and the panel doesn't appear
to enable x2 - flash panels on the x1 you need:
- the activeX Deployment
- the .cab below
BUT: it turns out there is no "stable" way to run x2 panels on a X1. i can only provide the "best possible" way. if the panel is more complex it will bring down the panel-manager sooner or later.
- QuadWord
Please help a colour blind man
HI
I love bubble bobble, and this is a fun new version. I'm looking for new stuff for my pre-ordered HTC HD2.
Please could you consider allowing a change to the colour set? I am, like a fair proportion of men, slightly colour blind in the red/green area. What that means is that there are two sets of balls that both look green, and two sets of balls that look purple. This makes the game unplayable for me.
The version of bb that I currently play has a black and white option which changes the colours to different patterns of clear, lines and hatches. That's OK, but it would be SO much cooler if I could pick my colours from a palette.
Jim
Here the original bubblets to xperia
View attachment bubblets_ppc.arm.CAB
koyote_0942 said:
Here the original bubblets to xperia
View attachment 235908
Click to expand...
Click to collapse
This is panel or not !?!
I just tryed. It's a game not panel.

[REQUEST] A real Startmenu replacement ( WM startmenu is RAM hungry!!!)

Hi everyone, I am a cooker ( doing great things, but mainly a noob one compared to some masters out there ) .
Cooking on the Omnia I900 & Acer S200 ( french rom only), these devices have low memory.
For example the acer S200 only has 256mb of ram, but mainly the same hardware than the powerful HD2(except ram....:-( )
Arto ( great cooker of the Acer S200 scene ) has found that removing the start menu completely gains 15mb Ram on our devices ( by fooling the system with empty .cpr grid, icons caches aren't generated.)
This can help people make really light roms!!! The main problem now is the we don't have here a real startmenu alternative, a eye candy one than keep the spirit of our devices... Quickmenu is functionnal but not too beautiful.
After many searches over xda, the only thing I found was Quickmenu and the sense Startmenu replacement ( I modded the kenia1234 startmenu replacement to give it 5 columns, here is the work : 5 columns start sense2.5 menu replacement )
I don't know why developper aren't interested in making a real , fast and beautiful startmenu replacement ( with full fonctionnality, at least control panel wikth .cpl files abilty, and even more folder architecture, fullscreen, lightweight ),
but here is the request or that, If others than me are interested, please reply and tell your needs, to help developpers...
Something like Panoramic Launchpad would be great!
Last week I started creating a startmenu alternative. It's very underdeveloped, and I have no idea when it's finished, but to give you an idea I attached two screenshots.
It still lacks a couple of features (if someone can point me in the right direction, please do so ):
- no control panel items yet
- no icon transparency (I got that working, but it was horribly slow)
- no background (because of the lack of transparency)
- no hook on the hardware windows key (like quickmenu)
- no hook on the software start button (like ameba does on winmo 6.5.x)
- if there's no png file attached to a link, no icon is displayed
But the other basics are working:
- starting programs by clicking (yes I know, very basic )
- flipping pages by swyping your finger (left->right, right->left, up->down, down->up)
- opening folders, and going back up one level with the left soft button (just like the usual start menu)
I actually started this because I'm not a fan of the hexagon grid styled start menu, not because of memory issues. I did take a look at the current memory usage of my start menu, and currently it is 1.41MB. But that will grow with more icons and transparency I guess.
If you're interested I can continue developing this startmenu.
The most important thing to me is ram usage, the lower it is the best it is,
the png file limitation to display an icon should be reconsidered, the ability to display native icon is much more important, or, much easily to program, you can make your app request the "HKLM\Security\StartInfo\Start\myprog.lnk" key to read the icon you should display, if nothing is entered, lets just start the native icon.
This is important to make your startmenu replacement user friendly. nobody likes assigning manually an icon to an app, having the ability to do it is good, but the most important for the users is that your program automaticaly displays the native icon like the start menu does.
To use cpl, you just have to use a ctlpnl.exe command line, like this :
ctpnl.exe mycpl.cpl
if cpl has multiple tab, ctpnl.exe mycpl.cpl,1 ( where the number is the tab you want to be open)
for cpl files, I thinks its the big part of the job :-(
What I meant with:
- if there's no png file attached to a link, no icon is displayed
Click to expand...
Click to collapse
My program uses the icons set in HKLM\Security\Shell\StartInfo\Start, but if it's an older program, there might not be a high resolution icon, and in that case I won't display any icon. That's something I will fix ofcourse.
I'll have a look at the cpl files, and I guess google will help me there as well.
Also looking for a way to show my startmenu instead of the winmo startmenu, but no luck so far. If anybody knows how to catch when the winmo startmenu is activated in c#, please let me know.
Hi guys
Have you ever heard of iPhoneToday http://forum.xda-developers.com/showthread.php?t=633618 ? It's so light and configurable
XTask has a good looking, light start menu replacement.
If you leave out the start_icon.png's, then the native icons are used. The 6.5 start menu also slows down boot time dramatically. Just delete all the shortcuts, soft reset, and check the millisecondtoidlethread in hkcu/performance. Boot time may be 20-30 seconds faster.
vinvv said:
Last week I started creating a startmenu alternative. It's very underdeveloped, and I have no idea when it's finished, but to give you an idea I attached two screenshots.
...
If you're interested I can continue developing this startmenu.
Click to expand...
Click to collapse
This certainly looks very interesting! Please continue, I also hate the honeycomb (as many people around).
I like this
vinvv said:
What I meant with:
My program uses the icons set in HKLM\Security\Shell\StartInfo\Start, but if it's an older program, there might not be a high resolution icon, and in that case I won't display any icon. That's something I will fix ofcourse.
I'll have a look at the cpl files, and I guess google will help me there as well.
Also looking for a way to show my startmenu instead of the winmo startmenu, but no luck so far. If anybody knows how to catch when the winmo startmenu is activated in c#, please let me know.
Click to expand...
Click to collapse
Hi m8
I also hate the startmenu but this is cose it eats arround 30mb of ram...
There is a way to disable the default startmenu ....
Look this post its working fine on Blackstone NRG roms.
http://forum.xda-developers.com/showpost.php?p=7911317&postcount=16270
I just dont like the replacement menu or the quickmenu
Your app can be assigned to startmenu button with ameba
If can i help with your project on this just let know
Also keep in mind that many shells (Throttle Launcher, Mobile Shell etc) read the data to load program shortcuts from the start menu, so that the replacement has to take care of that too.
what do you think about wisbar 4? would this be an alternative to quick menu? i was using this prog. a year ago and i was totaly impressed. now i use it again together with the new energy rom from august 28. after the replacement from the start menu i have real nice and fast blackstone

[Controls] SenseSDK Extended Controls (6 Controls) Updated: 31July,2010

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.

[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