Hey dude,
don't put "" @ string

<string name="dbDisplayColumns">"Date NumOps Time Score"</string>


On Sat, Sep 11, 2010 at 5:17 AM, Math Gym <[email protected]> wrote:

> My Activity doesn't even start because there's an error parsing
> strings.xml. Logcat shows:
>
> --------
> E/AndroidRuntime(12581): Uncaught handler: thread main exiting due to
> uncaught exception
>
> E/AndroidRuntime(12581): java.lang.RuntimeException: Unable to start
> activity ComponentInfo{com.jw.MathGym/com.jw.MathGym.MathGym}:
> java.lang.NumberFormatException: unable to parse 'When, NumOps, Time,
> and Points Earned' as integer
> ---------
>
> The apparently offending lines in strings.xml are:
>
> --
>  <string name="dbDisplayName">Display History</string>
>  <string name="dbDisplayHeading">When, NumOps, Time, and Points
> Earned</string>
>  <string name="dbDisplayColumns">"Date NumOps Time Score"</string>
> --
>
> Is there some obvious syntax error that I'm just not seeing?? Why is
> it trying to parse this string as an integer?  The Activity that uses
> this string isn't even the one that starts this app; the main Activity
> can't start because of this error, and it doesn't use these strings.
>
> Thanks !
>
> Jim
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 
Thanks & Regards

Rakesh Kumar Jha
Consultant(Software Developer)
Symphony Services Corp (India) Pvt Ltd
Bangalore
(O) +918030273740
(R) +919886336619

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to