[HELP] TouchScreen Nokia Lumia 620 CHINESE GENERIC - Windows Mobile

Hi good day to all , look I commented that I had the misfortune to make my first purchase online and has been a rev3 touchscreen for my Nokia Lumia 620, I had my doubts that I had read enough complaints and others but good cheapskate that I am I decided to buy it. Turned out to be a Chinese imitation, if the screen is not sooo bad , but I came NG vertically touchscreen function is inverted ! Let the coordinates are those that are inverted .. From top to bottom , instead horizontally and do not .. Obviously the corresponding claim because publication of ML say that the screen is 100 % original, is not it! But they say that should not have misplaced this screen or the other thing , and defraud people , good order as I said this inverted vertically , I was reading a lot on forums and trying to find the solution stop me with this in internet ..
You open the firmware to modify the editor dragon face and loads the firmware to edit , you go to advanced settings, then " system settings " , you will open the file script.bin . Then look for the following lines :
[ ctp_para ]
ctp_used = 1 (1 or 0 according to this on or off the touch)
ctp_name = " gt811_ts " (name of driver ic touch here GT811 )
ctp_twi_id = 1 ( do not touch these lines )
ctp_twi_addr = 0x5d ( not touch these lines )
ctp_screen_max_x = 800 (horizontal resolution of the screen)
ctp_screen_max_y = 480 (vertical resolution of the screen)
ctp_revert_x_flag = 0 ( if we write 1 we invest touch horizontally)
ctp_revert_y_flag = 0 ( if we write 1 we invest touch vertically)
ctp_exchange_x_y_flag = 0 ( if we write one reverses the XY coordinates)
The first thing to check is that the horizontal and vertical resolution in the script matches the resolution of our lcd screen, the most common for 7 "tablets is 800 × 480 although this and popularizing the 1024 × 600, if the resolution not for the touch of the finger will look bad record.
If the touch screen is vertically inverted ctp_revert_y_flag change the value , and if this change ctp_revert_x_flag inverted horizontally , in some cases the two are reversed . If this does not work , leave the values ​​at the beginning and edit the entry ctp_exchange_x_y_flag .
This is an example of what you mean to imply, that I quoted is for editing allwinner firmware and I thought that the only way to not take the disappointment of never again able to use either my lumia 620 could also edit the firmware lumia 620, but how? I have no idea how to open it nor to modify it, I try to access the settings of the touch, or is editing via software to invest vertically from the driver or the driver for the touch, and so could be used FINALLY well my phone, anyone would be so kind as to give me a hand? I want help to do it! I do not ask you do, in any way.
From already thank you very much, Cristian.
PD: I think the idea is good plus it might help people with the same problem as me! That sure will be many.

