Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Mobile Development > BOOK: Beginning Android 4 Application Development
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning Android 4 Application Development
This is the forum to discuss the Wrox book Beginning Android 4 Application Development by Wei-Meng Lee; ISBN: 978-1-1181-9954-1
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Android 4 Application Development section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old July 6th, 2012, 04:07 PM
Registered User
Points: 24, Level: 1
Points: 24, Level: 1 Points: 24, Level: 1 Points: 24, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2011
Location: Colorado
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via Yahoo to ironmantis7x
Post Using intent has stopped message

When I run the UsingIntent code, I get an error in the emulator that says: "Unfortunately, UsingIntent has stopped"

Can someone help me understand this error? what could the possible cause be and what does this error code mean?

ironmantis7x
Reply With Quote
  #2 (permalink)  
Old July 6th, 2012, 04:19 PM
Registered User
Points: 24, Level: 1
Points: 24, Level: 1 Points: 24, Level: 1 Points: 24, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2011
Location: Colorado
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via Yahoo to ironmantis7x
Default [Solved]

Quote:
Originally Posted by ironmantis7x View Post
When I run the UsingIntent code, I get an error in the emulator that says: "Unfortunately, UsingIntent has stopped"

Can someone help me understand this error? what could the possible cause be and what does this error code mean?

ironmantis7x
I found the error -- it was in my Manifest file...

Thanks!

ironmantis7x
Reply With Quote
The Following User Says Thank You to ironmantis7x For This Useful Post:
nenad.bulatovic (December 6th, 2014)
  #3 (permalink)  
Old February 18th, 2013, 02:01 PM
Registered User
Points: 6, Level: 1
Points: 6, Level: 1 Points: 6, Level: 1 Points: 6, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default aarr

Quote:
Originally Posted by ironmantis7x View Post
I found the error -- it was in my Manifest file...

Thanks!

ironmantis7x
What was the Manifest error!? lolz I can't get the UsingIntent to run either, after I click the "Display Second Activity" button.
Reply With Quote
  #4 (permalink)  
Old February 18th, 2013, 02:24 PM
Registered User
Points: 6, Level: 1
Points: 6, Level: 1 Points: 6, Level: 1 Points: 6, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by gakushya View Post
What was the Manifest error!? lolz I can't get the UsingIntent to run either, after I click the "Display Second Activity" button.
Okay I got it to work. The problem was that when I created the Intent in UsingIntent.java file in the method onClick() I wrote new Intent(".SecondActivity"). But you're supposed to give it the full package name, so it should have been new Intent("packagename.SecondActivity")
Reply With Quote
  #5 (permalink)  
Old December 6th, 2014, 08:09 AM
Registered User
Points: 19, Level: 1
Points: 19, Level: 1 Points: 19, Level: 1 Points: 19, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2012
Location: Novi Sad
Posts: 4
Thanks: 4
Thanked 0 Times in 0 Posts
Talking action vs. category

Quote:
Originally Posted by ironmantis7x View Post
I found the error -- it was in my Manifest file...

Thanks!

ironmantis7x
Lost almost an hour to find that I typed

Code:
            <intent-filter>
                <action android:name="net.learn2develop.SecondActivity" />
                <action android:name="android.intent.category.DEFAULT" />
            </intent-filter>
instead of:

Code:
            <intent-filter>
                <action android:name="net.learn2develop.SecondActivity" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
Before I found your post I even wasn't looking at all at AndroidManifest.xml
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Activity vs intent ironmantis7x BOOK: Beginning Android 4 Application Development 0 July 6th, 2012 12:25 PM
Intent Filter TeaDrinkingGeek BOOK: Beginning Android Application Development 0 March 21st, 2012 07:55 AM
The use of: Intent.createChooser MountEverest107 BOOK: Beginning Android Application Development 0 March 10th, 2012 04:29 PM
Chapter 2 - Intent weimenglee BOOK: Beginning Android Application Development 0 May 13th, 2011 09:38 AM
Confused between the rules applied to Intent and Intent Filters fungi8210 BOOK: Professional Android 2 Application Development 1 March 10th, 2010 05:48 AM



All times are GMT -4. The time now is 02:15 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.