Android Question Spin Wheel

jchal

Active Member
Licensed User
Longtime User
hi all
i am tring to speen a weel but i cant figure it out how to spin it any ideas are wellcome Also i tryed to upload a zipped file with my code and it says file is too lagre.
 
Last edited:
Also i tryed to upload a zipped file with my code and it says file is too lagre.
...Hi there...
- Delete folder Autobackups
- Delete everything in folder objects...
- Zip "project folder" and attach it here...

but if you have many and big files in assets... use google drive or a 3rd solution...

edit: Guessing what you wanna do... i am not sure... but check this too:
 
Upvote 0
missing b4xmainpage.bas...

Probably was in different folder... will be good to copy it into your project/parent folder... then remove... add it again...

I don;t know if other modules need to copy into your parent folder... then re-attach your project (without objects, autobackups)...
 
Upvote 0
can you try this it is an export from b4x, the code is nothing special i am trying to rotate a weel but......
 

Attachments

Upvote 0
Not sure, if you want something like that...

Code: Copy
For k=0 To 359
        ImageView1.Rotation= k
        Sleep(0)
Next

Is not the only and the best way... but it is the simplest... i can think right now...

info1: use transparent png files.. and for better circle/wheel have the same width, height
info2: you can a second transparent png with the pointer in front of imageview1. - without the moving it..
 
Upvote 0
I think that you are looking for something like this:

1668248580252.png


Attached the B4XPages project.

I have just seen that one of your images comes from this site.
 

Attachments

Last edited:
Upvote 0
Here you are.
In the code you can set the reference either at 12 o'clock or at 3 o'clock.
At the end of spinning the wheel snaps to the middle of the sector.
You can change the number of sectors,

1668587765896.png
 

Attachments

Last edited:
Upvote 0
Here you are.
In the code you can set the reference either at 12 o'clock or at 3 o'clock.
At the end of spinning the wheel snaps to the middle of the sector.
You can change the number of sectors,

View attachment 136049
Hello dear friend
This is a very good program...
Are the names of the people in each house written?
And after the winner is determined, is it removed from the wheel?
For example, if there are 10 people in the wheel, will 9 houses remain after the winner?
 
Upvote 0
Back
Top