Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (495)
Games in Android Showcase (114)
games submitted by our members
Games in WIP (563)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Problems on G1 vs Hero  (Read 4207 times)
0 Members and 1 Guest are viewing this topic.
Offline kevglass

JGO Kernel


Medals: 164
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Posted 2009-09-03 10:41:05 »

So I've just released Funky Football, it's getting slated because it force closes for a bunch of people. However, I know it works fine on a Hero. I've had it tested locally here on a G1 and I can see the force close.

I know it's a big ask but could someone with a G1 download "Funky Football Lite" and connect the debugged so I can get a clue what's going on? I'll be retrying the emualtor to night but I'm thinking that isn't showing me the issue.

Cheers,

Kev

Offline steveyO
« Reply #1 - Posted 2009-09-03 17:21:02 »

Unfortunately it also happens on HTC Magic..  Had 2 force closes during the game..
Only got the phone 2 days ago so not sure how to debug yet.. If ur still having probs let me know (with a link how to debug) and will try later. 
Congrats anyway on the releases.. Have tried all 3 of ur games :-)  Incredibly easy to install stuff using the Android Market...

https://play.google.com/store/apps/details?id=com.bullsquared.alggame Annoying Little Gits (Android)
www.bullsquared.com   Play java (applet) games! www.chessclockpro.com Free Online Chess Clock
Offline kevglass

JGO Kernel


Medals: 164
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #2 - Posted 2009-09-03 17:34:27 »

Still working on it now. Pretty annoying, but an interesting lesson that different handsets arn't compatible with each other (it functions perfectly normally on a Hero).

Kev

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline kevglass

JGO Kernel


Medals: 164
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #3 - Posted 2009-09-03 17:35:54 »

One thing you could do for me is test again tonight when I've done the update. It'd be really helpful to have some friendly reports on when it breaks Smiley

Debugging is as easy as getting the Android SDK and connecting the USB cable. Run "adb logcat" or the Eclipse plugin to get the output. (oh, um, I think you have to enable debugging in the phone settings).

Kev

Offline kevglass

JGO Kernel


Medals: 164
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #4 - Posted 2009-09-03 19:36:30 »

New version up with some debugging in which *should* post back to the server.

Kev

Offline steveyO
« Reply #5 - Posted 2009-09-03 20:32:28 »

Quote
Pretty annoying, but an interesting lesson that different handsets arn't compatible with each other
Was wondering about this a couple of days ago actually.. Pretty bloody annoying..

Ok.. I just tried again (Phone set to USB Debugging ON..Connected USB cable and ran  adb logcat).. Just says -- Wating for device -- on console.. Nothing else.. I guess my Phone isnt connected to computer  somehow urrghh  (or is this normal and you just get output when there is an exception?)..  Anyway I tried again played 20 mins with NO force closes (before I got 2 within couple of mins)..

Am just about to try update..

https://play.google.com/store/apps/details?id=com.bullsquared.alggame Annoying Little Gits (Android)
www.bullsquared.com   Play java (applet) games! www.chessclockpro.com Free Online Chess Clock
Offline Ranger
« Reply #6 - Posted 2009-09-03 21:08:26 »

So I've just released Funky Football, it's getting slated because it force closes for a bunch of people. However, I know it works fine on a Hero. I've had it tested locally here on a G1 and I can see the force close.

Played 3 games so far on my G1, no crashes.  Fun little game!  Surprised it isn't getting a better star rating.  ...I gave it a high star rating.  Wink
Offline Nate

JGO Kernel


Medals: 147
Projects: 4
Exp: 14 years


Esoteric Software


« Reply #7 - Posted 2009-09-03 21:44:13 »

5 stars! Smiley

You do realize in the US football is called soccer and football is another completely different game? Smiley Reading through the description you make it very clear that if you love football, this game is for you, but this is confusing for people in the US. Doesn't help that Android Market doesn't support screenshots!

Only other thing I saw was the tutorial text doesn't fit inside of the shaded box.

I played on my G1 for about 5 minutes and got a force close. Sad I'll try it again later, or post here if you need me to try sooner.

Offline kevglass

JGO Kernel


Medals: 164
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #8 - Posted 2009-09-03 21:54:58 »

Added something to the description.

Interesting, looks like they just enabled screenshots or something Smiley

Kev

Offline kevglass

JGO Kernel


Medals: 164
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #9 - Posted 2009-09-03 22:26:21 »

You can add promo image, screenshots and promo text now. That's kinda cool.

Uploaded a new version, hopefully sorted out some threading issues which should stop the force closes. Still at a loss why it was more evident on the G1.

This remote debugging stuff is awesome! Smiley

EDIT: Found another little one, version 1.1.1 up now.

Kev

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Nate

JGO Kernel


Medals: 147
Projects: 4
Exp: 14 years


Esoteric Software


« Reply #10 - Posted 2009-09-04 01:48:28 »

Cool, I just had to complain about it and Google fixed it instantly! :p

Are you doing remote logging similar to what I posted in the extensions section of the Slick forums?
http://slick.javaunlimited.net/viewtopic.php?t=1931
It is pretty neat. I realized I should have provided a stacktrace with my last post, but I guess you are logging it. Smiley

I'll try it again.

Could I ask what sort of things should we look out for on the different phones? I was only able to test my contest submission on the G1! Now I'm worried. Sad

Edit:
Eeek! I did a quick game, when I place my guys they don't appear, though after placing them the game starts. I can see the ref and the ball but none of the players show and clicking doesn't seem to move the ball or select players. I saw this:

