Agreed. When you get an exception, scan down the stack trace and look for the "Caused by:" stanza, as that is where the real problem lies.
On Thu, Jul 8, 2010 at 12:35 AM, Yousuf Faheem <[email protected]> wrote: > I guess its because you are either using String for some other data type or > using some other data type instead of String. Possibly in the > CommonTempLogic(); > > Place CommonTempLogic in the try catch block and see. > > Caused by: java.lang.ClassCastException: java.lang.String -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en