Ch3z7er said:
Hi good day to all , look I commented that I had the misfortune to make my first purchase online and has been a rev3 touchscreen for my Nokia Lumia 620, I had my doubts that I had read enough complaints and others but good cheapskate that I am I decided to buy it. Turned out to be a Chinese imitation, if the screen is not sooo bad , but I came NG vertically touchscreen function is inverted ! Let the coordinates are those that are inverted .. From top to bottom , instead horizontally and do not .. Obviously the corresponding claim because publication of ML say that the screen is 100 % original, is not it! But they say that should not have misplaced this screen or the other thing , and defraud people , good order as I said this inverted vertically , I was reading a lot on forums and trying to find the solution stop me with this in internet ..
You open the firmware to modify the editor dragon face and loads the firmware to edit , you go to advanced settings, then " system settings " , you will open the file script.bin . Then look for the following lines :
[ ctp_para ]
ctp_used = 1 (1 or 0 according to this on or off the touch)
ctp_name = " gt811_ts " (name of driver ic touch here GT811 )
ctp_twi_id = 1 ( do not touch these lines )
ctp_twi_addr = 0x5d ( not touch these lines )
ctp_screen_max_x = 800 (horizontal resolution of the screen)
ctp_screen_max_y = 480 (vertical resolution of the screen)
ctp_revert_x_flag = 0 ( if we write 1 we invest touch horizontally)
ctp_revert_y_flag = 0 ( if we write 1 we invest touch vertically)
ctp_exchange_x_y_flag = 0 ( if we write one reverses the XY coordinates)
The first thing to check is that the horizontal and vertical resolution in the script matches the resolution of our lcd screen, the most common for 7 "tablets is 800 × 480 although this and popularizing the 1024 × 600, if the resolution not for the touch of the finger will look bad record.
If the touch screen is vertically inverted ctp_revert_y_flag change the value , and if this change ctp_revert_x_flag inverted horizontally , in some cases the two are reversed . If this does not work , leave the values ​​at the beginning and edit the entry ctp_exchange_x_y_flag .
This is an example of what you mean to imply, that I quoted is for editing allwinner firmware and I thought that the only way to not take the disappointment of never again able to use either my lumia 620 could also edit the firmware lumia 620, but how? I have no idea how to open it nor to modify it, I try to access the settings of the touch, or is editing via software to invest vertically from the driver or the driver for the touch, and so could be used FINALLY well my phone, anyone would be so kind as to give me a hand? I want help to do it! I do not ask you do, in any way.
From already thank you very much, Cristian.
PD: I think the idea is good plus it might help people with the same problem as me! That sure will be many.
Click to expand...
Click to collapse
i'm in a same situation. i hope exist a solution.

Ch3z7er said:
Hi good day to all , look I commented that I had the misfortune to make my first purchase online and has been a rev3 touchscreen for my Nokia Lumia 620, I had my doubts that I had read enough complaints and others but good cheapskate that I am I decided to buy it. Turned out to be a Chinese imitation, if the screen is not sooo bad , but I came NG vertically touchscreen function is inverted ! Let the coordinates are those that are inverted .. From top to bottom , instead horizontally and do not .. Obviously the corresponding claim because publication of ML say that the screen is 100 % original, is not it! But they say that should not have misplaced this screen or the other thing , and defraud people , good order as I said this inverted vertically , I was reading a lot on forums and trying to find the solution stop me with this in internet ..
You open the firmware to modify the editor dragon face and loads the firmware to edit , you go to advanced settings, then " system settings " , you will open the file script.bin . Then look for the following lines :
[ ctp_para ]
ctp_used = 1 (1 or 0 according to this on or off the touch)
ctp_name = " gt811_ts " (name of driver ic touch here GT811 )
ctp_twi_id = 1 ( do not touch these lines )
ctp_twi_addr = 0x5d ( not touch these lines )
ctp_screen_max_x = 800 (horizontal resolution of the screen)
ctp_screen_max_y = 480 (vertical resolution of the screen)
ctp_revert_x_flag = 0 ( if we write 1 we invest touch horizontally)
ctp_revert_y_flag = 0 ( if we write 1 we invest touch vertically)
ctp_exchange_x_y_flag = 0 ( if we write one reverses the XY coordinates)
The first thing to check is that the horizontal and vertical resolution in the script matches the resolution of our lcd screen, the most common for 7 "tablets is 800 × 480 although this and popularizing the 1024 × 600, if the resolution not for the touch of the finger will look bad record.
If the touch screen is vertically inverted ctp_revert_y_flag change the value , and if this change ctp_revert_x_flag inverted horizontally , in some cases the two are reversed . If this does not work , leave the values ​​at the beginning and edit the entry ctp_exchange_x_y_flag .
This is an example of what you mean to imply, that I quoted is for editing allwinner firmware and I thought that the only way to not take the disappointment of never again able to use either my lumia 620 could also edit the firmware lumia 620, but how? I have no idea how to open it nor to modify it, I try to access the settings of the touch, or is editing via software to invest vertically from the driver or the driver for the touch, and so could be used FINALLY well my phone, anyone would be so kind as to give me a hand? I want help to do it! I do not ask you do, in any way.
From already thank you very much, Cristian.
PD: I think the idea is good plus it might help people with the same problem as me! That sure will be many.
Click to expand...
Click to collapse
How can i open the FFU file? Which program? Everybody know?

