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. Gallery3D on Android 2.1

Hi

Recently, I downloaded android sources from git and there was
Gallery3D, developed by Cooliris.
The Gallery3D doesn't have a file named MODULE_LICENSE_APACHE2
different from other applications.

I'd like to know the license of this program.
Is is allowed to modify the program and port to any device?

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. Regardinf #define or build flag

Hi All,
  Please tell me how to declare equivalent of #define in java ? whats the
best way and best place in android to define equivalent of it.
my requirement is some thing like this ...
if the flag is enabled that part of the code should get complile else it
should not compile.


something like

#ifdef FLAG_DEFINED

#else

#endif

can some one please explain me how to this in java.
basically i want a build flag which applies to whole android.


Thanks a lot in Advance.

THanks and Regards,
  Dileep

-- 

3. how can I put a newline into a format string

4. Kritik buat i-Store (Indosat App Store)

5. Looking to becoming a developer part time

6. Can麓t create an AudioRecor der object

7. Widget setOnClickPendingIntent not working