Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Android Build a Self-Destructing Message Android App Starting the App Setting Up the Project

Using Android Studio 1.1. How to get tabbed activity

I am using latest version of android studio i.e. 1.1, i chose tabbed activity, i.e. the last activity in the list and after that i chose action bar. but i didn't got tab in the main activity, and most importantly many function and methods are deprecated in onCreate Method i.e., setNavigationMode, Navigation_mode_tabs, setSelectedNavigationItem,addTab & newTab, should some precaution to be used using these deprecated methods.

I am going through the same thing, the app won't run once you get to a certain point because the deprecated items are no longer supported. I'm still looking for the replacements now.

8,705 Points

If that's the case LeJacque Gillespie I'll be skipping this until the project has been updated for the new tools. The other lessons I've been able to perform on Android Studio with little problem, however if this one gets to a point it simply won't function I'll have to skip it.

I'm at that point myself, I'm on the self destructing app and I got through the Login and Signup fine, but when we added the Logout for the action bar the app crashed. I did find this resource and followed the code and their action bar loads on my phone, now I'm trying to merge it with my other code. Check it out, hope it helps...