Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

App crashes on HTC G1 with a trackball event

A user has reported: "application keeps erroring whenever I touch my HTC G1's trackball and I am in the name/address fields… The application will shut down"

I don't have a G1. The app works fine on my Droid and others have reported no such problems. I learned you can simulate the trackball in the emulator by holding the Delete key and pressing the arrows. The app doesn't crash when I do so.

Without this particular phone, how do I test & fix this problem?

— asked October 31st 2010 by Tim Poulsen
  • android
0 Comments

2 Answers

  • Tim

    There are known issues when the trackball for android is used in certain situations, described in tickets #1346, #1711 and #2237. If you create an account on Lighthouse, you can watch these items, so that you will be emailed whenever any progress is made.

    When you say "name/address fields", are you talking about a stardard textField or textArea view in your application, or a native contacts field? If it's the former, and if it's feasible, it may be a good idea to find a similar example in the KitchenSink and ask the user to install it and report to you whether a crash occurs. If the specific issue can be demonstrated with the standard KS and isn't adequately described by the tickets above, it would be good justification for a new ticket.

    — answered November 20th 2010 by Paul Dowsett
    permalink
    1 Comment
    • Hi Hal, shortly after posting this question, I signed up for the pro level membership. They were able to help me track down the issue … I was using a ScrollableView and adding showPagingControl:false to its constructor seemed to fix the issue. There's no way to close your own questions here, though I should have posted a follow up. Thanks!

      — commented November 20th 2010 by Tim Poulsen
  • Hi Tim

    Yes, it seems like that is related to ticket #2237 that I mentioned. If you or anyone is interested in showing the paging control, it would be worth watching that ticket to keep up to date with its resolution. Anyway, I am glad you found a workaround.

    — answered November 20th 2010 by Paul Dowsett
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.