Sony Ericsson / Sony : Software, Firmware and Drivers : K850i Accelerometer + Flash Lite 2.0
>
New Topic
>
Reply<
Esato Forum Index
>
Sony Ericsson / Sony >
Software, Firmware and Drivers
> K850i Accelerometer + Flash Lite 2.0
Bookmark topic
grr wish i'd learnt actionscript and flash..this woulda been so much fun

oh well..i'm a good programmer so i may have a play around with it. or just edit some of my old java games to take input from the sensor. fun fun.
--
Posted: 2007-12-10 04:14:13
Edit :
Quote
Now I'm in progress of simplifying the script and including the Y and Z axis (the arrow only uses X). When thats done I'll make a tutorial here how to use accelerometer data in Flash
--
Posted: 2007-12-10 14:03:36
Edit :
Quote
On 2007-12-10 14:03:36, LCARS-Expert wrote:
Now I'm in progress of simplifying the script and including the Y and Z axis (the arrow only uses X). When thats done I'll make a tutorial here how to use accelerometer data in Flash
Yeah, a tutorial would be helpful sice I can't rally find how to make the accelermometer data actually control anything else in the flash file
--
Posted: 2007-12-10 16:29:07
Edit :
Quote
At this moment I'm trying to find out how too.
If you want to see raw Accelerometer data you need 2 frame movie with this script in the first frame:
loadVariables("accelerometer://data", _root);
And 3 Dynamic Text fields on the stage vith Vars: accX, accY, and accZ.
It seems that each of the acc numbers goes approximately from -990 to 990. It does reach ±1000 if you shake the phone.
Edit: Don't know if it was obvious to anyone but now I found out what these numbers are. They show gravitational acceleration in cm/s². Accuracy of the accelerometer is ±18.
[ This Message was edited by: LCARS-Expert on 2007-12-10 18:24 ]
--
Posted: 2007-12-10 17:07:17
Edit :
Quote
Almost forgot about this. This thread continues on tutorials, already made the 1st one:
How to make auto-rotate function in Flash Lite 2.0 (K850i)
There are more to come!
--
Posted: 2007-12-12 13:19:56
Edit :
Quote
Great work!!
Watched some of the youtube videos, its cool. Just I am thinking how about something like a compass using accelerometer. I dont know if thats really possible or not.
--
Posted: 2007-12-22 20:36:38
Edit :
Quote
On 2007-12-22 20:36:38, spybrowser wrote:
Great work!!
Watched some of the youtube videos, its cool. Just I am thinking how about something like a compass using accelerometer. I dont know if thats really possible or not.
Unfortunately it isn't because accelerometer uses gravity, not the Earth's polarity.
--
Posted: 2007-12-23 10:07:38
Edit :
Quote
Yes you are right.
I think there was a Java application available for the k750i. You need to point towards the current direction of sun, and based on time .. not sure how .. it shows the directions.
--
Posted: 2007-12-23 23:31:29
Edit :
Quote
Ah, thats normal way of orientating. You can do that with your wrist watch if its not digital. I learned that in primary school, can't remember how it goes anymore.
--
Posted: 2007-12-24 10:11:26
Edit :
Quote
don't know why but it doesn't work for me,
i just get the numbers on my screen.
--
Posted: 2007-12-25 15:03:10
Edit :
Quote
New Topic
Reply