Open the detail page of an application

by Simone » Wed, 02 Jun 2010 02:16:54 GMT


Sponsored Links
 I'd like to open the detail page of my application from the lite
version of it.
I did something like this:

Uri.Builder builder=new Uri.Builder();
builder.path("market://details?id=package.mygame");

Uri data=builder.build();

i.setAction(Intent.ACTION_VIEW);
i.setData(data);

How do I open the market now?
Thanks
Simone

--



Open the detail page of an application

by TreKing » Wed, 02 Jun 2010 02:34:00 GMT


 




Assuming "i" is an intent, just call startActivity() with it.

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
 http://sites.google.com/site/rezmobileapps/treking 

--


Sponsored Links


Open the detail page of an application

by Simone » Wed, 02 Jun 2010 02:52:44 GMT


 Yeah it didn't work!
But this worked:

i = new Intent( Intent.ACTION_VIEW,
                    Uri.parse("market://details?id=games.joedodger"));
startActivity(i);

Thanks anyway!
Simone






--



Other Threads

1. How to implement the type-to-search UI like the Contacts App used

On a ListActivity,

getListView().setTextFilterEnabled(true);




> 

2. How to implement the type-to-search UI like the Contacts App used

Hi, all

In the built-in Contacts app, if it's the view of contact list, when
you type a keyborad, it will trigger a type-to-search. However,
insteading of using the quick search box, it shows a floating and
transparent dialog. How to implement this functionality?

thx

-- 

3. Debugging Android Test Cases (-e debug true)

4. testing applications on non developer's-devices

5. made change in Android.mk

6. Key Injection & INJECT_EVENTS

7. SYSFS based accelorometer