• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps How do I open NavigationDrawer?

So I'm writing an application and I've decided to use the application drawer. I used the wizard for this available in eclipse. Anyway, I've got two JavaScript interfaces that I'm trying to open the application drawer from when they are called, they are both inside of MainActivity()

I can't for the life of me figure out how to open the drawer from these. If I use the following code from onCreate()

[HIGH]mNavigationDrawerFragment.open();[/HIGH]

It seems to open fine, but if I run the same call above outside of onCreate() I don't see it, or maybe it's in the background of MainActivity.

Anyway...if anyone could share some insight on what I'm missing here I'd appreciate it!

Thank you!
 
Back
Top Bottom