Touch screen
Sir! Is there any way to edit NEW firmwares, after I update my Lumia 620 I can't use Touch anymore, I always have to reflash it with some other Product key, please help if you have a solution, I think It's something like missing driver for Chinese Digitizer..

Newsgone
Nice brand i have used it. it was good operated. and new app in it.

good job
Ch3z7er said:
Hi good day to all , look I commented that I had the misfortune to make my first purchase online and has been a rev3 touchscreen for my Nokia Lumia 620, I had my doubts that I had read enough complaints and others but good cheapskate that I am I decided to buy it. Turned out to be a Chinese imitation, if the screen is not sooo bad , but I came NG vertically touchscreen function is inverted ! Let the coordinates are those that are inverted .. From top to bottom , instead horizontally and do not .. Obviously the corresponding claim because publication of ML say that the screen is 100 % original, is not it! But they say that should not have misplaced this screen or the other thing , and defraud people , good order as I said this inverted vertically , I was reading a lot on forums and trying to find the solution stop me with this in internet ..
You open the firmware to modify the editor dragon face and loads the firmware to edit , you go to advanced settings, then " system settings " , you will open the file script.bin . Then look for the following lines :
[ ctp_para ]
ctp_used = 1 (1 or 0 according to this on or off the touch)
ctp_name = " gt811_ts " (name of driver ic touch here GT811 )
ctp_twi_id = 1 ( do not touch these lines )
ctp_twi_addr = 0x5d ( not touch these lines )
ctp_screen_max_x = 800 (horizontal resolution of the screen)
ctp_screen_max_y = 480 (vertical resolution of the screen)
ctp_revert_x_flag = 0 ( if we write 1 we invest touch horizontally)
ctp_revert_y_flag = 0 ( if we write 1 we invest touch vertically)
ctp_exchange_x_y_flag = 0 ( if we write one reverses the XY coordinates)
The first thing to check is that the horizontal and vertical resolution in the script matches the resolution of our lcd screen, the most common for 7 "tablets is 800 × 480 although this and popularizing the 1024 × 600, if the resolution not for the touch of the finger will look bad record.
If the touch screen is vertically inverted ctp_revert_y_flag change the value , and if this change ctp_revert_x_flag inverted horizontally , in some cases the two are reversed . If this does not work , leave the values ​​at the beginning and edit the entry ctp_exchange_x_y_flag .
This is an example of what you mean to imply, that I quoted is for editing allwinner firmware and I thought that the only way to not take the disappointment of never again able to use either my lumia 620 could also edit the firmware lumia 620, but how? I have no idea how to open it nor to modify it, I try to access the settings of the touch, or is editing via software to invest vertically from the driver or the driver for the touch, and so could be used FINALLY well my phone, anyone would be so kind as to give me a hand? I want help to do it! I do not ask you do, in any way.
From already thank you very much, Cristian.
PD: I think the idea is good plus it might help people with the same problem as me! That sure will be many.
Click to expand...
Click to collapse
thaks
PHP:

help
fuccetz said:
thaks
PHP:
Click to expand...
Click to collapse
Hello, how i do to change the y orientation in the software ?

Related

Changing Start Menue in WM SE

