Aniruddha -

This seems fragile.  Is there a reason that the activities need to be
in separate applications?  Will your code "do the right thing" if the
user deletes one package or the other, but not both?  If at all
possible, keeping them together will make things simpler.

If you must separate them, you'll probably have a much easier time if
you simply register one or more intent-filters and used named intents
to go from activity to activity.  This is much cleaner and easier than
depending on hardcoded class names.

--Andy



On Mon, Dec 8, 2008 at 11:24 AM, Aniruddha <[EMAIL PROTECTED]> wrote:
>
> Hi.
>
>  I am trying to call one android application from another. Both these
> applications are working fine independently. The commands I have given
> are:
> Intent intent = new Intent();
> intent.setClassName(android.sip.simpleclient,
> android.sip.simpleclient.SIPclient.class);
> startActivity(intent);
>
>  But I am getting the error message stating that
> "android.sip.simpleclient can't be resolved". I tried the "Fix project
> setup" option but it gave the message "No proposals were found". So,
> then I tried to manually configure the build path of the project. But
> even after adding the target project folder into the "Required
> projects on the build path", the package needed is not being resolved.
>
>  Please give me some advice regarding this. What am I missing?
>
> Thanks and Regards.
> Aniruddha.
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to