maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   app like moo box but touch not tilt? (https://talk.maemo.org/showthread.php?t=63699)

Keir 2010-10-11 23:51

app like moo box but touch not tilt?
 
I'm looking for an app for my son to learn from.
Like Moo box you pick your item eg a cow and tilt the device and it makes the sound of a cow mooing.
I'd like this but just have to tap the screen for the sound.
Does this exist?

paulkoan 2010-10-11 23:57

Re: app like moo box but touch not tilt?
 
You could probably do this without an app.

If you can get hold of a bunch of sounds you want to play. Then install Queen Beecon and mplayer and create a series of icons your desktop for each sound.

So for cow, you might have a sound file called "cow.wav"

So your command in queen beecon would be
Code:

  mplayer cow.wav
Then use a picture of a cow as the icon image.

Keir 2010-10-13 11:53

Re: app like moo box but touch not tilt?
 
Wouldn't this just add a load of widgets to a desktop though?

I'm after a full screen app/program

paulkoan 2010-10-13 12:06

Re: app like moo box but touch not tilt?
 
Sure, I was offering a workaround in the absence of an app.

A desktop is almost full screen and a widget is a picture you can tap, and attaching a sound to the widget achieves what you described. You can have 9 desktops so sacrificing one for this approach doesn't seem much of a loss.

You want an app though, and there are plenty of people here trying out qt, so perhaps someone will knock one up for you as the idea is pretty straightforward.

Any takers?

kojacker 2010-10-13 12:10

Re: app like moo box but touch not tilt?
 
Such a specific program probably doesn't exist, but the good thing is that it's a simple program and not hard at all to program. It would make a great beginner app and if you're up for the task here's how you might do it.

If you check the links in my sig, I have a tutorial on how to create an app that makes a slightly less pleasant sound than moo'ing. It's a great start and it contains all the code you need.

The tutorial shows how to use a button to play a sound. With Qt you can assign a background image to a button. Therefore add a cow image to button, replace soundfile with "moo.wav", and you got your first animal sorted. Repeat for as many animals as you'd like.

If nobody comes back with a ready made solution I hope you might give creating your own a try. Don't be afraid to ask any questions on the "Development" section of the forum if you get stuck along the way. The best part about creating it yourself is that you can tailor it exactly how your son would enjoy it :)

Keir 2010-10-13 12:18

Re: app like moo box but touch not tilt?
 
Cheers guys. I'll have a go at trying out Qt creator, I've already had a go but couldn't find any decent tuts. I'll check the one in your sig later. http://pixel-edge.net/images/other/s...dart/good2.gif

Keir 2010-10-15 16:17

Re: app like moo box but touch not tilt?
 
ugh had many goes at this and still don't understand the code so I can't make my own.
I've got the GUI sorted, just the code now..

kojacker 2010-10-15 16:54

Re: app like moo box but touch not tilt?
 
Ah not to worry, from the Dev thread it sounds like u got the buttons done which is a good start :)

I replied back to you in that thread for more info/code, if no-one sorts it in the meantime I can have a look over it and get something moo'ing for you later tonight or tomorrow morning.

kojacker 2010-10-16 15:59

Re: app like moo box but touch not tilt?
 
I've created a small project and zipped the code for you, attached it to the Development thread. i hope it helps you get started :)

http://i90.photobucket.com/albums/k2...016-165636.png


All times are GMT. The time now is 16:44.

vBulletin® Version 3.8.8