my dog learned polymorphism*
The moose likes Android and the fly likes Intents are making me pull my hair out. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "Intents are making me pull my hair out." Watch "Intents are making me pull my hair out." New topic
Author

Intents are making me pull my hair out.

Alex Kollar
Greenhorn

Joined: Jun 22, 2012
Posts: 4

I have been searching about for the last two days. Right now I am trying to get what I have going into one program

I know these codes work find individually,
As soon as I try to run them together they get along about as good as...well I cant explain it... it just... dies...
SO here is the code:


Any help would be delightful.
-Thanks


I thought what I'd do was I'd pretend I was one of them deaf-mutes.
Darrin Smith
Ranch Hand

Joined: Aug 04, 2003
Posts: 276
From reviewing you code, I am not certain that you are understanding Intents all that well. I suggest that you remove the startActivity method and set a break point on line 7 and step through to discover what is going on. It will help you understand things.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Intents are making me pull my hair out.
 
Similar Threads
"A View as a click Listener" V/s "setting of whole of the activity" as a listener
How to open one application from another one?
interface and constructor
How to call another Java class with OnItemClickListener method?
ERROR/AndroidRuntime(921): java.lang.StackOverflowError (if you have multiple activities)