Go to Post FIRST showed me how to succeed at one of the most difficult, yet important things: Life. - Jim McGeehin [more]
Home
Go Back   Chief Delphi > Competition > Rules/Strategy
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 10-01-2011, 15:20
Bryan Herbst's Avatar
Bryan Herbst Bryan Herbst is offline
Registered User
AKA: Bryan
FRC #2052 (KnightKrawler)
Team Role: Mentor
 
Join Date: Sep 2007
Rookie Year: 2007
Location: Minneapolis, Minnesota
Posts: 545
Bryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond repute
Logomotion Scorer Android App

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.
Attached Files
File Type: zip LogomotionScorer.zip (20.1 KB, 83 views)
__________________
Team 2052- KnightKrawler
Mentor and volunteer

Last edited by Bryan Herbst : 11-01-2011 at 09:41.
  #2   Spotlight this post!  
Unread 10-01-2011, 16:10
Dave Scheck's Avatar
Dave Scheck Dave Scheck is offline
Registered User
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Feb 2003
Rookie Year: 2002
Location: Arlington Heights, IL
Posts: 574
Dave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond repute
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.
  #3   Spotlight this post!  
Unread 10-01-2011, 17:23
Dave Scheck's Avatar
Dave Scheck Dave Scheck is offline
Registered User
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Feb 2003
Rookie Year: 2002
Location: Arlington Heights, IL
Posts: 574
Dave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond repute
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.
  #4   Spotlight this post!  
Unread 10-01-2011, 17:52
Bryan Herbst's Avatar
Bryan Herbst Bryan Herbst is offline
Registered User
AKA: Bryan
FRC #2052 (KnightKrawler)
Team Role: Mentor
 
Join Date: Sep 2007
Rookie Year: 2007
Location: Minneapolis, Minnesota
Posts: 545
Bryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond repute
Re: Logomotion Scorer Android App

Quote:
Originally Posted by Dave Scheck View Post
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.
Attached Files
File Type: zip LogomotionScorer.zip (15.5 KB, 22 views)
__________________
Team 2052- KnightKrawler
Mentor and volunteer
  #5   Spotlight this post!  
Unread 10-01-2011, 20:50
Bryan Herbst's Avatar
Bryan Herbst Bryan Herbst is offline
Registered User
AKA: Bryan
FRC #2052 (KnightKrawler)
Team Role: Mentor
 
Join Date: Sep 2007
Rookie Year: 2007
Location: Minneapolis, Minnesota
Posts: 545
Bryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond repute
Re: Logomotion Scorer Android App

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.
Attached Files
File Type: zip LogomotionScorer.zip (19.6 KB, 38 views)
__________________
Team 2052- KnightKrawler
Mentor and volunteer
  #6   Spotlight this post!  
Unread 10-01-2011, 21:07
Travis Hoffman's Avatar Unsung FIRST Hero
Travis Hoffman Travis Hoffman is offline
O-H
FRC #0048 (Delphi E.L.I.T.E.)
Team Role: Engineer
 
Join Date: Sep 2001
Rookie Year: 2001
Location: Warren, Ohio USA
Posts: 4,047
Travis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond repute
Re: Logomotion Scorer Android App

Quote:
Originally Posted by Tanis View Post
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!
__________________

Travis Hoffman, Enginerd, FRC Team 48 Delphi E.L.I.T.E.
Encouraging Learning in Technology and Engineering - www.delphielite.com
NEOFRA - Northeast Ohio FIRST Robotics Alliance - www.neofra.com
NEOFRA / Delphi E.L.I.T.E. FLL Regional Partner
  #7   Spotlight this post!  
Unread 10-01-2011, 22:49
Hallry's Avatar
Hallry Hallry is online now
Dare to be FIRST
AKA: Ryan Hall
FRC #1676 (Pascack Pi-oneers)
Team Role: College Student
 
Join Date: Sep 2009
Rookie Year: 2010
Location: Woodcliff Lake NJ *Now in Newark DE
Posts: 2,690
Hallry has a reputation beyond reputeHallry has a reputation beyond reputeHallry has a reputation beyond reputeHallry has a reputation beyond reputeHallry has a reputation beyond reputeHallry has a reputation beyond reputeHallry has a reputation beyond reputeHallry has a reputation beyond reputeHallry has a reputation beyond reputeHallry has a reputation beyond reputeHallry has a reputation beyond repute
Re: Logomotion Scorer Android App

It doesn't work at all on my unrooted Droid 2 running Froyo...am I doing something wrong?
__________________
[2009-2013]: Team 1676 Student, Co-CEO, Carpentry Lead
[2013-Present]: Team 1676 Alumnus/College Mentor

Won: 2010 New Jersey Regional, 2010 Virginia Regional (undefeated), 2011 New Jersey Regional, 2011 Virginia Regional, 2011 Brunswick Eruption, 2012 Rutgers MAR District, 2012 girlPOWER, 2012 Ramp Riot, 2013 Bridgewater-Raritan MAR District, 2014 girlPOWER, 2015 Bridgewater-Raritan MAR District, 2016 Mt. Olive MAR District, 2016 Bridgewater-Raritan MAR District
2016 Season Recap Video: http://tinyurl.com/1676-2016
Facebook Instagram Twitter YouTube
  #8   Spotlight this post!  
Unread 10-01-2011, 23:10
Cyberphil's Avatar
Cyberphil Cyberphil is offline
That Guy
AKA: Phil
FRC #0103 (Cybersonics)
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2007
Location: Kintersville
Posts: 755
Cyberphil has much to be proud ofCyberphil has much to be proud ofCyberphil has much to be proud ofCyberphil has much to be proud ofCyberphil has much to be proud ofCyberphil has much to be proud ofCyberphil has much to be proud ofCyberphil has much to be proud ofCyberphil has much to be proud of
Send a message via AIM to Cyberphil
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!
  #9   Spotlight this post!  
