Android new Intent

Posted by Sukitha on Stack Overflow See other posts from Stack Overflow or by Sukitha
Published on 2010-03-16T10:04:47Z Indexed on 2010/03/16 10:06 UTC
Read the original article Hit count: 368

Filed under:
|
|
|

Hi Im trying to start android market via my app to search similar products. I'm using this code.

    Intent intent = new Intent(Intent.ACTION_VIEW,Uri.parse("http://market.android.com/search?q=pub:\"some txt\""));
 c.startActivity(intent);

This works fine but when I hit on Home button with in the market and goto home phone home screen. When I open again the app it still shows market results. (i want to goto main menu)

Whats the solution? thanks

© Stack Overflow or respective owner

Related posts about android

Related posts about intent