Go Back   Android Forums > Android Development > Application Development

Application Development Dev Lounge for the Coder Folks



Reply
 
LinkBack Thread Tools
Old September 25th, 2009, 01:45 PM   #1 (permalink)
New Member
 
Join Date: Sep 2009
Posts: 8
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default Help to implement a slot machine

Hi,

I'm working on a slot machine. I'm having some problems implementing the animations. I'm looking for a simple algorithm which shows the 3x3 images.

I've tried to use the translation animation api together with tablerow and linearlayout - I've tried a programaticly aproach instead of the xml approach. Anybody got a good idea which layouts to use? Which Animation is suitable for the purpose?

aminet73 is offline  
Reply With Quote
Sponsors
Old September 25th, 2009, 04:23 PM   #2 (permalink)
Senior Member
 
kabbie_mcfeely's Avatar
 
Join Date: Jan 2009
Posts: 549
 
Device(s): Android G1 CyanogenMod 4.2.6
Thanks: 0
Thanked 2 Times in 2 Posts
Default

There are a couple slot apps on the market. You could try contacting the developers thru their e-mail listed on the market app. I am sure you can find one that would be willing to help.

Worth a try anyway.
kabbie_mcfeely is offline  
Reply With Quote
Old September 25th, 2009, 05:08 PM   #3 (permalink)
New Member
 
Join Date: Sep 2009
Posts: 8
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks for the suggestion :-)

But I wasn't looking for the whole solution - just a few hints on how to get on with the animations - and not least which layout to use
aminet73 is offline  
Reply With Quote
Old March 16th, 2010, 02:37 PM   #4 (permalink)
New Member
 
Join Date: Mar 2010
Posts: 2
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default implementing slot machine

Hi! please, can you tell me if found a solution about this? you implement this with tableLayout? please i have to do the same....
ftovalle is offline  
Reply With Quote
Old March 16th, 2010, 06:24 PM   #5 (permalink)
New Member
 
Join Date: Sep 2009
Posts: 8
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi ftovalle,

No I ended up by extending the LinearLayout view. The LinearLayout then represents one slotColumn that spins independently from the other two. If you give me your emailaddress I can forward you the whole project.

/Anders
aminet73 is offline  
Reply With Quote
Old March 17th, 2010, 08:15 AM   #6 (permalink)
New Member
 
Join Date: Mar 2010
Posts: 2
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default implementing slot machine

Thanks for your reply aminet73!

My email is ftovalle@gmail.com,

thanks again!
ftovalle is offline  
Reply With Quote
Old July 28th, 2010, 10:27 AM   #7 (permalink)
New Member
 
Join Date: Jul 2010
Posts: 1
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default I implementing slot machine too

Hello !

I have the same problem about this.

Can you tell me how to do this?

My address is

joybee210@gmail.com

THX!
joyfeel is offline  
Reply With Quote
Old July 29th, 2010, 06:25 AM   #8 (permalink)
New Member
 
Join Date: May 2010
Posts: 8
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

How about using ListViews and overwriting getView to do something like position = mod(position + x
, differentSlots.size()) ?
ChristianKl is offline  
Reply With Quote
Old January 15th, 2011, 03:47 PM   #9 (permalink)
New Member
 
Join Date: Jan 2011
Posts: 1
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default I am implementing the slot machine also

I am having the same problem.

Can you forward me your project as well?

My address is mrmikereed@yahoo.com

Thank you.
mrmikereed is offline  
Reply With Quote
Old March 20th, 2011, 06:56 PM   #10 (permalink)
New Member
 
Join Date: Mar 2011
Posts: 1
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

aminet73, can you forward your example to me in a zip file, assuming u still have it. :-) my email is theevilprogrammer at hotmail dot com. I'm working on a demo and am trying to figure out the slot machine effect. Thanks for any assistance.
wallym is offline  
Reply With Quote
Sponsors
Reply

Bookmarks


Go Back   Android Forums > Android Development > Application Development User CP
Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can you recommend a Slot Machine app? rsarno Android Applications 9 September 16th, 2011 10:01 AM
how to implement new ringtones? jarnold HTC Hero 4 January 31st, 2010 06:01 AM
How to implement activity into thread Rajkumar Android Phones 0 July 2nd, 2008 05:06 AM



All times are GMT -5. The time now is 12:27 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo


SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.