Unread 10-01-2011, 23:42
Dave Scheck's Avatar
Dave Scheck Dave Scheck is offline
Registered User
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Feb 2003
Rookie Year: 2002
Location: Arlington Heights, IL
Posts: 574
Dave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond repute
Re: Logomotion Scorer Android App

Quote:
Originally Posted by Hallry View Post
It doesn't work at all on my unrooted Droid 2 running Froyo...am I doing something wrong?
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.
  #10   Spotlight this post!  
Unread 10-01-2011, 23:47
darist darist is offline
Registered User
AKA: David Aristizabal
no team
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Newark, NJ
Posts: 36
darist is an unknown quantity at this point
Re: Logomotion Scorer Android App

Works well on my droid x, not rooted.
Thanks!
  #11   Spotlight this post!  
Unread 10-01-2011, 23:48
Hallry's Avatar
Hallry Hallry is online now
Dare to be FIRST
AKA: Ryan Hall
FRC #1676 (Pascack Pi-oneers)
Team Role: College Student
 
Join Date: Sep 2009
Rookie Year: 2010
Location: Woodcliff Lake NJ *Now in Newark DE
Posts: 2,690
Hallry has a reputation beyond reputeHallry has a reputation beyond reputeHallry has a reputation beyond reputeHallry has a reputation beyond reputeHallry has a reputation beyond reputeHallry has a reputation beyond reputeHallry has a reputation beyond reputeHallry has a reputation beyond reputeHallry has a reputation beyond reputeHallry has a reputation beyond reputeHallry has a reputation beyond repute
Re: Logomotion Scorer Android App

Quote:
Originally Posted by Dave Scheck View Post
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.
__________________
[2009-2013]: Team 1676 Student, Co-CEO, Carpentry Lead
[2013-Present]: Team 1676 Alumnus/College Mentor

Won: 2010 New Jersey Regional, 2010 Virginia Regional (undefeated), 2011 New Jersey Regional, 2011 Virginia Regional, 2011 Brunswick Eruption, 2012 Rutgers MAR District, 2012 girlPOWER, 2012 Ramp Riot, 2013 Bridgewater-Raritan MAR District, 2014 girlPOWER, 2015 Bridgewater-Raritan MAR District, 2016 Mt. Olive MAR District, 2016 Bridgewater-Raritan MAR District
2016 Season Recap Video: http://tinyurl.com/1676-2016
Facebook Instagram Twitter YouTube
  #12   Spotlight this post!  
Unread 11-01-2011, 00:24
Bryan Herbst's Avatar
Bryan Herbst Bryan Herbst is offline
Registered User
AKA: Bryan
FRC #2052 (KnightKrawler)
Team Role: Mentor
 
Join Date: Sep 2007
Rookie Year: 2007
Location: Minneapolis, Minnesota
Posts: 545
Bryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond repute
Re: Logomotion Scorer Android App

@Travis- You were correct. Fixed in the latest version below.

Quote:
Originally Posted by Dave Scheck View Post
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 View Post
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?
Attached Files
File Type: zip LogomotionScorer.zip (19.6 KB, 43 views)
__________________
Team 2052- KnightKrawler
Mentor and volunteer
  #13   Spotlight this post!  
Unread 11-01-2011, 03:43
Hawahee's Avatar
Hawahee Hawahee is offline
HVR Webmaster
AKA: Tyler
FRC #1378 (Green Label Zealots)
Team Role: Webmaster
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Hilo, HI
Posts: 3
Hawahee is an unknown quantity at this point
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?
  #14   Spotlight this post!  
Unread 11-01-2011, 07:17
Hallry's Avatar
Hallry Hallry is online now
Dare to be FIRST
AKA: Ryan Hall
FRC #1676 (Pascack Pi-oneers)
Team Role: College Student
 
Join Date: Sep 2009
Rookie Year: 2010
Location: Woodcliff Lake NJ *Now in Newark DE
Posts: 2,690
Hallry has a reputation beyond reputeHallry has a reputation beyond reputeHallry has a reputation beyond reputeHallry has a reputation beyond reputeHallry has a reputation beyond reputeHallry has a reputation beyond reputeHallry has a reputation beyond reputeHallry has a reputation beyond reputeHallry has a reputation beyond reputeHallry has a reputation beyond reputeHallry has a reputation beyond repute
Re: Logomotion Scorer Android App

Quote:
Originally Posted by Tanis View Post
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.'
__________________
[2009-2013]: Team 1676 Student, Co-CEO, Carpentry Lead
[2013-Present]: Team 1676 Alumnus/College Mentor

Won: 2010 New Jersey Regional, 2010 Virginia Regional (undefeated), 2011 New Jersey Regional, 2011 Virginia Regional, 2011 Brunswick Eruption, 2012 Rutgers MAR District, 2012 girlPOWER, 2012 Ramp Riot, 2013 Bridgewater-Raritan MAR District, 2014 girlPOWER, 2015 Bridgewater-Raritan MAR District, 2016 Mt. Olive MAR District, 2016 Bridgewater-Raritan MAR District
2016 Season Recap Video: http://tinyurl.com/1676-2016
Facebook Instagram Twitter YouTube
  #15   Spotlight this post!  
Unread 11-01-2011, 07:39
darist darist is offline
Registered User
AKA: David Aristizabal
no team
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Newark, NJ
Posts: 36
darist is an unknown quantity at this point
Re: Logomotion Scorer Android App

Quote:
Originally Posted by Hallry View Post
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.'
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
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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