[PRJ][BETA][DEMO] Screen lock utility / concept - Windows Mobile Development and Hacking General

Hi Everyone,
I don't know if I'm just reinventing a wheel here but I encountered a problem with screen lock software and prying eyes. Basically it doesn't take long for repeated use on a single part of a touch screen to be visible at certain angles.
I had one idea to help prevent this and made a quick demo/beta app.
Wondered if anyone on here had any thoughts on the project before I commit too much time into it.
I'll work on screen shots...
The installation is pretty painless - there isn't one (lol) - just unzip the exe and run, make sure you have .NET 3.5. There's a ABOUT page displayed (with a real exit menu) and details / default PIN.
Comments welcome, but remember its the concept on display, not the desing (and distinct lack of graphics).

More Information
It is obviously developed for touch screen devices without a keypad, which I imagine circumnavigates this problem.
It has been tested in the emulator on 320 screens, and on Touch HD. I'll try it on the Magicinan, and Hermes later.

If anyone would develop such app, it would be great ! I was searching for months for something like this. Please, if anyone can develop such app for WVGA screen (SE Xperia X1) it would be great & very appreciated.

For avoiding the mess with downloading, unzipping, copying to emulator dir, running the emu etc, it's usually wise to post screenshots so people immediately grasp the idea.

Related

[GAME] DiamondTris - Tetris with support for VGA, stylus & wheel sensor

