[android-developers] Re: creating custom intent

2009-04-30 Thread Bob
Thanks for your help. I believe I have resolved the problem and it was that I didn't have the line category android:name=android.intent.category.DEFAULT / following intent-filter action android:name=com.example.Intent1 / Thanks Again, Bob On Apr 30, 1:09 am, Jeff Sharkey

[android-developers] Re: creating custom intent

2009-04-29 Thread Jeff Sharkey
So because you're targeting a BroadcastReceiver, you would call sendBroadcast() instead of startActivity(). j On Wed, Apr 29, 2009 at 6:45 PM, Bob bshumsk...@yahoo.com wrote: Hi, Can anyone tell me what I am doing wrong, I'm sure it is real simple. I am trying to create a custom intent but

[android-developers] Re: creating custom intent

2009-04-29 Thread Bob
So because you're targeting a BroadcastReceiver, you would call sendBroadcast() instead of startActivity(). Thanks Jeff for quick response. What I want to do is start an activity but I tried the Broadcast Receiver because I was getting the activity not found error with the manifest like this:

[android-developers] Re: creating custom intent

2009-04-29 Thread Jeff Sharkey
That code should have worked, as long as MyActivity is directly inside of the android:package you defined in the manifest. If it was deeper you would have to reference the remaining sub-package leaves in the android:name. For example, if you had com.example.uistuff.MyActivity and your manifest