Hi everybody. Those of you who have windows mobile SE might miss the good old start menue from first edition featuring more links than the new one. The old version had those tiny little symboles at the very top. Far more handy than these big "last used" symbols now from my poit of view.
Perhaps one reason of this restructure is the landscape mode. Here the "last used" symboles become the litte symboles ontop like in first edition.
now wouldn't it be nice if you could also define the lower sectioin of the menue with permanent links in stead of these changing ones?
So far I found out that the registry folder containing these shortcuts is to be found at: HKEY_CURRENT_USER\Software\Microsoft\Shell\TaskSwitch
(at least at my Himalaya).
Within here you got
(Default) (value not set)
"1"="\\Windows\\Startmenü\\Programme\\SlovoEd.lnk"
"0"="\\Windows\\Startmenü\\Programme\\Resco Registry.lnk"
"10"="\\Windows\\Startmenü\\Programme\\Spiele\\Jawbreake r.lnk"
"11"="\\Windows\\Startmenü\\Programme\\Astor.lnk"
"9"="\\Windows\\Startmenü\\Programme\\Internet Explorer.lnk"
"8"="\\Windows\\Startmenü\\Programme\\Messaging.lnk"
"7"="\\Windows\\Startmenü\\Programme\\Alex.lnk"
"6"="\\Windows\\Startmenü\\Programme\\Eval.lnk"
"5"="\\Windows\\Startmenü\\Programme\\Notizen.lnk"
"4"="\\Windows\\Startmenü\\Programme\\movianVPN.lnk"
"3"="\\Windows\\Startmenü\\Programme\\Sprite Backup.lnk"
"2"="\\Windows\\Startmenü\\Programme\\Suchen.lnk"
for example while values form 0 to 5 are the 6 items that are displyed.
Now changing a value to a link (.lnk) that is located in the windows/start menue/program folder and a softrest brings this new item up..
The only thing that one would have to do to permanently set one's links is to stop the device from changing that folder.
unfortunatelly I have no idea how to do that... maye sombody of you can help?
Thanks alot
Alex
I've tried everything. Delete single values within taskswitch. delete taskswitch...
I added Dwords to Shell and taskswitch as follows:
NoRecentTaskHistory = 1
NoRecentTaskSwitch = 1
NoRecentTaskSwitchHistory = 1
NoTaskHistory = 1
NoTaskSwitch = 1
NoTaskSwitchHistory = 1
non of them works.
Actually I'm not into inventing new regestry vlues.
Perhaps someone of you knows...
Thanks a lot. I think a lot of people would appreciate this.
Greets Alex

How to change slide Keyboard layout