Updated: 2009-01-03, 21:05 (GMT+1)
Me and Swoop2 is creating a Tetris game for us HTC Touch Diamond users out there in need for a great one! Why I wanted to create a new Tetris game for the HTC Touch Diamond was because all of the Tetris games out there got some flaws (imo); not supporting VGA resolution, visually looking bad, running slow etc.. The closest thing I got was TeKnowMagic Tetris, but I wasn't satisfied either way. There's simply no Tetris game out there filling my requirements.
DiamondTris so far:
VGA resolution
Moving pieces - with the wheel sensor or via the on-screen buttons
Rotation of pieces - with the enter button or via the on-screen buttons
Line completion and destruction
Statistics: score, hi-score, level, lines done/remaining
Difficulties: easy, medium, hard (different speeds)
What needs to be done:
Some minior GUI tweaks
Sound effects
Settings (sounds, controls)
You'll need .NET Framework 3.5, which you'll find here
Changelog:
DiamondTris_20090103.cab:
Installs on device or internal storage
Creates a shortcut in Programs\Games
Pause function implemented
DiamondTris_20090102.cab:
New, better looking on-screen buttons
Added some statistics
Disabled piece rotation by tilting the device (needs further tweaking)
Application icon added
+1
sounds like a fairly simple and easy project... if only i had listened in class...
Why don't you get some pledges to encourage a developer
I would pay around £3 for a tetris game designed for our device
Not loads, but if enough people were too pledge their support...
hays said:
Why don't you get some pledges to encourage a developer
I would pay around £3 for a tetris game designed for our device
Not loads, but if enough people were too pledge their support...
Click to expand...
Click to collapse
good idea.
i'll let hays pay £3 for a Tetris game
(and i suppose i could chuck a few quid in as well )
Of course I'm in for some donations if this game is created
I started a very basic Tetris app for my touch diamond a while ago - just as a play around as my first Windows Mobile application. It uses the wheel for moving the current piece left and right and I was going to have a go at using the accelerometer to turn the piece clockwise/anticlockwise (i.e. a flick to the left or right).
I've never used OpenGL or anything so it was just done using a timer and the graphics object off the OnDraw event. I got as far as creating the grid, drawing the pieces, moving them around and knowing when lines were completed, etc. Still had a lot to do but it was a proof of concept more than anything else.
I'm just a normal application developer and develop form based applications and back end stuff. If I can get to where I am with my effort in the time I have, then someone who knows how to write games properly could easily do something really good.
Swoop2 said:
I started a very basic Tetris app for my touch diamond a while ago - just as a play around as my first Windows Mobile application. It uses the wheel for moving the current piece left and right and I was going to have a go at using the accelerometer to turn the piece clockwise/anticlockwise (i.e. a flick to the left or right).
I've never used OpenGL or anything so it was just done using a timer and the graphics object off the OnDraw event. I got as far as creating the grid, drawing the pieces, moving them around and knowing when lines were completed, etc. Still had a lot to do but it was a proof of concept more than anything else.
I'm just a normal application developer and develop form based applications and back end stuff. If I can get to where I am with my effort in the time I have, then someone who knows how to write games properly could easily do something really good.
Click to expand...
Click to collapse
Ah, that sounds great! Got any plans on continuation of your work? Onscreen buttons instead of accelerometer sounds even better imo, and is easier to do I think..?
Care to share your source? I can have a look at it myself and see if I can get into Mobil application programming too... or at least someone else here can continue on your base work.
I do plan on finishing it at some point - though I'm not 100% sure when! I don't mind sharing the code anyway, so once I'm back home I'll try and remember to put it on here.
Swoop2 said:
I do plan on finishing it at some point - though I'm not 100% sure when! I don't mind sharing the code anyway, so once I'm back home I'll try and remember to put it on here.
Click to expand...
Click to collapse
Sounds cool. Looks like I might get a good weekend after all! Do... not... forget... the... add... the source code!
Here's the source code. It is VERY much a work in progress. I started it as a windows application and ported it over to WinMob6. Here's a list of things that I know I still needed to do:
1. Optimise the graphics to get rid of the irritating flicker.
2. Add the piece rotation.
3. Add the score and level display, etc.
4. Decide on the size of the grid (considered leaving it customisable).
5. Add score saving and option saving, etc.
6. Add some backing music.
They're the things I can remember off the top of my head anyway. Lemme know if you have any ideas or questions, etc.
Swoop2 said:
Here's the source code. It is VERY much a work in progress. I started it as a windows application and ported it over to WinMob6. Here's a list of things that I know I still needed to do:
1. Optimise the graphics to get rid of the irritating flicker.
2. Add the piece rotation.
3. Add the score and level display, etc.
4. Decide on the size of the grid (considered leaving it customisable).
5. Add score saving and option saving, etc.
6. Add some backing music.
They're the things I can remember off the top of my head anyway. Lemme know if you have any ideas or questions, etc.
Click to expand...
Click to collapse
Sweet! I'm at home now, downloading all the requried applications to put up a proper environment here... big packages, so it'll take a while until I'm set.
I'll see if I can manage to do anything, and in case - I'll get back to you
Hi there again Swoop2!
Just tweaked the grid some, added some stats + onscreen buttons (stretched until later ;P) and changed some minor stuff. Here's my latest source. Thanks for sharing!
There's still bunch of stuff to tweak and add. Adding rotation to the game would make it fairly playable. The screen flickering is quite annoying, but perhaps we'll manage to get it working right in the future
Also adding a screenshot of how it looks with the current source.
EDIT: removed the source code, since there's a newer one out there.
Hi Sibbor
That's looking pretty good mate - I like it! I already have some ideas on how to fix the flicker - for the majority of the time anyway. Rendering the image as a bitmap in the background and then just drawing that should hopefully work like a double buffer or something. Also, only invalidating the relevant part of the screen instead of all of it should make a difference too. It worked for my other application anyway.
I'll try and have a play with it this week and send you an update
Swoop2 said:
Hi Sibbor
That's looking pretty good mate - I like it! I already have some ideas on how to fix the flicker - for the majority of the time anyway. Rendering the image as a bitmap in the background and then just drawing that should hopefully work like a double buffer or something. Also, only invalidating the relevant part of the screen instead of all of it should make a difference too. It worked for my other application anyway.
I'll try and have a play with it this week and send you an update
Click to expand...
Click to collapse
Sounds great! Made a few more changes but haven't got the latest source available here at work. I'll see if I can get time to upload it later. Otherwise it doesn't matter too much.
I reacted at the code where the grid updates, but have too less experience with WM6 and .NET to actually optimize this to a grade where we'll have no flicker at all. So with other words: I'm looking forward to your anti-flicker code !
I should finally have some time to look at this at the weekend so if you have an updated version can you post it on here?
Swoop2 said:
I should finally have some time to look at this at the weekend so if you have an updated version can you post it on here?
Click to expand...
Click to collapse
Hi again mate! Good to hear. Sadly I haven't been able to get too much done since last time, but I'll attach the current source now.
Thought about the rotation and how to create it. Had an idea where you could destroy the current piece when rotating, and creating a new - rotated - piece at the given location. You got any ideas about it otherwise?
I've been looking for a decent Tetris game for Diamond/TP myself.
Question: are you planning on implementing the scrollwheel to move the pieces? I think that would be a nice touch.
Good luck on this. I'll donate to the cause when you guys have something.
hefman said:
I've been looking for a decent Tetris game for Diamond/TP myself.
Question: are you planning on implementing the scrollwheel to move the pieces? I think that would be a nice touch.
Good luck on this. I'll donate to the cause when you guys have something.
Click to expand...
Click to collapse
The requested function is already supported We'll make sure to setup donations when we're ready
this is definately a worth while project, i wasted my time for about 3 hours looking for a nice tetris game 4-5 days ago and came up with very nasty looking basic tetris clones.
which all sucked, id donate £5-7 just for saving me the time!!
thanks
CDMA Tetris
I am so all about Tetris.
I also spent some time looking for some decent versions of Tetris but they all flopped.
I cannot wait till you guys complete this.

