Esato

Forum > Sony Ericsson / Sony > Software, Firmware and Drivers > K850i Accelerometer + Flash Lite 2.0

Visitors browsing this topic: 1
Add to Bookmarks
Author K850i Accelerometer + Flash Lite 2.0
Stud
Satio Black
Joined: Nov 19, 2007
Posts: 62
From: Dominican Republic
PM
Posted: 2007-12-09 22:58
Reply with quoteEdit/Delete This PostPrint this post
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
Sony Xperia Z3 Compact
Joined: Dec 17, 2003
Posts: > 500
From: Liverpool City Centre
PM
Posted: 2007-12-09 23:18
Reply with quoteEdit/Delete This PostPrint this post
@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
X1 Black
Joined: Jan 08, 2002
Posts: 165
From: Romania
PM, WWW
Posted: 2007-12-09 23:24
Reply with quoteEdit/Delete This PostPrint this post
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
Samsung Galaxy Nexus
Joined: Oct 06, 2006
Posts: > 500
PM, WWW
Posted: 2007-12-09 23:25
Reply with quoteEdit/Delete This PostPrint this post
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
C905 Black
Joined: May 31, 2007
Posts: 127
From: Brazil
PM
Posted: 2007-12-10 00:17
Reply with quoteEdit/Delete This PostPrint this post
what we really want is flash themes to change the boring menu icons... Laser Precision is already old
deepy
T200
Joined: Jul 19, 2004
Posts: 115
PM
Posted: 2007-12-10 04:14
Reply with quoteEdit/Delete This PostPrint this post
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
K850 Green
Joined: Aug 24, 2007
Posts: 194
From: Croatia
PM, WWW
Posted: 2007-12-10 14:03
Reply with quoteEdit/Delete This PostPrint this post
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
C510 Black
Joined: Jun 01, 2007
Posts: 417
From: United Kingdom
PM
Posted: 2007-12-10 16:29
Reply with quoteEdit/Delete This PostPrint this post

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
K850 Green
Joined: Aug 24, 2007
Posts: 194
From: Croatia
PM, WWW
Posted: 2007-12-10 17:07
Reply with quoteEdit/Delete This PostPrint this post
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
K850 Green
Joined: Aug 24, 2007
Posts: 194
From: Croatia
PM, WWW
Posted: 2007-12-12 13:19
Reply with quoteEdit/Delete This PostPrint this post
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
W910 Black
Joined: Dec 22, 2007
Posts: 13
PM
Posted: 2007-12-22 20:36
Reply with quoteEdit/Delete This PostPrint this post
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
K850 Green
Joined: Aug 24, 2007
Posts: 194
From: Croatia
PM, WWW
Posted: 2007-12-23 10:07
Reply with quoteEdit/Delete This PostPrint this post

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
W910 Black
Joined: Dec 22, 2007
Posts: 13
PM
Posted: 2007-12-23 23:31
Reply with quoteEdit/Delete This PostPrint this post
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
K850 Green
Joined: Aug 24, 2007
Posts: 194
From: Croatia
PM, WWW
Posted: 2007-12-24 10:11
Reply with quoteEdit/Delete This PostPrint this post
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
K850 Blue
Joined: Oct 09, 2007
Posts: 18
PM
Posted: 2007-12-25 15:03
Reply with quoteEdit/Delete This PostPrint this post
don't know why but it doesn't work for me,

i just get the numbers on my screen.
Access the forum with a mobile phone via esato.mobi