Note that this is no different than using a private API.  You can expect
this to break in the future.

On Thu, Jul 9, 2009 at 12:37 PM, nEx.Software <justin.shapc...@gmail.com>wrote:

>
> I don't know how exactly, but I can tell you the class name. You'll
> have to figure out the extras though.
>
> Intent intent = new Intent(); intent.setClassName
> ("com.android.vending", "com.android.vending.AssetInfoActivity");
>
> On Jul 9, 12:29 pm, Mike <michaeldouglaskra...@gmail.com> wrote:
> > Can you tell me how?  I am the owner of the other app I am trying to
> > open in the market from the first app.
> >
> > - Mike
> >
> > On Jul 9, 12:42 pm, "nEx.Software" <justin.shapc...@gmail.com> wrote:
> >
> > > Presumably, if you knew the ClassName and the extras it was expecting,
> > > you could accomplish this.
> >
> > > On Jul 9, 10:39 am, Mike <michaeldouglaskra...@gmail.com> wrote:
> >
> > > > Does no one know the answer to this question?  Even a "no you can't
> do
> > > > that." response would be better than nothing.  Google framework
> > > > engineers - where are you?  :)
> >
> > > > It seems based on the other threads that have been started on this
> > > > subject that there is a reasonable amount of interest surrounding it.
> >
> > > > On Jul 8, 10:17 am, Mike <michaeldouglaskra...@gmail.com> wrote:
> >
> > > > > I've seen a few other threads on this subject, but none that
> addresses
> > > > > my need which is to not only find the app in the market via the
> market
> > > > > uri, but display it as if the user had navigated to it.
> >
> > > > > The closest anyone has gotten to this answer is to show how to
> bring
> > > > > up the Android Market app and browse for the app you want which
> shows
> > > > > the single result in a list that the user must still select to get
> to
> > > > > the screen I want to display.
> >
> > > > > Here's my existing code that does exactly that:
> >
> > > > > private static final String MY_MARKET_APP = "com.some.silly.name";
> >
> > > > > Intent marketLaunch = new Intent(Intent.ACTION_VIEW);
> > > > > marketLaunch.setData(Uri.parse("market://search?q=pname:" +
> > > > > MY_MARKET_APP));
> > > > > startActivity(marketLaunch);
> >
> > > > > I don't want to have to force the user to select this single item
> from
> > > > > the list - just bypass that and bring up the next screen.
> >
> > > > > Has anyone been able to successfully do this?
> >
> > > > > Regards,
> >
> > > > > - Mike
> >
> >
> >
>


-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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

Reply via email to