5x5 Updated...... V1.5 The Knights Gauntlet.......... Now with demo mode.

There is a game on the iPhone called Lights Out where the object of the game is to light up or knock out all the lights in a 5x5 grid. When a square is selected that square and its four immediate neighbours, above, below, and to each side invert. There is no wraparound. The object of the game is to get all the squares black.
At the risk of revealing my age, I saw a hand held version of this game in the early 1980's.
When mastering any new programming platform, this application becomes the standard with which I start. I know the logic, so the problem merely becomes getting the thing to run under the new platform. I wrote this in 2005 while fighting my way through the very steep learning curve of Embedded C++. Previous platforms for this program have been, ZX81, BBC Micro, DOS, Windows and finally Windows Mobile. Next stop Linux!
It is an example of minimalist programming on WM. Written in Embedded C++ as a Win32 application it is targetted at ARMv4 chipsets. As such it should run on all PPC versions from Windows Mobile 2002 onwards. The menu is limited to two main items, so WM 5/6 will display it as a WM 5/6 app. Minimalist programming means it can be distributed as as a single .EXE file of a mere 9.5 Kb in size. The DLLs it calls are already on your device, there is no need for a .CAB installation.
It has 5x5, 7x7 and 9x9 grids, all are solvable.
I hope you enjoy it. It will keep you quiet but it might drive you totally nuts!
UPDATE!!! Now works with 480x800/240x400 devices, see later posts for the details.
UPDATED!! Version 1.2 released.
Changes: 11x11 grid added. It is solvable, but it took me a while to figure it out!. You may need a stylus as fingers may be a bit too awkward. For that reason, I do not intend to go to 13x13 and beyond.
The short display glitch on initial program load now fixed.
Game and drawing code optimised. (There are often better and faster ways to do things, if you take the time to look.)
UPDATED!! Version 1.3 released.
Now also runs on both Pocket PC and SmartPhone devices. Now runs on any sized screen, even those that have not been released yet! The blank screens that were reported in later posts are now a thing of the past. Here's the method, take the width and height of of the client area and size the game to 90% of smaller of the two. Why did I not think of that in the first place?
SmartPhone users:- Welcome aboard! Image attached below: The white square is the target square. Move it to the square you want to change with the D-Pad/Arrow buttons, then press 'Enter' to change it. Smartphones prior to Mobile 6.0 may not have the 'File Explorer' application. (It depends on the OEM build). In this case, use ActiveSync. Connect to your phone and drop the unzipped 5x5.exe file via the 'Explore' option into the \Windows\Start Menu\Programs\Games\ directory, and it will appear alongside Solitaire and BubbleBreaker in the games menu of your device. Smartphone 2002/2003 users need to use \Storage\Windows\Start Menu\Programs\Games\
Pocket PC users won't see any change, just tap the square you want to change. The program looks at which platform it is running on, and behaves accordingly.
UPDATED!! Version 1.4 released. - The Knight's Gauntlet.
Just when you thought you've mastered it, the Knight's Gauntlet is firmly thrown down. Selecting Knights from the main 5x5 menu, changes the pattern of squares that are inverted to those a knight's move away in chess, (two forward, then one to the side), as per the Knights image below. Up to 9 squares will invert on each move. As per changing the grid size, toggling the knights game on and off will restart the game.
All four grid sizes are solvable, but you are warned, it is a lot harder than the normal cross game.
It was only a small change to the game logic, and this program was all ready to go in September, but I would not release it, until I had proved to myself that it could be done. A brute force attack can be used to break the 5x5 Knight's game but as the grid gets bigger the problem grows exponentially. A quad core processor running a console C++ application, using the SSE3 PC registers (XMM) macros to play one move on the entire board in one machine instruction, was not enough.
I had to use a special version of the mobile program that could dump the state of the board and moves out to a file to be analysed by the PC later by a suite of programs that could combine boards together by the thousands. All good fun!
On and off, it has taken me three months to find the knights solutions to the 7x7, 9x9 and 11x11 games.
UPDATED!! Version 1.5 released. Now with demo mode.
For those who think it is impossible, let the demo mode show you how to do it.... But there is a slight twist........ You will be shown the same solution for each puzzle each time, but the moves are shuffled and they may also be reflected or rotated, just to confuse matters further. Shuffling the moves, rotating, or reflecting, logically, has no effect on the final result.
Happy puzzling!
18th Feb 2010 update fixes WinMo 6.5.3 Dialog box issue mentioned in http://forum.xda-developers.com/showthread.php?t=635063
23 June 2011 CE version added. Note this version is for Windows CE, ARM powered devices only, as is displayed in the last of the images below. Don't run this version on a WinMo device the display will look awful! As an extra caveat, it will only run properly if the OEM of your CE device has built the OS with components that are expected by the 'Standard' version of the SDK as used by EVC 4.0.
Any screenshot?
Thanks!
Nice little game.
Small problem
Hi,
I'm probably missing something here, but I get a white screen without anything I can actually do with it (using Omnia).
Any help?
Grief that is going to be addictive.
So simple yet so tricky at the same time.
works fine on a SQVGA (320x320) device to, and im after 1 minute angry ....
very nice; solved 5x5 - 9 clicks. going to try to crack 7x7
this is lot's of fun & a little tricky!
nice game
Does not work with my HTC Touch HD (WVGA 800x480)
I got a white screen.
stephj said:
At the risk of revealing my age, I saw a hand held version of this game in the early 1980's.
Click to expand...
Click to collapse
LOL at remark above ^^
Nice little time waster you have here! Thanks!
Anybody thown their phone out the window in frustration yet?
To the members having trouble with high resolution devices, it was only written to run on 'standard' Pocket PC screens, 240x320 portrait/landscape and 240 square devices.
Sorry it doesn't work properly on larger screens. I'll have a look at it. I may have to borrow one of these later wizzo phones from someone, and find out what's going wrong, or I'll see what's in the WM6 SDK emulator.
May take a while, but I'm on it. Watch this space.
doesn't work on touch diamond 2 with 800x480?
any solution you might know?
anybody??
seems like a great hit, this game.....
tnx in advance
marcel
I have downloaded the WM 6.1.4 SDK from Microsoft's site. It includes a 800x480 device image.
The bad news is the program produces the effect mentioned above. i.e white screen, and nothing.
The good news is exactly that, the bug can be reproduced. This will allow me to step through it, figure out exactly what the hell is going wrong, and fix the code.
This may take few days to sort out, more later.
Fixed! Now works on 800x480 devices as well, in landscape or portrait. Use the zip file in the original post at the top, it has been updated with the new program.
The reason for the fault was that 800x480 devices return a bigger value for the long side of the screen when using GetClientRect();
The program did not recognise this value and could not figure out whether it was landscape, portrait or square, which fouled up the WM_PAINT code.
The code automatically centres the grid in the window, so that bit was OK.
Have fun, until a new screen format comes along.........
This little game is f***ng addicting!
Thanks a lot!
Keep up the good work!
[email protected] said:
Hi,
I'm probably missing something here, but I get a white screen without anything I can actually do with it (using Omnia).
Any help?
Click to expand...
Click to collapse
I'm using Samsung Omnia and I get the same problem when starting 5x5. What to do?
HOLLY BALLS! lol this game is addicting and hard. i am yet to beat it!! haha. great game thanks!
It is a kind of drug........
Reply to GreenOmnia
GreenOmnia,
This program will run on 480x800 devices as marcelvanblankers above can confirm. The problem may be that you still have the old version of 5x5 active in your phone.
On a PC you can run multiple versions of Word, Excel etc. until you run out of memory. Under WM only one version of any program is allowed to run at any one time. When a program starts it looks for the same named process. If it finds it it, it activates that copy, and then kills itself. Later versions of WM may correct this, but earlier programs still run to these rules. If you load a new version of the program to your phone and have the old version still active in memory, when you run the new one you only reactivate the old one.
Listen up everybody! Think about the above paragraph. If you have understood it, that is a real WM pearl of wisdom!
To fix the problem, if your version of WM has Task Manager, use that to kill the running version of 5x5, or use Settings->System->Memory->Running Programs and then select 5x5 and end it. Delete all versions of 5x5 from your phone, then reload the new version from the top post in this thread and retry it.
If all this still doesn't work, I will post a test program to run on your device that reports the actual size of the client area window.
We'll take it from there.

