android
  #1  
Old 02-15-2010, 06:19 AM
legostein legostein is offline
Junior Member
 
Join Date: Jan 2010
Posts: 11
Default Simple water-level app

Now when the accelerometer API is out I thought about playing around with it. So here is a very simple version of a water-level.


Legostein

Screenshot:
Attached Images
File Type: jpg waterlevel1.1.jpg (16.0 KB, 514 views)
Attached Files
File Type: zip WaterLevel_1.1.zip (71.0 KB, 841 views)

Last edited by legostein; 02-20-2010 at 04:33 AM. Reason: version 1.1
Reply With Quote

Advertisement [Remove Advertisement]

  #2  
Old 02-15-2010, 06:32 AM
fzbm123 fzbm123 is offline
Junior Member
 
Join Date: Jan 2010
Posts: 49
Default

hey nice app! btw i was playin wen i realised tat theres no quit button....... yes i noe tat u could turn off the x-fi2 n turn it back on but i think tat its better if u make a quit button perhaps by using the home button
Reply With Quote

  #3  
Old 02-15-2010, 06:34 AM
Brett_val's Avatar
Brett_val Brett_val is offline
Senior Member
 
Join Date: Jan 2010
Location: The Netherlands
Posts: 636
Default

I thought it was a game, but this seems quite useful.

Although, it might just be my player, but it isn't calibrated right. At first I thought my house was just skewed, but when I turn the player around the red bars don't swing the same amount the other way, so it's not calibrated. Can you implement that?

Oh and .. I cannot exit the app!! The app has been running for 10 minutes now and the home button does nothing?

edit: Thanks fzbm123, I did not think about shutting the whole player down :P that works.
Reply With Quote

  #4  
Old 02-15-2010, 07:22 AM
legostein legostein is offline
Junior Member
 
Join Date: Jan 2010
Posts: 11
Default

I'm using the home button to exit the app. However I found that clicking it does not always work. Might be because the loop runs slower than in other apps. So I used the 'hold' function. You have to hold the home button down for a bit to exit. Problem here is that even that needs a while longer than normal. Working on that.

Legostein
Reply With Quote

  #5  
Old 02-15-2010, 07:42 AM
RobertsAccount's Avatar
RobertsAccount RobertsAccount is offline
X-Fi2 App Master
 
Join Date: Jan 2010
Location: UK
Posts: 310
Default

Very nice! This will come in useful, someday...
Reply With Quote

  #6  
Old 02-15-2010, 08:42 AM
legostein legostein is offline
Junior Member
 
Join Date: Jan 2010
Posts: 11
Default

Ok, now app can be exited by a home button click. But sometimes it needs a second to realize.
I also added calibration buttons.
What else can be done with that accelerometer? Pedometer maybe? Or some kind of accelerometer display?
I once saw an app for the N900 (N900 fly) with which you measure how high you can throw your phone

Legostein
Attached Files
File Type: zip Level-0.2.zip (7.0 KB, 55 views)
Reply With Quote

  #7  
Old 02-15-2010, 09:38 AM
JJLoke JJLoke is offline
Junior Member
 
Join Date: Jan 2010
Posts: 87
Default

some feedback:

1) is the accelerometer that unstable? it cannot hold still

2) nicer graphics

3) 1 calibrate button instead of 2. the 1 calibrate button will update both the level meter

nevertheless good work
Reply With Quote

  #8  
Old 02-15-2010, 12:03 PM
Habhome's Avatar
Habhome Habhome is offline
Moderator
 
Join Date: Jan 2010
Location: Sweden
Posts: 1,079
Default

Yes, the accelerometer is unstable. It is jumping while lying on a table. And I should be able to hold still also, since I practice target shooting =P

But I agree that the graphics could improve, if just only be made less "8-bit" and more smooth.

i'm not sure about the single calibration that JJLoke suggests though. You don't always have a flat and good surface to calibrate against, it's easier to find one surface for each meter.
__________________
"If you are good enough at English to apologize, then there is no need to." - A good friend of mine
Discovered something about the X-Fi2 you think others may not know? Post it here so others can learn about it!
Have a question about X-Fi2 apps? Consult the FAQ before creating a thread about it.
Like my work? Tell your friends. Don't like it? Tell me so I can improve. ^.^
Reply With Quote

  #9  
Old 02-15-2010, 02:32 PM
Idroy's Avatar
Idroy Idroy is offline
Junior Member
 
Join Date: Feb 2010
Location: The Netherlands
Posts: 71
Default

Cool, I practise target shooting too! . Anyway, better graphics are always nice :P, and maybe you need a custom icon, it doesn't really matter much, but hey, it's always nice to have it more custom. Maybe I can make something for you, I'm not the best photoshopper, but I can always try something. I'll begin tomorrow, if you don't mind.

ps. feels good to do something for the app-making community
Reply With Quote

  #10  
Old 02-15-2010, 02:54 PM
Les23 Les23 is offline
Junior Member
 
Join Date: Jan 2010
Location: Rome
Posts: 38
Default

what's the target shooting?
Reply With Quote

  #11  
Old 02-15-2010, 03:20 PM
Habhome's Avatar
Habhome Habhome is offline
Moderator
 
