|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Logomotion Scorer Android App
Quote:
The latest apk is definitely more accurate than the first one. It looks like you handled the rotation event, but there's a bug now where opening and closing the Droid keyboard "hangs" the app. In this state I can't select new tubes to place. I have to force stop it to get functionality back. As far as the circle goes, it still looks funky to me. It looks circular, but it has a bitmap quality to it. The curves are somewhat stepped and doesn't look like a true circle. Is there a reason that you went with predrawn images rather than just drawing on the canvas? You could easily do what you're trying to do by drawing the colored shape (circle, square, triangle) first, followed by a concentric white circle to represent the background, followed by a black dot to represent the peg. We all start somewhere. It's what we learn from our experiences that keeps us moving forward. |
|
#2
|
||||
|
||||
|
Re: Logomotion Scorer Android App
Quote:
|
|
#3
|
||||
|
||||
|
Re: Logomotion Scorer Android App
@Travis- You were correct. Fixed in the latest version below.
Quote:
Quote:
Out of curiosity, what size screen are you using? They look fine on my screen, but it is relatively small. Hallry- What method are you using to install the apk? When you say it doesn't work at all, do you mean that it doesn't load at all, you see a black screen, it force closes, or you see the correct screen but can't do anything? |
|
#4
|
||||
|
||||
|
Re: Logomotion Scorer Android App
It's good so far...but isn't there like two sets of grids on each side of the field?
|
|
#5
|
||||
|
||||
|
Re: Logomotion Scorer Android App
Quote:
@Hallry- Darist hit the nail right on the head. Since CD doesn't allow for uploading .apk files, I had to zip it first. Thus you need to unzip it before it will work. @Darist- Long pressing resets the uber count correctly for me. EDIT: Never mind, found the bug. Only happens with a game piece on an ubertube. Fixed in latest release (see main post). Last edited by Bryan Herbst : 11-01-2011 at 09:40. |
|
#6
|
||||
|
||||
|
Re: Logomotion Scorer Android App
The Droid screen is 480x854 while the G1 is 320x480 reference. You probably need to utilize the drawable-hdpi, drawable-mdpi, and drawable-ldpi to get the correct image drawn on different devices. As long as you name the files in those directories correctly, it will automatically select the correct resolution for the device it's running on. If you switch to direct draw, that problem goes away, however, you need to be careful about the size values that you use so that they scale properly to other resolutions.
You can (and should) create multiple emulators of different screen resolutions to make sure things look right. I've never tested the keyboard event in the emulator, but from what I've read, people seem to say CTRL-F11 triggers the keyboard open/close event. I've used that to change orientation, but maybe it also changes the keyboard as well. You can test this easily by throwing a breakpoint in your config change handler and checking out the contents of the config object. As far as your comment about the screen size being small, I have to disagree. If you force your layout to be landscape, you have as much horizontal room as you need. Then, maybe don't draw giant images for your tubes. Rather, direct draw smaller shapes to fit more on the screen. I'm sure that you'll be able to get more on there and make it useful. As a tip, when you're direct drawing something like this, make it all based on constants so you can quickly change things like peg radius, peg x/y grid spacing. etc You can get quite a bit on the screen in landscape mode if you don't care about multitouch (if you think there are differences between screen resolutions, you should see the differences in multitouch capability). |
|
#7
|
||||
|
||||
|
Re: Logomotion Scorer Android App
Quote:
![]() |
|
#8
|
||||||
|
||||||
|
Re: Logomotion Scorer Android App
Be sure to edit the app to not double the ubertube autonomous score with a covering logo row, per Team Update #1.
A logo row covering 3 ubertubes on a top row would be worth an autonomous score of 18 plus a peg score of ([3+3+3] * 2 * 2) = 36. |
|
#9
|
||||
|
||||
|
Re: Logomotion Scorer Android App
So therefore the maximum score for the top row would be 54 points?
|
|
#10
|
||||
|
||||
|
Re: Logomotion Scorer Android App
Yes, that would make the maximum score for the top row 54.
Attached is the latest version of the app, which contains two major updates. First, it addresses the updated scoring rules as per team update #1. Second, I introduced all four scoring grids. You can now swipe left or right to access the other scoring grids. As of right now, the only remaining feature I have planned is landscape support. If anyone has any other features they would like to see, I would be more than willing to consider requests! Finally, this app will be released to the market once I have a suitable icon. I should be able to release it to the market tomorrow. |
|
#11
|
||||
|
||||
|
Re: Logomotion Scorer Android App
Would it be possible to add in something to take into account minibots?
|
|
#12
|
||||
|
||||
|
Re: Logomotion Scorer Android App
Definitely!
|
|
#13
|
||||
|
||||
|
Quote:
|
|
#14
|
||||
|
||||
|
Re: Logomotion Scorer Android App
Did you make sure to extract the .apk from the .zip first?
|
|
#15
|
|||
|
|||
|
Re: Logomotion Scorer Android App
Quote:
1. Use ES file explorer to navigate to where the zip file was saved (probably the Downloads folder in the SD card) 2. Long-tap on the LogomotionScorer.zip file. Menu pops-up 3. From the pop-up menu, select "Extract To" 4. Choose "Current Path". LogoMotionScorer.apk file is extracted in the same folder (probably downloads). 5. Tap the LogoMotionScorer.apk file to install the app (you need to allow "unknown sources" in your settings for it to install successfully). Good luck. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|