Hi all,
i got an United Kingdom TyTN, but i installed the Italian official ROM from HTC with wm6.
That's works fine but layout of the slide keyboard doesn't work correctly.
Principal functions are ok, layout is QWERTY.
Only 4 caps doesn't work.
Key S with cap " return me cap -
Key D with cap : return me cap "
Key F with cap - return me cap °
Key C with cap ; return me cap :
What can I do?
Thank you all
now it's all ok, Advanced Configuration Tool was the way
Sorry for bothering
but there isnìt italian layout.... in Advanced Configuration Tool... How can I do?
I'm very sad...!!
Get a registry editing program (Often already included in custom ROM)
Here's a free one : http://www.phm.lu/Products/PocketPC/RegEdit/
In the registry, go to: HKEY_LOCAL_MACHINE\Software\Oem\Qwerty
Under it, you'll find "Layout", it should have a number as data, such as "197649" or whatever else.
I dont know what your keyboard layout it, but you can try changing the data number to something else.
Here are some numbers that I know of (Only write the NUMBER)
Make sure you enter those values as DECIMAL
DECIMAL NUMBERS
THOSE ARE DECIMAL NUMBERS
NOT HEXADECIMAL
English : 132105
Chinese : 132100
German : 132103
Spanish : 132106
FROM WHAT I COULD MAKE OUT FROM A GENERAL PPC WEBPAGE (Don't hold me responsible if it doesnt work)
I got a few possible values
Italian Standard : 132112
Italian Swiss : 133136
DO NOT SOFT RESET!!!
Soft reset sometimes causes the phone to not SAVE the changes and then your phone reboots with the hold QWERTY settings.
Do this instead
TURN OFF
wait 5 seconds
TURN ON
If you want to find other keyboard values, go to the webpage link below
Example to USE the webpage: Italian Standard
1 - Find : Italian Standard
2 - Look at the LCIDHex value (first column on right side with 4 digits)
3 - Italian Standard : 0410
4 - Add 20 in front of this number ( 20 410 = 20410)
5 - Open MS calculator on your computer (start menu, run, type calc OR Start Menu, All Programs, Accessories, Calculator)
6 - In calculator, click on VIEW, then select SCIENTIFIC
7 - In calculator, check mark "HEX" under the white box, left corner, just under "edit"
8 - In calculator, Type in your number ( 20410)
9 - In calculator, check mark "DEC" right next to the "HEX"
10 - In calculator, the white box should where you typed 20410 should have changed to 132112
11 - Type 132112 in the registry value from the top of this thread.
Go do those steps with the code you find in this webpage depending of the country you wish to use.
http://www.microsoft.com/globaldev/reference/winxp/xp-lcid.mspx

[proof of concept app]Gesture recognition

I recently saw this tread:
http://forum.xda-developers.com/showthread.php?t=370632
i liked the idea, and when i thought about it, gesture recognition didn't seem to hard. And guess what - it really wasn't hard
I made a simple application recognizing gestures defined in an external configuration file. It was supposed to be a gesture launcher, but i didn't find out how to launch an app from a winCE program yet. Also, it turned out to be a bit to slow for that because of the way i draw gesture trails - i'd have to rewrite it almost from scratch to make it really useful and i don't have time for that now.
So i decided to share the idea and the source code, just to demonstrate how easy it is to include gesture recognition in your software.
My demo app is written in C, using XFlib for graphics and compiled using CeGCC so you'll need both of them to compile it (download and install instructions are on the Xflib homepage: www.xflib.net)
The demo program is just an exe file - extract it anywhere on your device, no installation needed. You'll also need to extract the gestureConfig.ini to the root directory of your device, or the program won't run.
Try some of the gestures defined in the ini (like 'M' letter - 8392, a rectangle - 6248, a triangle - 934), or define some of your own to see how the recognition works. Make sure that you have a string consisting of numbers, then space of a tabulator (or more of them) and some text - anything will do, just make sure that there's more than just the numbers in each line. Below you can set the side sensitivity to tweak recognition (see the rest of the post for description on how it works). Better leave the other parameter as it is - seems to work best with this value.
Now, what the demo app does:
It recognizes direction of drawn strokes, and prints them on the bottom of the screen as a string of numbers representing them (described bellow). If a drawn gesture matches one of the patterns in the config file, the entire drawn gesture gets highlited. It works the best with stylus, but is usable with finger as well.
Clicking the large rectangle closes the app.
And how it does it:
The algorithm i used is capable of recognizing strokes drawn in eight directions - horizontally, vertically and diagonally. Directions are described with numbers from 1 to 9, arranged like on a PC numerical keyboard:
Code:
7 8 9
4 6
1 2 3
So a gesture defined in config as 6248 is right-down-left-up - a ractangle.
All that is needed to do the gesture recognition is last few positions of the stylus. In my program i recorded the entire path for drawing if, but used only 5 last positions. The entire trick is to determine which way the stylus is moving, and if it moves one way long enough, store this direction as a stroke.
The easiest way would be to subtract previous stylus position from current one, like
Code:
vectorX=stylusX[i]-stylusX[i-1];
vectorY=stylusY[i]-stylusY[i-1];
[code]
But this method would be highly inaccurate due to niose generated by some digitizers, especially with screen protectors, or when using a finger (try drawing a straight line with your finger in some drawing program)
That's why i decided to calculate an average vector instead:
[code]
averageVectorX=((stylusHistoryX[n]-stylusHistoryX[n-5])+
(stylusHistoryX[n-1]-stylusHistoryX[n-5])
(stylusHistoryX[n-2]-stylusHistoryX[n-5])
(stylusHistoryX[n-3]-stylusHistoryX[n-5])
(stylusHistoryX[n-4]-stylusHistoryX[n-5]))/5;
//Y coordinate is calculated the same way
where stylusHistoryX[n] is the current X position of stylus, and stylusHistoryX[n-1] is the previous position, etc.
Such averaging filters out the noise, without sacrificing too much responsiveness, and uses only a small number of samples. It also has another useful effect - when the stylus changes movement direction, the vector gets shorter.
Now, that we have the direction of motion, we'll have to check how fast the stylus is moving (how long the vector is):
Code:
if(sqrt(averageVectorX*averageVectorX+averageVectorY*averageVectorY)>25)
(...)
If the vector is long enough, we'll have to determine which direction it's facing. Since usually horizontal and vertical lines are easier to draw than diagonal, it's nice to be able to adjust the angle at which the line is considered diagonal or vertical. I used the sideSensitivity parameter for that (can be set in the ini file - range its is from 0 to 100). See the attached image to see how it works.
The green area on the images is the angle where the vector is considered horizontal or vertical. Blue means angles where the vector is considered diagonal. sideSensitivity for those pictures are: left one - 10, middle - 42 (default value, works fine for me ), right - 90. Using o or 100 would mean that horizontal or vertical stroke would be almost impossible to draw.
to make this parameter useful, there are some calculations needed:
Code:
sideSensitivity=tan((sideSensitivity*45/100)*M_PI/180);
First, the range of the parameter is changed from (0-100) to (0-22), meaning angle in degrees of the line dividing right section (green) and top-right (blue). hat angle is then converted to radians, and tangent of this angle (in radians) is being calculated, giving slope of this line.
Having the slope, it's easy to check if the vector is turned sideways or diagonal. here's a part of source code that does the check, it is executed only if the vector is long enough (condition written above):
Code:
if( abs(averageVectorY)<sideSensitivity*abs(averageVectorX) ||
abs(averageVectorX)<sideSensitivity*abs(averageVectorY)) //Vector is turned sideways (horizontal or vertical)
{
/*Now that we know that it's facing sideways, we'll check which side it's actually facing*/
if( abs(averageVectorY)<sideSensitivity*averageVectorX) //Right Gesture
gestureStroke='6'; //storing the direction of vector for later processing
if( abs(averageVectorY)<sideSensitivity*(-averageVectorX)) //Left Gesture
gestureStroke='4';
if( abs(averageVectorX)<sideSensitivity*(averageVectorY)) //Down gesture
gestureStroke='2';
if( abs(averageVectorX)<sideSensitivity*(-averageVectorY)) //Up gesture
gestureStroke='8';
}
else
{ //Vector is diagonal
/*If the vector is not facing isdeways, then it's diagonal. Checking which way it's actually facing
and storing it for later use*/
if(averageVectorX>0 && averageVectorY>0) //Down-Right gesture
gestureStroke='3';
if(averageVectorX>0 && averageVectorY<0) //Up-Right gesture
gestureStroke='9';
if(averageVectorX<0 && averageVectorY>0) //Down-Left gesture
gestureStroke='1';
if(averageVectorX<0 && averageVectorY<0) //Up-Left gesture
gestureStroke='7';
}
Now, we have a character (i used char type, so i can use character strings for string gestures - they can be easily loaded from file and compared with strcmp() ) telling which way the stylus is moving. To avoid errors, we'll have to make sure that the stylus moves in the same direction for a few cycles before storing it as a gesture stroke by increasing a counter as long as it keeps moving in one direction, and resetting it if it changes the direction. If the counter value is bigger than some threshold (pathSensitivity variable is used as this threshold in my program), we can store the gestureStroke value into a string, but only if it's different from previous one - who needs a gesture like "44444" when dragging the stylus left?
After the stylus is released, you'll have to compare generated gesture string to some patterns (eg. loaded from a configuration file), and if it matches, do an appropriate acton.
See the source if you want to see how it can be done, this post already is quite long
If you have any questions, post them and i'll do my best to answer.
Feel free to use this method, parts of, or the entire source in your apps. I'm really looking forward to seeing some gesture-enabled programs
Very nice work. Reading your post was very insightful, and I hope this can provide the basis for some new and exciting apps!
great app... and well done for not just thinking that seems easy... but actually doing it...
ive been a victim of that myself
very nice work man.. one question in which tool did you write code.. i mean it looks like C but how you test and all..
Great app, i see that it is just proof of concept at this stage, but i see that it can be used in future applications control
Continiue with your great work
nik_for_you said:
very nice work man.. one question in which tool did you write code.. i mean it looks like C but how you test and all..
Click to expand...
Click to collapse
It is C, (no "++", no "#", no ".NET", just god old C ) compiled with opensource compiler CeGCC (works under linux, or under windows using cygwin - a unix emulator), developed in opensource IDE Vham (but even a notepad, or better notepad++ would do), tested directly on my Wizard (without emulator). I used XFlib which simplifies graphics and input handling to a level where anyone who ever programed anything at all should be able to handle it - it providea an additional layer between the programmer and the OS. You talk to Xflib, and Xflib talks to the OS. I decided to use this library, because i wanted to try it out anyway.
If i decide to rewrite it and make an actual launcher or anything else out of it, i'll have to use something with a bit faster and more direct screen access (probably SDL, since i already done some programing for desktop PC with it) - XFlib concentrates on usage of sprites - like 2D console games. every single "blob" of the gesture trail is a separate sprite , which has to be drawn each time the screen is refreshed - that is what slows down the app so much. The gesture recognition itself is really fast.
Very good program i just test it and it works very well some combinaison are pretty hard to realize but i like this blue point turning red with command2 and 934. Goond luck , i'll continue to see your job maybe you'll code a very interesting soft.
Interesting work.... would like to see this implemented in an app, could be very useful.
If you want I have some code I did for NDS coding, and which I ported on PocketPC for XFlib.
It works perfectly well and I use it in Skinz Sudoku to recognize the drawn numbers.
The method is pretty simple : when the stylus is pressed, enter the stylus coordinates in a big array. And when it's released, it takes 16 points (could be changed depending on what you need) at the same distance from each other, checks the angle, and gives you the corresponding 'char'.
To add new shapes, it's just a 15 character string which you link to any char (like, link right movement to 'r', or 'a', or a number, or whatever ^^). It works for pretty much any simple shape, and I even used it to do a graffitti-like thing on NDS which worked really well
Hey!
How do you get the last Stylus Positions?
and how often do you read them out
I want to realice such a code under vb.net, but I don't know how i should read out the last stylus positions, to get them perfectly for such calculations
Code:
Private Sub frmGesture_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles MyBase.MouseMove
If StylusJump = 1 Then
StylusJump += 1
If (CurrentStylusPosition.X <> frmGesture.MousePosition.X) Or (CurrentStylusPosition.Y <> frmGesture.MousePosition.Y) Then
LastStylusPosition(9).X = LastStylusPosition(8).X
LastStylusPosition(9).Y = LastStylusPosition(8).Y
LastStylusPosition(8).X = LastStylusPosition(7).X
LastStylusPosition(8).Y = LastStylusPosition(7).Y
LastStylusPosition(7).X = LastStylusPosition(6).X
LastStylusPosition(7).Y = LastStylusPosition(6).Y
LastStylusPosition(6).X = LastStylusPosition(5).X
LastStylusPosition(6).Y = LastStylusPosition(5).Y
LastStylusPosition(5).X = LastStylusPosition(4).X
LastStylusPosition(5).Y = LastStylusPosition(4).Y
LastStylusPosition(4).X = LastStylusPosition(3).X
LastStylusPosition(4).Y = LastStylusPosition(3).Y
LastStylusPosition(3).X = LastStylusPosition(2).X
LastStylusPosition(3).Y = LastStylusPosition(2).Y
LastStylusPosition(2).X = LastStylusPosition(1).X
LastStylusPosition(2).Y = LastStylusPosition(1).Y
LastStylusPosition(1).X = CurrentStylusPosition.X
LastStylusPosition(1).Y = CurrentStylusPosition.Y
CurrentStylusPosition.X = frmGesture.MousePosition.X
CurrentStylusPosition.Y = frmGesture.MousePosition.Y
End If
Dim LabelString As String
Dim iCount As Integer
LabelString = "C(" & CurrentStylusPosition.X & "\" & CurrentStylusPosition.Y & ")"
For iCount = 1 To 9
LabelString = LabelString & " " & iCount & "(" & LastStylusPosition(iCount).X & "\" & LastStylusPosition(iCount).Y & ")"
Next
lblGesture.Text = LabelString
ElseIf StylusJump <= 3 Then
StylusJump += 1
Else
StylusJump = 1
End If
End Sub
Sorry, i didn't notice your post before. I guess that you have the problem solved now, that you released a beta of gesture launcher?
Anyway, you don't really need 10 last positions, in my code i used only 5 for calculations and it still worked fine.
Nice thread, thanks for sharing.
Human-,achine interface has always been an interesting subject to me, and the release of ultimatelaunch has sparked an idea. I am trying to acheive a certain look-and-feel interface - entirely using components that are today screen and ultimatelaunch compatible. Basically a clock strip with a few status buttons at the top, and an ultimatelaunch cube for the main lower portion of the screen - gesture left/right to spin the cube, and each face should have lists of info / icons scrolled by vertical gesture. I'm talking big chunky buttons here - tasks, calendar appts, (quick) contacts, music/video playlists - all vertical lists, one item per row, scrolling in various faces of the cube.
Done the top bit using rlToday for now. Set it to type 5 so scrollbars never show for the top section. All good. Cobbling together bits for the faces, but few of the apps are exactly what I want, some (like that new face contacts one) are pretty close, and being a bit of an armchair coder, I thought now would be a good opportunity to check out WM programming and see if I can't at least come up with a mockup of what I want if not a working app.
I was wondering if anyone could advise me on whether I should bother recognising gestures in such a way as this. Does WM not provide gesture detection for the basic up, down, left, right? Actually, all the stuff I have in mind would just require up/down scrolling of a pane - I was thinking that I may well not need to code gesture support at all, just draw a vertical stack of items, let it overflow to create a scrollbar and then just use the normal WM drag-to-scroll feature (if it exists) to handle the vertical scrolling by gesture in the face of the cube. I would rather keep the requirements to a minimum (eg touchflo), both for dependancy and compatibility reasons, so maybe doing the detection manually would be the "way to go", I dunno.
Did you release source with the app launcher? A library maybe? I intend to go open source with anything I do, so if you are doing the same then I would love to have access to your working code
Nice work man.
Impressive.