CycloneSkins [Knowledgable Coder Wanted]

Hello,
I have 'created' (to an extent) the first Horizontal Theme , based off of the built-in CPR file, for Titanium Homescreens on WM6.5, however I have a setback...
This theme is being developed initially, and probably mainly, for the T-Mobile DASH (HTC Excalibur/S620) which as a 320x240 screen. In order to make this work, i need a very simple background program running. This is what the program should do:
Detect a certain set of pixels on-screen, and check to see if colors match up with predefined values (much like MortScript's "ColorAt()")
If the values match up, swap UP/LEFT and DOWN/RIGHT (to emulate horizontal movement)
likewise, if it detects that the active window is the Desktop/Homescreen, it will Swap
If not, it will not do anything
This program needs to be low RAM usage, and not all that big (which is optimal for every program). The reason I have it check pixels is for people, like myself, who run SmartToolKit , which adds a 'mask layer' over the HomeScreen, making it harder to detect if it is actually the homescreen. If someone can create a better way of doing this, then thank you!
However, my main concern is getting a coder to make this application for me, without it the theme can essentially not exist. More details will be given upon contact.
If you are interested, please PM me or E-Mail me (both are provided by XDA through my profile).
Thank You all!
I am going to work on the actual theme today...
Is there anyone who could make this very simple program for me?
Hey,
I dont know if this is considered 'double posting' since these posts are weeks apart...anyways.
I am in DESPERATE need of some kind person to lend me a hand as far as making really a simple app. I do not have the environment set up for making Windows Mobile applications (i do not have Visual Studio as microsoft insists I do). The app would be:
1- ButtonSwap:
This one will check certain pixels on the screen and use them to confirm if it is the HomeScreen. If it is, then it will swap keys, if not, it wont do anything.​
So PLEASE, if someone is willing to do this VERY SIMPLE task, i would be very very grateful!
Sincerely,
Max B.
Cyclonezephyrxz7

[GAME] HG-Proton v0.9.1 :: Powered by HG-Engine (2009/10/14)

I've created first game based on my HG-Engine, here you are. It's simple touch game for test your finger speed
I recommend landscape position for play with both thumbs...
You have to click on the nearest red proton (+) before it reach the front.
Be carefull, speed gets higher and wrong tap decreases your score!
Note: It's only beta version, future development depends on public feedback!
Have a fun and post your highscore ;-)
(C) ShaWn.cz
"Straight from the lab" version here
Changelog:
0.9.1:
Fixed loading issue incidented on some devices causing app crash
0.9:
HighScores are saving!
Difficulty setup
New mode: Accept electrons
G-Sensor and Light can be turned OFF/ON
Improved graphics
0.8:
Initial public release, only concept
Nice
2208, I look forward to more titles using HG-Engine. Good Job.
[bug]
.. As I was typing this, I left the game over screen open. After ~5 minutes the screen went into sleep mode and the device started a light vibrate that never stopped. I could not turn on the screen and no button presses helped. Had to restart device. [HTC Touch Pro].
Tried to repeat the bug: It didn't vibrate this time but the screen becomes completely black and I'm unable to do anything.
Atleast a screenshot ? Resolution info ?
Thanks for the game hope you keep developing it
Screenshots added... This game is mainly for WVGA, but may works also on VGA devices.
I'll look on that sleep mode bug, but it's not critical, game is playable... so now I have more prior ideas ;-) anyway, thx for report
Very good work, the game looks great and the feeling while you play is awesome
Wow! really nice! The HG-Engine is really cool.
Here are my suggestions:
Try to improve the smoothness of the reaction from the G-Sensor (You can look how the Diamond VR Hologram smoothness setting works).
Try to improve the sensitivity of tapping (I find myself tapping the cubes more than once most of the time).
Add levels of difficulty or game modes. Try color coding or moving blocks.
Looking forward to new games or new versions!
I like it, runs perfect on topaz TD2.
You may make a tetris or dr.Mario like games. The point, use cool game soundtracks (May 8-bit like NES, or good remixes ). Simple games with good soundtracks, always remembering easy i think.
Check out this,
http://www.youtube.com/watch?v=3N6D4YeW9do
Really cool soundtrack i think, so i remember this game easily.
Version updated to 0.9 ;-) Check out new features at first post!
I'm working on G-Sensor smoothing algorithm, but it's not important thing for now. It's 3:50 AM here, so I'm gonna sleep, GN & HF!
Omnia
but i can utilies this application on my omnia?
nice game, just a couple of suggestions:
is it possible to replace the cube with slightly bigger cylinders- this might make it look slightly finger freindly
also removal of the graphics to simple shaded colours might make and improvement in speed
finally would it be too difficult to make the objects appear randomly, (this might mean more coding for you)
a few suggestions thats all
p.s it works quiet well on my diamond although a bit sluggish at times
nice work
TytnII
I have TyTn II, Is it compatible?
sandrosa said:
I have TyTn II, Is it compatible?
Click to expand...
Click to collapse
Sorry, it's not... Requires G-Sensor and WVGA or VGA display.
For others: graphics will be improved to final version... You don't have to tap proton itself, clickable is full area of display, so you can tap the corner ;-)
It is a pitty you can not run it on non HTC device, you get an error when invoiking GSensorSDK.HTCGSensor - do you consider the game to hndle that nicely and worki without GSensor?
Okay, I'll build "no g-sensor" version for uncompatibile g-sensors and devices without it ;-)
This game is additively fun! Great job!
Maybe a bit of difficulty setting would be better, it seems as thought it increasingly gets more difficult as time goes by. I like that it does this, but eventually it gets to a point that its simply moving faster than i can tap no matter how great i am at it
Id like a more constant difficulty i guess... hey, if this is all i have to complain about than it must be really good lol. Im looking forward to more HG-engine releases!
Thanks
Hey HTC-Fan,
great job. It works well on my HTC-D with Sun Y 6.1 B3.
Waiting for new levels or game
Regards
Golf
Hi there
Are you still developing this? I just came across it on pocketpcfreeware and I think it is pretty cool.
My suggestions:
Technical:
A soundtrack
Some SFX
Use the vibrate function when you make a wrong tap
Shake the screen a bit when you make a wrong tap
Conceptual:
Lose lives instead of points for tapping an electron?
Make the 'well' deeper to allow more scope for interaction with other objects
Add in some more 'enemies' for variety e.g. positrons which you can steer into electrons using the g-sensor or gestures for non-sensor devices?