Join Date: Jan 2010
Location: Sweden
Posts: 1,079
Default

Quote:
Originally Posted by Idroy View Post
Cool, I practise target shooting too! . Anyway, better graphics are always nice :P, and maybe you need a custom icon, it doesn't really matter much, but hey, it's always nice to have it more custom. Maybe I can make something for you, I'm not the best photoshopper, but I can always try something. I'll begin tomorrow, if you don't mind.

ps. feels good to do something for the app-making community
Nice! (Continues TS discussion in PM)
And I do agree it needs a better Icon. Also one which better corresponds to the app itself.

And yeah Idroy it is nice to be able to contribute somehow. I also do simple graphic for people, and help out a bit.

Quote:
Originally Posted by Les23 View Post
what's the target shooting?
(PM answer)
__________________
"If you are good enough at English to apologize, then there is no need to." - A good friend of mine
Discovered something about the X-Fi2 you think others may not know? Post it here so others can learn about it!
Have a question about X-Fi2 apps? Consult the FAQ before creating a thread about it.
Like my work? Tell your friends. Don't like it? Tell me so I can improve. ^.^
Reply With Quote

  #12  
Old 02-15-2010, 08:25 PM
fzbm123 fzbm123 is offline
Junior Member
 
Join Date: Jan 2010
Posts: 49
Default

nice update! anw i hav some suggestions:

-i agree with the above to improve the graphics. After all, this app doesnt require much performance so u could improve a lot on the graphics (make it more colorful, curve the edges etc)

-try to stabalize the accelerometer cuz it kept on jumping

-add some measurement to the app (angle of tilt)

tats pretty much all. THX!
Reply With Quote

  #13  
Old 02-16-2010, 09:44 AM
Idroy's Avatar
Idroy Idroy is offline
Junior Member
 
Join Date: Feb 2010
Location: The Netherlands
Posts: 71
Default

I'm thinking about a good icon, but I can't come up with something at the moment. Do you have a good idea for an icon? Something like a real waterlevel, (<--- is that the right name for something like that?) or something else?....

Man, I'm using the word: "something" to many times... XD
Reply With Quote

  #14  
Old 02-16-2010, 10:07 AM
legostein legostein is offline
Junior Member
 
Join Date: Jan 2010
Posts: 11
Default

Hi,

next version. Thanks for all the suggestions. This version should be an improvement towards that.

@Idroy: The icon I use is actually a waterlevel I found in my basement
Its a photo, not so good for an icon. If you find something better, go ahead.

Thanks
Legostein
Attached Files
File Type: zip WaterLevel_1.0.zip (70.4 KB, 61 views)
Reply With Quote

  #15  
Old 02-16-2010, 10:16 AM
Idroy's Avatar
Idroy Idroy is offline
Junior Member
 
Join Date: Feb 2010
Location: The Netherlands
Posts: 71
Default

Okay, I will try to make/find something this evening. ... Wow, tried your new version . It's a big improvement, nice graphics, I like it that you kept the 2 calibrate buttons.
Reply With Quote

  #16  
Old 02-16-2010, 10:22 AM
Habhome's Avatar
Habhome Habhome is offline
Moderator
 
Join Date: Jan 2010
Location: Sweden
Posts: 1,079
Default

Quick test before training.
Initial reaction: Much nicer graphics!
__________________
"If you are good enough at English to apologize, then there is no need to." - A good friend of mine
Discovered something about the X-Fi2 you think others may not know? Post it here so others can learn about it!
Have a question about X-Fi2 apps? Consult the FAQ before creating a thread about it.
Like my work? Tell your friends. Don't like it? Tell me so I can improve. ^.^
Reply With Quote

  #17  
Old 02-16-2010, 11:51 AM
JJLoke JJLoke is offline
Junior Member
 
Join Date: Jan 2010
Posts: 87
Default

haha ... looks sooo much nicer than the first version ... !
Reply With Quote

  #18  
Old 02-16-2010, 12:04 PM
Idroy's Avatar
Idroy Idroy is offline
Junior Member
 
Join Date: Feb 2010
Location: The Netherlands
Posts: 71
Default

Made an icon. (just used your images in the app folder) It is in the attachment. I didn't get those circles very smooth, I tried the icon on my player, it turns out better than on my pc. Hope you like it.

I'm still trying to get it more smooth,but because it's a small image, that is very hard. (for me... )
Attached Images
File Type: png icon.png (5.3 KB, 1858 views)
Reply With Quote

  #19  
Old 02-16-2010, 03:14 PM
Tmd Tmd is offline
Junior Member
 
Join Date: Feb 2010
Posts: 15
Default

the new version is very nice although still a bit shaky.

What do the number mean though?
Reply With Quote

  #20  
Old 02-17-2010, 04:35 AM
legostein legostein is offline
Junior Member
 
Join Date: Jan 2010
Posts: 11
Default

The number is tilt in degrees. Seems like the letter for degree is not in the x-fis character set, so currenctly there is just the number. Put your x-fi on the table, horizontally, upright. Should show something around 0 (depending on your table ).

@Idroy: icon looks very well, I'll put it with the next version.

Thanks
Legostein
Reply With Quote

Reply

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 -5. The time now is 11:30 PM.