Camera tweaks?

hi guys!
browsing through the registry entries of the HD i found the folowing:
1. HKLM\software\HTC\camera\captparam\capture timer = 5000
2. HKLM\software\HTC\camera\general\macromode = 0
would it be possible to change those values in order to get faster shutter response (for 1st option) and enabling macromode (for 2nd option)
i've changed the values
capture timer = 50
macromode = 1
and nothing happened
but, maybe, someone with more skills can made a tweak out of these to get some improvements of the camera.
what do you think?

Help!, Different Size Image But Same Result.

I am editing whole my question as it might not so clear for others to help.
I am modifying super jumper game (Mario Zacher's Beginning Android Game) , i've come to stuck on this issue:
if you look at my attachment image, you could see that my character image rendered in same size with the spring image.
i'm using texture atlas 1024x1024 px,
Code:
spring = new TextureRegion(items, 980, 90, 32, 40);
charJump = new Animation(0.2f,
new TextureRegion(items,charX+32, charY, 64,160),
new TextureRegion(items, charX+150, charY, 64, 160)); //char anim.
I am using photoshop and put all the texture region required in my Atlas.
For each character image frame has the size of 64x150
while the spring image only has the size of 30x40
the world class camera width and height = 11f x 14f
the world renderer class camera width and height also = 11f x 14f
Please give me some clue, what important knowledge i am missing here ? thank you.
ganero

Categories

Resources