HTC community? Yes but not for all

Hello to all!!
It has been a while since I possess telephones under Windows mobile and also, since I navigate it fabulous forum!
When I discovered this forum, I was really very satisfied to have purchased my first one HTC because I had the impression to be a member of a big family!!!!
I thank all the active persons and all the developers on this forum which allowed me to return my phone different from the others and to pull the best!!!
But today, I have to say that I am a little disappointed … I have purchase since a few months a HTC HD Mini because this phone is in my opinion, the best compromise between power, technology, size and still under Windows mobile 6.5.
The HD2 pleased me a lot, but too big for my use … Thus this small phone was really the one that I waited!
Why am I disappointed? Simply because the screen of this phone has a HVGA resolution screen (320x480) and because this one is not current. Everything the magnificent developments which are realized today continues to support the resolution QVGA / WQVGA / VGA / WVGA but not the HVGA.
I find it very it's a pity. Today, I have the impression to be thrown rejected by this HTC community simply because I possess a telephone which is slightly different from the others. And nevertheless, as I said it higher, it is a HTC, he possesses characteristics to envy nothing to the others and he turns under Windows mobiles 6.5. His only defect (if we can say that it is a defect) is the resolution of its screen.
Sirs developers, you who often put your efforts in the service of the others by carrying your applications in various resolutions, could think to us? We who are not competent to develop but who we who support you and we who as want you to pull the maximum of their Windows mobile phone???
Thanks to all by advance !!
Sorry for my English…. It is a resverso translation
You just speak right out of my heart!!!
Devs, please think of us!
In my perspective, I think the hardest part of creating a program, is that he run according to the expected result. The hardest part is to encode the program algorithm.
Then, adapt the same program at different screen sizes is much less difficult! Especially when that program is already adapted to a resolution of 240x320 (QVGA) and a resolution of 480x640 (VGA). From there, I think adapting this program to the resolution of 320x480 (HVGA) is no longer a question of difficulty, but just a question of willingness.
Please gentlemen developers and programmers, think of us when you create your great applications!
Maybe it is true that we are not likely to have a HD Mini, but the fact remains that it's a great phone, branded HTC and running Windows Mobile 6.5.
I do not want to offend anyone, I just want to share my sentiment.
Kind regards, JBS68
Sorry for my English…. It is a google translation
please think of us!
TT_TT
Helle to all !!
Just a small message to promote the subject!
Unless a moderator wants to stick it?
Yes, it can be done, but it can be an awful lot of extra work. If you are going to try and develop an application that will run on as many different platforms as possible, this will have to be done at design time before you have written a single line of code. Trying to retro fit this to an app you have already created, can almost involve a complete rewrite.
Firstly, if you do not have such a device to hand, on which to test the program, you will have to get Visual Studio to create a device with the correct screen size for the emulator to run. HVGA is not one of the stock emulator images. Having created it, when you start it up under the emulator, even Windows Mobile gets a bit confused, see the attached image HVGA. It tries to centre the WM 5.0 stock wallpaper in the screen area, leaving the pale blue gap visible at the top and bottom.
Running the 6.5.3 images as 320x480 makes them virtually unusable, as the Titanium user interface completely screws up; see the second image HVGA65. The 6.5.3 Windows icon 'Start' button does nothing when pressed, you are completely stuck, because you cannot get control panel to run in order to turn the Titanium stuff off.
At least you can test programs against WinMo 5.0 on 320x480.
In the list of applications in my signature below, 5x5 will run perfectly on a HVGA device. Originally, users of Samsung Omnias (240x400) just got a blank screen. The program was originally hard coded to deal with standard QVGA screens in landscape or portrait. Ooooops! Large parts of the program had to be rewritten. It is now designed to dynamically scale the grid to 90% of the shortest side of the client area, and centre itself accordingly. It will now run on any sized screen, even those that have not been released yet! It was a lot of work to make it do this.
Sudoku player will work, but it does not resize, it just positions itself in the middle of the screen. To get this to scale to full size as per 5x5 would involve an enormous amount of work. The drawing would have to be made dynamic as would the font(s) used by the program. It currently gets away with just using the system font, yes let's hear it, lazy programming. It only just fits on a square 240x240 screen.
Siglog is just an app that fills text areas with data; its main purpose is to display and log data; the UI is not that important. It is not optimised for any screen layout, and will just appear in the top left 240x320 area of the screen.
At some stage I might improve Sudoku Player and Siglog so that they have totally dynamic displays, but I have to ask myself, is it really going to be worth all the effort involved?
stephj said:
Yes, it can be done, but it can be an awful lot of extra work. If you are going to try and develop an application that will run on as many different platforms as possible, this will have to be done at design time before you have wriiten a single line of code. Trying to retro fit this to an app you have already created, can almost involve a complete rewrite.
..........................
Click to expand...
Click to collapse
To begin, thank you for taking the time to read and answer my thread !
I must say that I too am a bit of development. Of course, not at the level of what you do, but I trained alone and I develop professional visual basic macros (especially for Excel)...
On the first point, I completely agree with you, if the resolution was not taken into account at the begin, it is often difficult to integrate in the future without having to write everything.
For the second point, I did not that you need an emulator for other resolutions, and looking at the pictures, I understand that it is not easy to exploit these emulators!
Now, I'm not asking that all applications be re written to make them work on my phone, but when you develop new applications, consider this resolution (if possible!)
I see that there are applications that are developed with the interface SENSE. And although those can easily be adapted (I think).
Another example, when an application interface is based on a skin with areas for displaying datas (example, with a XML file format) could also adapt more easily.
In conclusion, thank you for taking the time to reply to this topic and thank you for trying to take into account this resolution in your developments.
Of course, you may also make use, it is my pleasure to test your beta applications and to return you feed-back about them !
For the latter point, it depends: do you want a maximum of community HTC uses your applications? So the answer is yes ....
Anyway, thank you for everything, cordially, JBS68

Categories

Resources