Titanium Community Questions & Answer Archive

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

[BUG] fieldCount a property on android, function on iphone

on a DB result set, you need

result.fieldCount on Android

and

result.fieldCount() on iPhone

— asked April 10th 2010 by Damien Elmes
  • bug
9 Comments
  • So when is someone going to fix this?? over one year old and this is still a problem with 1.7.0.RC1

    — commented June 7th 2011 by Joe Wheaton
  • +1 for fixing this bug!!

    — commented June 7th 2011 by Charles Meyer
  • +1 for fixing… why is this not fixed yet?

    — commented July 11th 2011 by Hart Woolery
  • Still not fixed. Ran into this now on 1.7.2…

    — commented August 24th 2011 by Oscar Kneib
  • +1 for fixing. Still an issue in 1.8.0.v.xxxxx

    — commented September 27th 2011 by Shawn Lipscomb
  • I have submitted TC-267 for this.

    — commented September 27th 2011 by Shawn Lipscomb
  • Shawn, I took the liberty of updating the ticket since Appcelerator requires code samples before they even consider tickets from now on.

    — commented October 26th 2011 by Christian Brousseau
  • Of course, you need to watch the ticket to support it. :)

    — commented October 26th 2011 by Ivan Škugor
  • This issue has been promoted from TC-267 to TIMOB-5881.

    Thanks for the code sample, Christian.

    — commented October 27th 2011 by Shawn Lipscomb

2 Answers

  • Thanks for the tip! :-)

    Hey, just a side question, did you use titanium to develop for Android?
    Are you able to run kitchensink on the Android emulator?

    — answered April 11th 2010 by Peter Lum
    permalink
    0 Comments
  • I am fairly new to Titanium, so I'm no expert. But yes, I have successfully built the kitchen sink for Android after a bit of fiddling

    When I later tried to run the start of my own app targetting the iPhone, this DB issue and an alert() not appearing issue were the only things I ran into.

    — answered April 13th 2010 by Damien Elmes
    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.