Look at the log to see why you crashed.

On Wed, Jan 21, 2009 at 11:20 AM, Scynasty <tornquis...@gmail.com> wrote:

>
> I am having trouble setting one menu item/button to run different
> actions based on other actions currently running(ie having the button
> toggle actions). what I am trying to do is have a menu item to toggle
> wifi on and off but when I try to run if/else statements on the
> menuitem click it force closes the app.
>  Thanks
>
> >
>


-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to