Author |
K850i Accelerometer + Flash Lite 2.0 |
Stud Joined: Nov 19, 2007 Posts: 62 From: Dominican Republic PM |
Whoa ! I just downloaded that thing man. itīs awesome. It works perfectly on mine. The arrow follows the direction I tilt the cell phone coorectly. I canīt wait to show that to my friends. lol |
|
goldenface Joined: Dec 17, 2003 Posts: > 500 From: Liverpool City Centre PM |
@LCARS-Expert
Ha ha, just downloaded it and it works like a charm. I'll have some fun with this tomorrow.
I'll be watching this thread.
|
melk Joined: Jan 08, 2002 Posts: 165 From: Romania PM, WWW
|
It would be nice to have a theme with that arrow as a background.
eSeth managed to make a flash theme (very simple animation), and on his forum there is a tutorial on how to include flash files as theme backgrounds.
http://eseth.net/k850/download/index2.htm
- The last theme on the page has a flash animation.
Maybe someone with imagination and theme + flash knowledge could make something good.
Once you start down the path, forever will it dominate your destiny!!! |
Mizzle Joined: Oct 06, 2006 Posts: > 500 PM, WWW
|
Great stuff! I was trying to create a simple ball Java application that made use of the gravity sensor.
Check out this thread @ developer forum I created (some dude posted lots of details)
http://developer.sonyericsson[....]d.jspa?threadID=42098&tstart=0
Enjoy and I hope you'll create something good!
|
Alfaro Joined: May 31, 2007 Posts: 127 From: Brazil PM |
what we really want is flash themes to change the boring menu icons... Laser Precision is already old
|
deepy Joined: Jul 19, 2004 Posts: 115 PM |
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. |
LCARS-Expert Joined: Aug 24, 2007 Posts: 194 From: Croatia PM, WWW
|
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 |
zaxan Joined: Jun 01, 2007 Posts: 417 From: United Kingdom PM |
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 |
LCARS-Expert Joined: Aug 24, 2007 Posts: 194 From: Croatia PM, WWW
|
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 ] |
LCARS-Expert Joined: Aug 24, 2007 Posts: 194 From: Croatia PM, WWW
|
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! |
spybrowser Joined: Dec 22, 2007 Posts: 13 PM |
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.
|
LCARS-Expert Joined: Aug 24, 2007 Posts: 194 From: Croatia PM, WWW
|
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. |
spybrowser Joined: Dec 22, 2007 Posts: 13 PM |
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.
|
LCARS-Expert Joined: Aug 24, 2007 Posts: 194 From: Croatia PM, WWW
|
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. |
Loso Joined: Oct 09, 2007 Posts: 18 PM |
don't know why but it doesn't work for me,
i just get the numbers on my screen. |
|