Quote
09-03 18:50:36.741: ERROR/ABOID(5365): Failed in stack trace handler
09-03 18:50:36.741: ERROR/ABOID(5365): java.io.FileNotFoundException: /data/data/org.newdawn.soccer.android.lite/files/1.0.1-81833.stacktrace
09-03 18:50:36.741: ERROR/ABOID(5365):     at org.apache.harmony.luni.platform.OSFileSystem.open(OSFileSystem.java:231)
09-03 18:50:36.741: ERROR/ABOID(5365):     at java.io.FileInputStream.<init>(FileInputStream.java:80)
09-03 18:50:36.741: ERROR/ABOID(5365):     at java.io.FileInputStream.<init>(FileInputStream.java:135)
09-03 18:50:36.741: ERROR/ABOID(5365):     at java.io.FileReader.<init>(FileReader.java:71)
09-03 18:50:36.741: ERROR/ABOID(5365):     at com.nullwire.trace.ExceptionHandler.submitStackTraces(ExceptionHandler.java:157)
09-03 18:50:36.741: ERROR/ABOID(5365):     at com.nullwire.trace.ExceptionHandler$1.run(ExceptionHandler.java:96)

Offline kevglass

JGO Kernel


Medals: 164
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #11 - Posted 2009-09-04 06:01:16 »

Must not do bug fixed while half asleep
Must not do bug fixed while half asleep
Must not do bug fixed while half asleep

1.1.3 is up - fix the invisible player issue - was a great one.

Kev

Offline kevglass

JGO Kernel


Medals: 164
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #12 - Posted 2009-09-04 06:03:52 »

The difference between the G1 and the Hero this time for me was the threading model used by the GL renderer. I use the requestRender() method of updating the screen. This doesn't behave in the same way on G1/Magic vs Hero - one blocks until the render is done, one doesn't. It was just as a matter of adding a sync block to resolve the issue.

The remote debugging stuff is the real news of the day though. This:

http://code.google.com/p/android-remote-stacktrace/

Is possibly the coolest, simplest and most powerful tool evar! Smiley

Kev

Offline steveyO
« Reply #13 - Posted 2009-09-04 08:58:22 »

Doh! Just seen the USB Driver is provided in the Android SDK! I'll be better equipped to help with debugging next time.. I promise  Smiley

https://play.google.com/store/apps/details?id=com.bullsquared.alggame Annoying Little Gits (Android)
www.bullsquared.com   Play java (applet) games! www.chessclockpro.com Free Online Chess Clock
Offline kevglass

JGO Kernel


Medals: 164
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #14 - Posted 2009-09-04 09:07:25 »

No problem, think I've got it pinned down now - at least no more exception traces get sent through.

It does make me think we're going to need to help each other out with handset testing. Maybe we can get some site together to allow us to share application securely?

Kev

Offline steveyO
« Reply #15 - Posted 2009-09-04 11:40:34 »

Good idea.. Count me in (for HTC Magic).   Would be happy to test anyone's game (well,, providing its 1/2 a week max!)

https://play.google.com/store/apps/details?id=com.bullsquared.alggame Annoying Little Gits (Android)
www.bullsquared.com   Play java (applet) games! www.chessclockpro.com Free Online Chess Clock
Offline steveyO
« Reply #16 - Posted 2009-09-04 12:06:31 »

Incidently,  just got another force close.  I deleted the app last night and downloaded again after your post so I assume I have the new version, although the Manage Applications section doesnt seem to have Version Numbers..   (happened today at 12.56pm UK time if your remote debugging is enabled)..

https://play.google.com/store/apps/details?id=com.bullsquared.alggame Annoying Little Gits (Android)
www.bullsquared.com   Play java (applet) games! www.chessclockpro.com Free Online Chess Clock
Offline kevglass

JGO Kernel


Medals: 164
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #17 - Posted 2009-09-04 12:12:26 »

It is and you've still got version 1.0.1, not sure why. The version number is visible on the market page when you download the application.

1.1.3 is the latest which resolves the issue you've got.

Kev

Offline steveyO
« Reply #18 - Posted 2009-09-04 12:12:59 »

Sorry kev.. Ignore below post.. Just noticed there is a further update..  Have downloaded it!

https://play.google.com/store/apps/details?id=com.bullsquared.alggame Annoying Little Gits (Android)
www.bullsquared.com   Play java (applet) games! www.chessclockpro.com Free Online Chess Clock
Offline ernestw

Junior Member


Projects: 1



« Reply #19 - Posted 2009-09-04 13:31:04 »

Kev - I just wanted to chime in that Funky Football works fine on my HTC Magic with the latest version.  You mentioned issues in the GL thread - I'm beginning to wonder if that's the cause of my game breaking on your Hero.

BTW I really love the pixel art in Funky Football!

Offline kevglass

JGO Kernel


Medals: 164
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #20 - Posted 2009-09-05 08:29:01 »

Big thanks to everyone thats helped me here and out of band... Version 1.1.4 is up and seems to be pretty stable.

Kev

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

BurntPizza (14 views)
2014-09-19 03:14:18

Dwinin (31 views)
2014-09-12 09:08:26

Norakomi (58 views)
2014-09-10 13:57:51

TehJavaDev (79 views)
2014-09-10 06:39:09

Tekkerue (40 views)
2014-09-09 02:24:56

mitcheeb (62 views)
2014-09-08 06:06:29

BurntPizza (45 views)
2014-09-07 01:13:42

Longarmx (30 views)
2014-09-07 01:12:14

Longarmx (36 views)
2014-09-07 01:11:22

Longarmx (36 views)
2014-09-07 01:10:19
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!