• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Jeanne Boyarsky
Saloon Keepers:
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Piet Souris
Bartenders:

My Custom Intents do not work

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have an application with two Activities, one activity has a button which raises an intent to launch the other Activity. Below is my manifest file:



The code in in the onClickListener to raise the intent is below:



This is the error I am getting:


E/AndroidRuntime( 817): android.content.ActivityNotFoundException: No Activity found to handle Intent { action=com.comp.weightmanagement.CONFIRMATION }



Could anyone tell me what I am doing wrong?
 
Emnaki Chih
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've solved the problem, it appears to only work if I specify the Category in the intent filter (I set it to DEFAULT). Strange I though category was optional.
 
You save more money with a clothesline than dozens of light bulb purchases. Tiny ad:
The Low Tech Laboratory Movie Kickstarter is LIVE NOW!
https://www.kickstarter.com/projects/paulwheaton/low-tech
reply
    Bookmark Topic Watch Topic
  • New Topic