Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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