Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Rules/Strategy (http://www.chiefdelphi.com/forums/forumdisplay.php?f=6)
-   -   Logomotion Scorer Android App (http://www.chiefdelphi.com/forums/showthread.php?t=88682)

Bryan Herbst 10-01-2011 15:20

Logomotion Scorer Android App
 
1 Attachment(s)
I have been working on a pretty basic scoring app for android, and I am pleased to announce that the first version is ready for use!

The interface is very simple. Just tap a tube to select it, then tap on the peg you want to place it on. Hit the menu button to clear the entire grid, or long press to clear an individual peg.

Please provide feedback! I am especially curious to see how it looks across different sized screens.

A few notes-
  • I am not a graphic artist.
  • This is a very basic version, I will be refining it over the next week or so
  • As a testament to the above, the icon is the default android app icon
  • I believe scoring is correct as per the current scoring rules, which are subject to change
  • There will NOT be an iPhone/iPod version
  • I will release the source code once I have time to clean it up a bit.
  • I will hopefully be able to release it to the android market by tomorrow.

Upcoming features (in order of when they will be implemented)-
  • Up to 4 grids, with alliance association

For a desktop version of the program, I would recommend 103's java score calculator.

Dave Scheck 10-01-2011 16:10

Re: Logomotion Scorer Android App
 
I commend you for your effort, but please take this advice....don't put anything on the market until you've had a good chance to completely test it. There are too many major problems with this app that you need to fix. Don't take the Microsoft approach and just put something out that's not working completely just to patch it later.

- The total score isn't calculated (which is the intention of the app right?). The top, middle, bottom work, but aren't summed.

- The way you're drawing things doesn't support landscape orientation. The tubes and total score end up being drawn off the screen. If you want to force the app to only be portrait, set the Activity's orientation property in the manifest.

- When the phone is rotated, the activity is restarted and the screen is cleared. To fix this, you need to update the Activity in the manifest to handle configuration change events from orientation events. You'll find a similar problem if the keyboard is opened/closed on something like a Droid. For that you need to handle keyboard and keyboardHidden events. You don't need to do anything with the events, but you need to at least have the handlers

- Your circles look hand drawn. If you're direct drawing, you should look into turning on antialiasing for your Paint object.

You have potential with this app. Keep plugging at it and make sure it's bulletproof before you put it on the market.

Dave Scheck 10-01-2011 17:23

Re: Logomotion Scorer Android App
 
I just found that your ubertube scoring isn't working correctly.

When I put an ubertube on the top row, I get 6 points (from autonomous) as the Top value. When I place a shape on top of that ubertube, the Top value goes to 8 (rather than 12).

Running the same test on the middle, I get a value of 4 after auto, then a value of 6 (not 8) when the tube is placed on top.

Running the same test on the middle, I get a value of 4 after auto, then a value of 6 (not 8) when the tube is placed on top.

I also noticed that if you put an ubertube over an ubertube, the score goes to 0.

Bryan Herbst 10-01-2011 17:52

Re: Logomotion Scorer Android App
 
1 Attachment(s)
Quote:

Originally Posted by Dave Scheck (Post 995944)
I commend you for your effort, but please take this advice....don't put anything on the market until you've had a good chance to completely test it. There are too many major problems with this app that you need to fix. Don't take the Microsoft approach and just put something out that's not working completely just to patch it later.

- The total score isn't calculated (which is the intention of the app right?). The top, middle, bottom work, but aren't summed.

- The way you're drawing things doesn't support landscape orientation. The tubes and total score end up being drawn off the screen. If you want to force the app to only be portrait, set the Activity's orientation property in the manifest.

- When the phone is rotated, the activity is restarted and the screen is cleared. To fix this, you need to update the Activity in the manifest to handle configuration change events from orientation events. You'll find a similar problem if the keyboard is opened/closed on something like a Droid. For that you need to handle keyboard and keyboardHidden events. You don't need to do anything with the events, but you need to at least have the handlers

- Your circles look hand drawn. If you're direct drawing, you should look into turning on antialiasing for your Paint object.

You have potential with this app. Keep plugging at it and make sure it's bulletproof before you put it on the market.

I was planning on waiting until this version was more refined before releasing it to the market, and I had planned on refining it tonight.

As for the first two/three issues- I had fixed those, but it would appear that I zipped the wrong APK. Landscape is not supported right now, though it probably will be once I add the ability to have more than one grid.

The circles are actually images created in photoshop. Can you detail what makes them look hand drawn? In any case, I modified them slightly for this release.

The scoring issue should be fixed now as well.

Thanks for the feedback and testing! This is my first real android app. I have done a few tutorial apps, but had yet to actually find a useful app to make. Definitely a new experience.

Bryan Herbst 10-01-2011 20:50

Re: Logomotion Scorer Android App
 
1 Attachment(s)
Updated.

Added ability to clear individual pegs (long press on a peg)
Added selected tube highlighting
Added 3 ubertube limit on the grid, which can be disabled on the app's new settings page.

Travis Hoffman 10-01-2011 21:07

Re: Logomotion Scorer Android App
 
Quote:

Originally Posted by Tanis (Post 996134)
Updated.

Added ability to clear individual pegs (long press on a peg)
Added selected tube highlighting
Added 3 ubertube limit on the grid, which can be disabled on the app's new settings page.

I don't believe you reset the ubertube limit counter when you clear the pegs - I'm looking at an empty rack after hanging three ubertubes then clearing them. Attempting to add another ubertube brings up the 3 tube limit error message.

Keep up the improvements!

Hallry 10-01-2011 22:49

Re: Logomotion Scorer Android App
 
It doesn't work at all on my unrooted Droid 2 running Froyo...am I doing something wrong? ::rtm::

Cyberphil 10-01-2011 23:10

Re: Logomotion Scorer Android App
 
Thanks for the reference. Although I do not have an android, I will be sure to show this to my teammates!

Dave Scheck 10-01-2011 23:42

Re: Logomotion Scorer Android App
 
Quote:

Originally Posted by Hallry (Post 996305)
It doesn't work at all on my unrooted Droid 2 running Froyo...am I doing something wrong? ::rtm::

You probably need to go to Settings->Applications and enable Unknown Sources.

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.

darist 10-01-2011 23:47

Re: Logomotion Scorer Android App
 
Works well on my droid x, not rooted.
Thanks!

Hallry 10-01-2011 23:48

Re: Logomotion Scorer Android App
 
Quote:

Originally Posted by Dave Scheck (Post 996366)
You probably need to go to Settings->Applications and enable Unknown Sources.

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.

I did have Unknown Sources enabled for the whole time, yet it still wouldn't open.

Bryan Herbst 11-01-2011 00:24

Re: Logomotion Scorer Android App
 
1 Attachment(s)
@Travis- You were correct. Fixed in the latest version below.

Quote:

Originally Posted by Dave Scheck (Post 996366)
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.

How do I test this with a virtual device? I don't see an obvious way to do it with the virtual G1 I have been using and my phone doesn't have a keyboard.

Quote:

Originally Posted by Dave Scheck (Post 996366)
Is there a reason that you went with predrawn images rather than just drawing on the canvas?

I haven't played with the android graphics tools at all. I will take a look at that later this week and see what I get.

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?

Hawahee 11-01-2011 03:43

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?

Hallry 11-01-2011 07:17

Re: Logomotion Scorer Android App
 
Quote:

Originally Posted by Tanis (Post 99640)
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?

By it doesn't work, I mean that whenever I try to download the file it says 'download unsuccessful,' and that the 'content is not supported.' ::ouch::

darist 11-01-2011 07:39

Re: Logomotion Scorer Android App
 
Quote:

Originally Posted by Hallry (Post 996575)
By it doesn't work, I mean that whenever I try to download the file it says 'download unsuccessful,' and that the 'content is not supported.' ::ouch::

You probably don't have an app that supports .zip files.

I know of a couple of ways around this:
1. You can download the .zip file to your computer, extract the .apk file from it, then put it on your phone's SD card. Then from the phone you have to find that .apk file to install the app. I imagine you could also email the .apk file to yourself if you don't want to go through the trouble of connecting the phone to transfer the file over USB.

2. You can download an app on your phone that handles .zip files. I used ES File Explorer (free in the market). When you download the zip file, it opens with that app. You use the app to extract the .apk file. Then you navigate to the dir where the file was extracted and tap it to install it.

good luck


All times are GMT -5. The time now is 05:00.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi