Ariane Soft PPL2 Pocket Programming DataMite
  #1  
Old 11-24-2008, 07:05 PM
Andrew Beery Andrew Beery is offline
Senior Member
 
Join Date: Jun 2006
Posts: 115
Default Accelerometer and/or GPS Sample?

Anyone got a sample for accessing either the motion detector or GPS build into some of the newer Windows mobile devices? I just got an HTC Touch HD (800x480 res) and looking to access these functions... I will also be updating my SereneScreen Phone Edition to use this resolution so if anybody has a device with a similar resolution (X1 etc) and wants to help test for me send me an email.
__________________
Let us not love with words or tongue but with actions and in truth -- 1 John 3:18
Reply With Quote
  #2  
Old 11-25-2008, 06:11 PM
Nicknack's Avatar
Nicknack Nicknack is offline
Senior Member
 
Join Date: Nov 2006
Location: Germany
Posts: 527
Default

if you like you can try to port an example from another language to ppl. i found some on the web about gps, here is one promising. don't hesitate to ask for help if you are willing to do so
Reply With Quote
  #3  
Old 11-26-2008, 03:22 AM
Andrew Beery Andrew Beery is offline
Senior Member
 
Join Date: Jun 2006
Posts: 115
Default

yeah... I had a feeling I would be needing to do this... I'll look at this over the weekend and post a library function when I have available for testing
__________________
Let us not love with words or tongue but with actions and in truth -- 1 John 3:18
Reply With Quote
  #4  
Old 12-17-2008, 10:14 AM
BERUNIN BERUNIN is offline
Junior Member
 
Join Date: Apr 2007
Posts: 21
Default Gravity Sensor in PPL

If you like gravity sensor in you device, test my port to ppl (sorry my english is bad)...
Attached Files
File Type: zip senzortest.PPL.zip (983 Bytes, 301 views)
Reply With Quote
  #5  
Old 12-17-2008, 03:23 PM
Leginus's Avatar
Leginus Leginus is offline
Senior Member
 
Join Date: Mar 2008
Location: Chesterfield, Derbyshire, UK
Posts: 143
Default

I don't have a sensor in any of my devices, but good job for doing a conversion. Lets hope somebody will test this for you.
Reply With Quote
  #6  
Old 12-17-2008, 04:26 PM
kornalius kornalius is offline
Administrator
 
Join Date: Apr 2006
Posts: 551
Default

Amazing, thank you very much. Always useful.
__________________
Regards,
Alain Deschenes
ArianeSoft Inc.
http://www.arianesoft.ca
Reply With Quote
  #7  
Old 12-17-2008, 06:23 PM
zehlein's Avatar
zehlein zehlein is offline
Senior Member
 
Join Date: Sep 2006
Location: Leipzig, Germany
Posts: 596
Default

Runs fne on my Touch Diamond here. Thanks for sharing!
__________________
There is a crack, a crack in everything. That's how the light gets in. (L. Cohen)
Reply With Quote
  #8  
Old 12-18-2008, 09:16 PM
BERUNIN BERUNIN is offline
Junior Member
 
Join Date: Apr 2007
Posts: 21
Default

thanks if you like I maybe translate others "Diamond series"
ports...(Ilight sensor,wheel scrool button.. etc.)
GPS eee no no i Beginner.. little programmer
Reply With Quote
  #9  
Old 12-19-2008, 09:01 AM
BERUNIN BERUNIN is offline
Junior Member
 
Join Date: Apr 2007
Posts: 21
Default

Hi one hour back I completed next port for "HTC Diamond Series" devices..
this is ILightSensor source for "driving" your light sensor Not most activate
in batery settings. Program open senzor and close if terminated
display numbers is maybe in candela (maybe) looks and use if like it...
Attached Files
File Type: zip IlightSensor.zip (5.2 KB, 281 views)
Reply With Quote
Reply

Tags
accelerometer, gps, htc touch hd, motion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:49 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright (c) ArianeSoft Inc.
Copyright © 2009 www.ppl-lang.com - All rights reserved
Web Design by BR Web Consulting Ltd