tag:blogger.com,1999:blog-8001170587821659759.post6922862543035306591..comments2023-08-22T02:10:46.226-07:00Comments on My Brain Hurts: HTC Touch Diamond Nav Sensor APIKoushhttp://www.blogger.com/profile/11049460148325973407noreply@blogger.comBlogger34125tag:blogger.com,1999:blog-8001170587821659759.post-34673485310767142742011-10-20T12:26:49.642-07:002011-10-20T12:26:49.642-07:00A lot of thanks for this great tips. Casino affili...A lot of thanks for this great tips. Casino affiliates always search for <a href="http://onlinecasinopartners.com" rel="nofollow">casino programs for partners</a> to increase their revenue income from best casinos or poker rooms.Joshua Smithhttps://www.blogger.com/profile/09956978234577871712noreply@blogger.comtag:blogger.com,1999:blog-8001170587821659759.post-30790177021959612402011-08-03T07:00:10.472-07:002011-08-03T07:00:10.472-07:00Thanks for useful info! For industry solutions it ...Thanks for useful info! For industry solutions it is the right way to get <a href="http://sigmaukraine.com" rel="nofollow">outsource software development</a>.Joshua Smithhttps://www.blogger.com/profile/09956978234577871712noreply@blogger.comtag:blogger.com,1999:blog-8001170587821659759.post-13107283032438404772010-10-28T05:15:18.248-07:002010-10-28T05:15:18.248-07:00sorry but i can't download it from both your b...sorry but i can't download it from both your blog & codeplex. i'm very interested in your work here, so please send me the .cab file to mad_gear123@yahoo.com ....thanks:DUnknownhttps://www.blogger.com/profile/14407950104319571289noreply@blogger.comtag:blogger.com,1999:blog-8001170587821659759.post-16485633338129837012009-09-03T20:02:04.341-07:002009-09-03T20:02:04.341-07:00thanksthanksFernandohttps://www.blogger.com/profile/16424396922518179666noreply@blogger.comtag:blogger.com,1999:blog-8001170587821659759.post-86564103672335783362009-02-19T07:41:00.000-08:002009-02-19T07:41:00.000-08:00Hi, thanks for the great work! I'm a musician and ...Hi, thanks for the great work! I'm a musician and wrote a metronom program. So now I can use the nav-sensor to change the metronom value up and down. Wonderful! :-)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8001170587821659759.post-74679790260491548732009-01-14T20:04:00.000-08:002009-01-14T20:04:00.000-08:00Hey, great work, and even better that you're shari...Hey, great work, and even better that you're sharing it...<BR/><BR/>Noting that the entire area for the Hardware Buttons on the diamond is touch sensitive (take GScroll as a program that utilises it) have you figured out how to access the whole area...?<BR/><BR/>As opposed jsut to the cernter part...<BR/><BR/>CheersAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8001170587821659759.post-69387392237356371752009-01-07T18:56:00.000-08:002009-01-07T18:56:00.000-08:00All code found on this site is licensed under the ...All code found on this site is licensed under the Do What The Fuck You Want To Public License (WTFPL). Yes, it is a legitimate license.<BR/><BR/>http://sam.zoy.org/wtfpl/Koushhttps://www.blogger.com/profile/11049460148325973407noreply@blogger.comtag:blogger.com,1999:blog-8001170587821659759.post-15632318033712146362009-01-07T18:55:00.000-08:002009-01-07T18:55:00.000-08:00Btw, under which licence is the sensors api distri...Btw, under which licence is the sensors api distributed? Is it BSD-like? I could not find any info...jcayzachttps://www.blogger.com/profile/10647134858142630809noreply@blogger.comtag:blogger.com,1999:blog-8001170587821659759.post-81680432361116931312009-01-06T23:49:00.000-08:002009-01-06T23:49:00.000-08:00Is the new family the Aquos, by any chance? :)Is the new family the Aquos, by any chance? :)jcayzachttps://www.blogger.com/profile/10647134858142630809noreply@blogger.comtag:blogger.com,1999:blog-8001170587821659759.post-52046815711479390142009-01-06T12:38:00.000-08:002009-01-06T12:38:00.000-08:00Hi Julien,I received your email. I will be updatin...Hi Julien,<BR/><BR/>I received your email. I will be updating the Sensor API again shortly, with support for a new device family! I'll integrate your code then.Koushhttps://www.blogger.com/profile/11049460148325973407noreply@blogger.comtag:blogger.com,1999:blog-8001170587821659759.post-51157077214105225132009-01-06T01:01:00.000-08:002009-01-06T01:01:00.000-08:00HI Koushik,I've mailed you some changes I made to ...HI Koushik,<BR/>I've mailed you some changes I made to your code to get notified when the center button gets touched, at your hotmail mailbox.<BR/><BR/>Cheers,<BR/>Julienjcayzachttps://www.blogger.com/profile/10647134858142630809noreply@blogger.comtag:blogger.com,1999:blog-8001170587821659759.post-31825869565384195952008-11-26T19:26:00.000-08:002008-11-26T19:26:00.000-08:00Hi, I'm the up one. I just want to say I have fixe...Hi, I'm the up one. I just want to say I have fixed the problem that cannot find the special files by coping debug to device, and all your demos work well!<BR/><BR/>Thank you very much!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8001170587821659759.post-10071338525455193312008-11-26T18:36:00.000-08:002008-11-26T18:36:00.000-08:00Hi, thanks for your share. And I have download yo...Hi, thanks for your share. And I have download your code. But I met a problem when I tried to build them. only LightSensor project works well, other projects, such as SylusSensorTest throw an errow said "Unable to start program '%CSIDL_PROGRAM_FILES%\StylusSensorTest\StylusSensorTest.exe'. The system cannot find the file specified."<BR/><BR/>do you have any idea about this error?<BR/><BR/>I checked the "bin\debug\", and there was a StulysSensorTest.exe<BR/><BR/>Thank you!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8001170587821659759.post-27393638127711940102008-11-20T14:13:00.000-08:002008-11-20T14:13:00.000-08:00Hi, you can email me at koushikdutta at hotmail do...Hi, you can email me at <BR/><BR/>koushikdutta at hotmail dot comKoushhttps://www.blogger.com/profile/11049460148325973407noreply@blogger.comtag:blogger.com,1999:blog-8001170587821659759.post-30317057859062328862008-11-20T14:00:00.000-08:002008-11-20T14:00:00.000-08:00Thanks for the reply. I saw that method after I pr...Thanks for the reply. I saw that method after I programmed something almost identical! That is a very useful method.<BR/><BR/>My program also uses your OpenGLES wrapper (which is also great, thanks!) and I poll the GVector within the OpenGL animation loop, and it all ends up working fine.<BR/><BR/>I do have a question about the OpenGLES wrapper also. There seems to be a bug. If I load a number of textures, I very quickly get an exception that says:<BR/><BR/>Not enough storage space to complete this operation at OpenGLES.Texture.BeginLoadBitmap(...<BR/><BR/>But when I call<BR/><BR/>GC.GetTotalMemory(true);<BR/><BR/>I am using only 344100 bytes of memory. The images I am trying to load are each under 100Kb and all have some transparency, if that matters. I am using a Diamond Touch and should have lots more memory available...<BR/><BR/>I have tried to follow the debugger into this function but I figure it might be a lot easier just to ask if this is something that you have seen before etc. or if there is some sort of OpenGL specific memory buffer which I can make bigger etc.<BR/><BR/>Thanks again! Sorry to ask this question in the wrong section of the blog!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8001170587821659759.post-87149945755040619912008-11-18T21:44:00.000-08:002008-11-18T21:44:00.000-08:00Also, you can convert a GVector to an orientation ...Also, you can convert a GVector to an orientation using GVector.ToScreenOrientation()Koushhttps://www.blogger.com/profile/11049460148325973407noreply@blogger.comtag:blogger.com,1999:blog-8001170587821659759.post-8863304951337601322008-11-18T21:43:00.000-08:002008-11-18T21:43:00.000-08:00Hi David, that bug is fixed in the latest version ...Hi David, that bug is fixed in the latest version of the SDK. The sensor is now using a polling mechanism instead of a registry key.Koushhttps://www.blogger.com/profile/11049460148325973407noreply@blogger.comtag:blogger.com,1999:blog-8001170587821659759.post-39446223228655932302008-11-18T20:24:00.000-08:002008-11-18T20:24:00.000-08:00Alternatively, could listening for the GSensor in ...Alternatively, could listening for the GSensor in order to build the G vector interfere with the process which uses the GSensor to update the registry?<BR/><BR/>This is a very odd bug. I think I will just write my own code to determine the orientation from the vector.<BR/><BR/>Thanks.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8001170587821659759.post-36222308120247686682008-11-18T19:36:00.000-08:002008-11-18T19:36:00.000-08:00I guess it looks like the registry value holding o...I guess it looks like the registry value holding orientation does change because if I start the program in a new orientation, that is shown in the string. But it looks like the myOrientationState.Changed event is never firing while the program is running. I have put a break point on the first line of the handler, and it is never reached...<BR/><BR/>Could the program get a lock on the registry key so that it cannot be changed when you move the device?<BR/><BR/>Thanks again.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8001170587821659759.post-42745050780262602832008-11-18T19:26:00.000-08:002008-11-18T19:26:00.000-08:00Hi, I am having the same problem as an earlier pos...Hi, I am having the same problem as an earlier poster. The GSensor never ever fires an OrientationChanged event, and the Orientation is never updated in the loop, so the orientation displayed is always the same. The orientation is the orientation of the device during the first painting of the screen. But it never updates again after this. <BR/><BR/>Any thoughts on what might be wrong?<BR/><BR/>Thanks!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8001170587821659759.post-17801957534836028642008-11-05T15:07:00.000-08:002008-11-05T15:07:00.000-08:00theprogrammer: By subclassing a window, you can in...theprogrammer: By subclassing a window, you can intercept all events, even if you are in the background. Keep in mind though, that no form can receive key/mouse events in the background.Koushhttps://www.blogger.com/profile/11049460148325973407noreply@blogger.comtag:blogger.com,1999:blog-8001170587821659759.post-40100299024200404612008-11-05T15:04:00.000-08:002008-11-05T15:04:00.000-08:00I know for sure that the wrapper works on Omnia, T...I know for sure that the wrapper works on Omnia, Touch Diamond, Touch Pro, and will probably work on the Touch HD as well. <BR/><BR/>Regarding the person having issues with the project: verify you have Windows Mobile 6 SDK installed.Koushhttps://www.blogger.com/profile/11049460148325973407noreply@blogger.comtag:blogger.com,1999:blog-8001170587821659759.post-2774360007446526942008-11-05T14:43:00.000-08:002008-11-05T14:43:00.000-08:00I can't seem to load up and of the sdks in vs208, ...I can't seem to load up and of the sdks in vs208, it says "an application is not loaded for one of the projects". When I check the project browser it all has nothing loaded. Any ideas?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8001170587821659759.post-90505691759642543292008-11-05T10:57:00.000-08:002008-11-05T10:57:00.000-08:00Hi,This is a great Wrapper, It has allowed me to m...Hi,<BR/><BR/>This is a great Wrapper, It has allowed me to make some awesome programs. Just a curiousity, is this Wrapper compatible with other HTC phones? Although, I'm not sure whether other htc phones have these sensors.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8001170587821659759.post-44342357224221907582008-09-17T01:42:00.000-07:002008-09-17T01:42:00.000-07:00actually it gets the first position but it does no...actually it gets the first position but it does not change.<BR/><BR/>i have a timer starting on form_load then on timertick i want to check screenOrientation. It is always the first tick.<BR/><BR/><BR/>sorry for double post but i don't know how to edit the previous one.Unknownhttps://www.blogger.com/profile/03649824379364570155noreply@blogger.com