HI

better check this u will get some understanding on using intents

1. YourActivity.java
2. AnotherActiviy.java
3. add the AnotherActiviy in Android manifest file
4. write the intent code in the YourActivity.java and execute and check

for refference

http://marakana.com/forums/android/android_examples/65.html

two classes and android manifest file snippet int the above link.

On Mon, Mar 8, 2010 at 9:07 AM, Mitch <[email protected]> wrote:

> I didn't know this was an either or choice.  I was under the
> impression one could create activities and have them share the User ID
> and therefore the same process?
>
> Regardless, my goal here is to find simplest example (at this point in
> my learning), seems like the simplest thing to do is share the same
> project and add the activity.
>
> Can I get a simple full example of only this with the Direct Invoke?
>
>
>
> On Mar 7, 6:51 pm, Mark Murphy <[email protected]> wrote:
> > Mitch wrote:
> > > Looks like maybe I need one manifest for all my application's
> > > activities?
> >
> > If you want to use an Intent like:
> >
> > new Intent(this, MyOtherActivity.class)
> >
> > then MyOtherActivity should be in the same project and has to be listed
> > in that project's manifest.
> >
> > > Is there an option to create more than one project and
> > > have an activity in each project and have one call the other?
> >
> > Sure. You have to craft an appropriate <intent-filter> for the second
> > activity's manifest entry (in its own project and manifest) and you have
> > to use an Intent that will trigger that Intent filter. And the user will
> > have to have both applications installed (the one with your first
> > activity and the one with the second activity).
> >
> > --
> > Mark Murphy (a Commons Guy)http://commonsware.com|
> http://twitter.com/commonsguy
> >
> > _The Busy Coder's Guide to *Advanced* Android Development_
> > Version 1.3 Available!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
>
> NEW! Try asking and tagging your question on Stack Overflow at
> http://stackoverflow.com/questions/tagged/android
>
> To unsubscribe from this group, send email to
> [email protected]<android-beginners%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>



-- 
Regards
-------------------
D Vinod Kumar
Software Engineer - Android Platform
09916009493

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to