On Mon, Jul 4, 2011 at 6:59 PM, Pat Needham <[email protected]> wrote:
> I tried to find out how to use views instead of activities while
> making tabs and I found this site:
>
> http://stackoverflow.com/questions/2970844/example-of-using-android-tabs-with-views-instead-of-activities
>
> But when I followed the method used by the first answer, I got an
> error while running my application in the emulator, which says the
> application has stopped unexpectedly, please try again.

Use adb logcat, DDMS, or the DDMS perspective in Eclipse to examine
LogCat and look at the stack trace associated with your error.

> Is it possible that the answer in
> that post is wrong?

Anything is possible. Here is another sample:

https://github.com/commonsguy/cw-android/tree/master/Fancy/Tab

> When I ran my application with the debugger, all it said was "source
> not found" in red.  Is there any way to see which line numbers cause
> the errors?

Use adb logcat, DDMS, or the DDMS perspective in Eclipse to examine
LogCat and look at the stack trace associated with your error.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 3.6 Available!

-- 
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